Skip to content

Nori Use cases

How to schedule attack simulations with Nori automations

A weekly automation replays a fixed set of MITRE ATT&CK techniques against staging and records which ones your alerts caught. The output is a technique-by-technique table compared with last week's run.

Quick answer

List the MITRE ATT&CK techniques you want covered in a file, each with a safe emulation against staging systems you own and have authorized. A weekly Nori automation runs every emulation, waits for the alert window, queries your SIEM for the matching alert, and posts a technique-by-technique table in Slack with caught, missed and time to alert compared with last week. Each miss becomes a draft detection pull request for a person to review.

What a weekly simulation gives you

Detections decay quietly. A log field gets renamed, an agent on a host stops shipping events, someone raises a threshold to stop a noisy alert. Nobody notices until the day the alert should have fired. A fixed set of simulations, run every week, turns that silent decay into a line in a table.

On Nori the simulation is a scheduled agent session. A cron automation claims a fresh cloud sandbox, installs your security skillset, reads your technique file, runs each emulation, and asks the SIEM what it saw. The table lands in a Slack thread where the team discusses it. Shared memories hold the team's decisions about accepted gaps. The agent can be Jiro or any harness you prefer, on your own Claude or ChatGPT subscription, and Nori never charges for tokens.

The technique list is fixed on purpose. A red team explores; a simulation measures. Keeping the same list week after week is what makes the comparison meaningful. New attacks found by the red team join the list through the purple-team loop.

Rules for safe simulations

  • Authorized targets only. Every target is a staging host, account or bucket your company owns, listed in security/scope.yaml with a named owner and an expiry date.
  • Harmless emulations. Each technique is reproduced with the smallest action that creates the same log signal: a canary file, a test credential, a request from a test account. No data is destroyed and no real user is touched.
  • Canaries, not crown jewels. Simulations read and write dedicated canary resources, such as a bucket named sim-canary-staging, never business data.
  • Marked and cleaned up. Every action carries a run ID, and every technique has a cleanup step that the agent verifies.
  • People approve scope. Adding a technique or a target is a pull request the security lead approves. Anything outside scope stops the run and becomes a question in Slack.

For how simulations sit next to a human pen test and commercial breach-and-attack-simulation tools, see agentic red teaming vs pen tests vs BAS.

How to set it up, step by step

  1. Pick ten techniques. Start with the ones your threat model cares about most. Use the IDs from MITRE ATT&CK so results line up with your detection catalogue.
  2. Write the technique file. Add simulations/techniques.yaml to your security repository. For each technique: the ID, the target, the emulation, the expected rule, the alert window and the cleanup.
  3. Create canary resources and test identities in staging. A canary bucket, a test cloud user with narrow permissions, a test host. Record them in the scope file.
  4. Connect the SIEM read-only. Add it as a Nori integration with a read-only API key, scoped to the security agent, so the agent can query alerts but change nothing.
  5. Add a simulation skill. Put skills/running-simulations/SKILL.md in your security-ops skillset: run techniques in order, wait for each window, never skip cleanup, compare with last week's results file.
  6. Create the weekly automation. One cron automation, delivered to #detection-coverage. Use Run now once and read every step before you let it run on a schedule.
  7. Review the table each Monday. Assign misses, approve or reject the drafted rule fixes, and save accepted gaps to shared memories.

Example technique file

An excerpt with four of the ten techniques. Names and hosts are illustrative.

# simulations/techniques.yaml
scope: security/scope.yaml
results_dir: simulations/results/

techniques:
  - id: T1110.003            # Brute Force: Password Spraying
    target: staging-web
    emulate: 30 failed logins across 30 test usernames, one shared wrong password, 2 per second
    expect_rule: login_spray
    window: 10m
    cleanup: unlock the 30 test accounts

  - id: T1098.001            # Account Manipulation: Additional Cloud Credentials
    target: staging-aws
    emulate: create a second access key for IAM user sim-test-user
    expect_rule: iam_new_access_key_outside_pipeline
    window: 15m
    cleanup: delete the new access key, confirm sim-test-user has one key

  - id: T1530                # Data from Cloud Storage
    target: sim-canary-staging
    emulate: list and download 200 canary objects with sim-test-user
    expect_rule: s3_bulk_get_unusual_principal
    window: 15m
    cleanup: none, read only

  - id: T1562.008            # Impair Defenses: Disable or Modify Cloud Logs
    target: staging-aws
    emulate: stop logging on the dedicated trail sim-canary-trail
    expect_rule: cloudtrail_logging_stopped
    window: 10m
    cleanup: restart logging on sim-canary-trail and confirm status

