Security Vault Generator
Quickly parse, format, and output common frameworks/content for Obsidian.md.
There is a strong focus on MITRE ATT&CK because it provides a solid and generally accepted framework that can be used to bind notes to.
I ripped this out in 1-2 days so it's only at minimum viable product.
This should have been an Obsidian plugin but I didn't want to JS.
Docs
Quickstart
This assumes all packages have been installed via PIP. See Installation for steps on this process.
Just execute the proper build subcommand and generator.py will:
- Clone necessary repositories.
- Parse all artifacts.
- Embed frontmatter with tagging.
- Format them to
.mdfiles. - And dump the files to disk in a directory of your choice.
Assuming your vault is named TheVault, these commands should work
to build out the MITRE ATT&CK framework and LOLBAS:
Tip: Select a directory in the target Obsidian vault as an output directory using the -od flag
for each subcommand.
python3 generator.py mitre-attack build -od ~/TheVault/MITRE\ Attack/
python3 generator.py lolbas build -od ~/TheVault/LOLBAS/
python3 generator.py mitre-attack link --attack-directory ~/TheVault/MITRE\ Attack/
Now all you have to do is open the vault in Obsidian:
Engaging "graph view" and applying a filter with group colors on tags should yield output similar to the following, where green nodes are LOLBAS notes and red are MITRE ATT&CK:
Tip: Here's the filter I used. You'll have to go about grouping by isolating the tags.
tag:#lolbas OR tag:#mitre/attack/technique
Metadata
Release files for sec-vault-generator 0.0.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 | Actions |
|---|---|---|---|---|
| sec-vault-generator-0.0.0.tar.gz | 31.0 kB | Without provenance | Details for sec-vault-generator-0.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sec_vault_generator-0.0.0-py3-none-any.whl | Python 3 | none | any | Details for sec_vault_generator-0.0.0-py3-none-any.whl |
Total release size: 77.5 kB
Release files / sec-vault-generator-0.0.0.tar.gz
| Download URL | sec-vault-generator-0.0.0.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50ce77388084fac95f1a6a5f6ed3e86945fd2f2c572c6821136bd3184baaef78
|
|
BLAKE2b-256 checksum How to use checksums |
cb53dac6ce44583851d0bb6812c6439083860a4572d64b0ea37d115ec3f9f7db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2
|
Release files / sec_vault_generator-0.0.0-py3-none-any.whl
| Download URL | sec_vault_generator-0.0.0-py3-none-any.whl |
|---|---|
| Size | 46.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5bcd3f06a3379dbebb3ffb79126a1c4ff81597b65a9ccca15cc2c91092b5157
|
|
BLAKE2b-256 checksum How to use checksums |
658f4ca7be6648a3fc6c11d7760c72309549b6b761fd8d62da0062671ff812c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2
|
Security for sec-vault-generator 0.0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.