Abuse reports · act within a day or two
How to Handle a Brute Force / Login Attacks Abuse Report
What This Means
Your server tried to log in to other servers over and over, guessing passwords (SSH, RDP, FTP, mail or website logins).
Why It Matters
Password guessing comes from compromised machines that have been added to a botnet. Networks block and report it quickly, and repeat reports can get your IP range listed.
- 1
Look for outgoing login connections
Many connections to port 22, 3389, 21 or 25 on different addresses mean something here is guessing passwords.
ss -tnap | awk '$5 ~ /:(22|3389|21|25|110|143)$/' | awk '{print $6}' | sort | uniq -c | sort -rn | head - 2
Find and stop the program
The last column names the process. Check what it is, stop it and delete its files.
ps -o user,pid,etime,cmd -p PID - 3
Find how it got in
A weak or reused password is the usual way in. Check recent successful logins and new SSH keys.
last -a | head -20; ls -la ~/.ssh /root/.ssh - 4
Lock it down
Change passwords, turn off SSH password login, and remove any keys you don't recognise.
Reply to the Report
Tell them what you found and what you did, with their case number. For example: “We found the program making the login attempts, stopped and removed it, changed the affected passwords and turned off password logins.” Paste your report on abuse.frabs.net for a reply with the details filled in.