Static IOC extraction engine for binaries, text, and logs.
Project description
IOCX — Static IOC Extraction Engine
Official IOCX Project
This is the official IOCX engine for static IOC extraction and PE analysis.
- PyPI: https://pypi.org/project/iocx/
- GitHub: https://github.com/iocx-dev/iocx
- Organisation: https://github.com/iocx-dev
- Website: https://iocx.dev
IOCX is not an OSINT reputation checker, HTML report generator, or IP/domain scoring tool. It is a static analysis engine focused on extracting Indicators of Compromise (IOCs) from binaries and text.
What IOCX does
IOCX is a fast, safe, deterministic engine for extracting Indicators of Compromise (IOCs) from binaries, text, and logs. It performs pure static analysis — no execution, no sandboxing, no risk.
What's new in v0.6.0
- Stable JSON schema across all analysis levels
- Deterministic PE metadata (headers, TLS, optional header, signatures)
- Guaranteed IOC categories (always present, empty arrays when no matches)
- Formalised analysis levels:
- core behaviour → no analysis block
- basic → section layout + entropy
- deep → adds obfuscation heuristics
- full → extended metadata summaries
- Schema‑contract tests to prevent drift across releases
Schema stability
IOCX guarantees a stable JSON schema, not a guaranteed ordering of keys within objects. JSON objects are unordered by definition, so consumers should rely on field presence and structure rather than positional ordering.
Features
- Extracts IOCs from Windows PE files and raw text
- Detects URLs, domains, IPv4/IPv6, file paths, hashes, emails, Base64
- Crypto wallet detection (Ethereum, Bitcoin)
- Deterministic output suitable for automation
- Minimal dependencies and safe for enterprise environments
- CLI and Python API
- Binary-aware static analysis with multi-level depth
Installation
pip install iocx
CLI Usage
iocx suspicious.exe
echo "Visit http://bad.example.com" | iocx -
Python API
from iocx.engine import Engine
engine = Engine()
results = engine.extract("suspicious.exe")
print(results)
Why IOCX?
- Static‑only design (never executes untrusted code)
- Binary‑aware IOC extraction
- Stable, predictable JSON schema
- High performance: ~25-30 MB/s end-to-end, with individual detectors reaching 150-450 MB/s throughput)
- Ideal for DFIR, SOC automation, CI/CD, and threat‑intel pipelines
Project identity & naming
The name IOCX refers specifically to this project and its associated PyPI package and repositories under the iocx-dev organisation.
Third‑party tools must not:
- Use
iocxas their repository name - Present themselves as the IOCX engine
- Use the PyPI badge for this package in a way that implies authorship
- Imply official affiliation or endorsement without permission
Community tools that integrate with IOCX are encouraged to use names like:
iocx-<plugin-name>iocx-plugin-<feature>iocx-extension-<name>
Extensibility
IOCX includes a lightweight plugin system for custom detectors, parsers, and transformation rules. Plugins can emit new IOC categories, override built‑in behaviour, or integrate IOCX into larger analysis pipelines.
See the documentation for details on writing detectors and plugins.
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iocx-0.6.0.tar.gz.
File metadata
- Download URL: iocx-0.6.0.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b60a57746a4b628d13d53f350c36b0fc62d7852c60a6d5c31f4f434833859739
|
|
| MD5 |
71e9ac9b12656d1ffcd3d81e78bf9b26
|
|
| BLAKE2b-256 |
dff11294c20fda96d0f9057bb4624d02357b85b30b097e6cf18167e9a866db67
|
File details
Details for the file iocx-0.6.0-py3-none-any.whl.
File metadata
- Download URL: iocx-0.6.0-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ac216516960202e3fd3eb1fd6bb055232777117e4207ed3cb649c12d6310a2
|
|
| MD5 |
f6d47e0c56e5bd596daf2d097260afd9
|
|
| BLAKE2b-256 |
03bdd45921d523782abd2498fb31db5db1781d9fa81dff489151ffe646bf009d
|