11 KiB
Atomic Threat Coverage
Knowledge base of analytics designed to cover threats based on MITRE's ATT&CK.
Atomic Threat Coverage is a knowledge base of analytics designed to cover threats (based on the MITRE ATT&CK adversary model) from Detection, Response, Mitigation and Simulation perspectives:
- Detection Rules based on Sigma — Generic Signature Format for SIEM Systems
- Data Needed to be collected to produce detection of specific Threat
- Logging Policies need to be configured on data source to be able to collect Data Needed
- Triggering based on Atomic Red Team — detection tests based on MITRE's ATT&CK
- Response Playbooks for reacting on Detection Rules triggered by specific Threat
- Hardening Policies need to be implemented to mitigate specific Threat
- Mitigation Systems need to be deployed and configured to mitigate specific Threat
Atomic Threat Coverage provide security teams highly automatable framework for accumulation, developing, explanation and sharing actionable analytics both internally and externally.
Description
Why Atomic Threat Coverage
There are plenty [1][2][3][4] of analytics/detections repositories, which you have to follow, do horrible copy/pasting job, adapt information into your own internal analytics knowledge base format, detections data model, do mappings to valuable metrics and entities etc.
How to not create yet another analytics repository? Don't! Atomic Threat Coverage is a tool which will allow you to create and maintain your own analytics repository, import analytics from other projects (or from your private forks) and export data into two possible (for now) directions:
- Atlassian Confluence wiki pages
- Here in this repo in Markdown format
In other words, you don't have to work on data representation layer manually, you work on meaningful atomic pieces of information (like Sigma rule yaml files), and Atomic Threat Coverage will create analytics data base with all mappings, automatically mapped to all meaningful, actionable metrics, ready to use, ready to share and show to leadership, customers and colleagues.
How it works
Everything started from Sigma rule. Atomic Threat Coverage parses it and:
- Maps Detection Rule to ATT&CK Tactic using
tags
from Sigma rule - Maps Detection Rule to ATT&CK Technique using
tags
from Sigma rule - Maps Detection Rule to Data Needed using
logsource
anddetection
sections from Sigma rule - Maps Detection Rule to Triggering (Atomic Red Team tests) using
tags
from Sigma rule - Maps Logging Policies to Data Needed using existing mapping inside Data Needed
- Push all data to local repo and confluence (according to configuration provided in
config/config.py
)
Under the hood
Here is simplified description of the stuff inside:
├── analytics.csv
├── dataneeded
│ ├── DN_0001_windows_process_creation_4688.yml
│ ├── DN_0002_windows_process_creation_with_commandline_4688.yml
│ ├── DN_0003_windows_sysmon_process_creation_1.yml
│ ├── DN_0004_windows_account_logon_4624.yml
│ └── dataneeded_template.yml
├── detectionrules
│ └── sigma
├── loggingpolicies
│ ├── LP_0001_windows_audit_process_creation.yml
│ ├── LP_0002_windows_audit_process_creation_with_commandline.yml
│ ├── LP_0003_windows_sysmon_process_creation.yml
│ ├── LP_0004_windows_audit_logon.yml
│ └── loggingpolicy_template.yml
├── triggering
│ └── atomic-red-team
└── scripts
Detection Rules
Detection Rules are unmodified Sigma rules, so by default Atomic Threat Coverage uses rules from official repo but you can put there rules from your own local fork.
All queries automatically generated and all mappings added.
Data Needed
This entity needed to explain SIEM/LM/Data Engineering teams what kind of data they could expect to receive/collect (sample). Detailed description of data type (platform/type/channel) needed for proper calculation of mappings with Detection Rules and general description. List of fields also needed for calculation of mappings and for list in analytics, so in case of triage/incident response (identification stage) analytics could easily define where they could find some specific data type (like domain name, username, hash etc).
Logging Policies
This entity needed to explain SIEM/LM/Data Engineering teams and IT departments which logging policies have to be configured to have proper Data Needed to have some specific Detection of specific Threat. It also explains how exactly this policy can be configured.
Triggers
Triggers are unmodified Atomic Red Team tests, so by default Atomic Threat Coverage uses atomics from official repo but you can put there atomics from your own local fork.
This entity needed to test specific technical controls and detections. Detailed description could be found in [official repo](https://github.com/redcanaryco/atomic-red-team).
Analytics.csv
Atomic Threat Coverage generates analytics.csv
with list of all data mapped to each other for filtering and simple analytics. This file suppose to answer these questions:
- What data I need to collect to detect specific threats?
- Which Logging Policies I need to implement to collect data I need to detect specific threats?
- Which Logging Policies I can install everywhere (event volume low/medium) and which only on critical hosts (high/extremely high)?
- Which data provide me most of high fidelity alerts? (prioritisation of data collection implementation)
- etc
Ideally, this kind of mapping could provide organizations ability to connect Threat Coverage from detection perspective to money. Like:
- if we will collect all Data Needed from all hosts for all Detection Rules we have it would be X Events Per Second (EPS) (do calculation for a couple of weeks or so) with these resources for storage/processing (some more or less concrete number)
- if we will collect Data Needed only for high fidelity alerts and only on critical hosts, it will be Y EPS with these resources for storage/processing (again, more or less concrete number)
- etc
Goals
- Stimulate community to use Sigma rule format (so we will have more contributors, more and better converters)
- Stimulate community to use Atomic Red Team tests format (so we will have more contributors and execution frameworks)
- Evangelize threat information sharing
- Automate most of manual work
- Provide information security community framework which will improve communication with other departments, general analytics accumulation, developing, and sharing workflow
Workflow
- Add your own custom Sigma rules (if you have any) to
detectionrules
directory - Add directory with your own, custom Atomic Red Team detection tests (if you have any) to
triggering
directory - Add Data Needed entities related to Sigma rules into
dataneeded
directory (you can create new usingdataneeded/dataneeded_template.yml
) - Add Logging Policies related to Data Needed into
loggingpolicies
directory (you can create new usingloggingpolicies/loggingpolicy_template.yml
) - Configure your export settings using
config/config.py
- Execute
make
in root directory of the repository
Current Status: Proof Of Concept
The project is currently in Proof Of Concept stage, it was developed in a few evenings. It doesn't work for all Sigma rules. We will rewrite most of scripts in a proper way, cover all original Sigma rules and add other entities (like Playbooks). We want to show working example of data processing to discuss it with community, receive feedback and suggestions.
Authors
- Daniil Yugoslavskiy, @yugoslavskiy
- Jakob Weinzettl, @mrblacyk
- Mateusz Wydra, @sn0w0tter
- Mikhail Aksenov, @AverageS
TODO
- Fix analytics.csv generation
- Add contribution description
- Rewrite main codebase in a proper way
- Implement consistent Data Model (fields naming)
- Add the rest of Data Needed for default Sigma rules
- Add the rest of Logging Policies for all Data Needed
- Define new Detection Rule naming scheme (Events from Alerts)
- Create developer guide (how to create custom fields)
- Create MITRE ATT&CK Navigator profile generator per data type
- Create new entity called "Enrichments" which will define how to enrich specific Data Needed
Links
1
2
3
4
License
See the LICENSE file.