国产激情自拍_国产9色视频_丁香花在线电影小说观看 _久久久久国产精品嫩草影院

首頁 > 學院 > 軟件教程 > 正文

rootkit的檢測工具使用介紹(chkrootkit和rootkit hunter)

2020-07-18 16:07:27
字體:
來源:轉載
供稿:網(wǎng)友

用了兩個工具,一個chkrootkit,另外一個rootkit huntur。在使用了這兩個產(chǎn)品后,覺得rootkit的信息更加詳細一些。現(xiàn)在就對兩個工具的操作和使用寫一個記錄,也方便之后自己查看。

1. chkrootkit的使用
project: http://www.chkrootkit.org
download: ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz

1.1 解壓安裝
#tar -zxvf chkrootkit.tar.gz
#make sense

1.2 運行監(jiān)測
#./chkrootkit
運行結果在
http://blogimg.chinaunix.net/blog/upfile2/090326111017.pdf
判斷有問題的信息如下:
Checking `ifconfig'... INFECTED
Checking `ls'... INFECTED
Checking `netstat'... INFECTED
Checking `ps'... INFECTED
Checking `top'... INFECTED
Searching for Madalin rootkit default files... Possible Madalin rootkit installed
Checking `bindshell'... INFECTED (PORTS: 145)
Checking `lkm'... You have 77 process hidden for readdir command
You have 77 process hidden for ps command
chkproc: Warning: Possible LKM Trojan installed
Checking `sniffer'... eth0: PROMISC

不幸中招,系統(tǒng)只能夠重新安裝了。在看了這個文檔之后,對chkrootkit這個工具又看了一些其他資料。可以做rootkit的自動檢查操作
具體可以看 http://www.centospub.com/make/chkrootkit.html

1.3 chkrootkit參數(shù)說明
Usage: ./chkrootkit [options] [test ...]
Options:
-h 顯示幫助信息
-V 顯示版本信息
-l 顯示測試內(nèi)容
-d debug模式,顯示檢測過程的相關指令程序
-q 安靜模式,只顯示有問題部分,
-x 高級模式,顯示所有檢測結果
-r dir 設定指定的目錄為根目錄
-p dir1:dir2:dirN 檢測指定目錄
-n 跳過NFS連接的目錄

2. rootkit hunter的使用
Project: http://www.rootkit.nl/projects/rootkit_hunter.html
download: http://downloads.sourceforge.net/rkhunter/rkhunter-1.3.4.tar.gz?use_mirror=jaist

2.1 解壓安裝
解壓
#tar -zxvf rkhunter-1.3.4.tar.gz
安裝
#cd rkhunter-1.3.4
#./installer.sh -h
Usage: ./installer.sh <parameters>
Ordered valid parameters:
--help (-h) : 顯示幫助
--examples : 顯示安裝實例
--layout <value> : 選擇安裝模板(安裝必選參數(shù)).
模板選擇:
- default: (FHS compliant),
- /usr,
- /usr/local,
- oldschool: 之前版本安裝路徑,
- custom: 自定義安裝路徑,
- RPM: for building RPM's. Requires $RPM_BUILD_ROOT.
- DEB: for building DEB's. Requires $DEB_BUILD_ROOT.
--striproot : Strip path from custom layout (for package maintainers).
--install : 根據(jù)選擇目錄安裝
--show : 顯示安裝路徑
--remove : 卸載rkhunter
--version : 顯示安裝版本


我使用的安裝指令
#./installer.sh --layout default --install

2.2 rkhunter操作
#/usr/local/bin/rkhunter --propupd
#/usr/local/bin/rkhunter -c --sk --rwo

