AttackGraph.org Student guide

4.1 Part 7: the toolbar

The toolbar sits above the graph. It is in three groups: Add, Move and Codes. Many buttons are greyed out until you have selected something in the graph that they can act on (Figure 4.1 and Figure 4.2).

The toolbar with nothing selected: only the Add buttons that need no selection are on.
Figure 4.1. The toolbar with nothing selected: only the Add buttons that need no selection are on.
With an event selected, more buttons come on.
Figure 4.2. With an event selected, more buttons come on.

Add

+ Condition
Adds a condition: a state that is true before the attacker acts, such as “Attacker has a list of staff emails”. The cursor jumps to the Description box in the event panel so you can type its name straight away.
+ Event
Adds an event: something the attacker does. It starts as a draft, a greyed box called “New event”, and the cursor jumps to the Description box. A draft does not complain about what is missing until you untick Draft.
+ Enabler
Select an event first. Adds an enabler: an optional factor that helps the event succeed without being strictly needed, such as “No multi-factor sign-in”.
+ Result
Select an event first. Adds a result: the state the event leads to.
+ Goal
Select an event first. Adds the goal, the final result of the attack, to that event.

Underneath the Add buttons is a reminder of the two drag shortcuts:

Conditions cannot be joined straight to other conditions: they connect through events.

Tip

A quicker way to extend a graph: select a condition (or a result) and press New event that needs this in the event panel. The new event appears already joined to it.

Move

These move the selected box.

Up and Down
Move an event up or down by one band. An event cannot go higher than the events it needs allow.
Left and Right
Nudge the selected box sideways.
Centre
Puts the selected box in the middle of the page. Its enablers stay beside it.

Use these to tidy a graph so that nothing overlaps and the story reads clearly from top to bottom.

Codes: Pick TTP and Pick mitigation

TTP stands for tactics, techniques and procedures. In this tool, a TTP is a technique from the MITRE ATT&CK catalogue, such as T1566.001 (Spearphishing Attachment). A mitigation is a defence from the same catalogue, such as M1017 (User Training). These codes are ATT&CK identifiers: they are not computer code.

Select an event and press Pick TTP… or Pick mitigation…. A box opens with a searchable list (Figure 4.3).

  1. Step 1.
    Type a word or a code in Search by code or name, for example phishing or 1566. The list shrinks to the matches.
  2. Step 2.
    Tick every one that applies to this event. You may add a short note beside each, explaining why.
  3. Step 3.

    Press Add.

    Pick TTP: search, tick, then Add.
    Figure 4.3. Pick TTP: search, tick, then Add.

Create your own… lets you add a technique or mitigation that ATT&CK does not list. These are marked with a star (*) on the graph.

Careful

The list covers several kinds of system. Codes beginning T1 and M1 are for ordinary computers and networks. Codes beginning T0 (techniques) or M09 (mitigations) are for industrial control systems. If you are describing an ordinary attack, pick the T1 and M1 ones. For example, searching training shows both M0917 and M1017: for an office attack, choose M1017.

Pick mitigation works the same way.
Figure 4.4. Pick mitigation works the same way.
Tip

Always choose codes from the list rather than typing them from memory. The list contains only real codes, so you cannot mistype one.

Worked example: try every toolbar group

Here is a short tour of the toolbar, using the phishing graph you built in Chapter 2 (Section 2.5). If you still have it, press Open, then My saved graphs…, then Open beside My first graph. Follow each step and compare your screen with the picture.

  1. Step 1.

    Select an event. Click the box “Send a phishing email with a link”. It gets a blue outline, its details appear in the panel, and more toolbar buttons turn on.

    Step 1: an event selected. The Add, Move and Codes buttons that apply to it are now on.
    Figure 4.5. Step 1: an event selected. The Add, Move and Codes buttons that apply to it are now on.
  2. Step 2.

    Add an enabler. With the event selected, press + Enabler and type Staff are not trained to spot phishing. A small circle appears beside the event: something that makes the attack easier without being strictly needed.

    Step 2: an enabler beside the phishing event.
    Figure 4.6. Step 2: an enabler beside the phishing event.
  3. Step 3.

    Move an event down. Click the box “Build a fake website” and press Down in the Move group. The event drops into the next band. (Up moves it back. An event cannot go higher than the events it needs allow.)

    Step 3: the event moved down one band.
    Figure 4.7. Step 3: the event moved down one band.
  4. Step 4.

    Nudge it sideways. With that event still selected, press Right three times. The box slides a little to the right each time. Left slides it back.

    Step 4: after three presses of Right.
    Figure 4.8. Step 4: after three presses of Right.
  5. Step 5.

    Centre it. Press Centre. The box returns to the middle of the page.

    Step 5: after Centre.
    Figure 4.9. Step 5: after Centre.
  6. Step 6.

    Pick a technique. Click the phishing email event again and press Pick TTP…. Type spearphishing link in the search box and tick T1566.002 Spearphishing Link (the list also shows other kinds of system, so check the code begins T1).

    Step 6: searching and ticking a technique.
    Figure 4.10. Step 6: searching and ticking a technique.
  7. Step 7.

    Add it. Press Add. The technique appears in the left-hand column, tagged with the event’s number.

    Step 7: the technique now shows in the left column.
    Figure 4.11. Step 7: the technique now shows in the left column.

The other buttons work just as you saw in Chapter 2: + Condition, + Event, + Result and + Goal add boxes, and Pick mitigation… works like Pick TTP…. Press Undo if you do not like what a button did.