Description
Sogou Input Method, also known as Sogou Pinyin, is a widely used Chinese input method editor that helps users type Chinese characters on Windows and other platforms.
The application includes a brand-promotion feature that allows approved startup companies to have their brand names included in specialized vocabulary dictionaries. The feature uses a configuration request to retrieve icons associated with these branded dictionary entries.
SlippyNunchucks abused this legitimate functionality by manipulating DNS resolution for the Sogou configuration domain. Because certain application requests were sent over unencrypted HTTP, the attacker-controlled servers could respond with a malicious configuration instead of the legitimate one.
The malicious configuration instructed SGTool.exe to download and place payloads in directories used by Sogou's existing component-management and loading mechanisms. This enabled the DarkVigil implant to execute through trusted application workflows.
ESET reported that the campaign was part of a broader pattern in which SlippyNunchucks abuses popular Chinese applications to distribute its DarkVigil toolset. Previously observed applications included QuickFox, QingTalk, MiYunChat, SoftCam, and tawk.to.
Technical Description
The operation involved multiple technical stages:
1. DNS Hijacking
The attackers manipulated DNS resolution for:
config.pinyin.sogou[.]com
Instead of resolving to the legitimate Sogou infrastructure, requests from affected environments were directed to attacker-controlled staging servers.
ESET identified the following staging IP addresses:
47.239.250[.]10247.237.122[.]175
These servers hosted the attacker-controlled domain sogou-cdn[.]com.
2. Malicious Configuration Delivery
Sogou Input Method's SGTool.exe component normally sends an HTTP request to:
/api/brandScd/getBrandScd.php
The endpoint provides configuration information for icons associated with branded vocabulary dictionaries.
In a clean environment, the returned configuration is encrypted using AES-256-CBC, with the key and initialization vector embedded in the SGTool.exe binary.
During the campaign, attacker-controlled servers returned a malicious configuration that used a similar encryption structure. The configuration modified payload download instructions and associated integrity-check values.
3. Payload Delivery
The malicious configuration instructed SGTool.exe to download two files:
biz_helper.exe– a legitimate, digitally signed Adobe Licensing WF Helper binary renamed to resemble a Sogou component.libcef.dll– the DarkVigil malware implant.
The attacker-controlled configuration modified MD5 fields to match the downloaded payloads, allowing the application to accept the files through its existing validation process.
4. DLL Side-Loading
The downloaded Adobe binary was placed in a Sogou component directory under the name SogouComMgr.exe.
When the application attempted to install or load a component, the renamed executable was launched and loaded the malicious libcef.dll.
This resulted in execution of the DarkVigil implant through a legitimate executable.
5. Persistence Through Existing Application Workflows
The attackers also used Sogou's BizCenterCom component-loading mechanism as an alternative execution path.
By placing the payloads in a version-specific component directory, the attackers could use an existing application workflow to launch the malicious code.
Both methods relied on Sogou's normal component-management functionality rather than introducing an entirely separate persistence mechanism.
Attack Overview
The campaign can be understood through the following stages:
Stage 1 – Targeting and DNS Manipulation
The threat actor targeted organizations and Chinese-speaking individuals using Sogou Input Method. DNS resolution for the application's configuration domain was manipulated, although the precise point of DNS compromise remains unknown.
Stage 2 – HTTP Request Redirection
SGTool.exe sent an unencrypted HTTP request to retrieve the branded dictionary configuration. The request was redirected to an attacker-controlled staging server.
Stage 3 – Malicious Configuration Delivery
The staging server returned a malicious configuration containing instructions to download the disguised Adobe executable and DarkVigil implant.
Stage 4 – Payload Placement
The downloaded files were placed in selected Sogou component directories to take advantage of existing application execution mechanisms.
Stage 5 – DarkVigil Execution
The disguised Adobe binary loaded the malicious DLL through DLL side-loading, executing the DarkVigil implant.
Stage 6 – Command-and-Control Communication
DarkVigil established communications with its command-and-control infrastructure using the Duplex Message Transport Protocol (DMTP), enabling remote command execution and plugin management.
Technical Analysis
1. Abuse of Insecure HTTP Communications
The central weakness exploited in this campaign was Sogou Input Method's use of unencrypted HTTP for certain configuration requests.
ESET found 20 request endpoints on the official configuration host that were accessed through HTTP rather than HTTPS. One of these was the brand-promotion configuration endpoint.
Although the official domain supported HTTPS and presented a valid Tencent TLS certificate, the affected application requests did not consistently benefit from TLS protection.
This allowed DNS manipulation to redirect requests to attacker-controlled infrastructure without the protection that authenticated HTTPS communication would provide.
ESET noted that the exact location of DNS manipulation remains unknown. Possible explanations include compromised routers, malicious DNS configurations, router implants, or interception at the ISP level. These are possibilities identified by ESET, not confirmed mechanisms.
2. Malicious Configuration and Payload Validation
The legitimate configuration contains instructions for downloading an icon associated with the brand-promotion mechanism.
The attacker modified the configuration to instruct SGTool.exe to download executable payloads instead.
The configuration also contained modified MD5 values matching the attacker's selected files. This enabled the malicious files to pass the application's integrity-check process.
The incident demonstrates the danger of relying on configuration-provided integrity values when the configuration itself is delivered through an unauthenticated communication channel.
3. DLL Side-Loading
The attackers used a legitimate Adobe Licensing WF Helper executable and renamed it to SogouComMgr.exe.
The binary was placed in a Sogou component directory alongside the malicious libcef.dll.
When the application launched the executable through its component-management workflow, the legitimate binary loaded the malicious DLL.
This technique allowed the attackers to execute DarkVigil while using a trusted executable as the loading mechanism.
4. DarkVigil Command-and-Control Architecture
DarkVigil is a modular .NET malware toolset built on the Vigil framework and the TouchSocket networking framework.
Its command-and-control architecture uses the Duplex Message Transport Protocol (DMTP).
DMTP is a binary application-layer protocol that can operate over TCP, UDP, HTTP, WebSocket, and named pipes.
ESET identified several important capabilities:
Reverse Remote Procedure Call (RPC) functionality.
Support for client-server and client-client communication channels.
Plugin delivery and execution.
Remote management of compromised systems.
Victim profiling and command execution.
During the initial connection, the DarkVigil implant performs a handshake with the C&C server and sends information about the compromised system.
The server can then manage the implant through RPC methods and deliver additional plugins.
5. Plugin Management and Data Collection
DarkVigil supports modular plugin execution.
The C&C server can transfer a plugin to the compromised system through DMTP's file-transfer capability. The compressed plugin is stored in the Windows Registry under:
HKCU\Software\Microsoft\IME\<HWID>\pluginHash
The implant subsequently retrieves, decompresses, and loads the plugin into its .NET environment.
ESET identified the PluginService and OptionService components within the DarkVigil client architecture.
These components support plugin management, execution, disconnection, and termination operations.
The modular design enables the threat actor to extend the capabilities of compromised systems without relying on a single fixed payload.
Indicators of Compromise (IOCs)
The following indicators were published by ESET Research.
File Indicators
| SHA-1 | Filename | Description |
|---|---|---|
8A60A8E90E1F5F08F28FE5A6DD57BD686C20DC23 | libcef.dll | DarkVigil implant |
3E16BA611782AF6E45576D390488D28FD676BADE | Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll | DarkVigil implant |
Network Indicators
| Indicator | Type | Description |
|---|---|---|
blog.wangmengfun[.]top | Domain | DarkVigil bootstrap domain |
update.mssproxy[.]net | Domain | DarkVigil bootstrap server |
img.fusfun[.]top | Domain | DarkVigil bootstrap server |
47.86.15[.]162 | IP address | DarkVigil bootstrap server |
47.236.254[.]159 | IP address | Hijacking domain and staging server |
dev.soft-png-cdn[.]com | Domain | Hijacking domain and staging server |
47.237.122[.]175 | IP address | Hijacking domain and staging server |
sogou-cdn[.]com | Domain | Attacker-controlled staging domain |
47.239.250[.]102 | IP address | Hijacking domain and staging server |
Related Legitimate Application Endpoint
config.pinyin.sogou[.]com/api/brandScd/getBrandScd.php
This is the legitimate Sogou configuration endpoint abused in the campaign. It should not be treated as an attacker-owned domain or malicious IOC by itself.
Security teams should correlate this endpoint with DNS resolution history, unexpected HTTP responses, and connections to the attacker-controlled infrastructure.
Potential Impact
The campaign demonstrates how trusted applications and their existing update or component-loading mechanisms can be abused to distribute malware.
Potential consequences include:
Unauthorized system access: Successful DarkVigil deployment can provide attackers with remote access to affected Windows systems.
Data collection and exfiltration: The modular malware architecture supports data collection and transfer through its C&C infrastructure.
Cyberespionage: Targeting organizations and Chinese-speaking individuals across multiple countries creates opportunities for surveillance and intelligence gathering.
Additional malware deployment: The plugin architecture allows attackers to extend functionality after initial compromise.
Persistent compromise: Abuse of existing application workflows can allow malware execution without a separate persistence mechanism.
Organizational exposure: Compromised employee systems may provide access to sensitive business information and internal resources.
Recommendations
Immediate Recommendations
Update Sogou Input Method: Upgrade affected Windows installations to version 16.10 or later to address the reported insecure HTTP configuration requests.
Review DNS resolution: Investigate DNS records and resolver logs for unexpected resolution of
config.pinyin.sogou[.]comto the identified attacker-controlled IP addresses.Hunt for DarkVigil files: Search endpoints for the identified file hashes and suspicious files such as
libcef.dlland renamed Adobe helper executables.Inspect Sogou component directories: Review component-management directories for unexpected executable replacements, suspicious DLLs, and unauthorized files.
Monitor network traffic: Investigate connections to the listed bootstrap domains, staging servers, and IP addresses.
Review Windows Registry activity: Inspect the registry path
HKCU\Software\Microsoft\IME\for suspicious plugin-related entries and unexpected modifications.Isolate suspected endpoints: Disconnect confirmed compromised systems from the network and preserve forensic evidence for incident response.
Preventive Recommendations
Enforce HTTPS: Ensure that applications use HTTPS for configuration retrieval, software updates, and other sensitive network requests.
Validate TLS certificates: Implement proper certificate validation and certificate pinning where appropriate to prevent unauthorized configuration delivery.
Validate downloaded file types: Applications should verify that downloaded files match their expected file types rather than relying only on configuration-provided checksums.
Restrict file destinations: Limit downloaded files to designated application directories and prevent arbitrary file overwrites.
Monitor DLL side-loading: Use endpoint detection and response tools to identify trusted executables loading unexpected DLLs from application directories.
Strengthen DNS security: Monitor suspicious DNS changes, use trusted resolvers, and investigate unexpected DNS responses for critical application domains.
Apply application control: Restrict execution of unauthorized binaries and monitor unexpected executable replacements in trusted application directories.
Monitor C&C activity: Use network detection tools to identify unusual DMTP-like traffic, suspicious outbound connections, and unexpected remote procedure call activity.
Conclusion
The SlippyNunchucks campaign demonstrates how attackers can turn a legitimate application's functionality into a malware delivery mechanism.
By combining DNS hijacking, insecure HTTP communications, malicious configuration delivery, and DLL side-loading, the threat actor was able to deploy DarkVigil through Sogou Input Method's existing component-management workflows.
The campaign also highlights the importance of securing configuration delivery mechanisms. Even trusted applications can become malware distribution channels when network communications are not properly authenticated and downloaded content is not sufficiently validated.
Tencent's release of Sogou Input Method version 16.10 addresses the affected HTTP requests through HTTPS migration and certificate pinning. However, organizations should also review endpoint activity, DNS logs, and application component directories for signs of previous compromise.
