⚠️

Disclaimer & Liability

The content provided on this website is for educational, research, and security awareness purposes only. Any unauthorized, illegal, or abusive use of the information, tools, and techniques discussed is solely the responsibility of the user. The author and publisher assume no liability for any damages, injuries, or consequences resulting from the misuse of this content.

Trojanized oCam Installer Unmasks Silver Fox's SEO-Poisoned Gh0stRAT Chain | Alireza Bolbolabadi - Red Team Security
LOADING

Trojanized oCam Installer Unmasks Silver Fox's SEO-Poisoned Gh0stRAT Chain

A working application is not a working application

The most effective trick in this campaign was not clever code. It was packaging.

Researchers at WatchGuard Red Cell examined a malicious installer distributed under the name of OhSoft oCam, the legitimate screen-recording utility. The delivered file, Ocam_setupcnb781.exe (roughly 114 MB), was built with Advanced Installer and carried two things at once: the real, functioning oCam application and a hidden malicious MSI component. Because the application installed correctly and behaved normally, the user had no visible reason to suspect anything.

That decision was reportedly made after a Google search for oCam in mid-September 2026. The search result led to a third-party download portal, but the actual file came from a Cloudflare Workers host outside that portal, delivered as ocam.zip.

Why the researchers call it suspected SEO poisoning

The delivery mechanism is described as suspected SEO poisoning rather than confirmed. Red Cell found no advertising infrastructure in the observed path, which fits the pattern of manipulated search rankings. Its telemetry, however, could not confirm that Google results were deliberately manipulated.

The stronger, evidence-backed conclusion is narrower: the victim was routed into an attacker-controlled download workflow through a deceptive third-party portal, with the binary served from infrastructure unrelated to that portal. Whether search ranking was the mechanism or an accomplice remains open.

The installation chain

Once launched, the package drops a second stage and rebuilds itself several times:

  1. The embedded MSI installs the genuine oCam and deploys Setup.exe, an Inno Setup installer that carries the malware logic.

  1. The Inno Setup script checks for three Chinese antivirus products — 360, QQ PC Manager and Huorong — and drops a matching payload bundle (the malware author calls it a "tray"). If none of the three is running, a default bundle is used.

  1. All dropped files land in the Public Documents folder, and each payload has its first two bytes deliberately corrupted so it no longer carries a normal MZ header.

  1. Execution starts with TaskLoad.exe, signed with an expired but legitimate NetEase certificate. It sideloads libcef.dll or stardict-editor.dll and passes them a CSV-style file named _8 containing plus-separated hex bytes.

  1. A custom loader decodes that file and maps the payload into memory, so the final stage is never written to disk in recognizable form.

  1. The in-memory payload is a UPX-packed executable originally named FUCK.dat. It checks for a sandbox, burns CPU when it finds one, then sleeps for 10 minutes.

  1. The loader reads the last 140 bytes of instal.ini, Base64-decodes them, subtracts 0x66 and XORs with 0x49 to derive the C2 address 156[.]234[.]43[.]98.

  1. It sets a mutex named Run2019 or Run201902 depending on the antivirus tray present. For some campaign IDs it opens Telegram in Chinese and the victim's tdata folder, effectively opening a planted account.

  1. A 104,960-byte blob is decrypted with a six-byte XOR key to reveal a third stage: another UPX-packed DLL named FUCK.dat, exporting only Main, carrying Gh0stRAT signatures and using RC4 to decrypt its configuration.

  1. That configuration holds the C2 address, the traffic key, a timestamp build tag and service details. The dispatcher accepts 40 opcodes, of which 35 are in use; 12 are built in, including download-and-run, uninstall and heartbeat.

  1. The remaining 23 functions live in a plugin disguised as Consys21.png, decoded with XOR 0x05 followed by ADD 0x05.

What an attacker gets

The plugin set is what makes this more than a nuisance installer. Supported functions include screen capture, video capture, audio capture, keylogging, remote shell access, registry and service control, DDoS and proxying.

The operational consequence is broad: credential theft, sustained surveillance of the user's screen and microphone, hands-on-keyboard remote access, the ability to fetch and run further malware, changes to Windows services and registry state, and the use of the infected endpoint for network abuse. The presence of a genuine oCam installation also delays recognition — the machine looks normal to both the user and, in many cases, an administrator reviewing it.

The attempt to disarm Defender

At 38 seconds, Setup.tmp launched PowerShell with -ExecutionPolicy Bypass. The command attempted to disable Controlled Folder Access and add broad Microsoft Defender exclusions covering ProgramData, Program Files, Users and AppData\Roaming.

Behavioral detection blocked the PowerShell process at 55 seconds. Cloud-based malware classification blocked dll1.dll when the host executable tried to load it at 71 seconds, and the file was quarantined at 91 seconds. The loader retried as TaskLoad.exe, including another attempt roughly three minutes later, and every attempt failed. The infection was stopped about 90 seconds after the installer launched.

The sequence is instructive in both directions. It shows layered endpoint controls working as intended against a payload chain that was explicitly designed to avoid disk-based detection and to weaken the very controls being used against it. It also shows that the initial install activity continued for well over a minute, and that the download itself was never a security event.

Attribution and scope

The activity is linked to Silver Fox, a group tracked under the names SwimSnake, Valley Thief and Void Arachne, active since 2019 and documented by NCC Group.

No product vulnerability is involved. There is no vulnerable oCam version to patch, because the report concerns a malicious imitation package rather than a flaw in oCam. The affected surface is the installer chain itself: Ocam_setupcnb781.exe and the ocam.zip archive, the Advanced Installer wrapper and embedded MSI, the Inno Setup Setup.exe, TaskLoad.exe, the third-stage Gh0stRAT DLL, and the Consys21.png plugin. The report does not publish a hash for the installer and does not state the oCam edition or build number, so the package cannot be pinned to a specific version.

Where the real control point lies

Because there is no patch to apply, the meaningful controls sit upstream and at the endpoint. Third-party portals redirecting downloads to unrelated Cloudflare Workers hosts are the observable pattern here. Installers that both deliver a working legitimate application and quietly modify security configuration deserve the same scrutiny as any other download. And the artifacts — dropped bundles in Public Documents, Setup.exe, TaskLoad.exe, Setup.tmp, the Run2019 and Run201902 mutexes, Consys21.png, _8, DLL sideloading through libcef.dll or stardict-editor.dll, and the combination of Base64, subtraction, XOR, RC4 and UPX — provide concrete hunting material for teams reviewing their own estate.

References

·
← News