美文网首页
rootkit攻防

rootkit攻防

作者: ShingV | 来源:发表于2017-02-07 15:54 被阅读0次

安装RKHunter
https://sourceforge.net/projects/rkhunter/files/rkhunter/

1)安装过程

 tar  -zxvf rkhunter-1.4.2.tar.gz 
 cd rkhunter-1.4.2
 ./installer.sh --layout default --install

这是RKHunter的默认安装方式, 安装目录在/etc/loca/bin

2) 使用RKHunter

 /user/local/bin/rkhunter --help
 /usr/local/bin/rkhunter -c
#进行系统命令检查, “ok”表示没问题,“warning”表示有异常,“Not found”一般不
#需要理会, <Enter>进行执行脚本;
/usr/local/bin/rkhunter -c --skip-keypress
#自动执行程序

3)定时运行程序

30 9 * * * /usr/local/bin/rkhunter --check --crontab
# 分 时 日 月 周

相关文章

网友评论

      本文标题:rootkit攻防

      本文链接:https://www.haomeiwen.com/subject/lhfmittx.html