Analysis of Silver Fox Remote Control Virus Implantation in Some Armor-breaking Tools
Some armor-breaking tools have been maliciously implanted with the Silver Fox virus, which is mainly spread in QQ groups.
1. Overview of the event
I just happened to come across a post about the Silver Fox virus being implanted in Frost Armor Breaker, but the original post felt very strange, erroneous, and did not provide any traffic links. This post is divided into two parts. The first is novice self-examination, and the second is sample analysis.
First, the name of the virus is: cursor. After clicking on the armor-breaking tool, inject it into the following path:
C:\Users\<user>\AppData\Local\Temp\HotWater\cursor.exe



2. Text:
Novice self-examination:
Link - startup items, check whether there are obvious abnormal startup items - secondly check the registry (persistence + load cache + dynamic configuration) - check the network connection - check the process and abnormal traces.
If not, you can ask AI to check it.
End of text:
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
3. The following content is sample analysis:
start()
└─ _tmainCRTStartup()
└─ wmain() [0x1400044D0]
├─ SetUnhandledExceptionFilter() ← 反调试 + 崩溃转储
├─ ShowWindow(GetConsoleWindow(), SW_HIDE) ← 隐藏控制台
├─ DecryptAndParseConfig() ← wcsrev 解密C2配置 [0x140003AB4]
├─ CreateThread(C2WorkerThread) ← 主工作线程 [0x140004300]
└─ WaitForSingleObject(INFINITE) ← 阻塞等待


3.2 Anti-analysis techniques

