Skip to main content

py-attack

Python wrapper for using the ATT&CK framework.

Introduction

This python wrapper provides a simple interface for querying the ATT&CK framework. Among other things, we provide the following functionality:

  • Search by ID
  • Search by UUID
  • Iterate over matrices (both overall and per domain)
  • Iterate over tactics (both overall and per domain)
  • Iterate over techniques (both overall and per domain)
  • Iterate over sub_techniques (both overall and per domain)
  • Iterate over mitigations (both overall and per domain)
  • Iterate over groups (both overall and per domain)
  • Iterate over software (both overall and per domain)
  • Representation of the ATT&CK framework as a graph, where all items are linked
  • Finding related ATT&CK concepts

Documentation

We provide an extensive documentation including installation instructions and reference at py-attack.readthedocs.io.

However, that documentation is currently not yet online, so instead, please refer to the /docs/ directory. To build the documentation, simply run make html from within the /docs/ directory.

Installation

The py-attack module can be installed using pip if downloaded locally. There currently is no way of installing it directly from the pip repository.

pip3 installl -e <path/to/dir/containing/setup.py>

References

[1] TODO

Bibtex

@inproceedings{TODO

}

Metadata

Release files for py-attack 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-attack 0.0.1
File Size Uploaded Provenance Actions
py_attack-0.0.1.tar.gz 21.6 kB Without provenance Details for py_attack-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-attack 0.0.1
File Interpreter ABI Platform Actions
py_attack-0.0.1-py3-none-any.whl Python 3 none any Details for py_attack-0.0.1-py3-none-any.whl

Total release size: 38.4 kB

Release files / py_attack-0.0.1.tar.gz

Download URL py_attack-0.0.1.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2b0b67df3af91ae1ccea54be9d4b2cdf9bba5bb9d22a4006304177a99344fd55
BLAKE2b-256 checksum
How to use checksums
99e01c08fcee8f8d832765032941fb6a1785aad9b25f90d58d8e738f7e303fee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/5.0.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / py_attack-0.0.1-py3-none-any.whl

Download URL py_attack-0.0.1-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
084dcf5bef11ebffdc2ca8359e6a01d0ebb94284ea6cd9b51093bc84252d9574
BLAKE2b-256 checksum
How to use checksums
7d3142b63047adec072f786541a41128742ee5ed12594062557c20ec14f5cbed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/5.0.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for py-attack 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page