HexStrike
- Capabilities
- Scanning
- Platforms
- Linux
HexStrike is an open-source, agentic penetration-testing framework used to orchestrate security tools and automate vulnerability analysis and exploitation. It is a dual-use offensive security framework rather than an inherently malicious payload or a distinct malware family. Its automation enables operators to test known vulnerabilities rapidly and reduces the manual effort and expertise required for exploitation. Google Threat Intelligence Group and Mandiant have observed multiple threat actors abusing HexStrike during real-world intrusions. Capabilities and actor associations documented for other agentic frameworks, such as ARTEX and PentAGI, should not be attributed to HexStrike.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
22 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
2 techniques
Reconnaissance
threat actors are using large language models to... automate reconnaissance against exposed assets... Hexstrike, paired with a temporal knowledge graph called Graphiti... lets the agent maintain persistent state across the attack surface and decide for itself when to pivot between reconnaissance tools
To get these legit offensive tools to perform a malicious attack, attackers added creative prompting to avoid guardrails.
Resource Development
1 technique
Resource Development
allowing the agent to autonomously pivot between tools like subfinder and httpx based on its internal reasoning.
Initial Access
2 techniques
Initial Access
HexStrike, an open source AI security framework popular with cybercriminals that exploited “thousands” of Citrix Netscaler products in less than 10 minutes using a single critical CVE
9 malicious npm packages published by umarbek1233 between 02:02 and 03:58 UTC on 2026-04-03, all version 3.6.8, all using postinstall hooks
Execution
1 technique
Execution
[Phase 1] postinstall.js executes
Persistence
1 technique
Persistence
shell.sh: Reverse shell to 144.31.107.231:4444
Privilege Escalation
2 techniques
Privilege Escalation
shell.sh: Reverse shell to 144.31.107.231:4444
exploit.sh: OverlayFS container escape (CAP_SETUID) Privilege escalation toolkit includes Docker container escape via OverlayFS (CVE-2023-0386 variant)
Stealth
1 technique
Stealth
Command delivery : Server reads cmd.txt, returns content to polling agent, then writes nop to prevent re-execution
Credential Access
5 techniques
Credential Access
login3.js: Credential stuffing against Guardarian employees
[Phase 9] Private key/PEM/wallet/secret file discovery + exfil
[Phase 3] .env file theft (11 hardcoded paths + find /) [Phase 4] Full environment variable dump (env command)
es_intercept.js -- TLS MITM proxy for Elasticsearch with self-signed cert + /etc/hosts poisoning
get_users_tokens.js: JWT forgery + user enumeration
Discovery
3 techniques
Discovery
[Phase 7] Network mapping: /etc/hosts, resolv.conf, ARP, routes
scan.js -- Internal infrastructure port scanning jenkins.js -- Jenkins port scan on Docker host
[Phase 2] Beacon: hostname, whoami, IP, Node version -> C2
Lateral Movement
1 technique
Lateral Movement
pgesc.js: PostgreSQL privilege escalation via dblink
Collection
2 techniques
Collection
[Phase 6] Redis raw TCP: INFO, DBSIZE, KEYS * [Phase 10] Strapi admin DB query attempt (knex/database.js)
es_intercept.js -- TLS MITM proxy for Elasticsearch with self-signed cert + /etc/hosts poisoning
Command and Control
2 techniques
Command and Control
Transport : Plain HTTP POST to http://144.31.107.231:9999/c2/{agent_id}/{phase} Polling : 5-second intervals, 60 rounds per session
our honeypot sensors caught three separate operators hijacking our exposed Ollama and LiteLLM endpoints as the model backend for offensive tooling.
Exfiltration
1 technique
Exfiltration
All data exfiltrated via HTTP POST to C2:9999
Observables
10 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.