Skip to main content
Mallory
Malware

HexEval Loader

Tracked since Nov 25, 2025 · Updated 6 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK14Techniques
IOCs0Tracked

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.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

14 distinct techniques documented for this family, organized by ATT&CK tactic.

Execution

1 technique
T1059.007JavaScriptEvidence3

[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
T1027Obfuscated Files or InformationEvidence2

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.

T1027.013Encrypted/Encoded FileEvidence3

[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)

T1036MasqueradingEvidence1

During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.

T1036.005Match Legitimate Resource Name or LocationEvidence3

[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)

T1140Deobfuscate/Decode Files or InformationEvidence5

[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
T1056.001KeyloggingEvidence3

[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
T1016System Network Configuration DiscoveryEvidence3

[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)

T1033System Owner/User DiscoveryEvidence3

[HexEval Loader](https://attack.mitre.org/software/S1249) has collected the username from the victim host.(Citation: Socket HexEval BeaverTail Contagious Interview June 2025)

T1082System Information DiscoveryEvidence4

[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)

T1614System Location DiscoveryEvidence3

[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
T1056.001KeyloggingEvidence3

[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
T1071.001Web ProtocolsEvidence5

[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)

T1105Ingress Tool TransferEvidence3

[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
T1041Exfiltration Over C2 ChannelEvidence5

[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)

Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping14Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.