【关于阿里云提醒我服务器被挖矿程序 媷毛这件事】


 发现了印象中没有的文件,还起名叫zzh,看了下CPU确实有段时间爆满,索性就删掉了(希望没有误删233),操作如下:

PS:可能还会遇到提示 Operation not permitted 如果没有rm即可。

如果提示操作不被许可,就去修改文件属性,先查看 lasttr xxxxx,然后去除属性:比如a或者e(chattr -a xxxx)

[root@iZbp1hwh629hd4xz80i1z0Z etc]# rm -rf zzh
rm: cannot remove ‘zzh’: Operation not permitted
[root@iZbp1hwh629hd4xz80i1z0Z etc]# lsattr zzh
-----a-------e-- zzh
[root@iZbp1hwh629hd4xz80i1z0Z etc]# chattr -a zzh
[root@iZbp1hwh629hd4xz80i1z0Z etc]# rm -rf zzh
[root@iZbp1hwh629hd4xz80i1z0Z etc]#