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
Metadata
Release files for stix2gen 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| stix2gen-1.0.tar.gz | 3.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stix2gen-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / stix2gen-1.0.tar.gz
| Download URL | stix2gen-1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
187d7dabcda8cc10bbca829062f56aebdc2810dc22d54d028675e1f10f79a58e
|
|
BLAKE2b-256 checksum How to use checksums |
ef72859f845ddbbe18f7081e058834dfd042fc1c6b0f86aa277e2159035ed485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / stix2gen-1.0-py3-none-any.whl
| Download URL | stix2gen-1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d8bc49aa8884a421b84b53bb19901df15ccdb35348d69811f3197cad81009b8
|
|
BLAKE2b-256 checksum How to use checksums |
02aebacaaf3d64edff64f00b77117eaac43dab755b3e8be657660478b4b7f79a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for stix2gen 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.