The mad (Mitre Att&ck Dataset) module contains functions to query ATT&CK dataset.
You'll need to download this dataset. Queries are made locally.
pip install -r requirements.txt
STIX2 Python library.
https://stix2.readthedocs.io/en/latest/index.html
MITRE ATT&CK is a globally-accessible knowledge base of adversary tactics and techniques based on real-world observations. The ATT&CK knowledge base is used as a foundation for the development of specific threat models and methodologies in the private sector, in government, and in the cybersecurity product and service community.
Structured Threat Information Expression (STIX™) is a language and serialization format used to exchange cyber threat intelligence (CTI).
https://oasis-open.github.io/cti-documentation/
Python library to work with STIX content :