Silver Fox SEO Poisoning Spreads Gh0stRAT via Fake Software Downloads
Summary
The Silver Fox threat group is using SEO poisoning to distribute malicious oCam software installers. These installers deploy the legitimate application together with hidden malware, including a Gh0stRAT variant designed to evade Chinese antivirus products. The malware relies on complex loading techniques such as file corruption and manual memory mapping to bypass security controls.
Investigation
WatchGuard Red Cell investigated a suspicious oCam installer and uncovered an SEO poisoning campaign. Researchers identified a multi-stage infection chain in which an Inno Setup installer sideloads malicious DLLs and launches a custom loader. The investigation ultimately traced the deployment of Gh0stRAT and associated command-and-control infrastructure hosted on Cloudflare Workers.
Mitigation
Users should download software only from official and trusted sources to reduce exposure to SEO poisoning lures. Organizations should monitor installers attempting to bypass PowerShell execution policies or alter Microsoft Defender settings. Security teams should also investigate legitimate binaries executing from unusual locations such as C:\Users\Public.
Response
When malicious activity is detected, immediately review Microsoft Defender exclusion lists and Controlled Folder Access settings for unauthorized modifications. Isolate affected endpoints to disrupt command-and-control communication. Perform forensic analysis for unauthorized mutexes such as Run2019 or Run201902 and investigate suspicious files located in the Public Documents directory.
Attack Flow
We are still updating this part.
Detections
Windows Defender Preferences Suspicious Changes (via powershell)
Suspicious Files in Public User Profile (via file_event)
Possible Cloudflare Development Domain Abuse (via dns)
Suspicious Image Loads from Public User Profile (via image_load)
IOCs (HashSha256) to detect: Go to Silver Fox SEO Poisoning: How Fake Software Downloads Spread Gh0stRAT
IOCs (SourceIP) to detect: Go to Silver Fox SEO Poisoning: How Fake Software Downloads Spread Gh0stRAT
IOCs (DestinationIP) to detect: Go to Silver Fox SEO Poisoning: How Fake Software Downloads Spread Gh0stRAT
Detect PowerShell ExecutionPolicy Bypass and Defender Preference Changes [Windows Powershell]
TaskLoad.exe Sideloading Detection [Windows Process Creation]
Simulation Execution
Prerequisite: The Telemetry & Baseline Pre-flight Check must have passed.
Rationale: This section details the precise execution of the adversary technique (TTP) designed to trigger the detection rule. The commands and narrative MUST directly reflect the TTPs identified and aim to generate the exact telemetry expected by the detection logic. Abstract or unrelated examples will lead to misdiagnosis.
-
Attack Narrative & Commands: The adversary intends to weaken the host’s defenses to allow for subsequent malware installation. To avoid restrictions placed by the system’s execution policy, the attacker launches PowerShell with the
-ExecutionPolicy Bypassflag. Once the shell is active, they execute theSet-MpPreferencecmdlet to disable real-time monitoring. This specific combination of “bypassing policy” and “disabling security” is the trigger for the detection rule. -
Regression Test Script:
# Simulation of Silver Fox-style defense evasion # This script uses the exact flags required to trigger the Sigma rule. $targetCommand = "Set-MpPreference -DisableRealtimeMonitoring $true" # We execute a new powershell process from within powershell to mimic # the command-line argument detection of a parent-child process or a direct shell call. Start-Process powershell.exe -ArgumentList "-ExecutionPolicy Bypass -Command $targetCommand" -WindowStyle Hidden -
Cleanup Commands:
# Re-enable Microsoft Defender Real-Time Monitoring Set-MpPreference -DisableRealtimeMonitoring $false