Skip to main content
Mallory
Malware

GhostLoader

Tracked since Mar 9, 2026 · Updated 4 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK52Techniques
IOCs33Tracked
Type
Infostealer
Capabilities
Credential theftSession hijackingExfiltrationPersistencePost exploitationDefense evasionSpoofing
Delivery
Landing pageLure
Platforms
WindowsmacOSLinux

GhostLoader is a cross-platform information-stealing malware framework associated with the broader GhostClaw activity cluster and heavily focused on developer environments, AI-assisted workflows, and software supply-chain abuse. It has been distributed through malicious OpenClaw-themed GitHub repositories and a rogue npm package masquerading as an OpenClaw installer, where npm lifecycle scripts and obfuscated Node.js stages trigger infection on macOS, Linux, and Windows. In some campaigns, GhostLoader was delivered through manual installation paths, while automated Windows installation paths instead deployed Remcos RAT.

The malware is designed to harvest high-value secrets from developer workstations and adjacent cloud environments. Reported collection targets include system passwords obtained through fake authentication prompts, macOS Keychain data, browser credentials and cookies, cryptocurrency wallets and seed phrases, SSH keys, cloud and developer credentials for major platforms, package-manager tokens, GitHub-related secrets, Kubernetes and Docker configuration, and AI-agent or MCP-related configuration files. On macOS and Linux, GhostLoader has used terminal-based social engineering, including spoofed password prompts, to capture credentials and unlock protected data stores.

GhostLoader supports broad data exfiltration and has been observed stealing sensitive developer data from compromised hosts. Some variants also establish persistence by installing hidden telemetry-themed components, modifying shell startup files, and using scheduled relaunch mechanisms such as cron. Beyond pure theft, later-stage GhostLoader functionality has included remote command execution, SOCKS5 proxying, and browser session cloning, giving it RAT-like post-compromise utility even though its primary role is credential and data theft.

The malware has been linked to campaigns that impersonate trusted developer tools and AI integrations, including fake OpenClaw skills and installer packages. Targeting has centered on software developers, cloud-focused engineering environments, and organizations adopting AI agent tooling, with overlap in campaigns aimed at cryptocurrency holders and other users likely to possess monetizable credentials or wallet material.

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
MITRE ATT&CK

Techniques & procedures

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

Reconnaissance

2 techniques
T1598Phishing for InformationEvidence1

this script acts as a sophisticated dropper that uses terminal-based social engineering, such as spoofed sudo password prompts, to trick users into handing over credentials

T1598.003Spearphishing LinkEvidence1

"the script shows a bogus iCloud Keychain authorization prompt, asking users to enter their system password"

Initial Access

6 techniques
T1078Valid AccountsEvidence2

Jamf Threat Labs exposes new GhostClaw/GhostLoader samples using malicious GitHub repos and AI dev workflows to steal macOS credentials via multi-stage payloads.

T1195Supply Chain CompromiseEvidence4

The supply-chain pattern that emerged in the first half of 2026... targets the packages and tokens developers plug in automatically, reaching everyone downstream in a single operation.

T1195.001Compromise Software Dependencies and Development ToolsEvidence4

"identified a live malicious npm package named @openclaw-ai/openclawai ... masquerades as a legitimate CLI tool"

T1566PhishingEvidence1

"shows a dialog designed to look exactly like a native macOS Keychain authorization prompt, asking the user to enter their administrator password"

T1566.002Spearphishing LinkEvidence1

the repositories contain a README with step-by-step installation instructions that encourage users to execute a shell command, typically using curl to retrieve and run a remote script.

T1566.003Spearphishing via ServiceEvidence1

A new malware campaign called GhostClaw is actively targeting macOS users through fake GitHub repositories and AI-assisted development workflows. The campaign uses social engineering disguised as legitimate developer tools to steal user credentials and drop secondary payloads on infected systems.

Execution

7 techniques
T1053.003CronEvidence2

"An @reboot cron entry is added"

T1059Command and Scripting InterpreterEvidence1

"executing commands sent from the C2 server to run arbitrary shell command"

T1059.004Unix ShellEvidence1

This retrieves and executes install.sh, which serves as the initial bootstrapper.

T1059.007JavaScriptEvidence8

