{"id":3632,"date":"2025-03-20T15:34:11","date_gmt":"2025-03-20T07:34:11","guid":{"rendered":"https:\/\/blog.billows.com.tw\/?p=3632"},"modified":"2025-03-20T15:34:11","modified_gmt":"2025-03-20T07:34:11","slug":"%e9%a7%ad%e5%ae%a2%e5%88%a9%e7%94%a8%e5%9a%b4%e9%87%8d-php-%e6%bc%8f%e6%b4%9e%e6%95%a3%e5%b8%83-quasar-rat-%e8%88%87-xmrig-%e6%8c%96%e7%a4%a6%e7%a8%8b%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/blog.billows.com.tw\/?p=3632","title":{"rendered":"\u99ed\u5ba2\u5229\u7528\u56b4\u91cd PHP \u6f0f\u6d1e\u6563\u5e03 Quasar RAT \u8207 XMRig \u6316\u7926\u7a0b\u5f0f"},"content":{"rendered":"\n<p><strong>PHP <\/strong><strong>\u6f0f\u6d1e\u6210\u70ba\u99ed\u5ba2\u653b\u64ca\u5165\u53e3<\/strong><\/p>\n\n\n\n<p>\u8cc7\u5b89\u5c08\u5bb6\u8b66\u544a\uff0c\u653b\u64ca\u8005\u6b63\u5728<strong>\u5229\u7528<\/strong><strong> PHP <\/strong><strong>\u7684\u56b4\u91cd\u5b89\u5168\u6f0f\u6d1e\uff08<a href=\"https:\/\/nvd.nist.gov\/vuln\/detail\/cve-2024-4577\">CVE-2024-4577<\/a><\/strong><strong>\uff09<\/strong>\uff0c\u690d\u5165<strong>\u52a0\u5bc6\u8ca8\u5e63\u6316\u7926\u7a0b\u5f0f<\/strong>\u8207<strong>\u9060\u7aef\u5b58\u53d6\u6728\u99ac\uff08<\/strong><strong>RAT<\/strong><strong>\uff09\uff0c\u5982 Quasar RAT<\/strong>\uff0c\u5927\u5e45\u63d0\u5347\u53d7\u5bb3\u7cfb\u7d71\u7684\u98a8\u96aa\u3002<\/p>\n\n\n\n<p>\u6b64\u6f0f\u6d1e\u5f71\u97ff <strong>Windows <\/strong><strong>\u7cfb\u7d71<\/strong> \u5728 <strong>CGI <\/strong><strong>\u6a21\u5f0f<\/strong> \u4e0b\u904b\u884c\u7684 PHP\uff0c\u5c6c\u65bc**\u53c3\u6578\u6ce8\u5165\uff08Argument Injection\uff09**\u6f0f\u6d1e\uff0c\u5141\u8a31\u9060\u7aef\u653b\u64ca\u8005\u57f7\u884c\u4efb\u610f\u4ee3\u78bc\uff0c\u5f9e\u800c\u5b8c\u5168\u638c\u63a7\u53d7\u5bb3\u7cfb\u7d71\u3002<\/p>\n\n\n\n<p>\u6839\u64da <strong>Bitdefender<\/strong> \u7684<a href=\"https:\/\/www.bitdefender.com\/en-us\/blog\/businessinsights\/technical-advisory-update-mass-exploitation-cve-2024-4577\">\u89c0\u5bdf<\/a>\uff0c\u81ea <strong>2023 <\/strong><strong>\u5e74\u5e95<\/strong> \u8d77\uff0c\u91dd\u5c0d <strong>CVE-2024-4577<\/strong> \u7684\u653b\u64ca\u6d3b\u52d5\u6025\u5287\u4e0a\u5347\uff0c\u4e14\u653b\u64ca\u71b1\u9ede\u96c6\u4e2d\u5728\uff1a<br>\ud83d\udccd <strong>\u53f0\u7063\uff0854.65%<\/strong><strong>\uff09<\/strong><br>\ud83d\udccd <strong>\u9999\u6e2f\uff0827.06%<\/strong><strong>\uff09<\/strong><br>\ud83d\udccd <strong>\u5df4\u897f\uff0816.39%<\/strong><strong>\uff09<\/strong><br>\ud83d\udccd <strong>\u65e5\u672c\uff081.57%<\/strong><strong>\uff09<\/strong><br>\ud83d\udccd <strong>\u5370\u5ea6\uff080.33%<\/strong><strong>\uff09<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"313\" src=\"https:\/\/blog.billows.com.tw\/wp-content\/uploads\/2025\/03\/image-3.png\" alt=\"\" class=\"wp-image-3633\" srcset=\"https:\/\/blog.billows.com.tw\/wp-content\/uploads\/2025\/03\/image-3.png 554w, https:\/\/blog.billows.com.tw\/wp-content\/uploads\/2025\/03\/image-3-300x169.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><figcaption class=\"wp-element-caption\">Photo Credit: Bitdefender<\/figcaption><\/figure>\n\n\n\n<p><strong>\u99ed\u5ba2\u653b\u64ca\u884c\u70ba\u5206\u6790<\/strong><\/p>\n\n\n\n<p>\ud83d\udd39 <strong>\u521d\u6b65\u5075\u67e5\u8207\u7cfb\u7d71\u63a2\u6e2c<\/strong><br>\u7d04 <strong>15%<\/strong> \u7684\u653b\u64ca\u5617\u8a66\u70ba<strong>\u57fa\u672c\u6f0f\u6d1e\u6aa2\u6e2c<\/strong>\uff0c\u900f\u904e\u57f7\u884c whoami \u6216 echo &lt;test_string&gt; \u7b49\u547d\u4ee4\uff0c\u78ba\u8a8d\u7cfb\u7d71\u662f\u5426\u53ef\u88ab\u653b\u64ca\u3002<\/p>\n\n\n\n<p>\ud83d\udd39 <strong>\u9032\u968e\u7cfb\u7d71\u60c5\u5831\u6536\u96c6<\/strong><br>\u53e6\u4e00 <strong>15%<\/strong> \u7684\u653b\u64ca\u6d3b\u52d5\u6d89\u53ca<strong>\u7cfb\u7d71\u5075\u67e5\uff08<\/strong><strong>Reconnaissance<\/strong><strong>\uff09<\/strong>\uff0c\u5305\u62ec<strong>\u5217\u8209\u7cfb\u7d71\u9032\u7a0b\u3001\u7db2\u8def\u63a2\u7d22\u3001\u7528\u6236\u8207\u7db2\u57df\u8cc7\u8a0a\u6536\u96c6\u3001\u7cfb\u7d71\u5143\u6578\u64da\u5206\u6790<\/strong>\u7b49\uff0c\u4ee5\u9032\u4e00\u6b65\u8a55\u4f30\u653b\u64ca\u76ee\u6a19\u3002<\/p>\n\n\n\n<p>\ud83d\udd39 <strong>XMRig <\/strong><strong>\u6316\u7926\u7a0b\u5f0f\u4f54\u6bd4\u9ad8\u9054 5%<\/strong><br>\u7d04 <strong>5%<\/strong> \u7684\u653b\u64ca\u6700\u7d42\u5c0e\u81f4 <strong>XMRig <\/strong><strong>\u52a0\u5bc6\u8ca8\u5e63\u6316\u7926\u7a0b\u5f0f<\/strong> \u90e8\u7f72\uff0c\u9019\u985e\u60e1\u610f\u8edf\u9ad4\u53ef\u6301\u7e8c\u5360\u7528\u53d7\u5bb3\u7cfb\u7d71\u7684\u904b\u7b97\u8cc7\u6e90\uff0c\u5c0e\u81f4\u6027\u80fd\u4e0b\u964d\u751a\u81f3\u7cfb\u7d71\u4e0d\u7a69\u5b9a\u3002<\/p>\n\n\n\n<p>\ud83d\udd39 <strong>Nicehash <\/strong><strong>\u6316\u7926\u7a0b\u5f0f\u507d\u88dd\u9003\u907f\u5075\u6e2c<\/strong><br>\u90e8\u5206\u653b\u64ca\u884c\u52d5\u5247\u6d89\u53ca <strong>Nicehash <\/strong><strong>\u6316\u7926\u8edf\u9ad4<\/strong>\uff0c\u9019\u662f\u4e00\u500b\u5141\u8a31\u7528\u6236<strong>\u51fa\u552e\u904b\u7b97\u8cc7\u6e90\u63db\u53d6\u52a0\u5bc6\u8ca8\u5e63<\/strong>\u7684\u5e73\u53f0\u3002\u653b\u64ca\u8005\u5229\u7528\u6b64\u5de5\u5177\uff0c\u5c07\u6316\u7926\u9032\u7a0b\u507d\u88dd\u70ba <strong>javawindows.exe<\/strong> \u7b49\u770b\u4f3c\u6b63\u5e38\u7684\u61c9\u7528\u7a0b\u5f0f\uff0c\u4ee5\u898f\u907f\u8cc7\u5b89\u9632\u79a6\u6a5f\u5236\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Quasar RAT <\/strong><strong>\u8207\u60e1\u610f Windows Installer <\/strong><strong>\u653b\u64ca\u6a21\u5f0f<\/strong><\/p>\n\n\n\n<p>\u9664\u4e86\u6316\u7926\u7a0b\u5f0f\u5916\uff0c\u99ed\u5ba2\u4ea6\u900f\u904e <strong>PHP <\/strong><strong>\u6f0f\u6d1e<\/strong> \u90e8\u7f72 <strong>Quasar RAT<\/strong>\uff0c\u9019\u662f\u4e00\u6b3e <strong>\u958b\u6e90\u9060\u7aef\u5b58\u53d6\u6728\u99ac\uff08RAT<\/strong><strong>\uff09<\/strong>\uff0c\u53ef\u7528\u65bc<strong>\u9060\u7aef\u63a7\u5236\u53d7\u5bb3\u8a2d\u5099\u3001\u7aca\u53d6\u6578\u64da\uff0c\u751a\u81f3\u5b89\u88dd\u984d\u5916\u7684\u60e1\u610f\u8edf\u9ad4<\/strong>\u3002<\/p>\n\n\n\n<p>\ud83d\udd39 <strong>\u5229\u7528 cmd.exe <\/strong><strong>\u9060\u7aef\u57f7\u884c\u60e1\u610f MSI <\/strong><strong>\u5b89\u88dd\u6a94<\/strong><br>\u90e8\u5206\u653b\u64ca\u9084\u6d89\u53ca\u57f7\u884c <strong>\u9060\u7aef\u4f3a\u670d\u5668\u6258\u7ba1\u7684\u60e1\u610f Windows Installer<\/strong><strong>\uff08MSI<\/strong><strong>\uff09\u6a94\u6848<\/strong>\uff0c\u900f\u904e cmd.exe \u4e0b\u8f09\u4e26\u5b89\u88dd\u60e1\u610f\u8edf\u9ad4\uff0c\u589e\u52a0\u60e1\u610f\u8edf\u9ad4\u6301\u4e45\u6027\u3002<\/p>\n\n\n\n<p>\ud83d\udd39 <strong>\u99ed\u5ba2\u9593\u7684\u8cc7\u6e90\u7af6\u722d\u2014\u2014<\/strong><strong>\u963b\u65b7\u5176\u4ed6\u653b\u64ca\u5718\u9ad4\u7684\u5b58\u53d6<\/strong><br>\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0cBitdefender \u9084\u767c\u73fe\u67d0\u4e9b\u653b\u64ca\u884c\u52d5<strong>\u4fee\u6539\u4e86\u53d7\u5bb3\u7cfb\u7d71\u7684\u9632\u706b\u7246\u898f\u5247\uff0c\u4ee5\u5c01\u9396\u5df2\u77e5\u60e1\u610f<\/strong><strong> IP<\/strong>\uff0c\u9019\u53ef\u80fd\u986f\u793a\u4e0d\u540c\u7684\u52a0\u5bc6\u8ca8\u5e63\u6316\u7926\u653b\u64ca\u96c6\u5718\u6b63\u76f8\u4e92\u7af6\u722d\uff0c\u8a66\u5716<strong>\u7368\u5360\u53d7\u5bb3\u7cfb\u7d71\u8cc7\u6e90\uff0c\u9632\u6b62\u5176\u4ed6\u99ed\u5ba2\u91cd\u65b0\u5165\u4fb5<\/strong>\u3002\u9019\u7a2e\u7af6\u722d\u884c\u70ba\u8207\u904e\u53bb\u7684 <strong>\u52a0\u5bc6\u52ab\u6301\uff08Cryptojacking<\/strong><strong>\uff09<\/strong> \u653b\u64ca\u6a21\u5f0f\u4e00\u81f4\uff0c\u99ed\u5ba2\u901a\u5e38\u6703\u5728\u90e8\u7f72\u81ea\u5df1\u7684\u60e1\u610f\u6316\u7926\u7a0b\u5f0f\u524d\uff0c\u5148\u7d42\u6b62\u7cfb\u7d71\u5167\u904b\u884c\u7684\u7af6\u722d\u5c0d\u624b\u9032\u7a0b\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u8cc7\u5b89\u5c08\u5bb6\u5efa\u8b70\uff1a\u5982\u4f55\u9632\u7bc4 PHP <\/strong><strong>\u6f0f\u6d1e\u653b\u64ca\uff1f<\/strong><\/p>\n\n\n\n<p>\u2705 <strong>\u7acb\u5373\u66f4\u65b0 PHP <\/strong><strong>\u81f3\u6700\u65b0\u7248\u672c<\/strong><br>\u653b\u64ca\u4e3b\u8981\u91dd\u5c0d <strong>Windows <\/strong><strong>\u74b0\u5883\u4e0b\u7684 CGI <\/strong><strong>\u6a21\u5f0f<\/strong>\uff0c\u4f01\u696d\u8207\u7528\u6236\u61c9<strong>\u7acb\u5373\u5347\u7d1a<\/strong><strong> PHP<\/strong>\uff0c\u4ee5\u9632\u6b62\u6f0f\u6d1e\u88ab\u5229\u7528\u3002<\/p>\n\n\n\n<p>\u2705 <strong>\u9650\u5236\u9ad8\u98a8\u96aa\u5de5\u5177\uff08LOTL<\/strong><strong>\uff09\u6b0a\u9650<\/strong><br>\u653b\u64ca\u8005\u5ee3\u6cdb\u5229\u7528 <strong>LOTL<\/strong><strong>\uff08Living Off The Land<\/strong><strong>\uff09\u5de5\u5177<\/strong>\uff0c\u5982 <strong>PowerShell<\/strong><strong>\u3001cmd.exe<\/strong><strong>\u3001WMI<\/strong> \u7b49\uff0c\u4f86\u7e5e\u904e\u50b3\u7d71\u5b89\u5168\u9632\u8b77\u3002\u4f01\u696d\u61c9<strong>\u9650\u5236\u975e\u5fc5\u8981\u7528\u6236<\/strong>\uff08\u5982\u4e00\u822c\u54e1\u5de5\uff09\u57f7\u884c\u9019\u4e9b\u5de5\u5177\uff0c\u50c5\u5141\u8a31<strong>\u7ba1\u7406\u54e1\u6b0a\u9650<\/strong>\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u2705 <strong>\u90e8\u7f72 EDR\/XDR <\/strong><strong>\u76e3\u6e2c\u7570\u5e38\u884c\u70ba<\/strong><br>\u900f\u904e <strong>\u7aef\u9ede\u5075\u6e2c\u8207\u56de\u61c9\uff08EDR<\/strong><strong>\uff09\u6216\u64f4\u5c55\u5f0f\u5075\u6e2c\u8207\u56de\u61c9\uff08XDR<\/strong><strong>\uff09<\/strong>\uff0c\u76e3\u63a7\u7570\u5e38\u7684\u7db2\u8def\u884c\u70ba\uff0c\u5982<strong>\u7570\u5e38<\/strong><strong> CPU <\/strong><strong>\u4f54\u7528\u3001\u53ef\u7591 PowerShell <\/strong><strong>\u6307\u4ee4\u57f7\u884c\u3001\u5b58\u53d6\u60e1\u610f IP <\/strong><strong>\u5730\u5740<\/strong>\u7b49\uff0c\u80fd\u6709\u6548\u6514\u622a\u653b\u64ca\u3002<\/p>\n\n\n\n<p>\u2705 <strong>\u52a0\u5f37\u9632\u706b\u7246\u8207\u7db2\u8def\u5b89\u5168\u8a2d\u5b9a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9650\u5236 <strong>PHP CGI <\/strong><strong>\u6a21\u5f0f<\/strong> \u7684\u5b58\u53d6\u6b0a\u9650<\/li>\n\n\n\n<li>\u90e8\u7f72 <strong>Web <\/strong><strong>\u61c9\u7528\u7a0b\u5f0f\u9632\u706b\u7246\uff08WAF<\/strong><strong>\uff09<\/strong> \u4ee5\u9632\u6b62 <strong>Web Exploit <\/strong><strong>\u653b\u64ca<\/strong><\/li>\n\n\n\n<li>\u555f\u7528 <strong>\u7aef\u53e3\u767d\u540d\u55ae\u6a5f\u5236<\/strong>\uff0c\u907f\u514d PHP \u670d\u52d9\u88ab\u672a\u7d93\u6388\u6b0a\u7684\u4f86\u6e90\u5b58\u53d6<\/li>\n<\/ul>\n\n\n\n<p>\u2705 <strong>\u5b9a\u671f\u9032\u884c\u8cc7\u5b89\u98a8\u96aa\u8a55\u4f30<\/strong><br>\u4f01\u696d\u61c9<strong>\u5b9a\u671f\u6383\u63cf\u7cfb\u7d71\u6f0f\u6d1e\uff0c\u8a55\u4f30<\/strong><strong> PHP <\/strong><strong>\u670d\u52d9\u914d\u7f6e<\/strong>\uff0c\u907f\u514d\u56e0\u5f31\u52e2\u8a2d\u5b9a\uff08\u5982\u672a\u555f\u7528\u8eab\u4efd\u9a57\u8b49\u3001\u5141\u8a31\u9060\u7aef\u57f7\u884c\u547d\u4ee4\uff09\u800c\u589e\u52a0\u88ab\u653b\u64ca\u7684\u98a8\u96aa\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u7d50\u8ad6\uff1aPHP <\/strong><strong>\u6f0f\u6d1e\u653b\u64ca\u4ecd\u5728\u64f4\u5927\uff0c\u4f01\u696d\u61c9\u7acb\u5373\u5f37\u5316\u9632\u79a6<\/strong><\/p>\n\n\n\n<p><strong>\u8fd1\u671f\u653b\u64ca\u6848\u4f8b\u986f\u793a\uff0c\u99ed\u5ba2\u6b63\u5ee3\u6cdb\u5229\u7528 CVE-2024-4577 <\/strong><strong>\u90e8\u7f72\u60e1\u610f\u8edf\u9ad4\uff0c\u5982 XMRig <\/strong><strong>\u6316\u7926\u7a0b\u5f0f\u8207 Quasar RAT<\/strong><strong>\uff0c\u751a\u81f3\u900f\u904e\u4fee\u6539\u9632\u706b\u7246\u898f\u5247\u4f86\u963b\u65b7\u7af6\u722d\u5c0d\u624b\u3002<\/strong><\/p>\n\n\n\n<p>\u9019\u985e\u653b\u64ca\u4e0d\u50c5\u5f71\u97ff <strong>\u4f3a\u670d\u5668\u6548\u80fd\u8207\u53ef\u7528\u6027<\/strong>\uff0c\u66f4\u53ef\u80fd\u5c0e\u81f4 <strong>\u9060\u7aef\u5b58\u53d6\u6728\u99ac\u5165\u4fb5\uff0c\u9032\u4e00\u6b65\u7aca\u53d6\u4f01\u696d\u6a5f\u5bc6\u6578\u64da<\/strong>\u3002<\/p>\n\n\n\n<p>\u70ba\u78ba\u4fdd\u5b89\u5168\uff0c\u4f01\u696d\u8207\u7528\u6236\u61c9 <strong>\u7acb\u5373\u66f4\u65b0 PHP<\/strong><strong>\u3001\u9650\u5236\u9ad8\u98a8\u96aa\u5de5\u5177\u5b58\u53d6\u3001\u90e8\u7f72 EDR <\/strong><strong>\u76e3\u63a7\u7570\u5e38\u884c\u70ba\uff0c\u4e26\u5f37\u5316\u7db2\u8def\u5b89\u5168\u9632\u8b77\u63aa\u65bd<\/strong>\uff0c\u4ee5\u907f\u514d\u6210\u70ba\u99ed\u5ba2\u7684\u4e0b\u500b\u76ee\u6a19\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP \u6f0f\u6d1e\u6210\u70ba\u99ed\u5ba2\u653b\u64ca\u5165\u53e3 \u8cc7\u5b89\u5c08\u5bb6\u8b66\u544a\uff0c\u653b\u64ca\u8005\u6b63\u5728\u5229\u7528 PHP \u7684\u56b4\u91cd\u5b89\u5168\u6f0f\u6d1e\uff08CVE-2024-4577 <a class=\"read-more\" href=\"https:\/\/blog.billows.com.tw\/?p=3632\">READ MORE<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[174],"class_list":["post-3632","post","type-post","status-publish","format-standard","hentry","category-6","tag-news"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/3632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3632"}],"version-history":[{"count":1,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/3632\/revisions"}],"predecessor-version":[{"id":3634,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/3632\/revisions\/3634"}],"wp:attachment":[{"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}