GolangGhost
- Type
- RAT
- Capabilities
- Credential theftSession hijackingExfiltrationPersistenceReconnaissance
- Delivery
- SpearphishingLanding pageLureFake updateClickfix
- Platforms
- WindowsmacOS
GolangGhost is a Go-based remote access trojan and backdoor targeting Windows and macOS. It is associated with North Korean fake-recruitment operations, including ClickFake Interview and Contagious Interview, and activity attributed to Famous Chollima and the broader Lazarus threat ecosystem. Targets include cryptocurrency and Web3 professionals in technical, managerial, investment, advisory, and business roles.
Delivery relies on personalized recruiter impersonation through social media, messaging platforms, and email. Victims are directed to fraudulent interview or skills-assessment websites that display fabricated camera or microphone errors. ClickFix prompts then persuade candidates to execute commands presented as driver updates or troubleshooting fixes. Installation chains deploy GolangGhost as Go source code with the runtime or compiler needed to execute it. Observed chains establish persistence through Windows Run entries or macOS Launch Agents. Some macOS infections additionally deploy FrostyFerret, a separate helper that impersonates a legitimate application and solicits the user's system password.
GolangGhost supports arbitrary shell-command execution, file upload and download, host and session reconnaissance, and browser-data theft using functionality derived from HackBrowserData. It collects machine and user metadata, saved Chrome credentials, cookies, and cryptocurrency-wallet and password-manager extension data. On macOS, it can retrieve Chrome's stored encryption secret through the Keychain utility to decrypt browser databases. Observed variants also modify Chrome's stored MetaMask permissions after closing the browser.
The malware assigns a persistent victim identifier and communicates with command-and-control infrastructure through HTTP POST requests. Outgoing messages use RC4 encryption with a newly generated 128-byte key and an MD5 checksum; the encryption key accompanies the ciphertext in the transmitted packet.
Associated threat actors
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Three variants, FriendlyFerret, FrostyFerret and FlexibleFerret , were deployed during a job interview process on a legitimate website. | Due to its backdoor and data-stealing capabilities, we named it GolangGhost . It is designed for Windows and macOS with Chrome browser stealer capabilities based on the HackBrowserData [[URL_fb0fc361_82]] project.
North Korea-linked actors such as Lazarus Group and Kimsuky have used ClickFix lures to deliver remote access tools and steal credentials, while DeceptiveDevelopment leveraged the technique in GitHub supply chain attacks to deploy WeaselStore malware.
If you're on a Mac, it's GoLangGhost, which is a remote access Trojan written in Go.
BlockNovas has been observed using video assessments to distribute FROSTYFERRET and GolangGhost using ClickFix-related lures...
Lazarus Group Targets Job Seekers With ClickFix Tactic to Deploy GolangGhost Malware
Techniques & procedures
51 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
“DeceptiveDevelopment steals victims' credentials to be used by WageMole in consequent social engineering.”
Resource Development
2 techniques
Resource Development
Famous Chollima actors register multiple domains for their fake skill assessments, predominantly on Hostinger and NameCheap registrars.
“Hijacked GitHub and social media accounts used to distribute malware.”
Initial Access
5 techniques
Initial Access
the TraderTraitor operators invited the victims to collaborate on a GitHub repository that contained malicious JavaScript packages sourced from npm as dependencies [T1195.001]
Famous Chollima... create an entirely fake business... or they impersonate a real one in the cryptocurrency sector... they go looking for potential targets on LinkedIn... The hackers, they're posing as recruiters. They pitch a lucrative new role.
“Fake job offers include attachments or links to malicious projects.”
Famous Chollima sends malicious skill assessment URLs.
The attack begins on mainstream professional networks and communication platforms, including LinkedIn, Telegram, Discord and direct email. Posing as recruiters from reputable firms or creating entirely fictitious web companies, the actors reach out to developers and administrators.
Execution
12 techniques
Execution
Several titles explicitly mention 'VS Code Tasks Abuse,' 'Tracking the VS Code Tasks Infection Vector,' and 'Evolution of VS Code and Cursor Tasks Infection Chains.'
it pastes something from your clipboard into your terminal screen, the Run command, in order to download a piece of malicious code.
“powershell -Command “Expand-Archive -Force -Path ‘%TEMP%\nvidiadrivers.zip’ …””
“Open Command Prompt… use the following curl command… && powershell … && wscript …”
On macOS, the copied command starts a Bash script that creates a hidden working directory, downloads a fake Intel driver archive, and retrieves the Go compiler needed to run GolangGhost.
“wscript “%TEMP%\nvidiadrivers\update.vbs”… “the downloader is launched by the update.vbs script”
Invisible Ferret is a Python-based backdoor used in later stages of the attack chain, enabling remote command execution.
“cmd /c node nvidia.js. This downloader is built on the NodeJS Framework and fetches a ZIP archive…”
To resolve the issue and continue with the interview, the page displays a helpful prompt instructing the candidate to copy and paste a diagnostic command into their system terminal.
“Victims are lured to fake job interview sites (e.g., ClickFix) that initiate malware download.”
Targets are instructed to complete a job assessment or coding test, triggering a multi-step infection chain.
The page claims a Windows camera-driver race condition and tells the user to press Win+X, then A, and paste a driver-update command.
Persistence
5 techniques
Persistence
Several titles explicitly mention 'VS Code Tasks Abuse,' 'Tracking the VS Code Tasks Infection Vector,' and 'Evolution of VS Code and Cursor Tasks Infection Chains.'
GolangGhost performs browser preference injection.
The script also establishes persistence through a Launch Agent, allowing the malware to restart after a reboot.
FlexibleFerret establishes persistence through RUN registry modifications.
The malware injects broad permissions, including access to active tabs, clipboard writing, web requests, and expanded storage, then assigns them to the MetaMask extension.
Privilege Escalation
4 techniques
Privilege Escalation
Several titles explicitly mention 'VS Code Tasks Abuse,' 'Tracking the VS Code Tasks Infection Vector,' and 'Evolution of VS Code and Cursor Tasks Infection Chains.'
The auto module of both variants, actively attempts to elevate its privileges by temporarily impersonating the Windows lsass.exe process to gain SYSTEM-level access, and interacts directly with the Windows Cryptography API to unwrap the browser’s master decryption key.
The script also establishes persistence through a Launch Agent, allowing the malware to restart after a reboot.
FlexibleFerret establishes persistence through RUN registry modifications.
Stealth
5 techniques
Stealth
“Obfuscated malicious scripts are hidden in long comments or outside IDE view.”
Both variants have a util module that is responsible for compressing and decompressing files.
“Malware disguised as legitimate software (e.g., conferencing tools, NVIDIA installers).”
The auto module of both variants, actively attempts to elevate its privileges by temporarily impersonating the Windows lsass.exe process to gain SYSTEM-level access, and interacts directly with the Windows Cryptography API to unwrap the browser’s master decryption key.
GolangGhost runs commands like ‘ sysctl ‘ to identify VM/researcher environments.
Defense Impairment
1 technique
Defense Impairment
The malware injects broad permissions, including access to active tabs, clipboard writing, web requests, and expanded storage, then assigns them to the MetaMask extension.
Credential Access
8 techniques
Credential Access
The campaign also launches a fake macOS application that requests administrator credentials under the guise of an update. Those credentials are sent to attacker-controlled infrastructure
macOS chain included a SwiftUI app that prompts for user credentials.
It is specifically programmed to harvest session data, saved credentials and private keys from widely used cryptocurrency wallets such as MetaMask, Phantom and TronLink, as well as commercial password managers like NordPass.
It is specifically programmed to harvest session data, saved credentials and private keys from widely used cryptocurrency wallets such as MetaMask, Phantom and TronLink, as well as commercial password managers like NordPass.
GolangGhost can use the macOS Keychain command-line utility to retrieve Chrome’s stored master password.
It then applies that secret to decrypt Chrome’s local database, exposing saved browser credentials and cookies that may grant access to online services.
The malware injects broad permissions, including access to active tabs, clipboard writing, web requests, and expanded storage, then assigns them to the MetaMask extension.
On Apple devices, the infection process often installs the primary payload alongside a credential-harvesting helper application built with SwiftUI, which is specifically designed to trick macOS users into surrendering their administrative passwords.
Discovery
4 techniques
Discovery
"Suspicious Process Discovery"
They collect personal information, fingerprint the visitor’s browser and device, block mobile users, show timed assessment questions, and display warnings when candidates switch browser tabs.
COMMAND_INFORMATION - collect information about the infected system, username, OS version etc ... COMMAND_FILE_UPLOAD - file upload COMMAND_FILE_DOWNLOAD - file download
GolangGhost runs commands like ‘ sysctl ‘ to identify VM/researcher environments.
Collection
5 techniques
Collection
The group infiltrates job seekers' computer networks, harvesting sensitive information and stealing cryptocurrency; successful infections enable intellectual-property theft.
The campaign also launches a fake macOS application that requests administrator credentials under the guise of an update. Those credentials are sent to attacker-controlled infrastructure
macOS chain included a SwiftUI app that prompts for user credentials.
If you try and copy and paste that link from the web interface, what actually gets copied into your clipboard is something else. And that command, which you then paste in at the command prompt... is downloading from another site entirely.
Both PylangGhost and GolangGhost are built on a highly modular architecture consisting of six interconnected parts. These components include a main orchestrator, a dedicated configuration holder, an archive helper, a command launcher, a command-and-control (C2) communications module and a specialized data stealer.
Command and Control
6 techniques
Command and Control
FlexibleFerret... leverages encrypted HTTP(S) and TCP command and control channels to dynamically load plugins, execute remote commands, and support file upload and download operations.
C2 communication occurs via HTTP.
The multi-step infection chain leads to deployment of various malware families; backdoor access is abused to deliver remote access trojans.
Useful starting points are MITRE ATT&CK techniques for remote access software (T1219)
The actors used port 8080 for HTTP C2.
Both variants use RC4 encryption over HTTP POST requests for obfuscated C2 communication.
Exfiltration
3 techniques
Exfiltration
Those credentials are sent to attacker-controlled infrastructure, adding another path to account takeover and device control.
The malware then steals API tokens, cloud credentials, crypto wallets, and source code.
newer mutations of the VS Code projects have eschewed Vercel-based domains for GitHub Gist-hosted scripts to download and execute next-stage payloads
Observables
174 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
63 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.