The video
The exercise summarized in just over three minutes.
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:
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.
- Read the situation and the evidence of the inject out loud.
- Start the timer and discuss the question for about 3 minutes. Write down your answer.
- Stuck? Click 💡 Hint.
- 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.
What is your first action, and in what order do you take the next three?
- 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[.]comand 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.
- 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.
What does this command do? Why did the antivirus see nothing, and where is your visibility?
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:
hxxpsand[.]are defanged notation, used in reports so that nobody clicks the address by mistake.
- 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.
Will closing the open ports help? What do these logs show, and what do you do instead?
- 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.
- 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.
How do you identify the device, and what does this change in your plan?
- 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.
- 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?
- Contained ≠ closed. The incident is closed when all four conditions are met:
- both devices were reimaged from a known-good image (not "cleaned");
- every exposed credential was rotated and every session revoked;
- the root cause is fixed: for example, block
mshta.exewith Microsoft Defender attack surface reduction (ASR) rules or App Control for Business, and enable Script Block Logging; - 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.
- 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.