• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Someone trying to break in...

crobinson

Basic Pleskian
So I have fail2ban working I noticed something odd. I have SSH locked down to just a few IPs but I noticed someone trying to hack in via SSH. Here is a snip from my secure log.

Mar 18 00:18:14 ns1 sshd[15416]: Failed password for root from 116.10.191.164 port 3003 ssh2
Mar 18 00:18:14 ns1 unix_chkpwd[15426]: password check failed for user (root)
Mar 18 00:18:14 ns1 sshd[15416]: Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Mar 18 00:18:15 ns1 sshd[15418]: Failed password for root from 116.10.191.164 port 1362 ssh2
Mar 18 00:18:15 ns1 unix_chkpwd[15427]: password check failed for user (root)
Mar 18 00:18:15 ns1 sshd[15418]: Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Mar 18 00:18:16 ns1 sshd[15416]: Failed password for root from 116.10.191.164 port 3003 ssh2
Mar 18 00:18:16 ns1 unix_chkpwd[15428]: password check failed for user (root)
Mar 18 00:18:16 ns1 sshd[15416]: Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Mar 18 00:18:17 ns1 sshd[15418]: Failed password for root from 116.10.191.164 port 1362 ssh2
Mar 18 00:18:18 ns1 unix_chkpwd[15429]: password check failed for user (root)
Mar 18 00:18:18 ns1 sshd[15418]: Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Mar 18 00:18:18 ns1 sshd[15416]: Failed password for root from 116.10.191.164 port 3003 ssh2
Mar 18 00:18:18 ns1 unix_chkpwd[15430]: password check failed for user (root)
Mar 18 00:18:18 ns1 sshd[15416]: Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Mar 18 00:18:19 ns1 sshd[15418]: Failed password for root from 116.10.191.164 port 1362 ssh2
Mar 18 00:18:20 ns1 sshd[15416]: Failed password for root from 116.10.191.164 port 3003 ssh2

Odd that I am seeing different ports and I am unsure how they are trying to hack in. Does anyone have any ideas?

BTW fail2ban is a must... I hope it makes it into Plesk 12.
 
BTW fail2ban is a must... I hope it makes it into Plesk 12.

http://download1.parallels.com/Plesk/PP12/parallels-plesk-12.0-for-linux-change-log.html
Fail2ban support. Now administrators can protect their servers from different kinds of attacks. Fail2ban, a popular intrusion prevention system, protects SSH, FTP, web, and mail services. It detects suspicious activity and temporarily blocks the IP addresses of hosts that are trying to breach the system's security. The default ban time is 10 minutes. Administrators can configure Fail2ban in Tools & Settings > IP Address Banning (Fail2Ban).
 
Mar 18 00:18:18 ns1 unix_chkpwd[15429]: password check failed for user (root)
Mar 18 00:18:18 ns1 sshd[15418]: Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Mar 18 00:18:18 ns1 sshd[15416]: Failed password for root from 116.10.191.164 port 3003 ssh2
Mar 18 00:18:18 ns1 unix_chkpwd[15430]: password check failed for user (root)
Mar 18 00:18:18 ns1 sshd[15416]: Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Mar 18 00:18:19 ns1 sshd[15418]: Failed password for root from 116.10.191.164 port 1362 ssh2

Does anyone have any ideas on how they are able to trip SSH alarm using a non-opened port?
 
I did think about that.... There are only a few people that need that kind of access. I am just wondering how they are initiating the SSH login even tho the SSH port 22 is locked down to allow a few IPs and deny 99.99% of the internet.
 
You should also consider changing your ssh port from default 22 to something above 1024.


I did think about that.... There are only a few people that need that kind of access. I am just wondering how they are initiating the SSH login even tho the SSH port 22 is locked down to allow a few IPs and deny 99.99% of the internet.
 
Back
Top