macOS.Gaslight | Rust Backdoor Turns Prompt Injection on the Analyst, Not the Sandbox
2026-06-23 • Sentinel One •
SentinelLABS analyzed macOS.Gaslight, a Rust-based macOS implant and infostealer assessed with high confidence as part of DPRK-aligned macOS activity. The malware uses Telegram Bot API polling for C2, AES-GCM encryption over certificate-pinned TLS, and runtime bot-token self-redaction to protect operator credentials from logs or crash artifacts. It provides an interactive shell, LaunchAgent persistence, file upload/exfiltration, and a configurable Python stealer that collects browser data, shell histories, process and system profiles, and `login.keychain-db`. Its distinctive feature is a 38-message prompt-injection cascade embedded in the binary to confuse LLM-assisted malware triage workflows into aborting or refusing analysis.
Indicators of Compromise
| Type | Value | First Seen | Last Seen |
|---|---|---|---|
| HASH | 5555494492fc075f441637fb9d89491… | 2026-06-23 | 2026-06-23 |
| HASH | b3c56d689414343589f38394d19ba2f… | 2026-06-23 | 2026-06-23 |
| HASH | baabf249c77bc54c54ab0e66e15af79… | 2026-06-23 | 2026-06-23 |
| HASH | 77b4fd46994992f0e57302cfe76ed23… | 2026-06-23 | 2026-06-23 |
| HASH | 6328567511d88fdc2ae0939c5ef17b7… | 2026-06-23 | 2026-06-23 |