Coin miner trojan - help needed
A web server I do admin work on seems to have a bitcoin miner trojan installed and I can't seem to find where it originates.
From time to time (it is not continuously) several processes are being spawned by the web server user account ('www-data') similar to below:-
www-data 7116 0.0 0.1 485004 140168 ? Ssl 00:11 0:00 ./htop -a yescryptR16 -o <IP ADDRESS>:6333 -u qpkg4fgnh8a0hhzd2z9g80g4d09j6qnt0sth6l8x7z -p x --cpu-affinity 0x3 --cpu-priority 5 --backgroun
www-data 7406 0.0 0.1 485004 137536 ? Ssl 00:12 0:00 ./htop -a yescryptR16 -o <IP ADDRESS>:6333 -u qpkg4fgnh8a0hhzd2z9g80g4d09j6qnt0sth6l8x7z -p x --cpu-affinity 0x3 --cpu-priority 5 --backgroun
www-data 7689 0.0 0.1 485004 138324 ? Ssl 00:13 0:00 ./htop -a yescryptR16 -o <IP ADDRESS>:6333 -u qpkg4fgnh8a0hhzd2z9g80g4d09j6qnt0sth6l8x7z -p x --cpu-affinity 0x3 --cpu-priority 5 --backgroun
I have used iptables to block the IP address and have run rkhunter and chkrootkit but they don't report anything abnormal.
Anybody seen across this trojan before?
Posted Mar 29, 2023, 12:47 AM UTC
r/sysadmin
&& r/linuxadmin
Here's a sneak peek of r/linuxadmin using the top posts of the year!
#1: deepest secret | 18 comments
#2: I have designed Cheat Sheets on real PCBs for the community. Feedback appricated 😊 | 60 comments
#3: Some of my favorite Linux networking sheets | 14 comments
^^I'm ^^a ^^bot, ^^beep ^^boop ^^| ^^Downvote ^^to ^^remove ^^| ^^Contact ^^| ^^Info ^^| ^^Opt-out ^^| ^^GitHub