Skip to main content

Karton service that uploads analyzed artifacts and metadata to MWDB Core

Project description

Reporter karton service

Uploads samples and static configs to malwaredb

Author: CERT.pl

Maintainers: psrok1, nazywam

Consumes:

{
    "type": "sample",
    "stage": "recognized" || "analyzed" || "unrecognized"
},
{
    "type": "config"
},
{
    "type": "blob"
}

Produces:

(nothing)

Usage

First of all, make sure you have setup the core system: https://github.com/CERT-Polska/karton

Modify your karton.ini config to include information about your mwdb-core instance and reporter credentials:

[mwdb]
api_url = http://mwdb.my-awesome-org/api/
api_key = eyJhYWF....

Instead of providing api_key you can also use username/password but password-authenticated sessions are short-lived and service will need to re-auth from time to time.

Then install karton-mwdb-reporter from PyPi:

$ pip install karton-mwdb-reporter

$ karton-mwdb-reporter

Configuration

Using the --report-unrecognized flag you specify whether the reporter should upload files unrecognized by the classifier. You can also configure this using the built-in configuration backend by either adjusting it in the karton.ini

[mwdb-reporter]
report_unrecognized=true

or setting the environmental variable like so KARTON_MWDB-REPORTER_REPORT_UNRECOGNIZED=true.

To learn more about configuring your karton services, take a look at karton configuration docs

Co-financed by the Connecting Europe Facility by of the European Union

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

karton_mwdb_reporter-1.3.0-py3-none-any.whl (9.5 kB view hashes)

Uploaded Python 3

Supported by

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