Threat video1:00
MALFEX via AGENTS.md / CLAUDE.md: Detection & IOCs
A stray AGENTS.md in Downloads makes Codex and Claude Code install MALFEX npm malware. Its 9 detection rules, 29 IOCs and a free Splunk SPL rule cover it.
Read the full threat intel for MALFEX via AGENTS.md / CLAUDE.md: Detection & IOCs →
Chapters
- 0:00The hook40,767 downloads: malware campaign reproduced in research.
- 0:07The storyResearchers reproduced it.
- 0:13Attack pathFake instruction files in Downloads.
- 0:29AttributionAttributed to MALFEX operator.
- 0:33Indicators of compromise28 indicators to hunt: 4 IPs, 5 domains and 3 URLs, and more.
- 0:39MITRE ATT&CK techniques20 ATT&CK techniques, from initial access to exfiltration.
- 0:44Remediation5 steps now: Do not start Codex, Claude Code or other coding agents.
- 0:51Detection rules9 detection rules, in SPL, KQL and Sigma.
Transcript
0:0040,767 downloads: malware campaign reproduced in research.
0:07Researchers reproduced it. Fake files in Downloads trick agents into installing malware.
0:13Fake instruction files in Downloads. When agents start there, they install packages.
0:19Postinstall drops a Windows remote access trojan.
0:23Stealer harvests browsers and wallets, exfiltrates to Discord.
0:29Attributed to MALFEX operator. Confidence: low.
0:3328 indicators to hunt: 4 IPs, 5 domains and 3 URLs, and more.
0:4020 ATT&CK techniques, from initial access to exfiltration.
0:445 steps now: Do not start Codex, Claude Code or other coding agents.
0:519 detection rules, in SPL, KQL and Sigma.
0:56Threadlinqs. The unified security engineering platform.