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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stix2gen-1.0.tar.gz
.
File metadata
- Download URL: stix2gen-1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 187d7dabcda8cc10bbca829062f56aebdc2810dc22d54d028675e1f10f79a58e |
|
MD5 | ca0384ab4f7c1748ead34f8d3cc90d2f |
|
BLAKE2b-256 | ef72859f845ddbbe18f7081e058834dfd042fc1c6b0f86aa277e2159035ed485 |
File details
Details for the file stix2gen-1.0-py3-none-any.whl
.
File metadata
- Download URL: stix2gen-1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d8bc49aa8884a421b84b53bb19901df15ccdb35348d69811f3197cad81009b8 |
|
MD5 | 27acfd9f1e7cf1b0dd00224e1cf35ada |
|
BLAKE2b-256 | 02aebacaaf3d64edff64f00b77117eaac43dab755b3e8be657660478b4b7f79a |