PermitANY

Security · python · 27 copies

IOC Extractor

Pulls indicators of compromise out of unstructured text: logs, emails, threat advisories, incident notes or pasted output. Extracts IPv4/IPv6, domains, URLs, email addresses, MD5/SHA1/SHA256 hashes, CVEs, Bitcoin addresses, Windows file paths and registry keys. Refangs defanged notation on the way in (evil[.]com, hxxp://, user[at]domain) and defangs on the way out so results are safe to paste into a ticket. Filters the noise that makes raw regex extraction unusable: private and documentation IP ranges, filenames that look like domains, and the vendor domains present in every corporate log. Groups domains by registrable name to surface DGA-style subdomain sprawl. Stdlib only, no dependencies.

  • Linux
  • Windows
  • macOS
$# No extra packages — uses Python stdlib only
terminal

Tags

iocthreat-inteldfirblue-teamdefangincident-responselog-analysissoc