{"id":8408,"date":"2025-11-13T04:03:45","date_gmt":"2025-11-13T04:03:45","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/11\/13\/32474\/"},"modified":"2025-11-13T04:03:45","modified_gmt":"2025-11-13T04:03:45","slug":"32474","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/11\/13\/32474\/","title":{"rendered":"SmartApeSG campaign uses ClickFix page to push NetSupport RAT, (Wed, Nov 12th)"},"content":{"rendered":"<p>    SmartApeSG campaign uses ClickFix page to push NetSupport RAT, (Wed, Nov 12th)<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p><em><strong>Introduction<\/strong><\/em><\/p>\n<p>This diary describes a NetSupport RAT infection I generated in my lab from the SmartApeSG campaign that used a ClickFix-style fake CAPTCHA page.<\/p>\n<p>Known as\u00a0ZPHP or HANEYMANEY,\u00a0SmartApeSG is a campaign\u00a0<a href=\"https:\/\/www.threatdown.com\/blog\/smartapesg-06-11-2024\/\">reported as early as June 2024<\/a>. When it started, this campaign used fake browser update pages. But it currently uses the <a href=\"https:\/\/unit42.paloaltonetworks.com\/preventing-clickfix-attack-vector\/\">ClickFix method<\/a> of fake CAPTCHA-style &#8220;verify you are human&#8221; pages.<\/p>\n<p>This campaign pushes malicious <a href=\"https:\/\/www.microsoft.com\/en-us\/wdsi\/threats\/malware-encyclopedia-description?Name=Trojan:Win32\/NetSupportRat!MTB&amp;ocid=magicti_blog_ency\">NetSupport RAT<\/a>\u00a0packages for its initial malware infection, and I&#8217;ve <a href=\"https:\/\/www.malware-traffic-analysis.net\/2025\/08\/20\/index.html\">seen follow-up malware<\/a>\u00a0from these NetSupport RAT infections.<\/p>\n<p><em><strong>How To Find SmartApeSG Activity<\/strong><\/em><\/p>\n<p>I can usually find SmartApeSG indicators from the <a href=\"https:\/\/infosec.exchange\/@monitorsg\">Monitor SG account<\/a> on Mastodon. I use <a href=\"https:\/\/urlscan.io\/search\/#*\">URLscan<\/a> to pivot on those indicators, so I can find compromised websites that lead to the SmartApeSG script.<\/p>\n<p><em><strong>The Infection<\/strong><\/em><\/p>\n<p>Sites compromised through this campaign display pages with a hidden injected script. Given the right conditions, this script kicks off a SmartApeSG chain of events. The image below shows an example.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-01.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\" src=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-01.png?ssl=1\" style=\"border-width: 2px; border-style: solid;\"><\/a><br \/>\n<em>Shown above: Injected SmartApeSG script in a page from the compromised site.<\/em><\/p>\n<p>In some cases, this injected script does not kick off the infection chain. I&#8217;ve had issues getting an infection chain during certain times of day, or if I try viewing the compromised website multiple times from the same source IP address. I don&#8217;t know what the conditions are, but if those conditions are right, the compromised site shows a fake CAPTCHA-style &#8220;verify you are human&#8221; page.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-02.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\" src=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-02.png?ssl=1\" style=\"border-width: 2px; border-style: solid;\"><\/a><br \/>\n<em>Shown above:\u00a0Fake CAPTCHA page displayed by the compromised site.<\/em><\/p>\n<p>Clicking the &#8220;verify you are human&#8221; box does the following:<\/p>\n<ul>\n<li>Injects malicious content into the Windows host&#8217;s clipboard<\/li>\n<li>Generates a pop-up with instructions to open a Run window, paste content into the window, and run it.<\/li>\n<\/ul>\n<p>The clipboard-injected content is a command string that uses the <span style=\"font-family:Courier New,Courier,monospace;\">mshta<\/span> command to retrieve and run malicious content that will generate a NetSupport RAT infection.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-03.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\" src=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-03.png?ssl=1\" style=\"border-width: 2px; border-style: solid;\"><\/a><br \/>\n<em>Shown above: Following ClickFix directions to paste content (a malicious command) into the Run window.<\/em><\/p>\n<p>Below is a URL list of the HTTPS traffic directly involved in this infection.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-04.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\" src=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-04.png?ssl=1\" style=\"border-width: 2px; border-style: solid;\"><\/a><br \/>\n<em>Shown above: HTTPS traffic directly involved in this SmartApe SG activity.<\/em><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-05.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\" src=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-05.png?ssl=1\" style=\"border-width: 2px; border-style: solid;\"><\/a><br \/>\n<em>Shown above: Traffic from the infection filtered in Wireshark.<\/em><\/p>\n<p>The malicious NetSupport RAT package stays persistent on the infected host through a Start Menu shortcut. The shortcut runs a <span style=\"font-family:Courier New,Courier,monospace;\">.js<\/span> file in the user&#8217;s <span style=\"font-family:Courier New,Courier,monospace;\">AppDataLocalTemp<\/span> directory. That <span style=\"font-family:Courier New,Courier,monospace;\">.js<\/span> file runs the NetSupport RAT executable located in a folder under the <span style=\"font-family:Courier New,Courier,monospace;\">C:ProgramData<\/span> directory.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-06.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\" src=\"https:\/\/i0.wp.com\/isc.sans.edu\/diaryimages\/images\/2025-11-12-ISC-diary-image-06.png?ssl=1\" style=\"border-width: 2px; border-style: solid;\"><\/a><br \/>\n<em>Shown above: The malicious NetSupport RAT package, persistent on an infected Windows host.<\/em><\/p>\n<p><em><strong>Indicators From This Activity<\/strong><\/em><\/p>\n<p>The following URLs were noted in traffic from this infection:<\/p>\n<ul>\n<li>\n<span style=\"font-family:Courier New,Courier,monospace;\">hxxps[:]\/\/frostshiledr[.]com\/xss\/buf.js<\/span>\u00a0 &lt;&#8211; injected SmartApeSG script<\/li>\n<li><span style=\"font-family:Courier New,Courier,monospace;\">hxxps[:]\/\/frostshiledr[.]com\/xss\/index.php?iArfLYKw<\/span><\/li>\n<li>\n<span style=\"font-family:Courier New,Courier,monospace;\">hxxps[:]\/\/frostshiledr[.]com\/xss\/bof.js?0e58069bbdd36e9a36\u00a0<\/span> &lt;&#8211; fake CAPCHA page\/ClickFix instructions<\/li>\n<li>\n<span style=\"font-family:Courier New,Courier,monospace;\">hxxps[:]\/\/newstarmold[.]com\/sibhl.php<\/span>\u00a0 &lt;&#8211; Script retrieved by ClickFix command<\/li>\n<li>\n<span style=\"font-family:Courier New,Courier,monospace;\">hxxps[:]\/\/www.iconconsultants[.]com\/4nnjson.zip<\/span>\u00a0 &lt;&#8211; zip archive containing malicious NetSupport RAT package<\/li>\n<li>\n<span style=\"font-family:Courier New,Courier,monospace;\">hxxp[:]\/\/194.180.191[.]121\/fakeurl.htm<\/span>\u00a0 &lt;&#8211; NetSupport RAT C2 traffic over TCP port 443<\/li>\n<\/ul>\n<p>The following is the zip archive containing the malicious NetSupport RAT package:<\/p>\n<ul>\n<li>SHA256 hash:\u00a0<span style=\"font-family:Courier New,Courier,monospace;\">1e9a1be5611927c22a8c934f0fdd716811e0c93256b4ee784fadd9daaf2459a1<\/span>\n<\/li>\n<li>File size:\u00a09,192,105 bytes<\/li>\n<li>File type:\u00a0Zip archive data, at least v1.0 to extract, compression method=store<\/li>\n<li>File location:\u00a0<span style=\"font-family:Courier New,Courier,monospace;\">hxxps[:]\/\/www.iconconsultants[.]com\/4nnjson.zip<\/span>\n<\/li>\n<li>Saved to disk as: <span style=\"font-family:Courier New,Courier,monospace;\">C:ProgramDatapsrookk11nn.zip<\/span>\n<\/li>\n<\/ul>\n<p>Note: These domains change on a near-daily basis, and the NetSupport RAT package and C2 server also frequently change.<\/p>\n<p>&#8212;<br \/>\nBradley Duncan<br \/>\nbrad [at] malware-traffic-analysis.net<\/p>\n<p> (c) SANS Internet Storm Center. https:\/\/isc.sans.edu Creative Commons Attribution-Noncommercial 3.0 United States License.<\/p><\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><\/p>\n<p> \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/isc.sans.edu\/diary\/rss\/32474\">Go to isc.sans.edu<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SmartApeSG campaign uses ClickFix page to push NetSupport RAT, (Wed, Nov 12th) Introduction This diary describes a NetSupport RAT infection I generated in my lab from the SmartApeSG campaign that used a ClickFix-style fake CAPTCHA page. Known as\u00a0ZPHP or HANEYMANEY,\u00a0SmartApeSG is a campaign\u00a0reported as early as June 2024. When it started, this campaign used fake [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[69],"class_list":["post-8408","post","type-post","status-publish","format-standard","hentry","category-isc-sans-edu","tag-isc-sans-edu"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/8408"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=8408"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/8408\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=8408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=8408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=8408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}