Warning: File '/bin/awk' has the immutable-bit set.
Warning: File '/bin/basename' has the immutable-bit set.
Warning: File '/bin/bash' has the immutable-bit set.
Warning: File '/bin/cat' has the immutable-bit set.
Warning: File '/bin/chmod' has the immutable-bit set.
Warning: File '/bin/chown' has the immutable-bit set.
Warning: File '/bin/cp' has the immutable-bit set.
Warning: File '/bin/csh' has the immutable-bit set.
Warning: File '/bin/cut' has the immutable-bit set.
Warning: File '/bin/date' has the immutable-bit set.
Warning: File '/bin/df' has the immutable-bit set.
Warning: File '/bin/dmesg' has the immutable-bit set.
Warning: File '/bin/echo' has the immutable-bit set.
Warning: File '/bin/ed' has the immutable-bit set.
Warning: File '/bin/egrep' has the immutable-bit set.
Warning: File '/bin/env' has the immutable-bit set.
Warning: File '/bin/fgrep' has the immutable-bit set.
Warning: File '/bin/grep' has the immutable-bit set.
Warning: File '/bin/kill' has the immutable-bit set.
Warning: File '/bin/login' has the immutable-bit set.
Warning: File '/bin/ls' has the immutable-bit set.
Warning: File '/bin/mail' has the immutable-bit set.
Warning: File '/bin/mktemp' has the immutable-bit set.
Warning: File '/bin/more' has the immutable-bit set.
Warning: File '/bin/mount' has the immutable-bit set.
Warning: File '/bin/mv' has the immutable-bit set.
Warning: File '/bin/netstat' has the immutable-bit set.
Warning: File '/bin/ps' has the immutable-bit set.
Warning: File '/bin/pwd' has the immutable-bit set.
Warning: File '/bin/rpm' has the immutable-bit set.
Warning: File '/bin/sed' has the immutable-bit set.
Warning: File '/bin/sh' has the immutable-bit set.
Warning: File '/bin/sort' has the immutable-bit set.
Warning: File '/bin/su' has the immutable-bit set.
Warning: File '/bin/touch' has the immutable-bit set.
Warning: File '/bin/uname' has the immutable-bit set.
Warning: File '/bin/gawk' has the immutable-bit set.
Warning: File '/bin/tcsh' has the immutable-bit set.
Warning: File '/usr/bin/awk' has the immutable-bit set.
Warning: File '/usr/bin/cut' has the immutable-bit set.
Warning: File '/usr/bin/env' has the immutable-bit set.
Warning: The command '/usr/bin/GET' has been replaced by a script: /usr/bin/GET: perl script text executable
Warning: The command '/usr/bin/groups' has been replaced by a script: /usr/bin/groups: Bourne shell script text executable
Warning: File '/usr/bin/kill' has the immutable-bit set.
Warning: The command '/usr/bin/ldd' has been replaced by a script: /usr/bin/ldd: Bourne shell script text executable
Warning: File '/usr/bin/top' has the immutable-bit set.
Warning: The command '/usr/bin/whatis' has been replaced by a script: /usr/bin/whatis: Bourne shell script text executable
Warning: File '/usr/bin/gawk' has the immutable-bit set.
Warning: File '/sbin/chkconfig' has the immutable-bit set.
Warning: File '/sbin/depmod' has the immutable-bit set.
Warning: File '/sbin/fuser' has the immutable-bit set.
Warning: File '/sbin/ifconfig' has the immutable-bit set.
Warning: File '/sbin/ifdown' has the immutable-bit set.
Warning: The command '/sbin/ifdown' has been replaced by a script: /sbin/ifdown: Bourne-Again shell script text executable
Warning: File '/sbin/ifup' has the immutable-bit set.
Warning: The command '/sbin/ifup' has been replaced by a script: /sbin/ifup: Bourne-Again shell script text executable
Warning: File '/sbin/init' has the immutable-bit set.
Warning: File '/sbin/insmod' has the immutable-bit set.
Warning: File '/sbin/ip' has the immutable-bit set.
Warning: File '/sbin/lsmod' has the immutable-bit set.
Warning: File '/sbin/modinfo' has the immutable-bit set.
Warning: File '/sbin/modprobe' has the immutable-bit set.
Warning: File '/sbin/nologin' has the immutable-bit set.
Warning: File '/sbin/rmmod' has the immutable-bit set.
Warning: File '/sbin/runlevel' has the immutable-bit set.
Warning: File '/sbin/sulogin' has the immutable-bit set.
Warning: File '/sbin/sysctl' has the immutable-bit set.
Warning: File '/sbin/syslogd' has the immutable-bit set.
Warning: File '/usr/sbin/adduser' has the immutable-bit set.
Warning: No hash value found for file '/usr/sbin/amd' in the rkhunter.dat file.
Warning: File '/usr/sbin/amd' has the immutable-bit set.
Warning: File '/usr/sbin/chroot' has the immutable-bit set.
Warning: File '/usr/sbin/groupadd' has the immutable-bit set.
Warning: File '/usr/sbin/groupdel' has the immutable-bit set.
Warning: File '/usr/sbin/groupmod' has the immutable-bit set.
Warning: File '/usr/sbin/grpck' has the immutable-bit set.
Warning: File '/usr/sbin/kudzu' has the immutable-bit set.
Warning: File '/usr/sbin/lsof' has the immutable-bit set.
Warning: File '/usr/sbin/prelink' has the immutable-bit set.
Warning: File '/usr/sbin/pwck' has the immutable-bit set.
Warning: File '/usr/sbin/sestatus' has the immutable-bit set.
Warning: File '/usr/sbin/tcpd' has the immutable-bit set.
Warning: File '/usr/sbin/useradd' has the immutable-bit set.
Warning: File '/usr/sbin/userdel' has the immutable-bit set.
Warning: File '/usr/sbin/usermod' has the immutable-bit set.
Warning: File '/usr/sbin/vipw' has the immutable-bit set.
Warning: File '/usr/sbin/xinetd' has the immutable-bit set.
Warning: Dreams Rootkit [ Warning ]
File '/usr/bin/sense' found
File '/usr/bin/sl2' found
File '/usr/bin/(swapd)' found
Warning: Checking for possible rootkit strings [ Warning ]
Found string '/dev/ttyoa' in file '/bin/netstat'. Possible rootkit: Sin Rootkit
Warning: Found possible sniffer log file: /usr/lib/libice.log
Warning: Found enabled xinetd service: /etc/xinetd.d/auth
Warning: Found enabled xinetd service: /etc/xinetd.d/cups-lpd
Warning: Found enabled xinetd service: /etc/xinetd.d/swat
Warning: Found enabled xinetd service: /etc/xinetd.d/vmware-authd
Warning: Possible promiscuous interfaces:
'ifconfig' command output:
'ip' command output: eth0
Warning: Account 'test' is root equivalent (UID = 0)
Warning: Account 'james' is root equivalent (UID = 0)
Warning: Account 'master' is root equivalent (UID = 0)
Warning: Account 'admin' is root equivalent (UID = 0)
Warning: The SSH configuration option 'PermitRootLogin' has not been set.
The default value may be 'yes', to allow root access.
Warning: The SSH configuration option 'Protocol' has not been set.
The default value may be '2,1', to allow the use of protocol version 1.
Warning: Hidden file found: /usr/share/man/man1/..1.gz: gzip compressed data, from Unix, max compression
Warning: Application 'exim', version '4.43', is out of date, and possibly a security risk.
Warning: Application 'gpg', version '1.2.6', is out of date, and possibly a security risk.
Warning: Application 'openssl', version '0.9.7a', is out of date, and possibly a security risk.
Warning: Application 'php', version '4.3.9', is out of date, and possibly a security risk.
One or more warnings have been found while checking the system.
Please check the log file (/var/log/rkhunter.log)

