Signs of Compromise · about 10 minutes
Check Connections to Mining Pools
What This Means
Something on the server has connections open to ports that crypto-mining pools use.
Why It Matters
It's often a hidden miner. Sometimes it's harmless software that happens to use the same port, so check what it is.
- 1
See which program holds the connection
The last column shows the program's name and process ID.
ss -tnp | grep -E ':(3333|4444|5555|7777|14444)\b'
- 2
Look at the program
Replace 1234 with the process ID from above.
ls -l /proc/1234/exe; cat /proc/1234/cmdline | tr '\0' ' ' - 3
If it's a miner
Follow Remove a Crypto-Miner.
Check It’s Fixed
Run the security report again. This check should now pass.