{"id":119,"date":"2026-01-22T07:53:16","date_gmt":"2026-01-22T07:53:16","guid":{"rendered":"https:\/\/blog.gpst.net.cn:4008\/?p=119"},"modified":"2026-01-28T06:24:16","modified_gmt":"2026-01-28T06:24:16","slug":"linux%e5%ae%89%e5%85%a8%e5%ae%a1%e8%ae%a1-%e9%80%9a%e8%bf%87-rootkit-hunter-%e5%b7%a5%e5%85%b7%e5%88%86%e5%88%ab%e5%af%b9%e7%b3%bb%e7%bb%9f%e7%9a%84%e7%bd%91%e7%bb%9c%e3%80%81rootkit","status":"publish","type":"post","link":"https:\/\/opshub.com.cn\/?p=119","title":{"rendered":"Linux\u5b89\u5168\u5ba1\u8ba1\u2014\u2014\u901a\u8fc7 Rootkit Hunter \u5de5\u5177\u5206\u522b\u5bf9\u7cfb\u7edf\u7684\u7f51\u7edc\u3001Rootkit\u3001\u7cfb\u7edf\u547d\u4ee4\u5b8c\u6574\u6027\u3001\u6076\u610f\u8f6f\u4ef6\uff08\u7279\u6d1b\u4f0a\uff09 \u8fdb\u884c\u4e13\u9879\u5b89\u5168\u68c0\u6d4b"},"content":{"rendered":"\n<p><code>rkhunter<\/code>\uff08Rootkit Hunter\uff09\u662f\u4e00\u6b3e\u5f00\u6e90\u7684\u7cfb\u7edf\u5b89\u5168\u68c0\u6d4b\u5de5\u5177\uff0c\u6838\u5fc3\u539f\u7406\u662f\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5bf9\u6bd4\u7cfb\u7edf\u5173\u952e\u6587\u4ef6 \/ \u547d\u4ee4\u7684\u54c8\u5e0c\u503c\uff08\u4e0e\u5b98\u65b9\u57fa\u51c6\u503c\uff09\uff0c\u68c0\u6d4b\u662f\u5426\u88ab\u7be1\u6539\uff1b<\/li>\n\n\n\n<li>\u626b\u63cf\u5df2\u77e5 Rootkit\u3001\u6076\u610f\u8f6f\u4ef6\u7684\u7279\u5f81\u7801\uff1b<\/li>\n\n\n\n<li>\u68c0\u67e5\u5f02\u5e38\u7f51\u7edc\u7aef\u53e3\u3001\u53ef\u7591\u8fdb\u7a0b\u3001\u7cfb\u7edf\u914d\u7f6e\u7be1\u6539\u7b49\u98ce\u9669\u70b9\uff1b<\/li>\n\n\n\n<li>\u652f\u6301 \u201c\u4e13\u9879\u68c0\u6d4b\u201d \u548c \u201c\u5168\u91cf\u68c0\u6d4b\u201d\uff0c\u4f60\u63d0\u4f9b\u7684\u547d\u4ee4\u90fd\u662f<strong>\u4e13\u9879\u68c0\u6d4b<\/strong>\uff08\u4ec5\u68c0\u6d4b\u6307\u5b9a\u6a21\u5757\uff09\u3002<\/li>\n<\/ol>\n\n\n\n<p><strong>\u524d\u63d0\u6761\u4ef6<\/strong>\uff1a\u9700\u5148\u5b89\u88c5 <code>rkhunter<\/code>\uff08CentOS\/RHEL\uff1a<code>yum install -y rkhunter<\/code>\uff1bDebian\/Ubuntu\uff1a<code>apt install -y rkhunter<\/code>\uff09\uff0c\u4e14\u5efa\u8bae\u5148\u66f4\u65b0\u7279\u5f81\u5e93\uff1a<code>rkhunter --update<\/code>\u3002<\/p>\n\n\n\n<p>\u81ea\u52a8\u5316\u68c0\u6d4b\u811a\u672c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\n# \u4e00\u952e\u6267\u884c rkhunter \u4e13\u9879\u68c0\u6d4b\necho \"===== \u5f00\u59cb\u68c0\u6d4b\u7f51\u7edc\u98ce\u9669 =====\"\nrkhunter -sk -c --nocolor --nolog --nomow --enable network\n\necho -e \"\\n===== \u5f00\u59cb\u68c0\u6d4b Rootkit =====\"\nrkhunter -sk -c --nocolor --nolog --nomow --enable rootkits\n\necho -e \"\\n===== \u5f00\u59cb\u68c0\u6d4b\u7cfb\u7edf\u547d\u4ee4\u5b8c\u6574\u6027 =====\"\nrkhunter -sk -c --nocolor --nolog --nomow --enable properties\n\necho -e \"\\n===== \u5f00\u59cb\u68c0\u6d4b\u7279\u6d1b\u4f0a\u6728\u9a6c =====\"\nrkhunter -sk -c --enable malware --nocolor --nolog --nomow\n\necho -e \"\\n===== \u68c0\u6d4b\u5b8c\u6210\uff01\u5f02\u5e38\u4fe1\u606f\u5df2\u5728\u7ec8\u7aef\u8f93\u51fa =====\"<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>rkhunter\uff08Rootkit Hunter\uff09\u662f\u4e00\u6b3e\u5f00\u6e90\u7684\u7cfb\u7edf\u5b89\u5168\u68c0\u6d4b\u5de5\u5177\uff0c\u6838\u5fc3\u539f\u7406\u662f\uff1a \u524d\u63d0\u6761\u4ef6\uff1a\u9700\u5148\u5b89\u88c5 rkhunter\uff08CentOS\/RHEL\uff1ayum install -y rkhunter\uff1bDebian\/Ubuntu\uff1aapt install -y rkhunter\uff09\uff0c\u4e14\u5efa\u8bae\u5148\u66f4\u65b0\u7279\u5f81\u5e93\uff1arkhunter &#8211;update\u3002 \u81ea\u52a8\u5316\u68c0\u6d4b\u811a\u672c\uff1a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry","category-9"],"_links":{"self":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=119"}],"version-history":[{"count":1,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":120,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/119\/revisions\/120"}],"wp:attachment":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}