The emulation lines are plain English on purpose. The agent turns each one into the CLI or API calls for your environment, using only the identities the scope file lists, and the transcript of every run shows exactly what it executed.

Example automation

Monday at 06:00, before the team starts. The channel ID is #detection-coverage.

nori-sessions triggers create \
  --name 'Weekly attack simulation' \
  --type cron --cron-schedule '0 6 * * 1' --timezone America/New_York \
  --skillset security-ops \
  --slack-channel-id C0DETCOVER \
  --prompt 'Follow the rules-of-engagement and running-simulations skills. Run every technique in simulations/techniques.yaml in order. After each window, query the SIEM for the expected rule and record caught or missed and the time to alert. Run every cleanup step and verify it. Compare with the newest file in simulations/results/ and post the table. For each technique that was caught last week and missed this week, find the likely cause and open a draft pull request in example/detections. Commit this week results file on a branch and open a pull request.'

Each run keeps its history in the automation: when it fired, the final table, and a link to the full transcript of every command the agent ran.

Example weekly results

Technique-by-technique results for the week of November 23, 2026, compared with the previous run. Data is illustrative.
TechniqueIDThis weekLast weekTime to alertNote
Password sprayingT1110.003CaughtCaught1m 05s
Additional cloud credentialsT1098.001CaughtMissed3m 40sRule merged Tuesday from last week's draft
Data from cloud storageT1530CaughtCaught6m 12s
Disable or modify cloud logsT1562.008MissedCaughtnoneRule filter excludes trails tagged env=staging since example/detections#301
Credentials in filesT1552.001CaughtCaught2m 30s
Account discovery: cloud accountT1087.004MissedMissednoneAccepted gap, decision saved 2026-11-09
Cloud service discoveryT1526CaughtCaught8m 50sSlowest alert; near the 10m window
Exfiltration to cloud storageT1567.002CaughtCaught4m 02s
Valid accounts: cloud accountsT1078.004CaughtCaught1m 48s
Unix shellT1059.004CaughtCaught0m 37s

Summary line in Slack: 8 of 10 caught (last week 8 of 10). 1 new catch, 1 regression, 1 accepted gap. Draft fix: example/detections#322.

Reading the week-over-week diff

Look at changes first, totals second. Two weeks at eight of ten can hide one fix and one regression, as in the table above.

  • A regression is the most valuable row. The agent reads the commits to your detection and log pipeline repositories since the last run and names the likely cause, here a filter added in a rule pull request.
  • A new catch confirms that last week's fix works end to end on staging, not only in a unit test.
  • Time to alert tells you about pipeline lag. A rule that alerts in 9 minutes on a 10-minute window is a warning.
  • Accepted gaps stay visible but marked, so the team re-decides them on purpose instead of forgetting them.

Results files are committed, so a quarter of runs becomes a coverage history you can show an auditor or a board.

Growing the technique list

Add techniques slowly, one pull request at a time, each with its emulation and cleanup reviewed by the security lead. Good sources are the attacks your own red team agents confirm, findings from your last pen test (see automated pen-test retests), and incidents your blue-team agent triaged.

Ask in Slack when you want something one-off: @nori run only T1562.008 now after merging the fix, and the answer comes back in the thread from a fresh sandbox.

Frequently asked questions

Are scheduled attack simulations safe to run every week?

They run only against staging systems you own and have listed in a written scope file, with test identities and canary resources. Each technique uses the smallest harmless action that creates the right log signal and has a verified cleanup step. Anything outside scope stops the run and goes to a person in Slack.

Why use a fixed technique list instead of new attacks each week?

A fixed list makes the weekly numbers comparable, so a drop means something changed in your detections or logging. New attacks found by red-team agents join the list through a reviewed pull request.

Which SIEM does the agent need?

Any SIEM or log platform with an API the agent can query with a read-only key. You add it as a Nori integration scoped to the security agent.

What happens when a technique is missed?

The table marks it, and if it was caught the week before, the agent looks at recent changes to detection rules and the log pipeline, names the likely cause, and opens a draft pull request. A detection owner reviews and merges it.

How long does a weekly run take?

Mostly the alert windows. Ten techniques with 10 to 15 minute windows take a couple of hours, and the machine sleeps again when the run ends. Nobody has to watch it.

How does this differ from the purple-team loop?

Simulations measure a fixed baseline of MITRE ATT&CK techniques every week. The purple-team loop turns new attacks found by the red agent into detections and replays them. Most teams run both and feed confirmed red findings into the simulation list.

Sources

Read on November 23, 2026.