結果就是“中招”,基本上就是重新安裝系統(tǒng)的命了。不過從檢查的結果來看,可以判斷所中的rootkit的類型和被替換的系統(tǒng)文件。同時對一些程序版本進行檢測,提供的信息比較多。

2.3 指令參數(shù)說明
#/usr/local/bin/rkhunter
Usage: rkhunter {--check | --update | --versioncheck |
--propupd [{filename | directory | package name},...] |
--list [{tests | {lang | languages} | rootkits},...] |
--version | --help} [options]

Current options are:
--append-log 在日志文件后追加日志,而不覆蓋原有日志
--bindir <directory>... Use the specified command directories
-c, --check 檢測當前系統(tǒng)
--cs2, --color-set2 Use the second color set for output
--configfile <file> 使用特定的配置文件
--cronjob 作為cron定期運行
(包含參數(shù) -c, --sk , --nocolors )
--dbdir <directory> Use the specified database directory
--debug Debug模式(不要使用除非要求使用)
--disable <test>[,<test>...] 跳過指定檢查對象(默認為無)
--display-logfile 在最后顯示日志文件內(nèi)容
--enable <test>[,<test>...] 對指定檢測對象進行檢查
(默認檢測所有對象)
--hash {MD5 | SHA1 | NONE | 使用指定的文件哈希函數(shù)
<command>} (Default is SHA1)
-h, --help 顯示幫助菜單
--lang, --language <language> 指定使用的語言
(Default is English)
--list [tests | languages | 羅列測試對象明朝,使用語言,可檢測的木馬程序
rootkits]
-l, --logfile [file] 寫到指定的日志文件名
(Default is /var/log/rkhunter.log)
--noappend-log 不追加日志,直接覆蓋日志文件
--nocolors 輸出只顯示黑白兩色
--nolog 不寫入日志文件
--nomow, --no-mail-on-warning 如果有警告信息,不發(fā)送郵件
--ns, --nosummary 不顯示檢查結果的統(tǒng)計數(shù)據(jù)
--novl, --no-verbose-logging 不顯示詳細記錄
--pkgmgr {RPM | DPKG | BSD | 使用特定的包管理用于文件的哈希值驗證
NONE} (Default is NONE)
--propupd [file | directory | 更新整個文件屬性數(shù)據(jù)庫或僅僅更新指定條目
package]...
-q, --quiet 安靜模式(no output at all)
--rwo, --report-warnings-only 只顯示警告信息
-r, --rootdir <directory> 使用指定的root目錄
--sk, --skip-keypress 自動完成所有檢測,跳過鍵盤輸入
--summary 顯示檢測結果的統(tǒng)計信息
(This is the default)
--syslog [facility.priority] 記錄檢測啟動和結束時間到系統(tǒng)日志中
(Default level is authpriv.notice)
--tmpdir <directory> 使用指定的臨時目錄
--update 檢測更新內(nèi)容
--vl, --verbose-logging 使用詳細日志記錄 (on by default)
-V, --version 顯示版本信息
--versioncheck 檢測最新版本
-x, --autox 當X在使用時,自動啟動檢測
-X, --no-autox 當X在使用時,不自啟檢測

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
国产激情自拍_国产9色视频_丁香花在线电影小说观看 _久久久久国产精品嫩草影院
国产高清av| 国产一区二区三区不卡在线| 精品乱码一区二区三四区视频| 国产高清视频在线| 中文字幕在线资源| 88av在线| 在线视频中文字幕| av在线播放网| 亚洲网站一区| 97一区二区三区| 国产调教视频在线观看| 超碰在线观看免费版| 人人在线视频| 国产欧美黑人| 91国内精品久久久久| 国产在线观看网站| 国产麻豆高清视频在线第一页| 免费av不卡在线观看| 男人操女人免费网站| 国产精品视频一区麻豆| 四虎www视频| 国产网站麻豆精品视频| 人人九九精品| 在线免费国产视频| 国产一二三在线观看| 亚洲精品天堂在线| 国产高清免费在线播放| 美女永久在线网站| 国产视频中文字幕在线观看| 国产福利小视频在线| 九九在线视频| 青青国产在线| 一本免费视频| 国产精品入口麻豆免费观看| 九色视频网站| 免费在线看v| 亚洲成人在线播放| 精品国内一区二区三区免费视频| 高潮白浆视频| 黄网站app在线观看下载视频大全官网| 国产99re| 精品伦理一区二区| 国产精美视频| 国产精品你懂的在线观看| 国产主播福利在线| 另类高清dbsm日本tvav| 日本在线视频www鲁啊鲁| 亚洲网站一区| 免费看黄视频网站| 国产原创精品视频| 国产一级影片| 国产不卡在线| 99色在线观看| 亚洲人在线播放| 人人干人人插| 中文字幕专区| 91麻豆福利| 麻豆电影传媒二区| 国产主播福利在线| 国产一卡二卡3卡4卡四卡在线| 国产一级二级三级在线观看| 国产激情视频在线观看| www亚洲天堂| 最近中文字幕av免费高清| 国产成人高清精品| а√最新版在线天堂| 国产亚洲精品自在线观看| 国产激情在线观看| 欧美日韩一区二区三区视视频| 国产精品一区二区三区视频网站 | 国产成人精品综合网站| 中文字幕欧美日韩在线不卡| 国产精品bbw一区二区三区| 在线久久视频| 国产一二区视频| av在线播放av| 中文字幕免费中文| 青青草在线播放| 国产视频中文字幕在线观看| 亚洲wwwwww| 国产黄大片在线观看画质优化| www狠狠操| 伊人影院在线视频| 国产桃色电影在线播放| 可以免费看污视频的网站| 国产二区三区在线| 久草网在线视频| 亚洲精品aaaa精品| 国产福利视频在线| 中文字幕在线观看av| 久精品在线观看| www.狠狠插| 亚洲社区在线| 午夜在线视频| 天天干天天操天天爽| 在线视频观看亚洲| 精品久久九九| 在线一区观看| 在线国产1区| wwww在线观看免费视频| xxxxx中文字幕| 日本在线观看网站| 日本福利在线| 国产免费人人看| 综合激情丁香| 国产成人精品男人的天堂538| 国产探花在线观看| 国产精品被窝福利一区| 国产精品777一区二区| 国产欧美日韩精品综合| 国产人成在线视频| 2018中文字幕在线观看| 国产h色视频在线观看| 国产黄色免费| 在线观看av网站| 伊人免费在线| 日本在线视频www鲁啊鲁| 一级黄色av| 秋霞av在线| 国产亚洲精品久久久网站好莱| 中文字幕不卡免费视频| 国产福利在线视频| av中文在线| 中文字幕毛片| av在线你懂的| 国产三线在线| 日本久久国产| 国产传媒在线播放| 欧洲有码在线视频| 国产欧美日韩第一页| 亚洲视频精品在线观看| 免费a级毛片在线播放| 国产视频资源| yjizz视频网站在线播放| 五月天亚洲激情| 不卡av免费观看| 国产精品久久久久久福利| av在线播放网| 国产黄色片在线播放| 久色视频在线观看| 精品国产高清自在线一区二区三区| 毛片在线视频| 夜夜操天天干| 国产youjizz在线| 尤物网在线观看| 欧美日韩在线中文字幕| 国产三级视频在线播放线观看| 日本三级视频网站| 国产高清一区二区三区视频| 中文字幕在线影院| 国产精品一区二区三区高清在线| 性网站在线观看| 国产对白在线| 天堂资源最新在线| 国产又色又爽又黄刺激在线视频| 日本成a人片在线观看| 一本久久精品| 精品国产美女福利到在线不卡 | 久热国产在线视频| 伊人影院在线播放| 91欧洲在线视精品在亚洲| 国产羞羞视频在线播放| 国产一起色一起爱| 国产偷窥洗澡视频| 国产精品久久久久久久久鸭| 国产羞羞视频在线观看| 国产精品一区二三区| 国产性色视频| 精品国产一区二区三区四区阿崩 | 欧美黑人乱大交| 欧美高清xxxx性| 四虎久久影院| 久热免费在线视频| 九九热视频免费观看| 免费观看久久久久| 国产精品外围在线观看| 五月天亚洲激情| 69免费视频| 欧美日韩综合高清一区二区| 黄色国产网站在线观看| 国产精品综合久久久久| 国产精品入口麻豆完整版| 在线一区二区三区精品| www.成人.com| 国产人成精品| 免费一区二区在线观看| 狠狠色丁香婷婷| 国产成在线观看免费视频| 亚洲男人网站| 豆国产97在线|亚洲| 国产成a人亚洲精v品| 日韩国产成人| 国产小视频免费在线观看| 在线中文av| 国产精品作爱| 四虎国产精品永久| 国产精品69xx| 国产麻豆麻豆| 美女被人操视频在线观看| 2018狠狠干|