HexEval Loader
HexEval Loader is a hex-encoded JavaScript malware loader used in DPRK-linked software supply chain activity associated with the Contagious Interview operation. It has been distributed via malicious and typosquatted npm packages targeting developers and job seekers. When a victim installs a malicious package, the loader executes during package installation, collects host metadata, decodes follow-on JavaScript, and communicates with hardcoded command-and-control infrastructure, including Vercel-hosted endpoints. The C2 can identify the geographical location of a victim host based on request headers, execution environment, and runtime conditions, and HexEval Loader has been observed exfiltrating victim data via HTTPS POST requests to its C2 servers. It executes malicious JavaScript code and, when triggered, fetches and runs BeaverTail as a second-stage payload; BeaverTail is described in the content as an infostealer/loader linked to DPRK attackers and can lead to deployment of InvisibleFerret. The campaign is tied to North Korean state-backed activity and specifically targets developer ecosystems through npm package abuse.
Techniques & procedures
14 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
[HexEval Loader](https://attack.mitre.org/software/S1249) has executed malicious JavaScript code.(Citation: Socket Contagious Interview NPM April 2025)(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
Stealth
5 techniques
Stealth
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
[HexEval Loader](https://attack.mitre.org/software/S1249) has encoded module names and C2 URLs as hexadecimal strings in attempts to evade analysis.(Citation: Socket Contagious Interview NPM April 2025)(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.
[HexEval Loader](https://attack.mitre.org/software/S1249) has masqueraded and typosquatted as legitimate code repository packages and projects.(Citation: Socket Contagious Interview NPM April 2025)(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
[HexEval Loader](https://attack.mitre.org/software/S1249) has decoded its payload prior to execution.(Citation: Socket Contagious Interview NPM April 2025)(Citation: Socket BeaverTail XORIndex HexEval Contagious Interview July 2025)(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
Credential Access
1 technique
Credential Access
[HexEval Loader](https://attack.mitre.org/software/S1249) has utilized a cross-platform keylogger that has the capability to capture keystrokes on Windows, macOS and Linux systems.(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
Discovery
4 techniques
Discovery
[HexEval Loader](https://attack.mitre.org/software/S1249) has leveraged server-side client configurations to identify the public IP of the victim host.(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
[HexEval Loader](https://attack.mitre.org/software/S1249) has collected the username from the victim host.(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
[HexEval Loader](https://attack.mitre.org/software/S1249) has identified the OS and MAC address of victim device through host fingerprinting scripting.(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
[HexEval Loader](https://attack.mitre.org/software/S1249) has a function where the C2 endpoint can identify the geographical location of a victim host based on request headers, execution environment and runtime conditions.(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
Collection
1 technique
Collection
[HexEval Loader](https://attack.mitre.org/software/S1249) has utilized a cross-platform keylogger that has the capability to capture keystrokes on Windows, macOS and Linux systems.(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
Command and Control
2 techniques
Command and Control
[HexEval Loader](https://attack.mitre.org/software/S1249) has used HTTP and HTTPS POST requests to communicate with C2.(Citation: Socket Contagious Interview NPM April 2025)(Citation: Socket BeaverTail XORIndex HexEval Contagious Interview July 2025)(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
[HexEval Loader](https://attack.mitre.org/software/S1249) has been used to download a malicious payload to include [BeaverTail](https://attack.mitre.org/software/S1246).(Citation: Socket Contagious Interview NPM April 2025)(Citation: Socket BeaverTail XORIndex HexEval Contagious Interview July 2025)(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
Exfiltration
1 technique
Exfiltration
[HexEval Loader](https://attack.mitre.org/software/S1249) has exfiltrated victim data using HTTPS POST requests to its C2 servers.(Citation: Socket Contagious Interview NPM April 2025)(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.