Kong RAT Campaign Uses SEO Poisoning to Target Chinese-Speaking Developers

· Original article ↗

Summary

eSentire describes a multi-stage Kong RAT campaign that used SEO-poisoned software download sites to target Chinese-speaking developers. Its analysis details the malware’s evasion, persistence, keylogging and modular C2 capabilities.

Key points

  • Lookalike download sites for tools including FinalShell, Xshell, QuickQ and Clash reportedly delivered trojanized installers hosted on Alibaba Cloud Object Storage.
  • The reported six-stage chain progresses from a .NET NativeAOT dropper through in-memory DLL loading, DLL sideloading and shellcode execution to Kong RAT.
  • Evasion and persistence include PEB masquerading, a CMSTPLUA COM UAC bypass, EnumWindows callback shellcode execution and scheduled tasks created through direct RPC.
  • Kong RAT can log keystrokes, enumerate security products and messaging apps, and load remote plugins through a custom MPK1 protocol over TCP port 5947.
  • The malware reportedly collects victim IP and geographic information through a LeTV CDN request and sends system information to its C2.
  • eSentire says its analysts isolated an affected host and are developing detection content; it also recommends verifying software download sources and hunting for the listed persistence artifacts.

Article Details

Attack Vectors
  • SEO poisoning promoted Chinese-language lookalike software download sites, which delivered trojanized installers to users seeking developer and network tools.
  • The infection chain used a .NET NativeAOT dropper to download staged payloads, load a DLL reflectively, and set up a Microsoft-signed executable to sideload a malicious DLL.
  • The sideloaded DLL loaded shellcode from a disguised file and executed it through an EnumWindows callback; a later stage launched Kong RAT.
  • Kong RAT used a custom TCP command-and-control protocol to receive plugins and commands, including remote command execution and file delivery.
  • The malware collected keystrokes, enumerated security products and installed applications, and sent victim system and geolocation information to its operators.
Defensive Notes
  • Navigate directly to official software vendor websites rather than relying on search results, and train employees to recognize fake software-download sites.
  • Hunt for the described scheduled-task, registry, and installation-path artifacts, as well as DLL sideloading and shellcode execution behavior.
  • Block the malicious infrastructure identified in the article and monitor for the malware's command-and-control and staged-payload activity.
  • eSentire reports that its analysts isolated the affected host and assisted the customer with remediation; its Threat Response Unit was developing detection content for endpoint, log, and network monitoring.

Indicators of compromise

TypeIndicatorContext
DOMAINclash-cn[.]comLookalike Clash download site identified as part of the malicious campaign infrastructure.
DOMAINfinalshell-ssh[.]comLookalike FinalShell download site used to deliver a trojanized installer.
DOMAINletsv-vpn[.]comLookalike LeTV VPN site identified as part of the malicious campaign infrastructure.
DOMAINquickq-cn[.]comLookalike QuickQ download site identified as part of the malicious campaign infrastructure.
DOMAINx[.]x-x[.]icuKong RAT command-and-control domain used for TCP communications on port 5947.
DOMAINxshell-38m[.]pages[.]devLookalike Xshell site identified as part of the malicious campaign infrastructure.
DOMAINxshell-cn[.]comLookalike Xshell download site identified as part of the malicious campaign infrastructure.
IPV445[.]192[.]208[.]126Reported Kong RAT command-and-control infrastructure associated with TCP port 5947.
SHA2562b7d31a83ff817be7bdd6e9cf92dea438ca97dc93ea84cbf048f8656f7dd57ddSHA-256 hash of the malicious rcdll.dll sideloading component.
SHA2563a1dd72dd2dec21d18b8fcd72d221f069fed2d35c2bf4cdf042c9ae722d6c820SHA-256 hash reported for the downloaded zj.mp4 Windows DLL payload.
SHA256736b2c5782fca75a85379181bcf1d3a719a14cacd938d053c03b16041059dd8fSHA-256 hash of Setupexe.exe, the Microsoft-signed binary used to sideload the malicious DLL.
SHA256ae160034478a340421e20dc7c8fdee626cc3b8035d278f0a94afaf31766eea48SHA-256 hash of the zj.bin payload saved as oob.xml, containing shellcode and an embedded PE.
SHA256d6620d753e746e63b59e1e47943be5093f24fd3f82e994115cadeea3720f1aeaSHA-256 hash of the Setup.exe initial dropper.
SHA256ed68397183e72e7113c8ac4aceddf2051abf55d7c62b6fa69f62cbda11324ab8SHA-256 hash of the embedded Kong RAT executable.
URLhxxps[:]//kkwinapp[.]oss-cn-hongkong[.]aliyuncs[.]com/dow/1.d11Campaign payload URL used to deliver the DLL sideloading component.
URLhxxps[:]//kkwinapp[.]oss-cn-hongkong[.]aliyuncs[.]com/dow/upload?log=Campaign endpoint used to send installation progress telemetry to the operators.
URLhxxps[:]//kkwinapp[.]oss-cn-hongkong[.]aliyuncs[.]com/dow/zj.binCampaign payload URL used to deliver shellcode and an embedded Kong RAT payload.
URLhxxps[:]//kkwinapp[.]oss-cn-hongkong[.]aliyuncs[.]com/dow/zj[.]mp4Payload URL used to deliver a Windows DLL disguised with an MP4 extension.

MITRE ATT&CK

T1027 · Obfuscated Files or InformationThe dropper used NativeAOT compilation and the shellcode used stack-string obfuscation to hinder analysis.T1036.005 · Match Legitimate Resource Name or LocationDuring the elevation bypass, the malware changed PEB process parameters to make the process appear to be explorer.exe.T1047 · Windows Management InstrumentationThe malware used WMI queries to enumerate installed security products and obtain operating-system information.T1053.005 · Scheduled TaskThe dropper created a Windows scheduled task through direct RPC calls for persistence.T1055 · Process InjectionThe chain used reflective PE loading and executed shellcode from memory through an EnumWindows callback.T1056.001 · KeyloggingKong RAT captured keystrokes using GetAsyncKeyState and wrote them to local log files.T1059.003 · Windows Command ShellA C2 command executed operator-supplied commands through cmd.exe /c.T1071 · Application Layer ProtocolKong RAT communicated with its C2 over TCP using a custom MPK1 protocol on port 5947.T1105 · Ingress Tool TransferThe dropper downloaded staged payloads, and the C2 server delivered additional plugin modules.T1112 · Modify RegistryThe malware stored C2 configuration, session state, and plugin data under HKCU registry keys.T1189 · Drive-by CompromiseSEO poisoning directed users to lookalike software download sites that delivered trojanized installers.T1204 · User ExecutionThe initial infection required victims to download and run the trojanized installer.T1518.001 · Security Software DiscoveryThe malware queried the Windows SecurityCenter2 WMI namespace for installed antivirus products.T1548 · Abuse Elevation Control MechanismThe malware triggered a runas elevation prompt and later used a CMSTPLUA COM elevation bypass.T1574.001 · DLLThe campaign placed malicious rcdll.dll beside a Microsoft-signed rc.exe binary to trigger DLL sideloading.

Malware

Vendors

Products

Tools

Countries

Related Articles