Skip to main content

A deterministic, high‑performance static‑analysis engine that extracts high‑signal IOCs from PE binaries, text, and logs — built for SOC automation and modern threat‑analysis pipelines.

Project description

IOCX — Deterministic, Zero‑Risk IOC Extraction for Modern Security Pipelines

Official IOCX Project

IOCX is a deterministic, high‑performance static analysis engine for extracting high-signal Indicators of Compromise (IOCs) from binaries, text, and logs. It’s built for DFIR teams, SOC automation, CI/CD pipelines, and large‑scale threat‑intel ingestion.

Why it matters: IOCX guarantees snapshot‑stable output, zero‑risk static analysis, and predictable performance even under adversarial input — something regex‑only extractors simply can’t provide.

IOCX is not an OSINT reputation checker or scoring tool. It is a binary‑aware IOC engine built for DFIR, SOC automation, CI/CD, and threat‑intel ingestion.


Why IOCX Exists

Most IOC extractors are:

  • regex‑only
  • non‑deterministic
  • slow under adversarial input
  • unaware of binary structure
  • unstable across versions

IOCX fixes all of that.

It provides:

  • snapshot‑stable output
  • deterministic PE metadata extraction
  • binary‑aware heuristics
  • strict performance guarantees
  • a stable JSON schema
  • safe, static‑only analysis

If you need predictable, automatable IOC extraction — IOCX is built for you.


Version highlights (v0.7.5)

  • Added detection for malformed exports, delay-load tables, resources, VS_VERSIONINFO, and Optional Header fields via 24 structural reason codes
  • Surfaces security metadata — DLL characteristics flags, subsystem/machine decoding, per-resource Shannon entropy
  • Never crashes on malformed input — byte-level parsing with structured error tombstones
  • 1370 tests at 100% coverage — deterministic output, snapshot-stable, cross-verified against dumpbin

Version highlights (v0.7.4.1)

  • Removed the python-magic dependency, which caused import failures on Windows systems
  • Added a pure‑Python file‑type detector for full cross‑platform portability
  • No behavioural changes to IOC extraction
  • The --min-length consistency fix is planned for v0.7.6

Performance

  • 150–300 MB/s on raw text
  • 6–15 MB/s on typical PEs
  • Predictable even under worst‑case adversarial load.

Features

  • Extracts IOCs from PE files and raw text
  • Detects domains, URLs, IPv4/IPv6, file paths, hashes, emails, Base64
  • Crypto wallet detection (BTC, ETH)
  • Deterministic, snapshot‑stable JSON output
  • Multi‑level analysis depth (basicfull)
  • Binary‑aware static analysis (entropy, sections, imports, TLS, signatures)
  • Lightweight plugin system
  • CLI + Python API

Install

pip install iocx

CLI

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)

Project Identity

The name IOCX refers exclusively to this project and the repositories under iocx-dev. Third‑party tools must not present themselves as the IOCX engine.

Community integrations should use names like:

  • iocx-<plugin>
  • iocx-extension-<feature>

License

MPL‑2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iocx-0.7.5.tar.gz (77.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iocx-0.7.5-py3-none-any.whl (95.6 kB view details)

Uploaded Python 3

File details

Details for the file iocx-0.7.5.tar.gz.

File metadata

  • Download URL: iocx-0.7.5.tar.gz
  • Upload date:
  • Size: 77.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for iocx-0.7.5.tar.gz
Algorithm Hash digest
SHA256 8636c93d481a779cc7952f6539dc941813ad1fcbb4bb4181014b66a900f8f08a
MD5 6db6b3be9e6ee009ccbbcad13d7328c0
BLAKE2b-256 67e034bc71022e5310131a5b0da015f73178359ce940ba70cb11a7534767bf2a

See more details on using hashes here.

File details

Details for the file iocx-0.7.5-py3-none-any.whl.

File metadata

  • Download URL: iocx-0.7.5-py3-none-any.whl
  • Upload date:
  • Size: 95.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for iocx-0.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5c6ded1edb3367128624fd0f2ca34b27fe918b5417e3204164975fdd96f9fbc2
MD5 149af8fc6ad69555448ebba8e451c59e
BLAKE2b-256 7db6b91cdc2e86a2dc988e16bd02c79f624c98083449018a9cc3a5b064e3bf82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page