Skip to content

4quarks/pdnssoc-cli

Repository files navigation

pdnssoc-cli

Correlate dnstap files with MISP threat intelligence.

This tool parses JSON and compressed files created by go-dnscollector.

Installation

pdnssoc-cli can be fetched from the following sources:

PyPi

pip install pdnssoc-cli

Configuration

Configuration can be provided using the --config flag in yaml format:

logging_level: "INFO"

misp_servers:
    - domain: "https://example-misp-instance.com"
      api_key: "API_KEY"
      args:
        date_from: '2023-01-01'

correlation:
    output_dir: ./output_dir/
    malicious_domains_file: ./misp_domains.txt
    malicious_ips_file: ./misp_ips.txt

If no config flag is provided, the default file is /etc/pdnssoc-cli/config.yml.

Usage

Usage: pdnssoc-cli [OPTIONS] COMMAND [ARGS]...

Options:
    -c, --config FILE  Read option defaults from the specified yaml file
                        [default: /etc/pdnssoc-cli/config.yml]
    --help             Show this message and exit.

Commands:
    correlate  Correlate input files and output matches

Use-cases

Correlate go-dnscollector output and produce alerts:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages