Threat Advisory

Gaslight Backdoor Targets macOS Cryptocurrency Users Globally

Threat: Malware Campaign
Targeted Region: Global
Targeted Sector: Technology & IT
Criticality: High
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY

Attribution points to a North‑Korean‑aligned threat group that has been developing macOS‑focused implants. The malware, identified as macOS.Gaslight, is a Rust‑based backdoor that primarily targets high‑value macOS endpoints in enterprise, financial and research environments across the Asia‑Pacific and North America. Operators appear to seek long‑term access for credential harvesting, browser data exfiltration and the ability to issue commands through a covert channel. A novel element of the payload is a prompt‑injection block designed to confuse LLM‑assisted analysis, indicating an intent to hinder forensic investigation as well as to steal data.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY

Attribution points to a North‑Korean‑aligned threat group that has been developing macOS‑focused implants. The malware, identified as macOS.Gaslight, is a Rust‑based backdoor that primarily targets high‑value macOS endpoints in enterprise, financial and research environments across the Asia‑Pacific and North America. Operators appear to seek long‑term access for credential harvesting, browser data exfiltration and the ability to issue commands through a covert channel. A novel element of the payload is a prompt‑injection block designed to confuse LLM‑assisted analysis, indicating an intent to hinder forensic investigation as well as to steal data.[emaillocker id="1283"]

The implant reaches the host through a disguised macOS package that executes a small Rust binary. Once launched, the code establishes a persistent launch‑agent under a system‑service label, allowing it to survive reboots. It then contacts a remote server via a messaging‑service bot API, using encrypted AES‑GCM payloads over certificate‑pinned TLS to hide the traffic from conventional proxies. After the channel is active, the adversary can issue shell commands, retrieve files, and trigger a bundled Python collector that harvests browser stores and system profiles before uploading the archive through the same encrypted link.

The threat matters because it blends a low‑profile macOS foothold with a hardened command channel that evades many network sensors, while also attempting to corrupt AI‑driven analysis pipelines. Its use of certificate pinning, token redaction and dynamic resolution of system calls makes behavioural detection harder, and the persistence mechanism masquerades as a legitimate Apple service, increasing the risk of long‑term compromise. Organizations should enforce strict code‑signing policies, regularly audit launch‑agent registrations, apply the latest OS updates, and deploy endpoint protection that can flag anomalous process behavior. Maintaining immutable backups and monitoring encrypted outbound connections to messaging platforms further reduces exposure.

THREAT PROFILE:

Tactic Technique ID Technique Sub-technique
Execution T1059.004 Command and Scripting Interpreter Unix Shell
Persistence T1543.001 Create or Modify System Process Launch Agent
Defense Evasion T1027 Obfuscated Files or Information
Defense Evasion T1036.005 Masquerading Match Legitimate Name or Location
Command and Control T1090.001 Proxy Internal Proxy
Credential Access T1555.003 Credentials from Password Stores Credentials from Web Browsers
Credential Access T1555.004 Credentials from Password Stores Windows Credential Manager
Discovery T1082 System Information Discovery
Collection T1119 Automated Collection
Command and Control T1071.001 Application Layer Protocol Web Protocols
Command and Control T1573.001 Encrypted Channel Symmetric Cryptography
Exfiltration T1041 Exfiltration Over C2 Channel

REFERENCES:

The following reports contain further technical details:

https://www.sentinelone.com/labs/macos-gaslight-rust-backdoor-turns-prompt-injection-on-the-analyst-not-the-sandbox/

[/emaillocker]
crossmenu