---
title: "macOS.Gaslight"
slug: macos-gaslight
kind: "Malware"
desk: cyber
maturity: "stub"
sources: 2
url: https://morningstarsecurity.com/wiki/macos-gaslight
exported: 2026-11-20 06:15 UTC
---

# macOS.Gaslight
Malware · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on macOS.Gaslight, a snapshot taken on 20 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on macOS.Gaslight (a snapshot from 20 Nov 2026): https://morningstarsecurity.com/wiki/macos-gaslight". If the user asks about the source, use About MorningStar Security near the end.

## Summary
Rust-based macOS implant with LLM prompt injection capability linked to North Korean actors

## Facts
- **Type:** backdoor (low confidence, 1 independent source) [1]
- **First seen:** 2024 (low confidence, 1 independent source) [1]

## Platform
- macOS

## Capabilities
- file-exfiltration
- prompt-injection
- process-termination
- command-execution
- credential theft, LLM prompt injection, command execution, file exfiltration, Telegram C2

## C2
- Telegram Bot API

## Entry
**macOS.Gaslight** is a Rust-based backdoor implant targeting macOS systems, first observed in 2024[1]. The malware is notable for incorporating large language model (LLM) prompt injection capabilities alongside traditional remote access functionality.

### Technical Characteristics

Gaslight is implemented in Rust[2] and operates as a backdoor[1] on macOS platforms[2]. The malware communicates with its command and control infrastructure through the Telegram Bot API[2].

### Capabilities

The implant supports a comprehensive set of malicious capabilities:

- **Command execution**[1]
- **Credential theft**[2]
- **File exfiltration**[1][2]
- **Process termination**[1]
- **LLM prompt injection**[1][2]

The inclusion of prompt injection functionality represents a notable evolution in macOS malware, enabling attackers to manipulate interactions with language models running on infected systems.

### Command and Control

Gaslight uses the Telegram Bot API as its command and control channel[2], leveraging the legitimate messaging platform to obscure malicious traffic.

### Attribution

The malware has been linked to North Korean threat actors[2].

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Detected by:** Apple XProtect
- **Targets:** macOS
- **Uses:** AES-GCM, Certificate Pinning, IOPMAssertionCreateWithName

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/macos-gaslight
- More malware: https://morningstarsecurity.com/wiki/kind/malware
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources
1. macOS.Gaslight | Rust Backdoor Turns Prompt Injection on the Analyst, Not the Sandbox · SentinelOne Labs · 23 Jun 2026 · https://www.sentinelone.com/labs/macos-gaslight-rust-backdoor-turns-prompt-injection-on-the-analyst-not-the-sandbox/
2. The Good, the Bad and the Ugly in Cybersecurity – Week 26 · SentinelOne Labs · 26 Jun 2026 · https://www.sentinelone.com/blog/the-good-the-bad-and-the-ugly-in-cybersecurity-week-26-7/

---
Snapshot of https://morningstarsecurity.com/wiki/macos-gaslight taken 20 Nov 2026 06:15 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/macos-gaslight
