Skip to main content

Extract and aggregate IOCs from threat feeds.

Project description

Developed by InQuest Build Status Documentation Status Code Health Test Coverage PyPi Version

An extendable tool to extract and aggregate IOCs from threat feeds.

Integrates out-of-the-box with ThreatKB and MISP, and can fit seamlessly into any existing worflow with SQS, Beanstalk, and custom plugins.

Currently used by InQuest Labs IOC-DB: https://labs.inquest.net/iocdb.

Overview

ThreatIngestor can be configured to watch Twitter, RSS feeds, or other sources, extract meaningful information such as malicious IPs/domains and YARA signatures, and send that information to another system for analysis.

ThreatIngestor flowchart with several sources feeding into multiple operators.

Try it out now with this quick walkthrough, read more ThreatIngestor walkthroughs on the InQuest blog, and check out labs.inquest.net/iocdb, an IOC aggregation and querying tool powered by ThreatIngestor.

Installation

ThreatIngestor requires Python 3.6+, with development headers.

Install ThreatIngestor from PyPI:

pip install threatingestor

Install optional dependencies for using some plugins, as needed:

pip install threatingestor[all]

View the full installation instructions for more information.

Usage

Create a new config.yml file, and configure each source and operator module you want to use. (See config.example.yml for layout.) Then run the script:

threatingestor config.yml

By default, it will run forever, polling each configured source every 15 minutes.

View the full ThreatIngestor documentation for more information.

Plugins

ThreatIngestor uses a plugin architecture with “source” (input) and “operator” (output) plugins. The currently supported integrations are:

Sources

Operators

View the full ThreatIngestor documentation for more information on included plugins, and how to create your own.

Threat Intel Sources

Looking for some threat intel sources to get started? InQuest has a Twitter List with several accounts that post C2 domains and IPs: https://twitter.com/InQuest/lists/ioc-feed. Note that you will need to apply for a Twitter developer account to use the ThreatIngestor Twitter Source. Take a look at config.example.yml to see how to set this list up as a source.

For quicker setup, RSS feeds can be a great source of intelligence. Check out this example RSS config file for a few pre-configured security blogs.

Support

If you need help getting set up, or run into any issues, feel free to open an Issue. You can also reach out to @InQuest on Twitter.

We’d love to hear any feedback you have on ThreatIngestor, its documentation, or how you’re putting it to work for you!

Contributing

Issues and pull requests are welcomed. Please keep Python code PEP8 compliant. By submitting a pull request you agree to release your submissions under the terms of the LICENSE.

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

threatingestor-1.0.0b8.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

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

threatingestor-1.0.0b8-py2.py3-none-any.whl (42.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file threatingestor-1.0.0b8.tar.gz.

File metadata

  • Download URL: threatingestor-1.0.0b8.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for threatingestor-1.0.0b8.tar.gz
Algorithm Hash digest
SHA256 99ee966efc66d88a5c135c88b499749503cc5e98a313ea9d5859b0e15763e519
MD5 ed08d304486cdd4f311b0534cdc774e7
BLAKE2b-256 b7aaad8a730e59ad0306fffa5ca0a318f8213480d9fb152830c21bd484fc3498

See more details on using hashes here.

File details

Details for the file threatingestor-1.0.0b8-py2.py3-none-any.whl.

File metadata

  • Download URL: threatingestor-1.0.0b8-py2.py3-none-any.whl
  • Upload date:
  • Size: 42.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for threatingestor-1.0.0b8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 03386b262565050eaf69d2f348719f9c388a5ba9bd478e2505ad2056b69799fc
MD5 acefa005a8020d843e90ea08be96ce1e
BLAKE2b-256 e0f6679bee17c539488f6e5aa4af0a1784964543f508ec1cb8f57280e01496bc

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