Static IOC extraction (text & logs)
High-throughput extraction of URLs, domains, IPs, hashes, file paths, Base64, and crypto wallets — fully deterministic and adversarial-tested.
Precision by default. Zero execution risk.
IOCX is a deterministic, static-only engine for extracting indicators of compromise and analysing Windows PE binaries. Built for DFIR teams, SOC automation, CI/CD security gates, and large-scale threat-intel pipelines where correctness, reproducibility, and safety actually matter.
Install IOCX and extract indicators immediately — no setup, no sandbox, no risk.
pip install iocx
echo "http://malicious.example" | iocx -
iocx suspicious.exe -a deep
A fast, 17‑second walkthrough of deterministic static analysis — no sandboxing, no heuristics, no guesswork.
Having trouble? Watch on YouTube
The latest release focuses on structural correctness and deterministic heuristics:
IOCX is the official deterministic static IOC extraction and PE analysis engine from MalX Labs. It combines high-throughput IOC extraction from text and binaries with binary-aware PE structural analysis, all under a strict static-only, zero-execution-risk model.
Modern malware is adversarial by default. IOCX is engineered for that reality — not for idealised input.
Most IOC tools break under adversarial conditions:
IOCX is built for environments where correctness, determinism, and safety are non-negotiable: DFIR, SOC automation, CI/CD security, threat-intel platforms, and malware research labs.
| Capability | IOCX | Typical extractors | Sandboxes |
|---|---|---|---|
| Safety | Static-only | Regex-only | Executes malware |
| Determinism | Guaranteed | Volatile | Non-deterministic |
| Binary awareness | Full PE parsing | None | Yes (unsafe) |
| Adversarial resilience | High | Low | Medium |
| CI/CD friendly | Yes | Partial | No |
High-throughput extraction of URLs, domains, IPs, hashes, file paths, Base64, and crypto wallets — fully deterministic and adversarial-tested.
Structural analysis of sections, entrypoints, RVA graphs, TLS callbacks, signatures, and entropy — without executing untrusted code.
Snapshot-validated, schema-stable JSON designed as a contract for downstream systems.
IOCX never executes untrusted code. Safe for CI/CD, production pipelines, and strict environments.
Use the CLI for triage and scripting, or integrate via Python for ETL and automation.
Custom detectors, heuristics, and binary-aware modules — all snapshot-tested for deterministic behaviour.
IOCX is a layered, deterministic static-analysis pipeline:
Input pre‑processing
IOC extraction logic
Metadata & context enrichment
JSON • Structured Output
iocx heuristic_rich.full.exe -a full
{
"file": "heuristic_rich.full.exe",
"type": "PE",
"iocs": {
"urls": [
"http://not-a-real-domain.test/payload"
],
"domains": [
"example-malware.com"
],
"ips": [
"192.0.2.123"
],
"hashes": [
"abcd1234ef567890abcd1234ef567890",
"1234567890"
]
},
"metadata": {
"imports": [
"KERNEL32.dll",
"msvcrt.dll",
"USER32.dll"
],
"sections": [
".text",
".data",
".rwx",
"UPX0"
],
"tls": {
"start_address": 5368758272,
"end_address": 5368758280
},
"header": {
"entry_point": 5088,
"image_base": 5368709120,
"machine": "AMD64"
}
},
"analysis": {
"sections": [
{ "name": ".text", "entropy": 5.92 },
{ "name": ".rwx", "entropy": 0.00 },
{ "name": "UPX0", "entropy": 0.34 }
],
"obfuscation": [
{
"value": "abnormal_section_layout_virtual_only",
"metadata": {
"section": ".bss",
"virtual_size": 384
}
}
],
"heuristics": [
{
"value": "packer_suspected",
"metadata": {
"reason": "packer_section_name",
"section": "UPX0"
}
},
{
"value": "anti_debug_heuristic",
"metadata": {
"reason": "anti_debug_api_import",
"dll": "kernel32.dll",
"function": "CheckRemoteDebuggerPresent"
}
},
{
"value": "pe_structure_anomaly",
"metadata": {
"reason": "section_overlaps_headers",
"section": ".bss",
"raw_address": 0
}
}
]
}
}
We observed traffic to hxxp://malicious.example/login.php from 185.199.110.153.
Payload hash: 4d186321c1a7f0f354b297e8914ab240.
{
"urls": [
"http://malicious.example/login.php"
],
"ips": [
"185.199.110.153"
],
"hashes": [
"4d186321c1a7f0f354b297e8914ab240"
]
}
iocx suspicious.exe
{
"domains": [
"api.badserver.net",
"cdn.shadowdrop.cc"
],
"ips": [
"91.210.47.12"
],
"filepaths": [
"/auth/check",
"/update/payload.bin"
]
}
[WARN] Connection attempt from 45.155.205.233:443
[WARN] Outbound request to http://evil.site/update
{
"ips": [
"45.155.205.233"
],
"urls": [
"http://evil.site/update"
]
}
iocx mixed_iocs.txt --enrich
{
"file": "mixed_iocs.txt",
"type": "text",
"iocs": {
"urls": [
"http://malicious.example.com"
],
"ips": [
"91.210.45.12"
],
"hashes": [
"44d88612fea8a8f36de82e1278abb02f"
],
"emails": [
"evil@phish.example"
],
"filepaths": [
"/tmp/runme.sh"
],
"crypto.btc": [
"1BoatSLRHtKNngkdXEeobR76b53LETtpyT"
],
"crypto.eth": [
"0x52908400098527886E0F7030069857D2E4169EE7"
],
"registry.keys": [
"HKLM\\Software\\BadStuff",
"HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\BadApp"
],
"registry.values": [
"REG_DWORD"
]
},
"enrichment": {
"registry.keys": [
{
"value": "HKLM\\Software\\BadStuff",
"score": 0,
"flags": {
"persistence": false
}
},
{
"value": "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\BadApp",
"score": 50,
"reasons": [
"Registry path contains persistence location: HKCU/HKLM Run key"
],
"flags": {
"persistence": true
}
}
]
}
}
Plugins are first-class citizens — deterministic, snapshot-tested, and safe to extend.
150–300 MB/s sustained throughput.
6–15 MB/s including structural analysis.
Approximately 7.6 MB/s with deterministic ReasonCodes.
IOCX is engineered around a small set of non-negotiable principles:
IOCX is intentionally not any of the following:
IOCX is static-only by design — for safety, determinism, and CI/CD compatibility.
IOCX is intended for defensive research, SOC automation, CI/CD security, and threat-intelligence workflows. All usage must occur within authorised environments.
IOC extraction and static analysis are defensive capabilities. Misuse, including offensive or unauthorised activity, is not tolerated.
IOCX welcomes contributors, researchers, and engineers who care about determinism, correctness, and precision in threat-analysis tooling.
Explore the official IOCX repositories: