AttackGraph.org Student guide

2.5 Worked example: a phishing attack

This example builds a small, straightforward phishing attack from nothing, one step at a time, then saves it, closes it, and opens it again. Make sure you are signed in (your student ID is at the top right). Follow each step and compare your screen with the picture under it.

The story

An attacker wants to steal people’s details. They buy an email list on the dark web (we cannot be sure the list is any good: that is our uncertainty). They build a fake website. Then they send a phishing email with a link. The email can only work if the attacker has both the email list and the fake website. Some of the people who get the email click the link, and are taken to the fake website, which collects their details. That is the end: the goal.

  1. Step 1.

    Start blank. Press New. The graph and the notes are empty.

    Step 1: after New, the graph and the notes are blank.
    Figure 2.8. Step 1: after New, the graph and the notes are blank.
  2. Step 2.

    Add a starting condition. A condition is something that is already true before the attacker acts. Press + Condition in the toolbar. A box appears and the event panel at the bottom shows its Description box, ready to type in. Type Dark web markets sell email lists.

    Step 2: the first condition, with its description typed in the panel.
    Figure 2.9. Step 2: the first condition, with its description typed in the panel.
  3. Step 3.

    Add a second condition. Press + Condition again and type Attacker has web hosting.

    Step 3: two starting conditions.
    Figure 2.10. Step 3: two starting conditions.
  4. Step 4.

    Add the first event. An event is something the attacker does. Click the first condition to select it. The panel shows a button, New event that needs this. Press it. A square box (the event) appears below, joined to the condition by an arrow, and the Description box is ready for you.

    Step 4: a new event that needs the first condition.
    Figure 2.11. Step 4: a new event that needs the first condition.
  5. Step 5.
    Name it, and add its result. Type Buy an email list from the dark web as the event’s description. With the event still selected, press + Result. A rounded box appears below it. Type Email list obtained.
  6. Step 6.

    Show the uncertainty. We are not sure the bought list is any good, so tick Uncertain in the panel. The result is now drawn with a dotted outline.

    Steps 5 and 6: the result ``Email list obtained'' is dotted because it is uncertain.
    Figure 2.12. Steps 5 and 6: the result “Email list obtained” is dotted because it is uncertain.
  7. Step 7.

    Build the website path. Click the condition “Attacker has web hosting” and press New event that needs this. Type Build a fake website. With that event selected, press + Result and type Fake website live.

    Step 7: two separate paths so far.
    Figure 2.13. Step 7: two separate paths so far.
  8. Step 8.

    Add the phishing email. Click the result “Email list obtained” and press New event that needs this. Type Send a phishing email with a link. At the moment it needs only the email list.

    Step 8: the phishing event, which so far needs only the email list.
    Figure 2.14. Step 8: the phishing event, which so far needs only the email list.
  9. Step 9.

    Make it need the website too (AND). The email only works if the website exists as well. Drag the box “Fake website live” with your mouse and drop it on the phishing email event. An arrow joins them. Now click the phishing email event: in the panel, Needs says All of them (AND), meaning the email needs both the email list and the fake website. (Any one (OR) would mean either one was enough.)

    Step 9: two arrows into the phishing event, and Needs set to All of them (AND).
    Figure 2.15. Step 9: two arrows into the phishing event, and Needs set to All of them (AND).
  10. Step 10.

    Finish the story, and mark the goal. Select the phishing email event and press + Result; type Users click the link. Click that result, press New event that needs this, and type Fake website collects the users' details. With that event selected, press + Goal and type Users' details collected. The goal has a grey G.

    Step 10: the whole story, ending in the goal.
    Figure 2.16. Step 10: the whole story, ending in the goal.
  11. Step 11.

    Add mitigations. A mitigation is something that could stop or reduce an event. Click the phishing email event and press Pick mitigation…. Type training in the search box, tick M1017 User Training, and press Add. (Choose codes that start with M1: codes starting M09 are for industrial control systems.)

    Step 11: choosing a mitigation for the phishing email.
    Figure 2.17. Step 11: choosing a mitigation for the phishing email.

    Do the same for the other events: M1056 Pre-compromise for buying the list, M1021 Restrict Web-Based Content for the fake website, and M1032 Multi-factor Authentication for collecting the details.

    Step 12: every event now has a mitigation, down the right.
    Figure 2.18. Step 12: every event now has a mitigation, down the right.
  12. Step 12.

    Switch off what you do not use. The little circles in each corner are for scores you have not given. Press Display… in the View buttons, and in Corners of each event untick the six boxes, and untick the techniques column. Press Done.

    Step 13: the six corner boxes unticked.
    Figure 2.19. Step 13: the six corner boxes unticked.
    The finished graph.
    Figure 2.20. The finished graph.
  13. Step 13.

    Save. Press Save. A small box asks you to name the graph. Type My first graph and press OK. The message “Saved ‘My first graph’ to the server” appears to the right of Undo.

    Step 14: after Save.
    Figure 2.21. Step 14: after Save.
  14. Step 14.

    Close. Press Close. The screen goes blank, and the message tells you where to find the graph again.

    Step 15: after Close, everything is blank.
    Figure 2.22. Step 15: after Close, everything is blank.
  15. Step 15.

    Open it again. Press Open and choose My saved graphs….

    Step 16: Open, then My saved graphs.
    Figure 2.23. Step 16: Open, then My saved graphs.

    Your list appears with My first graph in it.

    Your list, with My first graph in it.
    Figure 2.24. Your list, with My first graph in it.
  16. Step 16.

    Press Open beside it. Your graph is back exactly as you left it.

    Step 18: the graph is back.
    Figure 2.25. Step 18: the graph is back.
Tip

The Problems bar may show a few yellow warnings in a graph like this (for instance that events have no ATT&CK techniques). Warnings are hints, not errors, and none of them stops you saving or submitting.