HUI Loader
- Type
- Loader
- Capabilities
- DLL sideloadingProcess injectionDefense evasion
- Delivery
- Cracked software
- Platforms
- Windows
HUI Loader is a Windows malware loader observed since at least 2015 and used by multiple China-nexus threat actors. It commonly executes through DLL side-loading or DLL search order hijacking in legitimate applications. Deployment chains typically combine a legitimate executable, a malicious DLL loader, and an encrypted payload blob. HUI Loader decrypts and stages payloads for execution and supports shellcode injection into legitimate Windows processes. Observed payloads include SodaMaster and Cobalt Strike Beacon. It can also disable Event Tracing for Windows (ETW) and Antimalware Scan Interface (AMSI) functions to impair security monitoring and scanning.
HUI Loader has been used in the A41APT campaign associated with Earth Tengshe, in APT10/BRONZE RIVERSIDE incidents, and by Cluster Charlie during Operation Crimson Palace. Documented targeting includes Japanese organizations and their overseas branches, a Southeast Asian government organization, and Southeast Asian gambling companies. In gambling-sector activity, trojanized customer-support chat applications formed part of delivery chains that deployed HUI Loader variants through legitimate software components.
HUI Loader variants have also appeared in operations involving LockFile, AtomSilo, NightSky, LockBit 2.0, and Pandora ransomware. These associations reflect its use as a payload-loading component rather than native ransomware functionality. Its use across multiple intrusion sets makes its presence alone insufficient for attribution to a particular threat actor.
Associated threat actors
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
(Citation: SecureWorks BRONZE STARLIGHT Ransomware Operations June 2022)
(Citation: SecureWorks BRONZE STARLIGHT Ransomware Operations June 2022)(Citation: Dell SecureWorks BRONZE STARLIGHT Profile)
The campaign comparison table lists HUI Loader among the tools used in the A41APT Campaign attributed to Earth Tengshe.
We discovered another loader used for loading SodaMaster in 2021 ... Named after string "HUIHWASDIHWEIUDHDSFSFEFWEFEWFDSGEFERWGWEEFWFWEWD"
The malicious DLLs libcef.dll, msedge_elf.dll, and LockDown.dll distributed by agentupdate_plugins.exe and AdventureQuest.exe are HUI Loader variants.
Techniques & procedures
7 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
[HUI Loader](https://attack.mitre.org/software/S1097) can be deployed to targeted systems via legitimate programs that are vulnerable to DLL search order hijacking.(Citation: SecureWorks BRONZE STARLIGHT Ransomware Operations June 2022)
Privilege Escalation
1 technique
Privilege Escalation
Execution Flow of HUI Loader ... XOR decode & code injection ... svchost.exe
Stealth
5 techniques
Stealth
Execution Flow of HUI Loader ... XOR decode & code injection ... svchost.exe
[HUI Loader](https://attack.mitre.org/software/S1097) can decrypt and load files containing malicious payloads.(Citation: SecureWorks BRONZE STARLIGHT Ransomware Operations June 2022)
Signed DLL with encrypted shellcode ... Legitimate file ... DLL Side-Loading
[HUI Loader](https://attack.mitre.org/software/S1097) can be deployed to targeted systems via legitimate programs that are vulnerable to DLL search order hijacking.(Citation: SecureWorks BRONZE STARLIGHT Ransomware Operations June 2022)
the benign file identity_helper.exe sideloaded the HUI loader (msedge_elf.dll), which de-obfuscated the file log.ini to reveal a Cobalt Strike reflective Loader and a Cobalt Beacon injected into mstsc.exe
Defense Impairment
1 technique
Defense Impairment
[HUI Loader](https://attack.mitre.org/software/S1097) has the ability to disable Windows Event Tracing for Windows (ETW) and Antimalware Scan Interface (AMSI) functions.(Citation: SecureWorks BRONZE STARLIGHT Ransomware Operations June 2022)
Command and Control
1 technique
Command and Control
agentupdate_plugins.exe and AdventureQuest.exe deploy .NET executables based on the SharpUnhooker tool, which download second-stage data from Alibaba buckets hosted at agenfile.oss-ap-southeast-1.aliyuncs[.]com and codewavehub.oss-ap-southeast-1.aliyuncs[.]com. The second-stage data is stored in password-protected zip archives.
Observables
16 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.