stmtstk / mitre_attack_csv

Script to produce ATT&CK CSV files and MITRE ATT&CK CSV data storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mitre_attack_csv

Release Badge

This repository provides a script to produce ATT&CK CSV files (Enterprise ATT&CK converted to a set of CSV files) and MITRE ATT&CK CSV data storage (attack-csv-data/).

mitre_attack_csv.py

The script (mitre_attack_csv.py) extracts all types of SDOs (STIX Domain Objects) and SROs (STIX Relationship Objects), including STIX extensions, from the latest or the specified version of ATT&CK STIX JSON file and converts and saves them into CSV files for each SDO type and one for SRO. You can find the resulting CSV files for the different versions of ATT&CK in the "attack-csv" directory. You can give following arguments to the script.

  • Run the script with --attack_id to include "mitre-attack-id" column (values are taken from external_id of source_name="mitre-attack" external_reference)
  • Run the script with --attack_version VERSION to specify the ATT&CK version to use
  • Run the script with -h to see its help message
  • Run the script with -version or -V to see its version

Welcome to MITRE ATT&CK CSV Data Storage

The table below provides the links to the CSV folders corresponding to each ATT&CK version. There are two kinds of CSV files for each SDO of each ATT&CK version, one with ATT&CK ID (like TID, Software ID, etc.) and one without. For example, the CSV file for attack-pattern SDO of ATT&CK version 11.3 WITHOUT ATT&CK ID is attack-csv-data/v11.3/attack-pattern-v11.3.csv and WITH ATT&CK ID is attack-csv-data/v11.3/attack-pattern-w-id-v11.3.csv

ATT&CK Version CSV Folder
v11.3 attack-csv-data/v11.3/
v11.2 attack-csv-data/v11.2/
v11.1 attack-csv-data/v11.1/
v11.0 attack-csv-data/v11.0/
v10.1 attack-csv-data/v10.1/
v10.0 attack-csv-data/v10.0/
v9.0 attack-csv-data/v10.0/
v8.2 attack-csv-data/v8.2/
v8.1 attack-csv-data/v8.1/
v8.0 attack-csv-data/v8.0/
v7.2 attack-csv-data/v7.2/
v7.1 attack-csv-data/v7.1/
v7.0 attack-csv-data/v7.0/
v6.3 attack-csv-data/v6.3/
v6.2 attack-csv-data/v6.2/
v6.1 attack-csv-data/v6.1/
v6.0 attack-csv-data/v6.0/
v5.2 attack-csv-data/v5.2/
v5.1 attack-csv-data/v5.1/
v5.0 attack-csv-data/v5.0/
v4.0 attack-csv-data/v4.0/
v3.0 attack-csv-data/v3.0/
v2.0 attack-csv-data/v2.0/
v1.0 attack-csv-data/v1.0/

This project makes use of ATT&CK®
https://attack.mitre.org/resources/terms-of-use/

About

Script to produce ATT&CK CSV files and MITRE ATT&CK CSV data storage

License:MIT License


Languages

Language:HTML 90.7%Language:Python 7.6%Language:Shell 1.7%