Skip to main content

MALFEX Hunt Query

The package embeds a compiled 64-bit C++ Node.js native addon DLL that downloads encrypted shellcode from GitHub (`cavecrew/proj`), decrypts it with `nif-runtime-2027`, and performs process injection into `dllhost.exe` to deploy a Go-based stealer and WebSocket RAT.

index=endpoint (sourcetype=WinEventLog:Security EventCode=4688) OR (sourcetype=XmlWinEventLog:Microsoft-Windows-Sysmon/Operational EventCode=1)
| eval ParentImage=lower(parent_process_name), Image=lower(process_name), Cmd=lower(process)
| where (like(ParentImage, "%node.exe") AND (like(Image, "%dllhost.exe") OR like(Image, "%node_runtime_helper.exe")))
     OR (like(Cmd, "%node_runtime_helper.exe%") OR like(Cmd, "%microsoftedgeupdateservice%"))
     OR (like(Cmd, "%104.234.65.75%"))
| table _time, host, user, parent_process_name, process_name, process
Need to defang indicators or test triage logs?
Use our zero-telemetry client-side parser to extract, defang & format indicators.
Open SOC Defanger Workbench
Target Log Sources & Tables
DeviceProcessEvents

Ensure telemetry connector is actively ingesting this table into your Sentinel workspace or Defender XDR.

False Positives & Tuning Guidance

Legitimate administrative software deployment scripts, authorized security testing, or system maintenance tasks.

Source Incident Analysis

MALFEX: How to Detect & Block imgdecode npm Shellcode Loader

Disclosed: 2026-10-17

Read Attack Chain
DETECTION_ENGINEERING_FEEDBACK

Have tuning recommendations, encounter false positives in your environment, or want to contribute rule improvements?

Submit Feedback →