Labs

Sample data and replay

Section: Labs · about 2–4 hours · last checked 2026-11-26

You can practise searching without generating attack activity yourself. Several projects publish recorded events. Replay means loading those recordings into your SIEM.

Public datasets#

Source What it holds Good for
Security-Datasets Recorded events organised around attacker behaviour Hunting and testing a hypothesis
Splunk attack_data Datasets used to test Splunk's detections, with replay scripts Checking whether a rule fires
Boss of the SOC v3 A large pre-indexed Splunk dataset from a competition Investigation practice
EVTX-ATTACK-SAMPLES Windows event log files grouped by tactic Reading Windows events

Check each project's licence and README before use. Some are large, and some are no longer updated. Folder names may use older ATT&CK tactic names.

Loading data safely#

  1. Download from the project's own page into a new, empty folder.
  2. Treat the files as data. Do not run scripts from a download without reading them.
  3. Load them into a separate index or data stream, such as lab_replay, so recorded events never mix with your own.
  4. Count what arrived and compare it with what the project says.
  5. Set your search time range to the original event dates. "Last 24 hours" will usually show nothing.

You can read an .evtx file directly, without a SIEM:

PowerShell
Get-WinEvent -Path .\sample.evtx -MaxEvents 20 |
  Format-List TimeCreated, Id, ProviderName, Message

What replay cannot tell you#

  • It proves your logic matches that recording, not that your own systems produce the same fields.
  • Field names depend on how the data was collected and parsed.
  • Recordings often contain little normal activity, so a rule that looks precise may be noisy in real use.
  • Ingestion behaviour and delay are not reproduced.

Use replay to develop, and then test with your own harmless activity in the minimal detection lab.

An exercise#

Pick one dataset about one technique. Before looking at any provided answer:

  1. Write what you expect to see.
  2. Find the events.
  3. Write a query that finds them without relying on a file name or address.
  4. Note what the same query might match by accident.

Labs overview

View this page on GitHub