Summary
An independent threat cluster (“TChCh-Changes”) distributes AppleScript-based malware targeting cryptocurrency organizations that manipulates the macOS Transparency, Control and Consent (TCC) database to escalate privileges without user consent prompts. Delivery is via spearphished .scpt files opened in Script Editor, using a multi-stage AppleScript chain to drop a backdoor and directly rewrite TCC permission entries. The technique fails on patched macOS versions (Tahoe 26.4.1+, Sequoia 15.7.7+) released April–May 2026, but remains viable where an attacker already has Full Disk Access (common on developer endpoints). The cluster shares tactical overlap with North Korean actor Sapphire Sleet but is assessed as a distinct implementation and infrastructure set.
File Paths & Artifacts
macOS:
/Library/Application Support/com.apple.TCC/TCC.db # system-level permissions
~/Library/Application Support/com.apple.TCC/TCC.db # user-level permissions
~/Library/Application Support/Applets/.svc.conf # malware config file
~/Library/LaunchAgents/ # persistence
/private/var/containers/Data/ProtectedSystem/[UUID]/Data/Library/Application Support/com.apple.TCC/ # macOS 27 future relocation
Reconnaissance targets:
/Users
/Applications
~/Downloads
~/Documents
~/Desktop
Key File Breakdown
TCC.db(system and user level) — SQLite database that stores app permission grants (Full Disk Access, Automation, Accessibility, etc.). Direct write access lets an attacker synthetically insert permission rows without triggering the normal user consent prompt, effectively self-granting privileges for subsequent processes.~/Library/Application Support/Applets/.svc.conf— Hidden configuration file used by the malware to store runtime state (device serial, C2 config); presence in a non-standard hidden dotfile is itself a weak indicator.~/Library/LaunchAgents/— Standard persistence location; malware drops a LaunchAgent here for the backdoor.
Tools & Techniques
| Tool/Command | Usage |
|---|---|
osacompile -s -x -l AppleScript -o ptApp | Compiles run-only AppleScript into an app bundle, stripping readable source |
codesign --force --deep --sign | Ad hoc signs the compiled app bundle to reduce Gatekeeper friction |
sqlite | Directly manipulates TCC.db to insert/modify permission rows |
curl -sLk | Downloads next-stage payloads over HTTPS |
| `ps -xo pid,user,comm | grep tccd |
uname -m / sw_vers -productVersion | Architecture and OS version fingerprinting to select the correct exploit path |
| Script Editor / Finder (AppleEvents) | Native macOS apps abused to execute AppleScript and manipulate files/permissions via AppleEvents |
# tccd termination pattern observed in the wild
ps -xo pid,user,comm | grep tccd | awk -v u=$(whoami) '$2==u {print $1}' | xargs kill -9Attack Prerequisites
- User interaction: victim must open and run a malicious
.scptfile in Script Editor (native, unsigned scripts run without warning) - Network access: outbound HTTPS to attacker C2
- Filesystem write access: standard user permissions to
~/Library/Application Support/are sufficient — no elevated privileges needed to begin the chain - Full Disk Access (common on dev machines): where already granted (e.g., to IDE/terminal apps), direct TCC.db manipulation remains viable even post-patch
Patched vs Unpatched Behavior
| macOS Version | Status |
|---|---|
| Tahoe 26.4.1+ (Apr 2026+) | TCC manipulation via Finder AppleEvents fails |
| Sequoia 15.7.7+ (May 2026+) | Fails unless parent process already has Full Disk Access |
| macOS 27 “Golden Gate” (Sept 2026, scheduled) | User TCC store relocates to a per-user protected container path with an additional entitlement requirement |
No CVE identified for the underlying behavior in the source article — treated as a design/hardening improvement rather than a discrete vulnerability patch.
Attacker Stealth / Anti-Forensic Techniques
- Run-only AppleScript compilation prevents source inspection
- Malicious logic buried among 1000+ blank/padding lines in the first-stage script
LSUIElement=truehides the dropped app from the Dock- Temporary
.scptfiles deleted from disk post-execution - Ad hoc code signing to appear less suspicious to casual inspection
- Backdoor payload base64-encoded prior to execution
- Custom, org-tailored lure documents and a “Compatibility Wizard” pretext with a styled fake progress bar
Command & Control
- Domains:
cigalsn.com,ecoferros.com(active);woodcastpro.com,techcross-es.com,stomcs.com,sevrrhst.com(historical) - C2 paths:
/wp-includes/php-compat/common/resources/interface.php?req=trouble&tpl=071305_YZi&ver=[version]&type=[arch]/wp-content/plugins/elementor/includes/controls/captcha/controller(hardcoded fallback)/.php?req=contact&dv=[device_serial](telemetry submission)/.php?req=tell&dv=[device_serial](command polling)
- WordPress-path masquerading on C2 endpoints to blend with legitimate web traffic
Detection Opportunities
- Endpoint Security Framework
tcc_modifyevents compared against actual disk TCC entries — discrepancies indicate synthetic insertion - Command-line monitoring for user-initiated
tccdtermination (rare in normal operation) - Process chain: Script Editor → curl → osacompile → codesign → Finder AppleEvents
- LaunchAgent creation under
~/Library/LaunchAgents/shortly after Script Editor activity - Outbound HTTP requests to
/.php?req=contact//.php?req=tellpaths - See 20 - Areas/Threat Hunting/Hunt - macOS TCC Manipulation for the full hunt plan and query stubs.
IOCs
Domains:
- cigalsn.com
- ecoferros.com
- woodcastpro.com (historical)
- techcross-es.com (historical)
- stomcs.com (historical)
- sevrrhst.com (historical)
SHA256:
53b2d24c9aefe01a768f6e2c637ab9fd56dcede852925cec18eccae58dfecec7— first-stage dropper59912303968e90a7a94babf8822cc6d3f8624891ee21cce737a656f7383e4d79— second-stage payloadf56c7d566204ce890b7c0f70878a38b375e35fe3f12aa96a69ede1dad6e59b4f— third-stage backdoor (encoded)6abb8eacc77dc7acf4e0047dd493f3a1e73abeb4ebc3b63ccb9e7c1db6773d03— third-stage backdoor (decoded)
Threat Actor Attribution
Assessed as an independent cluster with operational/technical lineage to North Korean actor Sapphire Sleet, formal attribution deferred. Overlaps: AppleScript social-engineering delivery, near-identical TCC manipulation implementation, cryptocurrency-sector targeting, and similar 2026 timeframe. Related prior reporting: BlueNoroff (Kaspersky, Oct 2025), UNC1069 (Mandiant, Feb 2026), Sapphire Sleet (Microsoft, Apr 2026; LevelBlue, May 2026).
Vendor Response
Apple hardened TCC handling in Tahoe 26.4.1+ and Sequoia 15.7.7+ (Apr–May 2026), and plans a further relocation of the user TCC store with additional entitlement requirements in macOS 27 (Golden Gate, Sept 2026). No specific CVE cited in source reporting.
Related Control — Terminal Paste-Block (macOS 26.4 / Sequoia 15.4)
A separate but related mitigation shipped slightly earlier, in macOS 26.4 “Tahoe” and the parallel Sequoia 15.4 point release (both March 24, 2026): a “Possible malware, Paste blocked” Terminal warning that fires on the first cross-application paste of a suspicious command, using a private NSPasteboard API (_sourceSigningIdentifier) to check the code-signing identity of the clipboard’s source app against a list of ~74 known apps. The dialog is suppressed if Terminal was opened within the last 30 days, or if developer tools are installed, so it primarily protects infrequent/non-technical Terminal users.
This control is Terminal-specific and does not inspect Script Editor. It doesn’t directly gate the TCC manipulation technique above (which never touches Terminal at all), but it is the documented driver behind a parallel trend: ClickFix and related macOS social-engineering clusters — including this one — favor Script Editor via the applescript:// URL scheme precisely because it’s a signed, trusted Apple application sitting outside this Terminal-focused mitigation’s coverage. See Attack Techniques/ClickFix macOS via Script Editor for the technique that pivoted directly in response to this control.
Endpoint Security telemetry gap: the paste-block is implemented in xprotectd (/usr/libexec/xprotectd) via two undocumented Endpoint Security events, ES_EVENT_TYPE_RESERVED_0 (148) and ES_EVENT_TYPE_RESERVED_1 (149 — the paste AUTH event, backed by an es_event_paste_t structure with source/target audit tokens, source bundle identifier, target responsible process, and the actual pasted content). First documented by Koh M. Nakagawa at Objective by the Sea v8, corroborated by Patrick Wardle (Objective-See, 2026-03-31). These events require the com.apple.private.endpoint-security.client entitlement, restricted to Apple’s own system binaries — third-party ES clients (CrowdStrike, SentinelOne, BlockBlock, etc.) cannot subscribe at all. Relevant here because it means no third-party EDR can get programmatic subscription access to paste telemetry for any macOS paste operation, TCC-related or not — that block is confirmed. However, xprotectd does emit unified log (os_log) telemetry on every paste, system-wide, confirmed via local testing (log stream --process xprotectd --level debug --info). This is a separate channel from the ES event — reading unified logs requires no special entitlement, so it’s available to any EDR agent that ingests os_log, even though ES subscription is blocked.
Confirmed behavior: every paste logs under subsystem/category com.apple.security.xprotectd:main (payload redacted as <private> by default); this is frequently followed by a SafariSafeBrowsing subsystem sequence, meaning xprotectd also performs a Safe Browsing URL reputation lookup on pasted content, not just a source-app code-signing check. A plaintext, non-redacted decision string — "Source process is not a browser" — was observed gating whether that lookup runs. See Attack Techniques/ClickFix macOS via Script Editor for the full breakdown and the private-data-unmasking method. Until pasted content/URLs are unmasked and correlated against known-malicious values, the detection queries in this cluster still rely primarily on downstream indicators (process chains, file writes, tccd behavior) — but xprotectd’s own log stream is now a confirmed, usable secondary signal worth adding to hunt scope.
References
- TChCh-Changes: A Look at macOS TCC Manipulation in the Wild (@oj-sec, 2026-07-21)
- macOS 26.4 has new Terminal popup warning when pasting commands — 9to5Mac (2026-03-25)
- If your Mac blocks a Terminal command paste or script — Apple Support
- No Paste for You! — Objective-See (Patrick Wardle, 2026-03-31)
- macOS ClickFix Campaign: AppleScript Stealers & New Terminal Protections — Netskope
- Objective by the Sea v8 talk — Koh M. Nakagawa, original es_event_paste_t / xprotectd reverse engineering