Skip to main content

A framework to parse common things into an Obsidian vault.

Project description

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:

  1. Clone necessary repositories.
  2. Parse all artifacts.
  3. Embed frontmatter with tagging.
  4. Format them to .md files.
  5. 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/

execution

Now all you have to do is open the vault in Obsidian:

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:

obsidian_global_graph

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

Project details


Download files

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

Source Distribution

sec-vault-generator-0.0.0.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

sec_vault_generator-0.0.0-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

Details for the file sec-vault-generator-0.0.0.tar.gz.

File metadata

  • Download URL: sec-vault-generator-0.0.0.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for sec-vault-generator-0.0.0.tar.gz
Algorithm Hash digest
SHA256 50ce77388084fac95f1a6a5f6ed3e86945fd2f2c572c6821136bd3184baaef78
MD5 824a9a877cab537f860dc989f1d75671
BLAKE2b-256 cb53dac6ce44583851d0bb6812c6439083860a4572d64b0ea37d115ec3f9f7db

See more details on using hashes here.

File details

Details for the file sec_vault_generator-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: sec_vault_generator-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 46.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for sec_vault_generator-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5bcd3f06a3379dbebb3ffb79126a1c4ff81597b65a9ccca15cc2c91092b5157
MD5 179c96c097d48d0e480b1d21f1f4a5f4
BLAKE2b-256 658f4ca7be6648a3fc6c11d7760c72309549b6b761fd8d62da0062671ff812c6

See more details on using hashes here.

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