Skip to main content
Mallory
Malware2 associated actors

EggShell

Tracked since Dec 3, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors2Associated
ATT&CK19Techniques
IOCs28Tracked
Type
Backdoor
Capabilities
KeyloggingExfiltrationPersistencePost exploitationReconnaissance
Delivery
Lure
Platforms
macOSLinux

EggShell is a post-exploitation backdoor used against macOS and, in some reporting, Linux systems. It is associated with espionage activity and has appeared both as a public tool and in customized variants deployed in targeted intrusions. Documented variants have been used in developer-focused compromise chains and in North Korea-linked operations targeting cryptocurrency and technology-adjacent victims.

On macOS, EggShell variants have been delivered through multiple infection vectors, including trojanized Xcode projects that abuse Xcode Run Script functionality and later-stage deployment from multi-stage malware chains. In one developer-focused campaign commonly tracked as XcodeSpy, a malicious Xcode project installed a customized EggShell payload on Apple developer systems. In later DPRK-linked activity attributed to Konni, an EggShell variant was deployed as a secondary implant in a macOS intrusion set aimed at cryptocurrency industry professionals using social-engineering lures.

Observed EggShell capabilities include shell access, file upload and download, file-system operations, persistence via LaunchAgents, keylogging, screenshot capture, clipboard monitoring, microphone recording, and camera capture. Some variants also support command-and-control rotation and custom data encoding. These features make EggShell suitable for surveillance-heavy post-compromise operations focused on credential collection, monitoring of victim activity, and theft of sensitive files or communications.

EggShell has been linked to customized Objective-C Mach-O implants on macOS and has been used as a modular surveillance backdoor rather than a mass-distributed commodity threat. Reported targeting has included Apple developers and organizations of intelligence interest, as well as cryptocurrency-related entities in campaigns blending espionage and financially motivated objectives.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
KONNI

A Second Implant: The Objective-C EggShell Variant ... this compiled Objective-C Mach-O binary shares C2 infrastructure with FileRATClient, adding audio and camera capture.

via slideshareslideshare.net
Kimsuky

"deploy a variant of the EggShell backdoor"

via help net securityhelpnetsecurity.com
MITRE ATT&CK

Techniques & procedures

19 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1566.001Spearphishing AttachmentEvidence1

Initial Infection Vectors: Documents disguised as AppleScript bundles: • Stable1 Investment Proposal (Draft).pptx.scpt • AM Management_OTC Collaboration Proposal.docx.scpt • Circulating_Supply_Lockup_Schedule.xlsx.scpt

Execution

2 techniques
T1059Command and Scripting InterpreterEvidence1

Remote Command Execution Full shell and process control over the victim's machine.

T1059.004Unix ShellEvidence1

The XcodeSpy version, however, has been subtly changed to execute an obfuscated Run Script when the developer’s build target is launched.

Persistence

1 technique
T1543.001Launch AgentEvidence2

Installs a LaunchAgent and drops supporting files to ensure the backdoor survives reboots and restarts automatically.

Privilege Escalation

2 techniques
T1543.001Launch AgentEvidence2

Installs a LaunchAgent and drops supporting files to ensure the backdoor survives reboots and restarts automatically.

T1548.006TCC ManipulationEvidence1

Stage 2 Continued: TCC Database Manipulation... Directly edits the macOS TCC database... Sets auth_value = 2 (ALLOWED) and auth_reason = 4 ("User Set")

Stealth

3 techniques
T1036MasqueradingEvidence2

Files appear as .docx/.pptx but are compiled AppleScript (.scpt) bundles — double-clicking executes the script.

T1564.001Hidden Files and DirectoriesEvidence1

XcodeSpy hides several files with a dot prefix to make them hidden from view in the Finder application.

T1622Debugger EvasionEvidence1

PT_DENY_ATTACH blocks debugger attachment

Credential Access

3 techniques
T1056Input CaptureEvidence1

The malware uses the ASObjC bridge to spawn a real NSWindow — indistinguishable from a genuine macOS dialog... Title: "Software Update" ... "Enter your password."

T1056.001KeyloggingEvidence2

Keylogging Captures all keystrokes into remotely accessible log files.

T1056.002GUI Input CaptureEvidence1

MITRE ATT&CK TTPs Input Capture: GUI Input Capture | XcodeSpy can prompt users for credentials with a seemingly legitimate prompt via AppleScript T1056 002.

Discovery

3 techniques
T1057Process DiscoveryEvidence1

MITRE ATT&CK TTPs Process Discovery | XcodeSpy can collect data on running and parent processes T1057.

T1083File and Directory DiscoveryEvidence1

MITRE ATT&CK TTPs File and Directory Discovery | XcodeSpy can scan directories on a compromised host T1083.

T1622Debugger EvasionEvidence1

PT_DENY_ATTACH blocks debugger attachment

Collection

7 techniques
T1056Input CaptureEvidence1

The malware uses the ASObjC bridge to spawn a real NSWindow — indistinguishable from a genuine macOS dialog... Title: "Software Update" ... "Enter your password."

T1056.001KeyloggingEvidence2

Keylogging Captures all keystrokes into remotely accessible log files.

T1056.002GUI Input CaptureEvidence1

MITRE ATT&CK TTPs Input Capture: GUI Input Capture | XcodeSpy can prompt users for credentials with a seemingly legitimate prompt via AppleScript T1056 002.

T1113Screen CaptureEvidence1

Live Screen Capture Streams the victim's screen to the attacker in real time.

T1115Clipboard DataEvidence1

Surveillance Capabilities • Clipboard monitor

T1123Audio CaptureEvidence1

Microphone recording

T1125Video CaptureEvidence1

Webcam Access Takes photos or streams live video on demand.

Command and Control

2 techniques
T1071.001Web ProtocolsEvidence2

POSTs JSON to C2 script... Data was sent to a C2 server and an attacker-controlled GitLab repo

T1105Ingress Tool TransferEvidence2

Downloads Node.js bundle → unpacks to ~/.nodes • Fetches index.js from C2... Receives base64-encoded response → saves as addon.js

Indicators of compromise

Observables

28 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching28Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping19Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.