{"id":150601,"date":"2026-08-25T13:16:14","date_gmt":"2026-08-25T13:16:14","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/150601\/"},"modified":"2026-08-25T13:16:14","modified_gmt":"2026-08-25T13:16:14","slug":"fake-openai-codex-download-tricks-macos-users-into-installing-malware","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/150601\/","title":{"rendered":"Fake OpenAI Codex download tricks macOS users into installing malware"},"content":{"rendered":"<p>A malware campaign using a sponsored search ad and a fake OpenAI Codex download page to trick macOS users into pasting a malicious command into Terminal has been uncovered by Cato Networks.<\/p>\n<p>It\u2019s a variation of <a href=\"https:\/\/www.helpnetsecurity.com\/2026\/07\/15\/clickfix-social-engineering-attacks-report\/\" rel=\"nofollow noopener\" target=\"_blank\">ClickFix<\/a>, a popular social engineering technique that persuades victims to execute the infection step themselves rather than opening a malicious file.<\/p>\n<p>The attack starts with a sponsored search result for queries such as \u201ccodex macos download.\u201d The ad appears above the genuine OpenAI listing and sends visitors to a page hosted on Google Sites that mimics an OpenAI Codex download portal, complete with options for macOS and Linux.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/08\/fake_Codex_download.webp\" class=\"aligncenter\" alt=\"fake Codex download\" title=\"Fake Codex download page hosted on Google Sites\"\/><\/p>\n<p class=\"text-center\">Fake Codex download page hosted on Google Sites (Source: Cato Networks)<\/p>\n<p>\u201cWe observed active payload delivery for macOS, but not Linux,\u201d researchers said.<\/p>\n<p>\u201cThe visible Google Sites page is only the front end. It embeds attacker-controlled content through an iframe, likely loaded through a Google static-content proxy,\u201d they explained.<\/p>\n<p>Cato mapped three infrastructure sets, each pointing to a separate iframe host, allowing the operators to swap the malicious content without changing the initial Google Sites lure.<\/p>\n<p>Pasted terminal command launches multi-stage attack<\/p>\n<p>One of those sets uses an evasion trick. The malicious page loads from \/codexx\/, while the more obvious \/codex\/ path displays a harmless fake product page. Visitors using non-Mac devices are also served the benign version.<\/p>\n<p>Cato said this type of gating \u201ccan mislead analysts and automated scanners,\u201d since requests that don\u2019t match the attackers\u2019 target profile may never encounter the malicious content.<\/p>\n<p>Victims who reach the malicious page are instructed to open Terminal and paste a command that initially resembles a normal Codex installation line. Instead, it decodes a Base64-encoded URL and downloads a script that is piped into zsh, kicking off a multi-stage infection chain.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/08\/fake_Codex_download_1.webp\" class=\"aligncenter\" alt=\"fake Codex download\" title=\"Fake installer prompts a Terminal command\"\/><\/p>\n<p class=\"text-center\">Fake installer prompts a Terminal command (Source: Cato Networks)<\/p>\n<p>The first stage acts as a loader that decodes and executes an embedded script. The next stage sends a request to the attackers\u2019 server to record that the command was pasted, then downloads another file to \/tmp\/helper.<\/p>\n<p>It also uses xattr -c to strip the file\u2019s extended attributes before making it executable and launching it.<\/p>\n<p>The final payload is a universal Mach-O binary capable of running on both Intel-based Macs and Apple Silicon systems.<\/p>\n<p>Fake Codex malware delivery mirrors Atomic Stealer<\/p>\n<p>Cato found strong similarities between the delivery chain and <a href=\"https:\/\/www.helpnetsecurity.com\/2025\/09\/22\/macos-infostealer-campaign-github\/\" rel=\"nofollow noopener\" target=\"_blank\">Atomic macOS Stealer<\/a> (AMOS), an information-stealing malware family previously documented in public security research.<\/p>\n<p>\u201cThe overlap includes Base64-decoded \/curl\/ loaders, compressed and obfuscated zsh stages, telemetry requests to \/api\/metrics\/run?event=pasted, uniquely structured update URLs, universal Mach-O payloads staged in \/tmp\/helper, removal of extended attributes, and execution of the payload,\u201d researchers wrote.<\/p>\n<p>The campaign isn\u2019t limited to impersonating OpenAI\u2019s Codex. Cato also discovered related infrastructure behind a similar landing page impersonating Claude Code, although that page was hosted outside Google Sites.<\/p>\n<p>\u201cFor organizations, the key lesson is that a trusted search result, a legitimate hosting service, and a familiar developer-tool brand can be combined into a credible path to malware execution,\u201d researchers <a href=\"https:\/\/www.catonetworks.com\/blog\/cato-ctrl-when-trust-becomes-payload-in-fake-codex-clickfix-campaign\/\" target=\"_blank\" rel=\"nofollow noopener\">concluded<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"A malware campaign using a sponsored search ad and a fake OpenAI Codex download page to trick macOS&hellip;\n","protected":false},"author":2,"featured_media":150602,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[49294,132,8345,317,157,10646],"class_list":["post-150601","post","type-post","status-publish","format-standard","has-post-thumbnail","category-openai","tag-cato-networks","tag-google","tag-macos","tag-malware","tag-openai","tag-social-engineering"],"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/150601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=150601"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/150601\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/150602"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=150601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=150601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=150601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}