linux 密碼簡單的後果與安全

for i in $(ps -ef |egrep "ksapdd|kysapdd|atddd|ksapdd|skysapdd|xfsdxd|cupsdd|cupsddh" |grep -v grep|awk '{print $2}');do kill -9 $i;done
2.刪除黑客程序
rm -f /boot/pro rm -f /etc/ksapdd rm -f /etc/kysapdd rm -f /etc/atddd rm -f /etc/ksapdd rm -f /etc/skysapdd rm -f /etc/xfsdxd rm -f /etc/cupsdd rm -f /etc/cupsddd rm -f /etc/cupsddh

3.清空 rc.local的內容 ,保留安全

#!/bin/sh服務器

#spa

# This script will be executed *after* all the other init scripts.code

# You can put your own initialization stuff in here if you don'tip

# want to do the full Sys V style init stuff.it


touch /var/lock/subsys/localio


一臺公網服務器出現後門程序,也就是設置的密碼太簡單,解決辦法,當即進行相關處理。awk

安全注意事項:一、設置密碼,必定要複雜;grep

                  二、不要開放 22端口對外;程序

                  三、如條件必定須要限制IP對22的訪問。

相關文章
相關標籤/搜索