3.3 Persistence:
InstallPersistence_RunKey (0x140003EC0) is executed when g_PersistenceFlag_s9 == 1:
Registry path HKCU\Software\Microsoft\Windows\CurrentVersion\Run
Value name:WinHostSvc
Value data: self exe full path (GetModuleFileNameW)
The registry key name is assembled from a DWORD array on the stack with wide characters, and although it is not traditional encryption, the static string search cannot hit it. The entry name visible in Task Manager startup items may appear as "Msdnloader" or the file name itself.
3.4 Online behavior
The sample only imports WS2_32.dll (raw socket) and does not use HTTP. Network behavioral characteristics:
Initiate a TCP connection to 106.55.224.100:8083
Enable TCP Keepalive (180s interval / 5s retry)
Transmit and receive buffer 256 KB, timeout 30s
Send 1 byte heartbeat (0xB1) every 10 seconds. If there is no response for 60 seconds, the connection will be disconnected and reconnected.
Technical analysis of Silver Fox remote control Trojan loader
4. Configure the decryption mechanism
4.1 Storage and decryption
Configuration is stored in .data segment global variables g_ConfigBlob_Reversed(VA 0x140017080, 0x7D0 bytes), UTF-16LE wide stringoverall reversalstorage.
Decryption process (DecryptAndParseConfig,0x140003AB4):
g_ConfigParsed_OnceThe flag guarantees a single execution;_wcsrev()Reverse the entire wide string in place;
| | |
| --- | --- |ConfigParser_ExtractField()(0x140003994) Presskey:value|Extract item by item;- examine
HKCU\QkNetK1\IpDate, if it exists, overwrite the static configuration (C2 dynamic update mechanism).
Before reversal (within file):
1:9s|0:8s|0:7s|0:6s|0:5s|0:4s|0:3s|0:7r|21.9 .6202:6r|0.1:5r|认默:4r|1:3r|1:2r|1:0n|08:5m|1.0.0.721:9k|1:9n|8888:4m|1.0.0.721:8k|1:8n|3808:3m|001.422.55.601:7k|
Plain text after inversion:
|k7:106.55.224.100|m3:8083|n8:1|k8:127.0.0.1|m4:8888|n9:1|k9:127.0.0.1|m5:80|n0:1|r2:1|r3:1|r4:默认|r5:1.0|r6:2026.9.12|r7:0|s3:0|s4:0|s5:0|s6:0|s7:0|s8:0|s9:1
Note: 0x7D0 = 2000 bytes = 1000 UTF-16 code elements. The plaintext is much shorter than this. 0x7D0 should be the area capacity rather than the effective length. Parsing depends on
|Delimiter terminated. Reverse non-encrypted, only against string retrieval, fully reproducible.
4.2 Configuration field table
| key | global variables | value | meaning |
|---|---|---|---|
| k7 | g_C2_HostA_k7 | 106.55.224.100 | Main C2 IP (Tencent Cloud) |
| m3 | g_C2_PortStrA_m3 | 8083 | Main C2 port |
| n8 | g_C2_EnableA_n8 | 1 | Group A enabled |
| k8 | g_C2_HostB_k8 | 127.0.0.1 | Backup C2 (placeholder) |
| m4 | g_C2_PortStrB_m4 | 8888 | Alternate port |
| n9 | g_C2_EnableB_n9 | 1 | Group B enabled |
| k9 | g_C2_HostC_k9 | 127.0.0.1 | Third C2 (placeholder) |
| m5 | g_C2_PortStrC_m5 | 80 | Third port |
| n0 | g_C2_EnableC_n0 | 1 | Group C enabled |
| r2 | g_InitDelaySec_r2 | 1 | Initial delay (seconds) |
| r3 | g_ReconnectDelaySec_r3 | 1 | Reconnection interval (seconds) |
| r4 | g_GroupName_r4 | default | Group/Campaign Tags |
| r5 | g_Version_r5 | 1.0 | version number |
| r6 | g_BuildDate_r6 | 2026.9.12 | Compilation date |
| r7 | g_Flag_r7 | 0 | Flag bit |
| s7 | g_ProcessHollowFlag_s7 | 0 | 0=reflective loading, 1=process hollowing |
| s9 | g_PersistenceFlag_s9 | 1 | 1=Write Run key to start automatically |
4.3 C2 rotation strategy
C2WorkerThread Infinite loop:
- Each cycle
g_C2_HostToggleNegative, alternate A / B configuration groups; - Every 200 failures, group C is switched and the counter is reset to zero;
- reconnection interval
Sleep(r3 * 1000)= 1 second.
Configure semantic analysis: ① Group B/C are both
127.0.0.1Loopback occupancy, this sample is actually only valid for group A, and the "three groups of disaster recovery" are reserved and unfilled for the template; ②r4=默认It is an ungrouped configuration for batch delivery, with no trace of directional customization; ③s7=0It was decided that the default execution path is reflective loading - the process hollowing out implementation in the code exists completely but is not enabled.Capability existence and configuration enablement must be distinguished;④r5/r6It is consistent with the PE embedded compilation date in three parties, and the compilation time can be cross-verified.
5. C2 Communication Protocol Reverse
5.1 Frame format
Bidirectional unified, per TCP frame structure:
偏移 大小 内容
[0:4] 4B frame_size (uint32 LE, 含头部 20 字节)
[4:14] 10B session_key (明文, 客户端生成)
[14:20] 6B derived_tail (由 key 确定性计算)
[20:] NB XOR 加密 payload
4+10+6=20, which is consistent with the 20-byte header.
5.2 Session Key Construction
key[0:4] = timeGetTime() LE 编码 (系统启动毫秒数)
key[4:8] = 00 00 00 00
key[8:10] = 0x77 0xA5 (硬编码常量)
5.3 Tail derivation algorithm
DeriveFrameTail6Bytes(0x1400013E8):
for (i = 0; i < 6; i++)
tail[i] = (i + 3 * key[i % 10] + 17) & 0xFF;
Use all 10-byte key.
5.4 Payload XOR encryption and decryption
XorKeyDerive_AddConst91(0x140001000) return (byte + 91) & 0xFF. Keystream rules:
payload[0] ^= (key[0] + 91) & 0xFF
payload[i] ^= (key[(i-1) % 7] + 91) & 0xFF // i >= 1
Key utilization analysis: Payload encryption uses only key[0..6], a total of 7 bytes, and tail uses all 10 bytes; key[8..9] (hard-coded
0x77 0xA5) only participates in verification and does not participate in encryption. as a result of:0x77 0xA5Appears in a predictable manner within each frame, forming a stable network fingerprint. Encryption and decryption are symmetrical (XOR reflexive), and sending and receiving share a single implementation.
5.5 Handshake process
Client Server (106.55.224.100:8083)
|--- TCP connect ------------------>|
|--- Frame(beacon: 0x71 0x01) ----->| 魔数 0x0171 (369),首帧含明文 key
|<-- Frame(cmd=0x65, identifier) ---| "查询本地缓存"
|--- Frame(0x72 + 0xA44B config) -->| "无缓存,请下发"
|<-- Frame(header + PE body) -------| Payload 下发
|--- Frame(0xB1) every 10s -------->| 心跳
|<-- Frame(0xB1) -------------------| 心跳响应
The server first queries the client cache before deciding whether to resend the payload - the pattern of repeatedly downloading large files is compressed into an exception path to reduce traffic exposure.
5.6 Command distribution
CmdHandler_DispatchPayload(0x140002920) distributed according to the first byte of the decrypted payload:
| first byte | meaning | deal with |
|---|---|---|
| 0xB1 | heartbeat | Return directly |
| 0x65 (101) | Query cache | read HKCU\QkNetK1\1, if it matches, cache will be executed, otherwise an 'r' request will be sent. |
| other | payload delivery | The header 0xA44B stores metadata, and the remainder is the PE body, which is executed after the registry is cached. |
6. Payload loading mechanism
6.1 Payload byte layout
[0] 1B 命令字节 (非 0x65/0xB1)
[1:0xA45] 0xA44B 元数据头 (配置、payload 大小等)
[0xA45:] NB PE body (MZ 实际自 offset 0x80+ 起,前缀填充)
Boundary review: 1 + 0xA44B = 0xA44C. There is a 1-byte deviation from the starting point 0xA45 in the lower part of the original text. The "length" and "end" accounting are mixed. The parser written according to this needs to be calibrated by actual measurement. In addition, the metadata header size of 0xA44B ≈ 41 KiB is too large and is suspected to contain resources/filling/secondary configuration. The original text does not expand the internal structure of this section.
6.2 Configuration injection
CmdHandler_LoadAndExecutePayload(0x140002644):
- Search in payload
"qklogintagx1"tag (silver fox family characteristic mark); - After the hit, patch the 0x12A0 byte runtime configuration to this location (The payload is shipped from the factory without an address and is configured at the time of loading., the same PE can serve different campaigns);
- Write a copy of the configuration to
HKLM\SOFTWARE\QkHostCfg_v1(REG_BINARY)。
Permission conflict: HKLM requires an administrator to write, while HKCU requires an administrator to be persisted. The original article does not explain the privilege escalation process. Whether this writing is a design intention or an actual occurrence needs to be confirmed by on-site evidence.
6.3 Execution path A: Process hollowing (s7 == 1, not enabled in this sample)
ProcessHollowing_InjectTracerpt(0x140002300):
hProcess = CreateProcessA("tracerpt.exe", CREATE_SUSPENDED | CREATE_NO_WINDOW)
lpBase = VirtualAllocEx(hProcess, ..., MEM_COMMIT|MEM_RESERVE, PAGE_READWRITE)
WriteProcessMemory(hProcess, lpBase, payload, size, NULL)
VirtualProtectEx(hProcess, lpBase, size, PAGE_EXECUTE_READ, &old)
GetThreadContext(hThread, &ctx)
ctx.Rip = lpBase + entry_offset // 主线程 RIP 指向 payload
SetThreadContext(hThread, &ctx)
ResumeThread(hThread)
Puppet process tracerpt.exe It is a white file that comes with the system and the signature is valid.
6.4 Execution path B: Reflective PE loading (s7 == 0, default for this sample)
ReflectivePELoader_MapAndExec(0x1400035C8):
ScanForEmbeddedMZPE:Scan starting from offset 0x80MZ+PE\0\0sign;- check
IMAGE_FILE_MACHINE_AMD64(0x8664); VirtualAlloc(ImageSize, PAGE_READWRITE)Allocate contiguous memory;ReflectivePE_MapSections:Map by section table;ReflectivePE_ProcessRelocations: Handle base address relocation;ReflectivePE_ResolveImports:byLoadLibraryA/GetProcAddress/FreeLibrarySelf-parsing IAT;ReflectivePE_ProtectSections: Set page protection according to section attributes;ReflectivePE_RegisterExceptions: Register exception handling table;- call
DllMain(DLL_PROCESS_ATTACH)or entry point.
6.5 Memory erasure
XorWipeMemory:buf[i] = i ^ 0xA5Overwrite original payload memory;DelayedXorWipeThread: Overwrite twice after 200ms, covering the page change/copied scene.
6.6 Registry cache system
| path | use |
|---|---|
HKCU\QkNetK1\1 | Cache the complete payload (header + PE body) to avoid repeated downloads |
HKCU\QkNetK1\IpDate | C2 dynamic configuration update, covering static k7/m3, etc. |
HKLM\SOFTWARE\QkHostCfg_v1 | Runtime configuration copy (0x12A0 byte REG_BINARY) |
7. Dynamic API analysis and anti-detection
All 7 kernel32 APIs required for process hollowing DynResolve_Kernel32API(0x14000208C) Dynamic parsing: After assembling the API name on the stack according to the index GetProcAddress Get:
| index | API | Injection purpose |
|---|---|---|
| 0 | CreateProcessA | Create suspended tracerpt.exe |
| 1 | VirtualAllocEx | Puppet process allocates memory |
| 2 | WriteProcessMemory | Write payload |
| 3 | GetThreadContext | Read thread context |
| 4 | SetThreadContext | Modify RIP to point to payload |
| 5 | ResumeThread | Resume puppet execution |
| 6 | VirtualProtectEx | Change page properties to executable |
Avoidance effect: IAT exposure only GetModuleHandleA / LoadLibraryA / GetProcAddress Three harmless functions, import table scan cannot detect injection behavior.
The same stack assembly coverage: Run key path, value name WinHostSvc、kernel32.dll、tracerpt.exe、DbgHelp.dll / MiniDumpWriteDump, registry key QkNetK1 / IpDate / QkHostCfg_v1。
Confrontation points: Some assemblies use DWORD coverage prefixes (such as
VirtualAllocExLeave only"ualAllocEx"The incomplete string itself constitutes a stable feature.
8. IOC Summary
network metrics
| type | index | illustrate |
|---|---|---|
| C2 IP | 106.55.224.100 | Tencent Cloud, main C2 |
| C2 port | 8083 | TCP original protocol |
| Spare C2 | 127.0.0.1:8888 / 127.0.0.1:80 | Placeholder, can be dynamically updated by IpDate |
| Beacon magic number | 0x0171 (369) | The first 2 bytes of TCP frame payload |
| Frame header fingerprint | Tail fixed 0x77 0xA5 | session key hardcoded tail |
| heartbeat bytes | 0xB1 / every 10 seconds | Fixed interval single byte |
File indicators
| type | index |
|---|---|
| SHA256 | 8bf4356b94909590ed12cbfc8841d3b504eab07b22274a1cd79e3cf601e8dd55 |
| MD5 | 4c905d4637b5fdf61f0abd33927b1ac5 |
| CRC32 | 0x9020B8B |
| size | 195,584 bytes |
| landing path | %LOCALAPPDATA%\Temp\HotWater\cursor.exe |
| dump mode | !analyze -v-YYYYMMDD-HHMMSS.dmp |
Host metrics
| type | index | illustrate |
|---|---|---|
| persistence | HKCU\...\Run\WinHostSvc | Start automatically at boot |
| Configuration update | HKCU\QkNetK1\IpDate | C2 dynamic coverage |
| Payload cache | HKCU\QkNetK1\1 | Two-stage PE cache (REG_BINARY) |
| Global configuration | HKLM\SOFTWARE\QkHostCfg_v1 | Runtime configuration (REG_BINARY) |
| Puppet process | tracerpt.exe | Pending creation, non-system components are pulled up |
| family mark | qklogintagx1 | Configure patch tags in the payload |
| Version/compile date | 1.0 / 2026.9.12 | Embedded configuration |
9. YARA detection rules
rule SilverFox_Loader_QkNet {
meta:
description = "Silver Fox (银狐) RAT loader - QkNet variant"
author = "Malware Analysis"
date = "2026-10-01"
hash = "8bf4356b94909590ed12cbfc8841d3b504eab07b22274a1cd79e3cf601e8dd55"
family = "SilverFox/银狐"
reference = "kanxue"
strings:
// wcsrev'd config blob: pipe-delimited reversed keys
$cfg_k7_rev = { 37 00 6B 00 7C 00 } // "7k|" = reversed "k7:"
$cfg_m3_rev = { 33 00 6D 00 7C 00 } // "3m|"
$cfg_r2_rev = { 32 00 72 00 7C 00 } // "2r|"
$cfg_s9_rev = { 39 00 73 00 7C 00 } // "9s|"
// Registry keys (wide)
$reg_qknet = "QkNetK1" wide
$reg_ipdate = "IpDate" wide
$reg_qkcfg = "QkHostCfg_v1" wide
// XOR wipe: buf[i] = i ^ 0xA5
$xor_wipe = { 32 C1 34 A5 88 01 FF C1 }
// xor al,cl; xor al,0xA5; mov [rcx],al; inc ecx
// Session key tail / beacon / heartbeat constants
$key_tail = { C7 .. .. 00 00 77 A5 }
$beacon = { 66 C7 .. 71 01 }
$heartbeat = { C6 .. B1 }
// Dynamic API: prefix-overwritten residues
$dynapi_valloc = "ualAllocEx" ascii
$dynapi_wpm = "WriteProcessMemory" ascii
$dynapi_resume = "ResumeThread" ascii
// Puppet process
$puppet = "tracerpt.exe" ascii
condition:
uint16(0) == 0x5A4D and
filesize < 500KB and
(
(2 of ($cfg_*) and 1 of ($reg_*)) or
(3 of ($dynapi_*, $puppet) and $xor_wipe) or
($key_tail and $beacon and 2 of ($reg_*))
)
}
Rule design description: The three branches correspond to three independent lines of evidence (configuration coding school/injection implementation school/protocol constant school). If any branch hits, it will be reported and resist local deformation.
Rule limitations: ①
filesize < 500KBPacking expansion or resource expansion variants will be missed (this sample.rsrcAlready occupied 90 KB, changing resources is a common method); ②$reg_*Naming features will become invalid if changed by one character, and robustness depends on the protocol branch; ③ The original text does not include true positive/false positive test results, and actual testing is required before deployment.
10. Summary
10.1 Basis for attribution of the Silver Fox family
| in accordance with | content |
|---|---|
| Naming system | QkNetK1 / QkHostCfg_v1 / qklogintagx1 The "Qk" prefix |
| persistent pseudonym | WinHostSvc Run key |
| Puppet selection | tracerpt.exe |
| Configure encoding | wcsrev() reverse + pipe-delimited format |
| Agreement form | Custom TCP frame + XOR encryption + single-byte heartbeat |
10.2 Technology Assessment
- The overall architecture is mature and the anti-detection techniques are comprehensive (dynamic API, stack assembly, configuration inversion, double memory erasure, white process hollowing, cache reuse), but they are all classic technology combinations and there are no new uses;
- High degree of engineering: separation of configuration and load (
qklogintagx1patch points), crash dump return (self-diagnosis closed loop), and cached question-and-answer delivery, which are features of the production line for continuous operation; - The evasion strategy relies on rapid variant iteration rather than single-sample depth evasion - the 2/50 low detection rate of multiple engines comes from the "signature library time difference" rather than the countermeasures technology itself.
10.3 Sample boundaries
This sample isPure loader: No overlay, no embedded payload, all remote control capabilities are in the uncaught second stage. The description of remote control behavior in this article belongs to the family a priori and is not static evidence of this sample. The second-stage load capacity, actual infection scale, and complete target area need to be supplemented by on-site evidence.
10.4 Testing recommendations
- Registry monitoring:
HKCU\QkNetK1key creation,HKCU\...\Run\WinHostSvcwrite,HKLM\SOFTWARE\QkHostCfg_v1write; - Network detection:connect
106.55.224.100:8083, frame header and tail0x77 0xA5Traffic characteristics, 10s periodic single-byte heartbeat; - process behavior: Non-system component creation suspended
tracerpt.exechild process; - file system:
%LOCALAPPDATA%\Temp\HotWater\Download the executable file; - memory characteristics: In process memory
qklogintagx1String (visible briefly after payload injection).
Emergency response: Remove the Run key WinHostSvc、HKCU\QkNetK1 Full key (including cached payload),HKLM\SOFTWARE\QkHostCfg_v1, terminate the connection 106.55.224.100 process, check tracerpt.exe Abnormal sub-process, scan the entire disk to confirm the remaining.
Next is an in-depth analysis of the operating principle of the Silver Fox virus:

Silver Fox Trojan Analysis Report
Alias: You Snake, Valley Fall Thief, UTG-Q-1000, Silver Fox
Analysis dimensions: deployment method/principle construction/prevention method
Writing time: 2026-11-21
0. Qualitative in one sentence
Silver Fox is not a single virus, but a matrix of tools shared by more than 20 domestic black production and anti-virus gangs, following the MaaS (Malware as a Service) model. It hardly uses 0day, and the attack surface is "people" rather than system vulnerabilities; the purpose is not to destroy, but to control the screen to observe financial operations and then impersonate the boss to commit fraud.
Key situation: On average, there are more than 50,000 kills per day on working days, with a peak of 200,000 interceptions in a single day. In 2025, there were 967 new variants, and a cumulative number of anti-kill samples recorded was nearly 30,000; attack periods are concentrated at 10:00 and 14-16:00, which coincides with the working hours of financial and personnel positions (data source: 360 "Silver Fox Trojan Annual Report" 2025", National Virus Center's "Cyberspace Security Situation Analysis Report (2026)").
1. Deployment method
1.1 Five-stage attack chain
Deliver → Land → Load → Stay → Harvest.
| stage | main action | key features |
|---|---|---|
| delivery | WeChat group/DingTalk group files, search advertising phishing sites, counterfeit official websites | File name hot spots: disciplinary list, layoff compensation, internal investigation results |
| landing | Shortcut/folder/PDF icon disguise, actually exe, msi, chm, vhd | The system hides the extension by default and executes it by double-clicking it. |
| load | White plus black side loading + reflective injection shellcode | Legally signed EXE endorsement, difficult to determine with static engines |
| stay | Scheduled tasks, Run button, Startup, services, legal remote control software | Multiple anchor points look after each other, even if you delete one, there will still be a backup |
| harvest | Screen recording/keylogging → Delete the real boss → Send instructions to transfer money under a fake account | Usually hands-on within 1-3 days, short and quick |
1.2 Four types of main entrances
- Instant messaging delivery: The Trojan itself does not have the ability to steal accounts, but remotely controls the logged-in WeChat/DingTalk/QQ on the machine, and uses the real social relationship chain to send group messages. The carriers are group files, WeChat notes, network disk links, and forwarded compressed packages.
- Fishing site + search ranking poisoning: Counterfeiting WPS, Chrome, DingTalk, FinalShell, Sunflower and other official websites, ranking high through SEO and bidding; verifying the Referer, only allowing search engine sources, and direct access will be redirected to avoid analysis. Among the 439 phishing domains sampled in 2026, counterfeit WPS and Chrome accounted for 77.4% in total.
- Disguised installation package and “green version”: Repackaging with normal installers such as InstallShield, Inno Setup, etc., the signature/certificate chain has been tampered with. The installation process itself is "unzip + load DLL", sideloading is not obtrusive here.
- Special formats bypass scanning: The password-protected compressed package comes with a "threat letter" that requires closing anti-virus software, double-clicking the VHD virtual disk to mount, msc/html/url/lnk borrowing system components to execute, oversized packages or massive small files slowing down the scanning queue. Malicious files are mostly hosted on public clouds such as Alibaba Cloud OSS, Baidu BOS, and 123 Netdisk.
What they have in common: No need for 0day, everything relies on "victims clicking on it themselves".
2. Principle construction
The essence of technology is three things: backdooring (white plus black) → hiding memory (reflective loading/injection) → leaving multiple anchor points (persistence).
2.1 White plus black side loading (MITRE T1574.002)
- Backdoor: The malicious DLL uses the original name of the legitimate component (such as GameuxInstallHelper.dll, HWSignature.dll, log.dll) and places it in the same directory as the white program. Windows first searches for dependencies in the application directory, and loads them into memory when the EXE is started. The signature only ensures that the EXE is trustworthy, not the DLL in the same directory - the trust boundary that is crossed.
- decoupling: Read PEB, traverse the InLoadOrderModuleList, manually parse the export table to obtain GetProcAddress, bypass IAT to avoid Hook; detect virtual machines, debuggers, and sandbox processes at the same time, and exit if hit without dropping the file.
- hidden memory: Convert DLL to position-independent shellcode (sRDI/reflective loading), or use PoolParty, APC + NtTestAlert, thread pool injection to deliver to explorer.exe, svchost.exe. The complete backdoor file does not exist on disk.
- leave anchor point: Register scheduled tasks disguised as Microsoft components (such as .NET Framework NGEN v4.x, PT30S delay of 30 seconds, HighestAvailable privilege escalation to avoid boot antivirus scanning peak), HKCU...\Run, Startup directory, services; hijack file associations (forged suffix + shell\open\command) so that non-executable extensions can also launch white programs.
2.2 Comparison of confrontation techniques
| Technique | effect | defensive meaning |
|---|---|---|
| Tampering with WDAC policy | Let security software drivers/processes be blocked by system policies | Monitor WDAC Policy Catalog and CiTool Changes |
| BYOVD (Legitimate Signed Driver with Vulnerability) | Remove the kernel callback and make the anti-virus software "invisible" | Driver loading requires signature + hash whitelist |
| AMSI bypass patch | Block PowerShell/WMI script log reporting | Controlling script hosts is more effective than relying on script auditing |
| .NET GAC/TypeLib Hijacking | Activated with legitimate .NET programs | Monitor GAC and registry COM key changes |
| Abuse of IP-Guard / Ping32 / AnyDesk | Use formal control/remote control software as a "permanent backdoor" | Behavior management software needs to register an authorization list |
| DCOM + simulate click | Bypass UAC pop-ups and interaction protection | Monitor DCOM pull-ups for non-interactive sessions |
2.3 Backdoor pedigree
Gh0st → Big Bad Wolf → DcRat → ValleyRAT (Win0s) → HackBrian. Evolutionary trend: The proportion of self-research is declining, and the proportion of parasitic legal software is increasing.
3. Prevention methods
3.1 Four layers of defense in depth
- Entrance and personnel: Group files/attachments must be verified by phone or in person first; do not directly double-click files such as "discipline list, layoff compensation, internal investigation"; only obtain software from the official website and app store; never turn off protection and then unzip it as required by the "threat letter".
- Terminals and Strategies: Force the display of extensions; AppLocker/WDAC whitelist prohibits %AppData%, %Temp%, and Startup execution; controls mshta, wscript, cscript, regsvr32, and VHD mounts; disables Office macros; EDR enables memory scanning and module loading monitoring.
- Network and Account: Outbound whitelist and block public network DoH; key alarms for newly registered domain names, counterfeit brand domains, and long connections on unconventional ports; two-person review + independent channel callback for large financial transfers; chat tool to enable device management.
- Detection and Emergency: Alarm based on a combination of behaviors rather than a single feature; after a compromise, press "Disconnect → Obtain Evidence → Clear Anchors → Change Encryption → Reinstall" to execute.
3.2 Six high-confidence detection rules
1 模块加载:白名单进程从非安装目录加载 DLL,且该 DLL 签名者 ≠ 主程序签名者
2 进程链 :explorer / svchost / cmd 的父进程位于 %AppData%、%Temp%、Startup
3 计划任务:名称含 .NET Framework NGEN,但 Actions 指向 AppData 或 Public 目录
4 注册表 :HKCU\Console 异常写入;HKCR 伪造后缀的 shell\open\command 指向用户目录
5 内存 :进程内存出现无文件映射的 MZ/PE 头(反射加载的直接证据)
6 外联 :非浏览器进程访问公网 DoH / 云盘 API,或 IP 直连非标端口的长连接
If two are hit, they will be isolated. Only one hit will be transferred to manual review to avoid accidental killing caused by legitimate software updates and scheduled tasks with the same name.
3.3 Failure disposal sequence
- Disconnect: Block by IP, not just ports.
- Forensics: first dump the memory of the suspicious process, then end the process and keep the shellcode and decryption key.
- Clear anchor points:
schtasks /query /fo LIST /vLocate the task pointing to AppData and delete it; synchronize and clear the Run key, Startup, service and forged file associations (export the backup before changing the registry). - Password change: There are keylogging and screen monitoring, and it must be assumed that all passwords and sessions entered by the machine have been leaked.
- Reinstallation: For terminals that carry financial services, clearing files is not enough to eliminate the backdoor. Reinstall the system after backing up.
4. Reference sources
- 360 Digital Security "Silver Fox Trojan Annual Report 2025"
- National Computer Virus Emergency Response Center "Cyberspace Security Situation Analysis Report (2026)"
- National Virus Center’s May 2026 “Silver Fox” Variant Early Warning Notice
- CNCERT May 2026 Risk Warning for Black Production to Build High-Simulation Phishing Websites in Batch
- Cybersecurity Bureau of the Ministry of Public Security Five typical cases of “Silver Fox” Trojan in June 2026
- Public sample analysis: GDFInstall.exe + GameuxInstallHelper.dll (sRDI + HackBrian), sgfeedbackhelper.exe + HWSignature.dll (ValleyRAT)
Attached: Sample acquisition channels (for hands-on analysis)
There is no official download point for Silver Fox, and it can only be obtained from the sample library, sandbox public missions, and actual capture.
A. MalwareBazaar (preferred, free and downloadable)
| project | illustrate |
|---|---|
| Web page | <https://bazaar.abuse.ch/browse/tag/ValleyRAT/> 、/tag/SilverFox/ 、/tag/Winos/ |
| API endpoint | <https://mb-api.abuse.ch/api/v1/> (POST form, header must contain Auth-Key) |
| key | Free registration <https://auth.abuse.ch/> , generated in user/me |
| Query | query=get_taginfo\&tag=ValleyRAT ;query=get_siginfo\&signature=ValleyRAT ;query=get_info\&hash=<sha256> |
| download | query=get_file\&sha256_hash=<sha256>, return zip, AES128, password infected |
| limit | 2000 downloads per IP per day; unpacking requires pyzipper or 7z x -pinfected |
See the local collection script tools/fetch_silverfox.py。
B. Sandbox and intelligence platform (look at behavior, get relevant IOC, most do not give original files)
| platform | address | what can i get |
|---|---|---|
| Weibu online sandbox | <https://s.threatbook.com/> | Press SHA256 to check the report and upload the self-test; downloading the original sample requires the enterprise version or points |
| Microstep Attack Analysis Column | <https://s.threatbook.com/blog/> | SilverFox→ValleyRAT topic, associated file hashes are listed in the page |
| ANY.RUN | <https://app.any.run/> | Public task behavior chain and IOC, some tasks can download samples |
| Triage | <https://tria.ge/s> | Public report includes sample download entrance |
| VirusTotal | <https://www.virustotal.com/> | Free accounts cannot be downloaded; you can use contacted URLs / dropped files to check the same source |
| ThreatFox / URLhaus | <https://threatfox.abuse.ch/> 、<https://urlhaus.abuse.ch/> | C2 is directly linked to the payload and can be handed over to the sandbox to drop samples. |
| National virus collaborative analysis platform | <https://virus.cverc.org.cn/> | Reporting and qualitative inquiry, notification samples are not available for download |
C. Actual arrest
According to the counterfeit site mode in the notification (WPS, Chrome, DingTalk, FinalShell, Sunflower), access only from the search engine entrance in the isolated virtual machine, and capture the installation package distributed on the day; the infrastructure rotation is faster than the sample library, and the captured samples are usually the latest variants.
D. Analyze environmental requirements
Dedicated machine or virtual machine; set the network to host-only or disconnect; close shared folders and clipboard; keep samples encrypted and compressed; after unpacking, perform static triage (hash, PE header, import table, string, signature verification), and then decide whether to run dynamically.
Appendix 2: Remote control principle
1. Direction: The controlled terminal actively connects externally, and the controlling terminal never "enters".
The controlled end (the thread injected into explorer.exe / svchost.exe / UserAccountBroker.exe / tracerpt.exe) actively initiates an outgoing TCP connection to C2, so the attacker does not need public IP, port mapping or vulnerability entry. The control end only does two things: accept registration and issue instructions.
2. Configuration: binary embedding + registry override
A vertical bar-separated string is embedded. If the corresponding key exists in the registry during runtime, it will be replaced as a whole to achieve "C2 can be replaced without re-issuing the sample".
| Field | meaning |
|---|---|
| p1 / o1 / t1 | Primary C2 address/port/connection type (1=HTTP(S), 0=bare TCP) |
| p2 / o2 / t2、p3 / o3 / t3 | The second and third levels are C2, active and backup alternate, fail 200 times and switch to the third level. |
| dd / cl | First connection delay (hiding from sandbox)/heartbeat interval |
| bb / bz / fz | Version number/Build date/Group remarks |
| ur / ps | Alternate address URL / 32-byte handshake key |
Coverage locations:HKCU\Software\IpDates_info、HKCU\Software\Microsoft\Hello、HKLM\SOFTWARE\IpDates_sun;In shellcode FaCai2024 Flag bits are used to perform pre-patch configuration.
3. Handshake and heartbeat
- New version: Each party produces a 16-byte nonce, uses the built-in 32-byte key to do HMAC-SHA256, takes the first 16 bytes as the AES session key, and each subsequent record = length + IV + AES-CBC ciphertext;
- Legacy: 4 bytes length + 10 bytes XOR seed + 1 byte opcode + XOR/zlib data;
- Earlier: 5-byte magic number “Gh0st” + plaintext length + zlib, which can be used for direct traffic signature;
- Heartbeat period: Winos 60 seconds, some variants 5 seconds or 3 seconds, time calibration is stable and is a reliable behavioral characteristic.
4. Instruction set (about 25 items)
0x11 heartbeat,0x12 Load plugin,0x13 Inject DLL into IM,0x14 Uninstall plug-ins,0x15/0x16 Update configuration,0x17 self-uninstalling,0x18 process check,0x19 window inspection,0x1A Shut down and restart,0x1D Download and execute,0x0C Clear application/security/system event log.
The screen is a differential block JPEG; the keyboard is a global hook or DirectInput, and the local log is logged first and then transmitted back; the file is transmitted in blocks; and the socks module is added when intranet penetration is required.
5. Plug-in: three-stage negotiation + registry residency
The server sends the module descriptor → the client reports missing → the server sends the descriptor and module body. The module does not drop to the disk.VirtualAlloc(PAGE_EXECUTE_READWRITE) Load the memory and write "2628 bytes configuration + code" at the same time HKCU\Console\0\<MD5> REG_BINARY, per module with 0xC9 The magic number prevents repeated execution; the process is hollowed out during injection tracerpt.exe, patch 4768 bytes of configuration before injection.
6. Resilient design
- 10 consecutive connection failures: Delete up to 256 blocking rules for its own address/port through the firewall COM interface;
- 20 failed attempts: Press
urPull the alternate address (User-Agent disguises MSIE 6.0), take the first linehost:portReplace primary and backup; - Channels can be replaced: whitelist RMMs such as cloudflared reverse tunnel, AnyDesk/TeamViewer, etc. can all serve as channels.
7. Detection points corresponding to the principle
| link | Signal |
|---|---|
| periodic heartbeat | The same process sends fixed-length packets to the same external IP every 60/5 seconds |
| Configuration resident | HKCU\Console\0 REG_BINARY named under MD5;Software\IpDates_info、Microsoft\Hello |
| memory loading | There is no PE header for file mapping in the process; RWX is executed immediately after allocation |
| Legal tool parasitism | tracerpt.exe ResumeThread after being suspended;svchost.exe Pull up non-system child processes |
| self-help | Firewall rules are deleted in batches; event logs are cleared (1102/104) |
| Online portrait | Enumerate IM processes, wallet extensions, and bank domain name history before first outreach |
Conclusion: Control is broken down into three independent things: channel, identity, and ability. Cutting off just one of them is not enough to make it ineffective. It must be cut off at the same time.
ps: Most of the content is created with the assistance of AI, so I am too lazy to type so many words.
please Log in or Register an account Participate in discussions, download exclusive add-ons or unlock level posts.