{"id":41739,"date":"2025-06-04T07:10:37","date_gmt":"2025-06-03T23:10:37","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/41739.html"},"modified":"2025-06-04T07:10:37","modified_gmt":"2025-06-03T23:10:37","slug":"linux%e8%bf%90%e7%bb%b4%e7%ac%94%e8%ae%b0%ef%bc%9a%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%84%9f%e6%9f%93-netools-%e7%97%85%e6%af%92%e6%a1%88%e4%be%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/41739.html","title":{"rendered":"Linux\u8fd0\u7ef4\u7b14\u8bb0\uff1a\u670d\u52a1\u5668\u611f\u67d3 netools \u75c5\u6bd2\u6848\u4f8b"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\n<ul>\n<li>\u80cc\u666f<\/li>\n<li>\u6392\u67e5\u8fc7\u7a0b<\/li>\n<li>\n<ul>\n<li>1. \u53d1\u73b0\u5f02\u5e38<\/li>\n<li>2. \u68c0\u6d4b\u9690\u85cf\u8fdb\u7a0b<\/li>\n<li>3. \u5c1d\u8bd5\u7ec8\u6b62\u8fdb\u7a0b<\/li>\n<li>4. \u6df1\u5165\u5206\u6790\u8fdb\u7a0b<\/li>\n<\/ul>\n<\/li>\n<li>\u5904\u7406\u6b65\u9aa4<\/li>\n<li>\n<ul>\n<li>1. \u7981\u7528 Cron \u4efb\u52a1<\/li>\n<li>2. \u5220\u9664\u6076\u610f\u6587\u4ef6<\/li>\n<li>3. \u7ec8\u6b62\u6076\u610f\u8fdb\u7a0b<\/li>\n<li>4. \u91cd\u542f\u7cfb\u7edf<\/li>\n<\/ul>\n<\/li>\n<li>\u6ce8\u610f\u4e8b\u9879<\/li>\n<li>\u603b\u7ed3<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u63d0\u793a&#xff1a;\u672c\u6587\u8bb0\u5f55\u4e86\u4e00\u8d77 Linux \u670d\u52a1\u5668\u611f\u67d3\u6076\u610f\u8f6f\u4ef6&#xff08;\u7591\u4f3c\u6316\u77ff\u75c5\u6bd2&#xff09;\u7684\u6392\u67e5\u4e0e\u5904\u7406\u8fc7\u7a0b&#xff0c;\u6d89\u53ca\u9690\u85cf\u8fdb\u7a0b netools\u3001\u6076\u610f\u811a\u672c \/bin\/tDLzoNS7 \u53ca Cron \u6301\u4e45\u5316\u673a\u5236\u3002\u5e0c\u671b\u5bf9\u9047\u5230\u7c7b\u4f3c\u95ee\u9898\u7684\u8bfb\u8005\u6709\u6240\u5e2e\u52a9&#xff01;<\/p>\n<h3>\u80cc\u666f<\/h3>\n<p>\u6700\u8fd1\u5b9e\u9a8c\u5ba4\u670d\u52a1\u5668&#xff08;ccccs-Z790-UD-AX&#xff09;\u7ecf\u5e38\u53d1\u751f\u8fdb\u7a0b\u5d29\u6e83\u95ee\u9898&#xff0c;\u4f7f\u7528 htop \u547d\u4ee4\u53d1\u73b0\u5176 32 \u4e2a CPU \u7ebf\u7a0b\u603b\u662f\u88ab\u5b8c\u5168\u5360\u7528&#xff0c;\u4f46\u672a\u663e\u793a\u76f8\u5173\u8fdb\u7a0b&#xff0c;\u6000\u7591\u7cfb\u7edf\u611f\u67d3\u4e86\u75c5\u6bd2\u3002\u7ed3\u5408 unhide proc \u68c0\u6d4b\u5230\u7684\u9690\u85cf\u8fdb\u7a0b \/tmp\/netools \u548c\u6076\u610f\u811a\u672c \/bin\/tDLzoNS7&#xff0c;\u786e\u8ba4\u7cfb\u7edf\u5b58\u5728\u6076\u610f\u8f6f\u4ef6\u3002<\/p>\n<p>\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u75c5\u6bd2\u6392\u67e5\u3001\u5206\u6790\u3001\u5904\u7406\u6b65\u9aa4\u53ca\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n<h3>\u6392\u67e5\u8fc7\u7a0b<\/h3>\n<h4>1. \u53d1\u73b0\u5f02\u5e38<\/h4>\n<p>\u901a\u8fc7 htop \u89c2\u5bdf\u5230 CPU \u5360\u7528\u7387\u5f02\u5e38\u9ad8&#xff0c;\u4f46\u672a\u627e\u5230\u660e\u663e\u7684\u9ad8\u8d1f\u8f7d\u8fdb\u7a0b\u3002\u521d\u6b65\u6000\u7591\u662f\u9690\u85cf\u8fdb\u7a0b\u5bfc\u81f4&#xff0c;\u53ef\u80fd\u662f\u6316\u77ff\u75c5\u6bd2\u6216 rootkit\u3002<\/p>\n<h4>2. \u68c0\u6d4b\u9690\u85cf\u8fdb\u7a0b<\/h4>\n<p>\u4f7f\u7528 unhide proc \u547d\u4ee4\u626b\u63cf\u9690\u85cf\u8fdb\u7a0b&#xff0c;\u8f93\u51fa\u5982\u4e0b&#xff1a;<\/p>\n<p>Found HIDDEN PID: 3010499<br \/>\n    Cmdline: &#034;&lt;none&gt;&#034;<br \/>\n    Executable: &#034;&lt;no link&gt;&#034;<br \/>\n    &#034;&lt;none&gt; &#8230; maybe a transitory process&#034;<\/p>\n<p>Found HIDDEN PID: 3010501<br \/>\n    Cmdline: &#034;\/tmp\/netools&#034;<br \/>\n    Executable: &#034;\/tmp\/netools&#034;<br \/>\n    Command: &#034;netools&#034;<br \/>\n    $USER&#061;&lt;undefined&gt;<br \/>\n    $PWD&#061;\/root<br \/>\n&#8230;<br \/>\nFound HIDDEN PID: 3010698<br \/>\n    Cmdline: &#034;\/tmp\/netools&#034;<br \/>\n    Executable: &#034;\/tmp\/netools&#034;<br \/>\n    Command: &#034;netools&#034;<br \/>\n    $USER&#061;&lt;undefined&gt;<br \/>\n    $PWD&#061;\/root<\/p>\n<ul>\n<li>\u5206\u6790&#xff1a;\n<ul>\n<li>\u68c0\u6d4b\u5230\u5927\u91cf\u4ee5 \/tmp\/netools \u547d\u540d\u7684\u9690\u85cf\u8fdb\u7a0b&#xff08;PID 3010501 \u81f3 3010698&#xff09;&#xff0c;\u4ee5 root \u6743\u9650\u8fd0\u884c\u3002<\/li>\n<li>\u8fdb\u7a0b\u8def\u5f84\u4e3a \/tmp\/netools&#xff0c;\u8868\u660e\u6076\u610f\u8f6f\u4ef6\u53ef\u80fd\u5728\u4e34\u65f6\u76ee\u5f55\u4e2d\u8fd0\u884c\u3002<\/li>\n<li>PID 3010499 \u663e\u793a &lt;none&gt;&#xff0c;\u53ef\u80fd\u662f\u77ed\u6682\u8fdb\u7a0b\u6216 rootkit \u9690\u85cf\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>3. \u5c1d\u8bd5\u7ec8\u6b62\u8fdb\u7a0b<\/h4>\n<p>\u5c1d\u8bd5\u4f7f\u7528 kill -9 &lt;PID&gt; \u7ec8\u6b62 netools \u8fdb\u7a0b&#xff0c;\u4f46 CPU \u5360\u7528\u5f88\u5feb\u6062\u590d&#xff0c;\u8868\u660e\u5b58\u5728\u6301\u4e45\u5316\u673a\u5236&#xff08;\u5982 Cron \u6216\u670d\u52a1&#xff09;\u91cd\u542f\u8fdb\u7a0b\u3002<\/p>\n<h4>4. \u6df1\u5165\u5206\u6790\u8fdb\u7a0b<\/h4>\n<p>\u591a\u6b21\u4f7f\u7528 ps aux &#8211;sort&#061;-pcpu | head -10 \u4ee5\u53ca ps -aux | grep netools\u67e5\u770b\u9ad8 CPU \u5360\u7528\u8fdb\u7a0b\u540e&#xff0c;\u53d1\u73b0\u53ef\u7591\u8fdb\u7a0b&#xff1a;<\/p>\n<p>root     3024733  0.2  0.0  12580  3288 ?        S    10:30   0:00 \/bin\/tDLzoNS7 -c &#8230;<\/p>\n<ul>\n<li>\n<p>\u547d\u4ee4\u884c\u5185\u5bb9&#xff08;\u90e8\u5206&#xff09;&#xff1a;<\/p>\n<p> <span class=\"token shebang important\">#!\/bin\/bash<\/span><br \/>\n<span class=\"token function\">crontab<\/span> <span class=\"token parameter variable\">-r<\/span> <span class=\"token operator\">&gt;<\/span>\/dev\/null <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span><br \/>\n<span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-vw<\/span> <span class=\"token string\">&#039;xmr-stak\\\\|ld-linux.so.2&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">awk<\/span> <span class=\"token string\">&#039;{if($3&gt;40.0) print $2}&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token keyword\">while<\/span> <span class=\"token builtin class-name\">read<\/span> procid<span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">do<\/span> <span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-9<\/span> <span class=\"token variable\">$procid<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">done<\/span><br \/>\nufw disable <span class=\"token operator\">&gt;<\/span>\/dev\/null <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span><br \/>\niptables <span class=\"token parameter variable\">-P<\/span> INPUT ACCEPT <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<br \/>\niptables <span class=\"token parameter variable\">-P<\/span> OUTPUT ACCEPT <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<br \/>\niptables <span class=\"token parameter variable\">-P<\/span> FORWARD ACCEPT <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<br \/>\niptables <span class=\"token parameter variable\">-F<\/span> <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<br \/>\nchattr <span class=\"token parameter variable\">-i<\/span> \/usr\/sbin\/ \/usr\/bin\/ \/bin\/ \/usr\/lib \/usr\/lib64 \/usr\/libexec \/etc\/ \/tmp\/ \/sbin\/ \/etc\/resolv.conf<br \/>\nchattr <span class=\"token parameter variable\">-i<\/span> \/etc\/cron.d\/systeml \/etc\/cron.weekly\/systeml \/etc\/cron.hourly\/systeml \/etc\/cron.daily\/systeml \/etc\/cron.monthly\/systeml<br \/>\nchattr <span class=\"token parameter variable\">-ia<\/span> \/etc\/ld.so.preload<br \/>\n<span class=\"token function\">cat<\/span> \/dev\/null <span class=\"token operator\">&gt;<\/span> \/etc\/ld.so.preload<br \/>\n<span class=\"token punctuation\">..<\/span>.\n <\/li>\n<li>\n<p>\u901a\u8fc7 grok \u7684\u811a\u672c\u884c\u4e3a\u5206\u6790&#xff1a;<\/p>\n<li>\u7ec8\u6b62\u9ad8 CPU \u8fdb\u7a0b&#xff1a;\u6740\u6b7b CPU \u5360\u7528\u8d85\u8fc7 40% \u7684\u8fdb\u7a0b&#xff08;\u6392\u9664 xmr-stak \u7b49\u6316\u77ff\u76f8\u5173\u8fdb\u7a0b&#xff09;&#xff0c;\u53ef\u80fd\u4e3a\u63a9\u76d6\u81ea\u8eab\u6d3b\u52a8\u3002<\/li>\n<li>\u7981\u7528\u9632\u706b\u5899&#xff1a;\u7981\u7528 ufw \u548c\u6e05\u7a7a iptables \u89c4\u5219&#xff0c;\u5f00\u653e\u6240\u6709\u7f51\u7edc\u6d41\u91cf\u3002<\/li>\n<li>\u79fb\u9664\u6587\u4ef6\u4fdd\u62a4&#xff1a;\u4f7f\u7528 chattr -i \u89e3\u9664\u5173\u952e\u76ee\u5f55\u548c\u6587\u4ef6\u7684\u4e0d\u53ef\u53d8\u5c5e\u6027&#xff0c;\u4fbf\u4e8e\u4fee\u6539\u3002<\/li>\n<li>\u52a8\u6001\u6587\u4ef6\u540d&#xff1a;\n<ul>\n<li>\u68c0\u67e5 \/usr\/lib\/systemd\/previous_filenames1 \u548c \/usr\/lib\/systemd\/previous_filenames2&#xff0c;\u8bfb\u53d6\u4e0a\u6b21\u4f7f\u7528\u7684\u968f\u673a\u6587\u4ef6\u540d\u3002<\/li>\n<li>\u82e5\u6587\u4ef6\u4e0d\u5b58\u5728&#xff0c;\u751f\u6210\u968f\u673a\u6587\u4ef6\u540d&#xff08;\u5982 \/bin\/&lt;random_string&gt;&#xff09;&#xff0c;\u4fdd\u5b58\u81f3\u4e0a\u8ff0\u6587\u4ef6\u3002<\/li>\n<li>\u91cd\u547d\u540d x86_64 \u548c i386 \u6587\u4ef6\u4e3a\u968f\u673a\u540d\u79f0&#xff0c;\u5b58\u50a8\u5728 \/bin\/\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u6301\u4e45\u5316\u8fd0\u884c&#xff1a;\n<ul>\n<li>\u5c06\u6076\u610f\u6587\u4ef6\u590d\u5236\u5230 \/tmp\/netools \u548c \/tmp\/neo&#xff0c;\u5e76\u8d4b\u4e88\u6267\u884c\u6743\u9650\u3002<\/li>\n<li>\u68c0\u67e5 \/bin\/.locked \u4e2d\u7684 PID&#xff0c;\u82e5\u8fdb\u7a0b\u672a\u8fd0\u884c&#xff0c;\u5219\u542f\u52a8 \/tmp\/netools &#8211;tls\u3002<\/li>\n<li>\u66f4\u65b0 \/bin\/.locked \u4e2d\u7684 PID&#xff0c;\u786e\u4fdd\u5355\u5b9e\u4f8b\u8fd0\u884c\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u6e05\u7406\u75d5\u8ff9&#xff1a;\u7ec8\u6b62 fold\u3001cat\u3001tr \u7b49\u8f85\u52a9\u8fdb\u7a0b&#xff0c;\u9690\u85cf\u6d3b\u52a8\u3002<\/li>\n<\/li>\n<li>\n<p>\u7ed3\u8bba&#xff1a;\/bin\/tDLzoNS7 \u662f\u6076\u610f\u811a\u672c&#xff0c;\u8d1f\u8d23\u542f\u52a8 \/tmp\/netools&#xff0c;\u7591\u4f3c\u6316\u77ff\u75c5\u6bd2&#xff0c;\u5177\u5907\u9632\u706b\u5899\u89c4\u907f\u3001\u6587\u4ef6\u4fdd\u62a4\u89e3\u9664\u548c\u52a8\u6001\u6587\u4ef6\u540d\u4f2a\u88c5\u529f\u80fd\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>\u5904\u7406\u6b65\u9aa4<\/h3>\n<h4>1. \u7981\u7528 Cron \u4efb\u52a1<\/h4>\n<ul>\n<li>\u76ee\u6807&#xff1a;\u963b\u6b62\u6076\u610f\u811a\u672c\u901a\u8fc7 Cron \u91cd\u542f\u3002<\/li>\n<li>\u6b65\u9aa4&#xff1a;\n<ul>\n<li>\u7f16\u8f91 \/etc\/crontab&#xff1a;<span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/crontab\n <\/li>\n<li>\u6ce8\u91ca\u6389\u5468\u671f\u6027\u4efb\u52a1&#xff1a;# 17 *  * * *   root    cd \/ &amp;&amp; run-parts &#8211;report \/etc\/cron.hourly<br \/>\n# 25 6  * * *   root    test -x \/usr\/sbin\/anacron || ( cd \/ &amp;&amp; run-parts &#8211;report \/etc\/cron.daily )<br \/>\n# 47 6  * * 7   root    test -x \/usr\/sbin\/anacron || ( cd \/ &amp;&amp; run-parts &#8211;report \/etc\/cron.weekly )<br \/>\n# 52 6  1 * *   root    test -x \/usr\/sbin\/anacron || ( cd \/ &amp;&amp; run-parts &#8211;report \/etc\/cron.monthly )\n <\/li>\n<li>\u68c0\u67e5\u5176\u4ed6 Cron \u76ee\u5f55&#xff1a;<span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-la<\/span> \/etc\/cron.*\/*\n<ul>\n<li>\u53d1\u73b0\u53ef\u7591\u6587\u4ef6 \/etc\/cron.hourly\/nek3MFYw&#xff0c;\u5185\u5bb9\u4e3a&#xff1a;*\/1 * * * * root \/bin\/tDLzoNS7 1 1\n <\/li>\n<\/ul>\n<\/li>\n<li>\u5c06\u8fd9\u4e9b\u884c\u90fd\u6ce8\u91ca\u6389 \u6216\u8005 \u5220\u9664\u53ef\u7591 Cron \u6587\u4ef6&#xff1a;<span class=\"token function\">cat<\/span> \/etc\/cron.daily\/GxKvnjSb<br \/>\n   <span class=\"token comment\"># \/1     root \/bin\/tDLzoNS7 1 1<\/span>\n <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>2. \u5220\u9664\u6076\u610f\u6587\u4ef6<\/h4>\n<ul>\n<li>\u76ee\u6807&#xff1a;\u79fb\u9664\u6076\u610f\u53ef\u6267\u884c\u6587\u4ef6\u548c\u76f8\u5173\u7ec4\u4ef6\u3002<\/li>\n<li>\u6b65\u9aa4&#xff1a;\n<ul>\n<li>\u5220\u9664 \/bin\/tDLzoNS7&#xff1a;<span class=\"token function\">sudo<\/span> chattr <span class=\"token parameter variable\">-i<\/span> \/bin\/tDLzoNS7<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">rm<\/span> <span class=\"token parameter variable\">-f<\/span> \/bin\/tDLzoNS7\n <\/li>\n<li>\u68c0\u67e5 \/usr\/lib\/systemd\/previous_filenames1 \u548c \/usr\/lib\/systemd\/previous_filenames2&#xff1a;<span class=\"token function\">cat<\/span> \/usr\/lib\/systemd\/previous_filenames1<br \/>\n<span class=\"token function\">cat<\/span> \/usr\/lib\/systemd\/previous_filenames2<\/p>\n<ul>\n<li>\u5047\u8bbe\u5185\u5bb9\u4e3a XXX&#xff0c;\u5220\u9664\u76f8\u5173\u6587\u4ef6&#xff1a;<span class=\"token function\">sudo<\/span> chattr <span class=\"token parameter variable\">-i<\/span> \/bin\/XXX \/tmp\/XXX \/tmp\/neo<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">rm<\/span> <span class=\"token parameter variable\">-f<\/span> \/bin\/XXX \/tmp\/XXX \/tmp\/neo\n <\/li>\n<\/ul>\n<\/li>\n<li>\u6e05\u7406 \/tmp \u548c \/dev\/shm&#xff1a;<span class=\"token function\">sudo<\/span> <span class=\"token function\">rm<\/span> <span class=\"token parameter variable\">-f<\/span> \/tmp\/netools \/dev\/shm\/netools\n <\/li>\n<li>\u9a8c\u8bc1\u5220\u9664&#xff1a;<span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-l<\/span> \/bin\/lRrlrT3D \/tmp\/netools \/tmp\/neo \/bin\/XXX\n <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>3. \u7ec8\u6b62\u6076\u610f\u8fdb\u7a0b<\/h4>\n<ul>\n<li>\u76ee\u6807&#xff1a;\u505c\u6b62 netools \u548c\u76f8\u5173\u8fdb\u7a0b\u3002<\/li>\n<li>\u6b65\u9aa4&#xff1a;\n<ul>\n<li>\u6740\u6b7b\u8fdb\u7a0b&#xff1a;<span class=\"token function\">sudo<\/span> <span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-9<\/span> <span class=\"token number\">19871<\/span> <span class=\"token number\">19872<\/span> <span class=\"token number\">19873<\/span> <span class=\"token number\">19874<\/span> <span class=\"token number\">19875<\/span> <span class=\"token number\">19919<\/span> <span class=\"token number\">19<\/span><span class=\"token punctuation\">..<\/span>.\n <\/li>\n<li>\u9a8c\u8bc1&#xff1a;<span class=\"token function\">htop<\/span><br \/>\n \u663e\u793a cpu \u8d44\u6e90\u6b63\u5e38<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>4. \u91cd\u542f\u7cfb\u7edf<\/h4>\n<ul>\n<li>\u547d\u4ee4&#xff1a;<span class=\"token function\">sudo<\/span> <span class=\"token function\">reboot<\/span>\n <\/li>\n<li>\u6ce8\u610f&#xff1a;\n<ul>\n<li>\u91cd\u542f\u8fc7\u7a0b\u4e2d\u53d1\u73b0\u7ec8\u7aef\u65e0\u6cd5\u8bbf\u95ee&#xff0c;\u539f\u56e0\u662f \/dev \u76ee\u5f55\u6587\u4ef6\u88ab\u5220\u9664&#xff08;\u53ef\u80fd\u7531\u75c5\u6bd2\u6216\u8bef\u64cd\u4f5c\u5bfc\u81f4&#xff09;\u3002<\/li>\n<li>\u91cd\u542f\u540e \/dev \u6587\u4ef6\u81ea\u52a8\u6062\u590d&#xff0c;\u7ec8\u7aef\u8bbf\u95ee\u6b63\u5e38\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<li>\u611f\u67d3\u6e90&#xff1a;\n<ul>\n<li>\u6b64\u6b21\u75c5\u6bd2\u5f88\u53ef\u80fd\u53ef\u80fd\u901a\u8fc7\u4e0d\u6b63\u89c4\u7684\u8f6f\u4ef6\u5305\u5f15\u5165&#xff0c;\u9700\u4e25\u683c\u5ba1\u67e5\u4e0b\u8f7d\u6765\u6e90\u3002<\/li>\n<li>\u68c0\u67e5\u8fd1\u671f\u5b89\u88c5\u7684\u8f6f\u4ef6&#xff1a;dpkg <span class=\"token parameter variable\">-l<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token operator\">&lt;<\/span>suspicious_name<span class=\"token operator\">&gt;<\/span>\n <\/li>\n<\/ul>\n<\/li>\n<li>\u6301\u4e45\u5316\u673a\u5236&#xff1a;\n<ul>\n<li>\u5b9a\u671f\u68c0\u67e5 Cron \u4efb\u52a1\u548c\u7cfb\u7edf\u6587\u4ef6&#xff1a;<span class=\"token function\">crontab<\/span> <span class=\"token parameter variable\">-l<\/span><br \/>\n<span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-la<\/span> \/etc\/cron.*\/*\n <\/li>\n<\/ul>\n<\/li>\n<li>\u9632\u706b\u5899\u6062\u590d&#xff1a;\n<ul>\n<li>\u91cd\u65b0\u542f\u7528\u9632\u706b\u5899&#xff08;\u91cd\u542f\u540e\u7cfb\u7edf\u5df2\u81ea\u52a8\u6062\u590d&#xff09;&#xff1a;<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> ufw<br \/>\n<span class=\"token function\">sudo<\/span> ufw default deny<br \/>\n<span class=\"token function\">sudo<\/span> ufw allow <span class=\"token number\">22<\/span><br \/>\n<span class=\"token function\">sudo<\/span> ufw <span class=\"token builtin class-name\">enable<\/span>\n <\/li>\n<\/ul>\n<\/li>\n<li>\u7cfb\u7edf\u5b89\u5168&#xff1a;\n<ul>\n<li>\u66f4\u65b0\u7cfb\u7edf&#xff1a;<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> upgrade\n <\/li>\n<\/ul>\n<\/li>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u672c\u6b21\u75c5\u6bd2\u611f\u67d3\u6d89\u53ca\u9690\u85cf\u8fdb\u7a0b \/tmp\/netools \u548c\u6076\u610f\u811a\u672c \/bin\/tDLzoNS7&#xff0c;\u901a\u8fc7 Cron \u4efb\u52a1\u5b9e\u73b0\u6301\u4e45\u5316&#xff0c;\u7591\u4f3c\u6316\u77ff\u75c5\u6bd2\u3002\u5904\u7406\u8fc7\u7a0b\u5305\u62ec\u7981\u7528 Cron\u3001\u5220\u9664\u6076\u610f\u6587\u4ef6\u3001\u7ec8\u6b62\u8fdb\u7a0b\u548c\u7cfb\u7edf\u91cd\u542f\u3002\u5efa\u8bae\u52a0\u5f3a\u8f6f\u4ef6\u6765\u6e90\u7ba1\u7406\u3001\u5b9a\u671f\u626b\u63cf\u548c\u9632\u706b\u5899\u914d\u7f6e&#xff0c;\u4ee5\u9632\u6b62\u7c7b\u4f3c\u4e8b\u4ef6\u3002<\/p>\n<p>\u5982\u679c\u60a8\u9047\u5230\u7c7b\u4f3c\u95ee\u9898&#xff0c;\u53ef\u53c2\u8003\u672c\u6587\u6b65\u9aa4&#xff0c;\u5e76\u53ca\u65f6\u8054\u7cfb\u7f51\u7edc\u7ba1\u7406\u5458\u6216\u5b89\u5168\u56e2\u961f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb888\u6b21\uff0c\u70b9\u8d5e27\u6b21\uff0c\u6536\u85cf9\u6b21\u3002\u672c\u6587\u8bb0\u5f55\u4e86\u4e00\u4f8b Linux \u670d\u52a1\u5668\u6316\u77ff\u75c5\u6bd2\u7684\u6392\u67e5\u4e0e\u5904\u7406\u8fc7\u7a0b\u3002\u901a\u8fc7 htop \u53d1\u73b0 CPU \u5f02\u5e38\u5360\u7528\u4f46\u65e0\u5bf9\u5e94\u8fdb\u7a0b\uff0c\u4f7f\u7528 unhide proc \u68c0\u6d4b\u5230\u9690\u85cf\u8fdb\u7a0b \/tmp\/netools \u548c\u6076\u610f\u811a\u672c \/bin\/tDLzoNS7 &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,3846,61,43,44],"topic":[],"class_list":{"0":"post-41739","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-server","7":"tag-linux","9":"tag-61","10":"tag-43","11":"tag-44"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u8fd0\u7ef4\u7b14\u8bb0\uff1a\u670d\u52a1\u5668\u611f\u67d3 netools \u75c5\u6bd2\u6848\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/41739.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u8fd0\u7ef4\u7b14\u8bb0\uff1a\u670d\u52a1\u5668\u611f\u67d3 netools \u75c5\u6bd2\u6848\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb888\u6b21\uff0c\u70b9\u8d5e27\u6b21\uff0c\u6536\u85cf9\u6b21\u3002\u672c\u6587\u8bb0\u5f55\u4e86\u4e00\u4f8b Linux \u670d\u52a1\u5668\u6316\u77ff\u75c5\u6bd2\u7684\u6392\u67e5\u4e0e\u5904\u7406\u8fc7\u7a0b\u3002\u901a\u8fc7 htop \u53d1\u73b0 CPU \u5f02\u5e38\u5360\u7528\u4f46\u65e0\u5bf9\u5e94\u8fdb\u7a0b\uff0c\u4f7f\u7528 unhide proc \u68c0\u6d4b\u5230\u9690\u85cf\u8fdb\u7a0b \/tmp\/netools \u548c\u6076\u610f\u811a\u672c \/bin\/tDLzoNS7 ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/41739.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-03T23:10:37+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/41739.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/41739.html\",\"name\":\"Linux\u8fd0\u7ef4\u7b14\u8bb0\uff1a\u670d\u52a1\u5668\u611f\u67d3 netools \u75c5\u6bd2\u6848\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-03T23:10:37+00:00\",\"dateModified\":\"2025-06-03T23:10:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/41739.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/41739.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/41739.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u8fd0\u7ef4\u7b14\u8bb0\uff1a\u670d\u52a1\u5668\u611f\u67d3 netools \u75c5\u6bd2\u6848\u4f8b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux\u8fd0\u7ef4\u7b14\u8bb0\uff1a\u670d\u52a1\u5668\u611f\u67d3 netools \u75c5\u6bd2\u6848\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/41739.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u8fd0\u7ef4\u7b14\u8bb0\uff1a\u670d\u52a1\u5668\u611f\u67d3 netools \u75c5\u6bd2\u6848\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb888\u6b21\uff0c\u70b9\u8d5e27\u6b21\uff0c\u6536\u85cf9\u6b21\u3002\u672c\u6587\u8bb0\u5f55\u4e86\u4e00\u4f8b Linux \u670d\u52a1\u5668\u6316\u77ff\u75c5\u6bd2\u7684\u6392\u67e5\u4e0e\u5904\u7406\u8fc7\u7a0b\u3002\u901a\u8fc7 htop \u53d1\u73b0 CPU \u5f02\u5e38\u5360\u7528\u4f46\u65e0\u5bf9\u5e94\u8fdb\u7a0b\uff0c\u4f7f\u7528 unhide proc \u68c0\u6d4b\u5230\u9690\u85cf\u8fdb\u7a0b \/tmp\/netools \u548c\u6076\u610f\u811a\u672c \/bin\/tDLzoNS7 ...","og_url":"https:\/\/www.wsisp.com\/helps\/41739.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-03T23:10:37+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/41739.html","url":"https:\/\/www.wsisp.com\/helps\/41739.html","name":"Linux\u8fd0\u7ef4\u7b14\u8bb0\uff1a\u670d\u52a1\u5668\u611f\u67d3 netools \u75c5\u6bd2\u6848\u4f8b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-03T23:10:37+00:00","dateModified":"2025-06-03T23:10:37+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/41739.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/41739.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/41739.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u8fd0\u7ef4\u7b14\u8bb0\uff1a\u670d\u52a1\u5668\u611f\u67d3 netools \u75c5\u6bd2\u6848\u4f8b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/41739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=41739"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/41739\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=41739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=41739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=41739"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=41739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}