Skip to main content

stix2gen

Project description

stix2gen

stix2gen is a simple utility to generate STIX2 indicators file from a list of provided indicators.

Install

You can install stix2gen with the following command:

$ pip3 install stix2gen

Usage

Generate a STIX2 by automatically detecting the indicators types:

$ cat domains.txt emails.txt | stix2gen --malware-name NewMalware

You can also optionally provide a description using --malware-desc.

Pipe the output to save to a file:

$ cat domains.txt emails.txt | stix2gen --malware-name NewMalware > newmalware.stix2

Please note: certain types of indicators might be misclassified when run through stix2gen's automatic detection. This is for example the case with app IDs (such as Android package names), which will be otherwise automatically detected as a domain name. In order to process app IDs you should explicitly specify a separate file including those indicators:

$ cat domains.txt emails.txt | stix2gen --malware-name NewMalware --app-ids-file package_names.txt > newmalware.stix2

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

stix2gen-1.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

stix2gen-1.0-py3-none-any.whl (5.0 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