注意”entered promiscuous mode” 注意错误信息 注 意Remote Procedure Call (rpc) programs with a log entry that includes a large number (> 20) strange characters(-^PM-^PM-^PM-^PM-^PM-^PM-^PM-^PM) 3. 检查进程
复制代码代码如下: # rpm –Va 输出格式:</p><p>S – File size differs</p><p>M – Mode differs (permissions)</p><p>5 – MD5 sum differs</p><p>D – Device number mismatch</p><p>L – readLink path mismatch</p><p>U – user ownership differs</p><p>G – group ownership differs</p><p>T – modification time differs</p><p>注意相关的 /sbin, /bin, /usr/sbin, and /usr/bin
6. 检查网络
复制代码代码如下: # ip link | grep PROMISC(正常网卡不该在promisc模式,可能存在sniffer)</p><p># lsof –i</p><p># netstat –nap(察看不正常打开的TCP/UDP端口)</p><p># arp –a
7. 检查计划任务
复制代码代码如下: 注意root和UID是0的schedule</p><p># crontab –u root –l</p><p># cat /etc/crontab</p><p># ls /etc/cron.*
8. 检查后门
复制代码代码如下: # cat /etc/crontab</p><p># ls /var/spool/cron/</p><p># cat /etc/rc.d/rc.local</p><p># ls /etc/rc.d</p><p># ls /etc/rc3.d</p><p># find / -type f -perm 4000