The alternate attack path, built for macOS and Linux environments, used a heavily obfuscated Node.js file buried inside npm lifecycle scripts. When the install command ran, it silently dropped GhostLoader onto the system.

T1072Software Deployment ToolsEvidence1

"update itself"

T1106Native APIEvidence2

"spawned as a detached child process" and "EXEC Execute arbitrary shell command"

T1204User ExecutionEvidence3

Execution begins when the user, or an automated agent, runs the provided installation command. This retrieves and executes install.sh, which serves as the initial bootstrapper.

Persistence

6 techniques
T1037.004RC ScriptsEvidence1

"Adding startup commands to shell configuration files such as .bashrc or .zshrc"

T1053.003CronEvidence2

"An @reboot cron entry is added"

T1078Valid AccountsEvidence2

Jamf Threat Labs exposes new GhostClaw/GhostLoader samples using malicious GitHub repos and AI dev workflows to steal macOS credentials via multi-stage payloads.

T1543.004Launch DaemonEvidence1

"the malware enters a persistent daemon mode"

T1546.001Change Default File AssociationEvidence1

"The postinstall hook silently re-installs the package globally... execSync('npm i -g @openclaw-ai/openclawai')"

T1546.004Unix Shell Configuration ModificationEvidence2

"Lines are appended to ~/.zshrc, ~/.bashrc, and ~/.bash_profile"

Privilege Escalation

6 techniques
T1037.004RC ScriptsEvidence1

"Adding startup commands to shell configuration files such as .bashrc or .zshrc"

T1053.003CronEvidence2

"An @reboot cron entry is added"

T1078Valid AccountsEvidence2

Jamf Threat Labs exposes new GhostClaw/GhostLoader samples using malicious GitHub repos and AI dev workflows to steal macOS credentials via multi-stage payloads.

T1543.004Launch DaemonEvidence1

"the malware enters a persistent daemon mode"

T1546.001Change Default File AssociationEvidence1

"The postinstall hook silently re-installs the package globally... execSync('npm i -g @openclaw-ai/openclawai')"

T1546.004Unix Shell Configuration ModificationEvidence2

"Lines are appended to ~/.zshrc, ~/.bashrc, and ~/.bash_profile"

Stealth

9 techniques
T1027Obfuscated Files or InformationEvidence3

For macOS and Linux systems, the campaign deploys an obfuscated Node.js payload that installs GhostLoader to steal sensitive developer data.

T1036MasqueradingEvidence3

"masquerades as a legitimate CLI tool" and "install path ... disguised as an npm telemetry service"

T1070Indicator RemovalEvidence2

"The NUKE command performs complete self-destruction... removes shell hooks... cleans cron jobs... deletes ... install directory"

T1070.003Clear Command HistoryEvidence1

enabling it steal system credentials, deliver the GhostLoader malware by contacting a command-and-control (C2) server, and remove traces of malicious activity by clearing the Terminal.

T1070.004File DeletionEvidence3

Following execution, the temporary file is removed... Following execution of the primary payload, postinstall.js is invoked to extend the compromise and obscure earlier activity.

T1078Valid AccountsEvidence2

Jamf Threat Labs exposes new GhostClaw/GhostLoader samples using malicious GitHub repos and AI dev workflows to steal macOS credentials via multi-stage payloads.

T1140Deobfuscate/Decode Files or InformationEvidence3

"payload is decrypted using AES-256-GCM"

T1218.002Control PanelEvidence1

"the script displays an AppleScript dialog urging the user to grant FDA to Terminal"

T1564.001Hidden Files and DirectoriesEvidence1

"Installing itself in a hidden directory disguised as npm telemetry files"

Credential Access

9 techniques
T1056Input CaptureEvidence1

"displays a fake Keychain authorization prompt... victim is prompted for their system password (up to 5 attempts)"

T1056.002GUI Input CaptureEvidence1

"the script displays a fraudulent Keychain authorization prompt asking for the system password... This stolen credential becomes a key component of the attack."

T1539Steal Web Session CookieEvidence4

Remcos set itself to stealth mode immediately upon execution, logging keystrokes, stealing browser cookies... With Remcos giving attackers a full remote shell and GhostLoader scooping up cloud tokens, SSH keys, and browser session cookies...

T1552Unsecured CredentialsEvidence3

