Skip to content

Detection coverage

ruben edited this page Nov 1, 2023 · 12 revisions

It is essential for blue teams to have a good understanding of where they have detection, the level of detection and where they lack detection. Using the YAML techniques administration file you can administrate the level of detection you have on ATT&CK techniques.

Getting started

You can find a short explanation on how to get started scoring your detections to determine your detection coverage here.

What information can be recorded

You can record the following in the YAML techniques administration file:

  • The type of system(s) the detection applies to (e.g. Windows endpoints, Windows servers, Linux servers, crown jewel x, etc.).
    • You can have multiple detections per technique in the YAML file to allow detailed scoring of your detections per type of system. This can be achieved using the applicable_to property. See T1055 in the example file: techniques-administration-endpoints.yaml.
    • We recommend using the same applicable_to values between your technique and your data source administration file.
  • Where the detection resides.
  • A possible comment.
    • If you want to have a multiline comment in the Excel output. We recommend making use of |. For more info have a look at: https://yaml-multiline.info/.
  • The date when the detection was implemented or improved.
  • A detection score. More on this can be found here.
  • You can add anything else you want to record by adding your own key-value pairs.

Visualise in the ATT&CK Navigator

To generate a layer file for the ATT&CK Navigator based on the technique administration file, you can run the following command:

python dettect.py d -ft sample-data/techniques-administration-endpoints.yaml -l
DeTT&CT - Detection coverage

Excel output

You can generate an Excel sheet containing all information within the YAML file on your detections:

python dettect.py d -ft sample-data/techniques-administration-endpoints.yaml --excel
DeTT&CT - Detections Excel output
Clone this wiki locally