abuse.frabs.net
All Guides

Abuse reports · act within a day or two

How to Handle a Port Scanning Abuse Report

What This Means

Your server, or something running on it, tried to connect to many ports or many addresses on someone else's network.

Why It Matters

Scanning is usually the first step of an attack, so networks report it straight away. Most often a VPS or account has been hacked and is now scanning for more victims; sometimes it's a tool someone ran on purpose.

  1. 1

    See what is connecting out right now

    Look for one process with hundreds of connections to different addresses, or to the same port on many addresses.

    ss -tunap state syn-sent | awk '{print $6, $7}' | sort | uniq -c | sort -rn | head -20
  2. 2

    Find which program it is

    Take the process ID from the last column and see what it is and who started it.

    ls -l /proc/PID/exe; cat /proc/PID/cmdline | tr '\0' ' '; ps -o user,pid,etime,cmd -p PID
  3. 3

    Stop it and remove how it got in

    Kill the process, delete its files, and change the password or key of the account that ran it. On a VPS host, find which VPS owns the address in the report.

  4. 4

    Block outgoing scans while you clean up

    Limit new outgoing connections so a scanner can't run flat out again.

Reply to the Report

Tell them what you found and what you did, with their case number. For example: “We found the process responsible for the scanning, stopped it and removed it, and secured the account it ran from.” Paste your report on abuse.frabs.net for a reply with the details filled in.

Other Kinds of Report

Brute Force / Login AttacksDDoS / FloodingSpamMalware / BotnetPhishing / Fraud WebsiteCopyright / DMCAOpen or Vulnerable Service