Skip to main content

extract_iocs is a Python module that extracts indicators of compromise (IOCs), including domain names, IPv4 addresses, email addresses, and hashes, from text. It uses some huge and ugly regexes, has special handling to identify domain names with a relatively low false-positive rate, and does some magic to try to extract IOCs across line breaks.

This script was inspired by and initially based on Stephen Brannon’s IOCextractor (https://github.com/stephenbrannon/IOCextractor), but turned into a complete rewrite. extract_iocs provides no GUI and does not support any kind of analyst workflow. It is intended to be used for triage or automation purposes where a relatively high FP rate (as well as the occational false negative) are acceptable.

Metadata

Release files for extract_iocs 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for extract_iocs 2.0.1
File Size Uploaded Provenance Actions
extract_iocs-2.0.1.tar.gz 8.2 kB Without provenance Details for extract_iocs-2.0.1.tar.gz

Release files / extract_iocs-2.0.1.tar.gz

Download URL extract_iocs-2.0.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e9225ac592224fe93478547f3c89f52c48470ad216eb7cdc9550fb0dcc896492
BLAKE2b-256 checksum
How to use checksums
88698abd209de0b721b49026b52e2899d69df6f573b87e2568d1f18c2015ae83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for extract_iocs 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page