This project automates the processing, enrichment, and summarization of MITRE ATT&CK techniques. It downloads the latest attack rule mappings, processes MITRE ATT&CK data, and generates structured summaries in Markdown following the Alerting & Detection Strategy (ADS) framework.
- Fetch Data: Downloads the latest MITRE ATT&CK CSV and attack rule map.
- Enrich Data: Integrates external data sources like CyCAT, Sigma rules, and Atomic Red Team tests.
- Generate Summaries: Uses an Ollama-powered language model to create ADS-style Markdown reports.
- Interactive Group Analysis: A Jupyter Notebook allows users to analyze ATT&CK groups and their associated TTPs.
- Automation: Fully automates fetching, processing, and summarization.
.
├── data/ # Stores raw MITRE ATT&CK CSV and attack rule map
├── MITRE_ATT&CK_Analysis/ # Enriched JSON files
├── MITRE_ATT&CK_Summaries/ # Markdown summaries
├── fetch_data.py # Fetches MITRE ATT&CK data
├── create_mitre_objects.py # Processes and enriches MITRE ATT&CK techniques
├── ollama_summarizer.py # Generates ADS-style summaries
├── target_pack_generator.ipynb # Jupyter Notebook for group analysis
├── Makefile # Automates setup and execution
├── requirements.txt # Python dependencies
└── README.md # Project documentation
- Python 3.8+
- Virtual environment support
- Ollama installed for LLM-powered summarization
make setupThis command will:
- Create a virtual environment.
- Install required dependencies.
- Fetch the latest MITRE ATT&CK data.
- Download Atomic Red Team atomics.
- Process and enrich techniques.
- Generate Markdown summaries.
make runThis will fetch data, process it, and generate summaries.
Open the Jupyter Notebook to explore ATT&CK groups interactively:
jupyter notebook target_pack_generator.ipynbThis notebook allows users to select an ATT&CK group and analyze its associated TTPs, related analysis files, and summaries.
make cleanRemoves generated files and resets the environment.
- Processed Techniques: Stored in
MITRE_ATT&CK_Analysis/ - Summarized Reports: Saved in
MITRE_ATT&CK_Summaries/
Feel free to submit issues or pull requests to improve the project!
cycat https://cycat.org/ krdmnbrk https://github.com/krdmnbrk
This project is licensed under the MIT License.
