Canadian Cyber Security Journal
SOCIAL:
Filed under: TechTalk

Gaslight macOS Malware: North Korea’s New Backdoor Uses Prompt Injection to Defeat AI-Assisted Analysis — What Canadian Security Teams Must Know

What Happened

Security researchers disclosed Gaslight, a new macOS backdoor attributed with high confidence to North Korea-aligned threat actors. The malware is written in Rust and represents a significant evolution in evasion: rather than hiding from traditional sandboxes, Gaslight targets AI-assisted malware analysis tools by poisoning their analysis session.

Gaslight embeds 38 fabricated system-failure messages directly inside its binary. When an LLM-assisted triage agent analyzes the file, these fake messages — formatted as convincing system-level errors — mislead the AI into doubting its own analysis session, reporting false findings, or terminating analysis early. Researchers describe the technique as attacking the analyst’s perception rather than the sandbox itself.

Beyond the AI evasion component, Gaslight functions as a capable backdoor. It communicates with its command-and-control server over Telegram using AES-GCM encryption with certificate pinning, making network-layer interception difficult. The malware harvests Terminal command histories, installed application listings, system information, and credentials from Chrome, Brave, Firefox, and Safari. A Python script embedded within the malware handles the credential and data collection. Source: The Hacker News

Why This Matters for Canadian Organizations

North Korea-aligned threat actors have targeted Canadian financial services, cryptocurrency exchanges, and technology firms consistently in 2026. The Lazarus Group and affiliated clusters have stolen hundreds of millions of dollars from cryptocurrency platforms this year, and macOS remains a primary attack surface given its adoption among developers, executives, and finance professionals.

The AI evasion component of Gaslight raises a specific concern for Canadian security operations centres and incident response teams that have deployed AI-assisted malware analysis tools. If Gaslight or similar malware reaches an analyst’s triage workflow and the LLM-assisted tool reports a false negative or inconclusive result, the infection goes undetected. This is not a theoretical attack — the researchers validated the technique against real AI analysis platforms. Any Canadian SOC relying on AI-assisted triage as a primary analysis layer needs to understand that adversaries are now actively engineering against it.

For Canadian cryptocurrency businesses, exchanges, and DeFi platforms subject to FINTRAC registration requirements, a Gaslight infection on a developer or finance team macOS device carries the risk of seed phrase theft, browser session token extraction, and access to internal financial systems. The Telegram C2 with certificate pinning also means standard proxy-based network monitoring will not catch the outbound communication without endpoint telemetry.

What to Do

Treat AI-assisted malware analysis as one layer in a multi-step triage process, not the final verdict. Validate AI analysis outputs against static disassembly and manual behavioral analysis for any macOS sample flagged as suspicious or inconclusive.

Enforce macOS Gatekeeper and System Integrity Protection across your fleet. Require application notarization and restrict Terminal access on non-developer endpoints. For developer and finance team macOS devices, deploy an endpoint detection and response agent with behavioral telemetry — command history harvest and Telegram outbound traffic from non-browser processes are detectable signals.

Canadian cryptocurrency and financial services organizations should rotate credentials for any macOS-based developer or finance team member whose device is believed to have been targeted or compromised, and review for unauthorized access to internal financial systems, wallets, and key management infrastructure. Report suspected North Korean threat actor activity to the Canadian Centre for Cyber Security at cyber.gc.ca.

Enjoy this article? Don’t forget to share.