A developer-focused module sweeps SSH keys, cloud credentials, and package manager tokens... The malware sweeping through these environments specifically targeted GitHub auth tokens, AWS/Azure/GCP credentials, SSH keys...

T1552.001Credentials In FilesEvidence1

"hardcoded list of sensitive files is exfiltrated: ~/.aws/credentials ... ~/.kube/config ... ~/.npmrc ... ~/.git-credentials ..."

T1552.004Private KeysEvidence3

Once active, GhostLoader swept through the host for anything valuable: macOS Keychain data, SSH keys, cryptocurrency wallet files, and cloud API tokens.

T1555Credentials from Password StoresEvidence2

Once active, GhostLoader swept through the host for anything valuable: macOS Keychain data, SSH keys, cryptocurrency wallet files, and cloud API tokens.

T1555.001KeychainEvidence3

"macOS Keychain... login.keychain-db and all iCloud Keychain databases"

T1555.003Credentials from Web BrowsersEvidence2

"decrypts passwords, cookies, credit cards, and autofill data from all Chromium-based browsers"

Discovery

4 techniques
T1016System Network Configuration DiscoveryEvidence1

"Geo Lookup hxxps://ipinfo.io/json"

T1082System Information DiscoveryEvidence1

"sends ... hostname, IP, country, and system specs" and "Geo Lookup hxxps://ipinfo.io/json"

T1083File and Directory DiscoveryEvidence1

"Files in ~/Desktop, ~/Documents, and ~/Downloads are scanned for BIP-39 mnemonic seed phrases"

T1526Cloud Service DiscoveryEvidence1

With Remcos giving attackers a full remote shell and GhostLoader scooping up cloud tokens, SSH keys, and browser session cookies... Once active, GhostLoader swept through the host for anything valuable... cloud API tokens.

Lateral Movement

1 technique
T1072Software Deployment ToolsEvidence1

"update itself"

Collection

6 techniques
T1005Data from Local SystemEvidence1

"grabs iMessage history when it can obtain Full Disk Access on macOS" and "scans desktop folders for BIP-39 cryptocurrency seed phrases"

T1056Input CaptureEvidence1

"displays a fake Keychain authorization prompt... victim is prompted for their system password (up to 5 attempts)"

T1056.002GUI Input CaptureEvidence1

"the script displays a fraudulent Keychain authorization prompt asking for the system password... This stolen credential becomes a key component of the attack."

T1115Clipboard DataEvidence2

"Clipboard monitor... Every 3 seconds, reads the system clipboard"

T1560Archive Collected DataEvidence1

"All collected data is compressed into a tar.gz archive"

T1560.001Archive via UtilityEvidence1

"collected data is compressed into a tar.gz archive"

Command and Control

5 techniques
T1071Application Layer ProtocolEvidence4

the next-stage downloader... reaches out to a Telegram channel to fetch the URL for the final payload... The initial npm package captures credentials and fetches configuration from either a Telegram channel or a Teletype.in page...

T1071.001Web ProtocolsEvidence3

"HTTP upload to hxxps://trackpipe.dev" and "polls the C2 panel every ~25 seconds"

T1090.001Internal ProxyEvidence3

"installs a persistent RAT... including a SOCKS5 proxy" and "PROXY_START Start a SOCKS5 proxy"

T1105Ingress Tool TransferEvidence6

Should they enter the password, the malware then silently retrieves the next-stage downloader, which then reaches out to a Telegram channel to fetch the URL for the final payload and the key required to decrypt it.

T1219Remote Access ToolsEvidence1

"persistent RAT with full remote access capabilities" and "polls the C2 panel ... supports EXEC"

Exfiltration

3 techniques
T1041Exfiltration Over C2 ChannelEvidence2

Once active, GhostLoader swept through the host for anything valuable: macOS Keychain data, SSH keys, cryptocurrency wallet files, and cloud API tokens. All of it was sent back to attacker-controlled servers.

T1567Exfiltration Over Web ServiceEvidence1

"GoFile.io ... upload.gofile.io/uploadfile with the hardcoded bearer token"

T1567.002Exfiltration to Cloud StorageEvidence2

"sends a 'New Session' notification to Telegram" and "Direct file upload via Bot API"

Indicators of compromise

Observables

33 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

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

View more in app →
+6 more in the timeline. Sign up to see them
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 matching33Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups 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 mapping52Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.