Answer the question
In order to leave comments, you need to log in
On hosting, the xmrig and gcc virus miner load the CPU by 100%. How to remove from VDS?
I am using VDS. The top command found 2 processes that load the server at 100% - xmrig and gcc.
Killed both (after he killed xmrig - gcc began to eat 130%).
As a result, a normal flight.
In the root folder I found config_1.json with the following config:
{
"algo": "cryptonight",
"api": {
"port": 0,
"access-token": null,
"worker-id": null,
"ipv6": false,
"restricted": true
},
"av": 0,
"background": true,
"colors": true,
"cpu-priority": null,
"donate-level": 0,
"log-file": null,
"max-cpu-usage": 100,
"pools": [
{
"url": "pool1.xaxaxa.eu:28000",
"user": "lol",
"pass": "lol",
"keepalive": true,
"nicehash": false,
"variant": -1
}
],
"print-time": 60,
"retries": 5,
"retry-pause": 5,
"safe": false,
"syslog": false,
"threads": null
}
Answer the question
In order to leave comments, you need to log in
Well, why did you kill them, did not first look where they are?
Look now for xmrig on the server and kill. True, since it was flooded, then you need to look for a hole on some site or change the password from the server to a normal one. Just deleting will not give anything, they will fill it back in exactly the same way.
shta?
The system has been compromised.
Format and reinstall everything.
And how do you remove viruses on a remote server?
In the face of the control there is a button "Reinstall the system" :) Press. Wait. Expand backup. If there is no backup, meditate on the phrases "all admins are divided ..." and "Kroil's way leads to popadalov".
Found this at a friend's as well.
I’ll add more,
@reboot /root/gcc -c /root/config_1.json is added to the root cron,
respectively /root/gcc and there is that miner.
there are no other files edited in the same period. they probably work with ready-made software that only the miner uploads, and uploads to a prominent place.
maybe you have vestacp too? in the summer there was some kind of hole discovered.
https://forum.vestacp.com/viewtopic.php?t=17183
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question