Skip to main content
MalwarePublished

macOS.Gaslight | Rust Backdoor Turns Prompt Injection on the Analyst, Not the Sandbox

Source AlienVault OTX General

0

Description

A sophisticated Rust-based macOS implant named macOS.Gaslight has been discovered, featuring a novel 3.5 KB prompt-injection payload containing 38 fabricated system messages designed to disrupt LLM-assisted malware analysis. The backdoor communicates via Telegram Bot API with AES-GCM encrypted payloads over certificate-pinned TLS and includes self-redaction capabilities to hide its bot token from logs. It provides operators with an interactive shell, system information collection, and credential stealing capabilities through a bundled Python script that targets browser data, keychains, and command histories. The implant uses runtime-fetched CPython interpreters and establishes persistence through a LaunchAgent masquerading as an Apple system service. This threat is assessed with high confidence to be aligned with DPRK activity and represents a significant evolution in adversarial techniques targeting security analysts rather than sandbox environments.

Indicators of compromise

Hashes 5

  • 5555494492fc075f441637fb9d894913dde3a2ea
  • 6328567511d88fdc2ae0939c5ef17b7a63d2a833881900de018a4f12f4982525
  • 77b4fd46994992f0e57302cfe76ed23c0d90101381d2b89fc2ddf5c4536e77ca
  • b3c56d689414343589f38394d19ba2fe9a518133281200faa0556ba4e4136394
  • baabf249c77bc54c54ab0e66e15af798bd28aa5b4683554456a8b73ab8741239

Community reviews

Loading reviews…