Skip to main content

MITRE EMB3D: Library & CLI for working with the MITRE EMB3D framework.

Project description

MITRE EMB3D

A CLI for https://emb3d.mitre.org/

Run

Via uvx

uvx mitre-emb3d --help

or

uvx --from mitre-emb3d med --help
uvx --from mitre-emb3d med --pprint properties Networking --level 3

Or, install as a tool

uv tool install mitre-emb3d

Add to your project

uv add mitre-emb3d --dev

and then run the cli via

uv run med --help

or

uv run mitre-emb3d --help

Features

$ uv run med --pprint threats "Networking"
- TID-221: Authentication Bypass By Message Replay
- TID-222: Critical System Service May Be Disabled
- TID-310: Remotely Accessible Unauthenticated Services
- TID-316: Incorrect Certificate Verification Allows Authentication Bypass
- TID-317: Predictable Cryptographic Key
- TID-318: Insecure Cryptographic Implementation
- TID-401: Undocumented Protocol Features
- TID-404: Remotely Triggerable Deadlock/DoS
- TID-405: Network Stack Resource Exhaustion
- TID-406: Unauthorized Messages or Connections
- TID-407: Missing Message Replay Protection
- TID-408: Unencrypted Sensitive Data Communication
- TID-410: Cryptographic Protocol Side Channel
- TID-411: Weak/Insecure Cryptographic Protocol
- TID-412: Network Routing Capability Abuse

Explore other commands using the CLI help

Note --pprint (default is OFF, default output is JSON) for display

uv run med --help

Usage: med [OPTIONS] COMMAND [ARGS]...

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --release                                TEXT  2.0.1, 2.0 ... [default: 2.0.1]                                                                                                           │
│ --loglevel            -l                 TEXT  Set the logging level (debug, info, warning, error, critical) [default: warning]                                                          │
│ --pprint                  --no-pprint          Whether to pretty-print the output (e.g. JSON lists) [default: no-pprint]                                                                 │
│ --install-completion                           Install completion for the current shell.                                                                                                 │
│ --show-completion                              Show completion for the current shell, to copy it or customize the installation.                                                          │
│ --help                                         Show this message and exit.                                                                                                               │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ categories   List the categories                                                                                                                                                         │
│ properties   List properties for a certain category                                                                                                                                      │
│ threats      List threats for a certain category                                                                                                                                         │
│ mitigations  List mitigations for a certain threat                                                                                                                                       │
│ heatmap      Heatmap related commands                                                                                                                                                    │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Heatmap TUI

You can use TUI to inspect & edit the Heatmap

uvx mitre-emb3d tui mitr-emb3d-heatmap.json

Heatmap TUI

Clicking on Threat Entry will open a screen that presents a Form, Information about Threat & Mitigations

Heatmap TUI

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

mitre_emb3d-0.2.0.tar.gz (138.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mitre_emb3d-0.2.0-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file mitre_emb3d-0.2.0.tar.gz.

File metadata

  • Download URL: mitre_emb3d-0.2.0.tar.gz
  • Upload date:
  • Size: 138.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mitre_emb3d-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ae9fff368a18795c6088f130cb21d924505afde0f8d23a253c5683912442fb7b
MD5 ab4b95ae00fbd35d0d50d42124d91755
BLAKE2b-256 dfdc3606cec9e50f3db94be74c37ac49aa409cb6f897ac627f6eb50dccb75f18

See more details on using hashes here.

Provenance

The following attestation bundles were made for mitre_emb3d-0.2.0.tar.gz:

Publisher: publish.yaml on ksachdeva/mitre-emb3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mitre_emb3d-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mitre_emb3d-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mitre_emb3d-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 725ccfb6065d5de3ef226c84044bda127c59287aaf2a888d762fac9da3806943
MD5 d8f57df6784623b881b412c15392b387
BLAKE2b-256 1a8505d7c236b32dddfbfe5967b45dd6acf19322df083aac47dc9df85408724f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mitre_emb3d-0.2.0-py3-none-any.whl:

Publisher: publish.yaml on ksachdeva/mitre-emb3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page