Threat scenarios
A threat scenario is a sequence of attacker gestures: a phishing email received, the link clicked, a risky sign-in, a mailbox rule… The library under Catalog → Threat scenarios is the one place where threats are configured, and every scenario serves two uses:
- grafted at random onto a community — it then takes turns, hour after hour, with the other scenarios of its rotation on the compromised hosts (see Attacker background noise);
- launched on demand from a community's Threats tab — now, for a bounded duration.
Threats used to be archetypes of “threat” kind, configured with the editor of working days. They became scenarios: an archetype is now always a business day.
The library, pre-populated
| Scenario | Family | What it chains |
|---|---|---|
| Business email compromise (BEC) | Business email compromise | Phishing email → click → risky sign-in from abroad → stolen session → forwarding rule → mailbox reading → fraudulent transfer request → payload on the workstation → privilege escalation → credential theft → pivot → privilege escalation on the server |
| Distributed denial of service | Denial of service | Probing of a site → burst of requests from thousands of addresses → legitimate traffic comes back |
| Ransomware | Ransomware | Payload → execution → scheduled-task persistence → reconnaissance → credential theft → pivot → data egress → mass encryption and deletion of documents → detection |
| Password spraying | Credential attack | Bursts of authentication failures from outside → spray detected → successful sign-in, flagged as risky → second factor requested |
| PLC sabotage (Triton-style) | Industrial control systems | C2 beacon → control-network scan → tampering with a safety controller's program → the controller is stopped |
| IT-to-OT spillover | Industrial control systems | Payload → execution on a management workstation → credential theft → pivot → discovery of the control network → a controller is stopped |
| Industrial man-in-the-middle | Industrial control systems | ARP spoofing on the control segment → unauthorized control commands injected into the controller |
| Trojanized firmware | Industrial control systems | Malicious domain resolved → firmware retrieved → a non-vendor firmware is loaded → the controller is restarted |
| Industrial denial of service | Industrial control systems | Control-network scan → SYN flood that saturates the controller |
| Malicious control commands (Industroyer2-style) | Industrial control systems | IEC-104 reconnaissance → breaker-open commands → station controllers stopped |
| Simple EDR alert | Network intrusion | A PowerShell script started from Explorer resolves an internal server and calls it over HTTPS, under one process ID; then a malicious binary runs, and the EDR alone (HarfangLab) raises one critical alert — the first scenario of the Learning track |
| Simplified BEC | Business email compromise | Phishing to several mailboxes → the first one clicks → unusual sign-ins from abroad → password spray → one administrative change → bulk sending from the mailbox |
| VPN intrusion and data theft | Data exfiltration | SSL VPN sign-in from abroad → tool, escalation and credential dump on a server → lateral movement to the domain controller → bulk copy from the file shares → exfiltration |
| Attacker | Network intrusion | The full attack chain, from brute force to exfiltration, in under an hour |
| Beacon to the command server | Command and control | Resolution of the command server → beacon every ten minutes |
| Payload download | Network intrusion | Resolution → retrieval of the second stage → execution |
| Reconnaissance | Network intrusion | Directory enumeration |
| Credential theft and pivot | Credential attack | Secret extraction → pivot to another host |
| Exfiltration | Data exfiltration | Upload to the attacker → detected bulk egress |
| Foothold and persistence | Network intrusion | Implant wake-up → scheduled task created, then registered |
| Implant heartbeat | Command and control | A beacon every two hours — a background scenario |
The last eight are the threats that existed before the library — they were converted, not
rewritten. Scenario names are seeded data, not interface: they are seeded in English and read
the same under both screen languages. Seeding is create-only: a scenario edited from the screen
survives the next seed. An installation seeded in French receives the English once, on the
texts left as they were seeded — a name, a description or a step label edited from the screen is
never rewritten. The slug does not move: it is an identifier (rancongiciel,
operation-nostromo), and a CTF campaign designates its scenario by it.
Six scenarios demonstrate detection on industrial (OT) networks, with Nozomi Vantage as the
sensor. Because the targeted controller is a destination, the Nozomi alert and the flow observers
(firewall, EDR) name the same IP and port at the same second — the STOP command is not seen by the
probe alone. Run them on an industrial population (for example demo-cyberdyne-systems): on a
population without field devices, their OT steps are skipped.
A scenario's identity
| Field | What it decides |
|---|---|
| Family | A label to file the library by — nothing is decided on it |
| Targets | Which slices of the population can play its steps: workstations, servers, sites |
| Background scenario | When grafted, it plays all day long outside the rotation — the implant heartbeat is the case |
| Expected IOC type | The kind of indicator its IOC gestures name — Domain name, URL, IPv4 address or Any |
A scenario that targets only sites — the denial of service — cannot be grafted: the graft compromises workstations and servers. It is launched on demand.
The expected IOC type
Four gestures name an indicator of compromise: the DNS resolution, the C2 beacon, the
payload download and the exfiltration. They all name the same command server for a host
and a day, drawn from the indicator catalog (threat-destinations), which mixes domain names, URLs and
bare IPv4 addresses. Any keeps that draw as it was: a host may resolve a bare address, the way an
implant with no name to resolve does. A typed scenario only ever names indicators of its type:
- the draw keeps its key — the same host, the same day — and keeps the indicator it would have drawn when that one already has the right type; otherwise it draws again among the indicators of the type alone. A typed scenario and an untyped one grafted on the same host therefore name the same command server whenever the common draw fits, and two otherwise;
- a type that the catalog does not carry never falls back to another one. A launch is refused, naming the type; a grafted scenario plays its IOC gestures without a destination, and the day summary of api-activity says so. Under the field, the inspector counts the indicators of the type, and the Problems list the steps concerned;
- the seeded floor carries eight domain names and two IPv4 addresses, no URL: URL is played only once the indicator feed is configured (General settings).
Operation Nostromo and the three provided scenarios that resolve a malicious domain (Beacon to the command server, Payload download, Trojanized firmware) expect a Domain name: a DNS log no longer carries a literal address. The others stay Any, and their day does not move.
The steps
Each step is a gesture of the action catalogue — the same one archetypes assemble — placed at an offset in minutes from the start of the scenario.
The scenario opens in the catalog workspace. In the centre, the sequence reads on a
timeline — see The timeline —, or, with the List toggle, as a compact
list: one row per step — its key, its offset (+12), its action, its cadence in plain words —
“1×”, “3× every 10 min”, “every 120 min until the end” —, simultaneous gestures, the place and who
plays it, with buttons to move it up, down or remove it. The choice between the two is remembered.
Clicking a step opens it in the inspector, on the right, where its fields are set; adding a step
selects it at once — with Add a step, or from the action library in the left pane, searchable
as for an archetype. An action covered by alerts only is not amber there: a launch sends its alerts. With nothing
selected, the inspector shows the scenario's properties — name, description, family, targets,
background —, a summary: how many steps, the minute of the last one announced, and the
communities grafting it —, and its Problems: the steps the schedule thins out or does not play,
those an hourly rotation will not play, empty or missing datasets, what the
reference population skips, and the count of validation
refusals.
| Field | What it says |
|---|---|
| Offset | Minutes from the start — or from the start of the hour, in a rotation |
| Action | The gesture: a threat action, or a business one the scenario borrows (a fraudulent email is mail) |
| Label | How the gesture is named in the threat journal — the catalogue's label when empty |
| Times | How many gestures — empty means “until the end”, every interval minutes |
| Every | Minutes between two gestures, required as soon as the step repeats |
| Jitter | Up to an hour of spread around each due time |
| Parallel | Simultaneous gestures at each due time — a denial-of-service burst — up to fifty |
| Played by | A slice, or any target of the scenario that the action admits |
| Off-site | The gesture happens away from the office — a sign-in from abroad |
| Host rank | Which launched host of its slice plays the step — 1 for the first named; empty: every host |
Each step waits for the end of the previous one. A spread can therefore never make the click happen before the email arrives. A step repeated “until the end” has no end to wait for: the next one then chains to the last bounded step before it.
A rank picks one host. A launch names its hosts in order — the Learning sessions name them for you —, and a step with a Host rank is played only by the host at that position in its slice: four mailboxes receive the phishing email, the first one alone is compromised; the first server is where the attacker escalates, the second the domain controller it moves to. A rank needs Played by: it counts within a slice. Without a host at that rank, the launch reports the step among those no target plays. A graft ignores the rank — its hosts are drawn per hour, with no order —, and every grafted host plays every step.
In a rotation, a scenario replays in every hour that falls to it, from the start of that hour. A step whose offset goes beyond the first hour never happens there — the editor warns about it, without refusing: the same scenario can be launched by hand over two hours.
The timeline
Each step is a row on a ruler from 0 to the horizon — 1 h, 4 h or 24 h; the scenario opens
on the smallest one that shows its last announced step. The timeline reads the engine's own
schedule, not the offsets alone:
- a solid line marks the gestures, to the minute, with one tick per gesture up to forty-eight; simultaneous gestures stack up to five;
- dashes mark where a step may fall when the previous one is still running: it waits for its last gesture, then 1 to 15 minutes. Its row then says “first gesture between +21 and +35”;
- a halo shows the jitter on either side;
- violet dashes mark the end of the first hour: what starts beyond it never happens in an hourly rotation, and the step says “outside rotation”.
Each row says in words what the drawing shows: “3–4/5 gestures” when the step loses some — pushed
back by the previous one while its window keeps its end, or cut by the horizon —, “pushed back” when
its window slides, “may not happen” or “does not happen” when the previous step ends too late in the
day, “not played by this slice”, “beyond the horizon”. A scenario that targets several slices shows
one at a time — User, Server.
The timeline is driven like the list: a click selects a step, ↑ ↓ select the previous or the next, Alt+↑ ↓ move it, Delete removes it and Ctrl+Z undoes. The buttons on the right of its toolbar do the same with the mouse.
The schedule assumes a population that allows every gesture: a step that needs a server or a device the population lacks is skipped by the engine without the timeline knowing. The step's Requirements, in the inspector, say it — slice by slice, against the reference population —, and so do the Problems.
For the selected step, the inspector describes its action and names the log sources that have a message for it, below its fields, in the Capabilities section. Up to three sources, it is unfolded from the start; beyond that, it folds down to its count and the first names — “Seen by 14 sources, 3 alerts only — Bind · Fortinet FortiGate · …” — and unfolds with a click. Unfolded, it sorts the sources into two groups of chips, Emitting then Alerts only. The list follows the select as soon as the action changes, before anything is saved. A source in the Alerts only group covers the gesture with alert message types only: a launch sends them, as a fallback when the source has nothing else to describe the gesture; the rotation of a graft, which plays the normal flow, keeps them silent. The click on a trapped link is the case: Office 365 describes it only with an alert. When no source covers the action, the inspector says so in amber. The list names every source of the catalogue, whereas a launch only plays the technologies of its community, and sends only for those with an intake key: a step that none of them covers appears among the “Steps that no active technology covers”. Below, Data read names the shared datasets the action's facts read — the indicator of the day for a beacon, the implant for persistence —, each a link that opens the dataset in a tab, as for an archetype's action.
Without JavaScript, the sequence is edited as JSON in the same field — one object per step — and the log sources of the saved steps are listed under it, followed by their timeline, to read only. The editor and the API validate it with the same function: the screen cannot accept what the API would refuse.
Saving the steps reaches, within the minute, the communities grafting the scenario: their day plan goes stale and is rebuilt on the next tick. A grafted scenario cannot be deleted — the refusal names the communities; its past launches survive it, under its name.
The threat actions
Eleven threat gestures existed; nine were added for the scenarios, then five for the enablement scenarios of the Learning sessions, and the coverage of the corpus names them. Each of the last five keeps the event type of its business counterpart and changes only what the gesture carries — a foreign address, a privileged group, a copied document, a recipient list. The password spray is now read in the tenant too: the failed sign-ins of Entra ID and Office 365 come from foreign addresses, one per attempt.
Four more make the trail that precedes the simple EDR alert: a PowerShell started from Explorer, its script, the resolution of an internal server's name and HTTPS connections to it. They draw the same process for the day, so the process creation, the script block, the DNS query and the connections carry the same process ID. The internal server is a server of the population, chosen by its role (the application server): it is never a public destination, and a proxy never describes these flows — only the workstation's logs and the segmentation firewall, from LAN to LAN.
| Action | What the logs show of it |
|---|---|
| Phishing email received | Office 365 threat intelligence, delivered in the message trace |
| Click on a trapped link | Office 365 URL click |
| Risky sign-in | Entra ID risk detection, Google Workspace risky authorisation |
| Malicious mailbox rule | Office 365 inbox rule, Google Workspace external forwarding |
| Fraudulent request sent from the mailbox | Office 365 mailbox send, message trace — from the mailbox to the treasury |
| Scheduled task created (schtasks) | schtasks.exe /create started: Windows 4688, Sekoia Agent, SentinelOne Cloud Funnel |
| Persistence scheduled task registered | Windows 4698, the 4698 relayed by the Sekoia Agent, SentinelOne Cloud Funnel Task Register |
| Privilege escalation | Windows privileged service, Office 365 admin role, SentinelOne Identity |
| Denial-of-service burst | Akamai WAF rate limit and bot / reputation denials — played by a site |
| Attacker SSL VPN sign-in | FortiGate tunnel-up, its dst the foreign address the stolen credentials come from |
| Unusual access to a business application | Entra ID and Office 365 successful sign-ins, from the same foreign address |
| Administrative change in the tenant | Entra ID and Office 365 “Add member to group”: the same privileged group in both |
| Bulk copy from the file shares | Windows 5145 on the file server, Sekoia Agent file creation — the same document |
| Bulk sending from the compromised mailbox | Office 365 mailbox send and message trace — the same email, to the company's lists |
| PowerShell started by the user | Windows 4688, Sekoia Agent, HarfangLab — powershell.exe started by explorer.exe |
| PowerShell script run | Windows 4103, Sekoia Agent 4104 — the script body, under the PowerShell process ID |
| Internal server name resolution | Windows Sysmon 22, Sekoia Agent, HarfangLab — the internal name, resolved by PowerShell |
| HTTPS connection to an internal server | Windows Sysmon 3, Sekoia Agent, HarfangLab, FortiGate from LAN to LAN — the server's address, port 443 |
Most of these event types are reserved for alerts: the per-minute flow never emits them. A scenario launched on demand emits them when the technology has nothing else to describe the gesture with — without that, a business email compromise would be silent at the mailbox. One exception: the registration of a persistence scheduled task. Its 4698 and its Task Register are audit logs, not detections, and a grafted rotation emits them too — the other gestures of a rotation stay unchanged.
The phishing email and the fraudulent request are emails, and both sources name the same email: Office 365 and the message trace show the same subject, sender and message identifier — the identifier is how an analyst goes from the mailbox audit to the trace. The phishing email is an overdue supplier invoice with a disguised executable attached; the request, sent from the stolen session to the company's treasury mailbox, asks for an urgent wire transfer.
Persistence by scheduled task is played in two gestures, the way a workstation logs it: the
implant starts schtasks.exe /create, then the Task Scheduler registers the task a minute later — the
engine's resolution. Both name the same schtasks.exe (same command line, same process ID) and the
task its command line creates: the 4698 of Windows and the one the Sekoia Agent relays carry the same
task name and the same task XML, and the Task Register of SentinelOne names the same task, created by
that same schtasks.exe. The business action Scheduled task remains system noise: it was the one
Operation Nostromo used to play, and its logs named a routine Windows process.
The task relaunches the implant, and the implant has a file, drawn once per host and per day. The
payload download names it in the path of its URL (Netskope, Zscaler, Defender); the malware
execution starts it, and every endpoint detection names it — the Windows Defender detection (1116),
the YARA detection of the Sekoia Agent, the behavioural indicator of SentinelOne Cloud Funnel, and the
detections of CrowdStrike, Defender XDR, Cortex and SentinelOne, with its hash where the product writes
one; the task relaunches it (the /tr of schtasks.exe, the command of the task). An analyst follows
the same file from the download to the persistence.
Both gestures are played on servers too: an implant running under the system account registers
its task under it. Windows writes the machine account as the subject (HOST$, S-1-5-18, session
0x3e7) and a task running as S-1-5-18 in HighestAvailable; SentinelOne writes
NT AUTHORITY\SYSTEM. The provided scenarios Attacker, Ransomware and Foothold and
persistence play them as well, in place of the Run key that only CrowdStrike telemetry logged.
There is no ransomware action: no event type of the corpus names one. The Ransomware scenario is therefore built from existing gestures — the encryption is a burst of document modifications.