4 ms·
Our server were affected. They added a cronjob which ran every minute wgetting a .sh file and executing it. Most of the time the server which the file was in wa
by lndarj 6y ago
Our server were affected. They added a cronjob which ran every minute wgetting a .sh file and executing it. Most of the time the server which the file was in was either offline or returned 404, but every once in a while it returned the malicious script. When this script got executed, it killed our nginx server, which is how we noticed something odd was happening. If it wasn't for nginx dying, we might have not even noticed we were infected.
Here's the contents of the sh script for the curious. https://pastebin.com/CbupwQMG https://pastebin.com/CbupwQMG
- DeepYogurt 6y agoVery helpful. Thank you for sharing.
- nikanj 6y agoLooks like it goes through a massive amount of effort to eliminate competing miners and malware. Should neuter that script and run it periodically on boxes :)