A lightweight Python module to interact with the Mitre Att&ck Enterprise framework.
Project description
enterpriseattack - Mitre's Enterprise Att&ck
A lightweight Python module to interact with the Mitre Att&ck Enterprise dataset. Built to be used in production applications due to it's speed and minimal depedancies. Read the docs for more info.
Mitre Att&ck
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.
Dependancies
- Python 3.x
- ujson >= 3.0.0
- requests >= 2.9.2
Installation
Install via Pip:
pip install enterpriseattack
Alternatively clone the repository:
git clone https://github.com/xakepnz/enterpriseattack.git
cd enterpriseattack
python3 setup.py install
Usage
Initialise an Attack object:
import enterpriseattack
attack = enterpriseattack.Attack()
Example: Iterate over tactics/techniques/sub_techniques:
for tactic in attack.tactics:
print(tactic.name)
for technique in tactic.techniques:
print(technique.name)
print(technique.detection)
for software in attack.software:
for technique in software.techniques:
for sub_technique in technique.sub_techniques:
print(software.name, technique.name, sub_technique.name)
For more examples, please refer to the Documentation
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
Built Distribution
Hashes for enterpriseattack-0.1.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 325d2c5773cff8397ebcffe7fc11ff6bdeb0223499b410c677517981f0230596 |
|
MD5 | 8e56cb50a00a16fa432b6899332dae5e |
|
BLAKE2b-256 | 8f2109a8a694f93f1c3ae8d73d9c561dcdcb3d271ec60cb14dd01b286091176d |