Skip to content

Datasets

PIDSMaker supports the public datasets most used in research on graph-based intrusion detection, of two kinds: provenance datasets, the system events recorded inside hosts, and network datasets, the authentications or flows between the hosts of a network. Every system runs on both kinds, with a few exceptions. This page describes each dataset, its attack scenarios and its ground truth.

Overview

Nodes and events are counted in the database of each dataset, before graph construction. Size is the size of its Parquet files, downloaded with pidsmaker download and read in place.

Provenance

Nodes are processes, files and netflows, edges are system events, and the ground truth lists the attack nodes. The preprocessed datasets are downloaded from Hugging Face.

Dataset OS Attacks Nodes Events Size (GB)
CADETS_E3 FreeBSD 3 2.68M 36.5M 1.3
THEIA_E3 Linux 2 1.26M 44.4M 0.71
CLEARSCOPE_E3 Android 1 369K 18.3M 0.51
FIVEDIRECTIONS_E3 Windows 2 1.38M 78.9M 2.3
TRACE_E3 Linux 3 44.5M 284M 9.4
CADETS_E5 FreeBSD 2 15.2M 1.08B 32.9
THEIA_E5 Linux 1 2.29M 141M 3.9
CLEARSCOPE_E5 Android 2 501K 199M 5.0
FIVEDIRECTIONS_E5 Windows 4 18.8M 1.09B 30.3
TRACE_E5 Linux 1 72.3M 2.64B 74.3
optc_h201 Windows 1 5.27M 38.2M 1.6
optc_h501 Windows 1 3.96M 28.0M 1.2
optc_h051 Windows 1 4.62M 31.6M 1.3
ATLASV2_EDR Windows 10 664K 2.70M 0.16
CARBANAKV2_EDR Windows + Linux 1 4.15M 17.1M 1.1
Share of each node type
Dataset Processes Files Netflows
CADETS_E3 8.4% 85.9% 5.8%
THEIA_E3 22.1% 63.1% 14.8%
CLEARSCOPE_E3 3.4% 20.8% 75.8%
FIVEDIRECTIONS_E3 37.7% 53.3% 9.0%
TRACE_E3 88.4% 2.4% 9.1%
CADETS_E5 43.2% 55.4% 1.4%
THEIA_E5 55.3% 43.1% 1.6%
CLEARSCOPE_E5 14.6% 64.7% 20.7%
FIVEDIRECTIONS_E5 88.5% 5.3% 6.2%
TRACE_E5 74.5% 10.1% 15.4%
optc_h201 1.9% 9.0% 89.1%
optc_h501 1.8% 8.7% 89.5%
optc_h051 1.1% 8.3% 90.7%
ATLASV2_EDR 10.1% 85.8% 4.1%
CARBANAKV2_EDR 3.2% 94.5% 2.3%

Network

Nodes are hosts, edges are authentications or network flows, and malicious events are labelled in the database. The databases are built from the preprocessed files of LARES, and downloaded like the provenance datasets.

Dataset Events Hosts Malicious events Size (GB)
LANL 49.3M NTLM authentications 15,610 705 0.40
OPTC_NET 1.86B network flows (1.12B FLOW START) 625 5,165 (1,015 FLOW START)¹ 11.8

¹ With the labels of LARES propagated to all the records of malicious flows (default); 2,370 (115 FLOW START) with the labels of LARES as they are (see OPTC_NET).

Provenance datasets

Provenance datasets record the system events of one or several hosts, captured by an audit framework or by EDR telemetry, during benign activity and attack campaigns. Their ground truth lists the nodes involved in each attack (see Ground truth).

DARPA TC

The DARPA Transparent Computing program produced benchmark datasets for evaluating provenance-based security systems.

Engagement 3 (E3), April 2018

Official E3 description

CADETS_E3

FreeBSD host with Nginx server exploitation.

Attack id Duration Description
0 49 min Nginx exploited to deploy Drakon loader with root escalation. Netrecon executed after C2 connection, followed by failed libdrakon injection into sshd. Host crashed with kernel panic.
1 40 min Nginx re-exploited to deploy Drakon and MicroAPT implants under random names (tmux, minions, sendmail). Privilege escalation failed; MicroAPT ran unprivileged for port scanning.
2 13 min Nginx re-exploited to deploy new Drakon implant with root privileges. Multiple failed sshd injection attempts using renamed libdrakon copies.
pidsmaker SYSTEM CADETS_E3
THEIA_E3

Ubuntu host with Firefox exploitation.

Attack id Duration Description
0 50 min Malicious Firefox extension dropped Drakon implant. MicroAPT staged under /var/log/mail, connected to C2 for control and network scanning.
1 30 min Firefox exploited to drop Drakon implant as /home/admin/clean with root privileges, then copied as profile. Both connected to C2 server.
pidsmaker SYSTEM THEIA_E3
CLEARSCOPE_E3

Android device with Firefox exploitation.

Attack id Duration Description
0 54 min Firefox exploited via malicious website. Drakon implant installed and elevated, but module loading failed. Persistent C2 connection maintained.
pidsmaker SYSTEM CLEARSCOPE_E3
TRACE_E3

Ubuntu host with Firefox and Pine e-mail client exploitation.

Attack id Duration Description
0 1h25 Firefox exploited through a malicious ad on www.allstate.com after several crashes, loading Drakon in memory. A Drakon implant was written to /home/admin/cache and elevated to a root C2 shell; libdrakon was staged under /var/log/xtmp for later use. Connection lost when the operator console crashed.
1 15 min Phishing e-mail exploiting a backdoored Pine client that auto-runs attachments. A first tcexec executable failed on a missing library, so MicroAPT was re-sent as tcexec and ran when the e-mail was opened. It connected to C2 and port-scanned the network; attempts to spawn a shell failed.
2 12 min Drakon implant dropped to /tmp/ztmp via the malicious password-manager Firefox extension and run with user privileges (labelled Pine Backdoor w/ Drakon Dropper in the DARPA report). Injection into sshd and privilege escalation failed, so MicroAPT was executed from disk: it connected to C2, port-scanned the network (no open ports found) and ran netrecon.
pidsmaker SYSTEM TRACE_E3
FIVEDIRECTIONS_E3

Windows 10 host with Firefox and Excel macro exploitation.

Attack id Duration Description
0 42 min Firefox exploited by browsing to www.cnpc.com.cn after repeated crashes, loading Drakon in memory with a C2 connection. Netrecon module run and its output exfiltrated, then several documents (.rtf, .docx, .xlsx) read and exfiltrated from the user's documents directory. Access lost when the netrecon UDP exfiltration failed.
1 37 min Phishing e-mail with a BoviaBenefitsOE.xlsm attachment carrying an encoded PowerShell command. The macro did not fire automatically, so the user ran the command manually: it downloaded update.ps1 from 208.75.117.5 and opened a powercat reverse shell, which the attacker used to read the hosts file and personal files.
pidsmaker SYSTEM FIVEDIRECTIONS_E3

Engagement 5 (E5), May 2019

Official E5 description

CADETS_E5

FreeBSD host with Nginx server exploitation.

Attack id Duration Description
0 41 min Nginx exploited with a malformed HTTP POST on the second attempt, loading Drakon APT in memory with a C2 connection to 4.21.51.250:80. The attacker retrieved the hostname and username before the connection was unexpectedly lost.
1 5h18 Nginx re-exploited on both CADETS hosts. A first attempt called back to the wrong C2 listener, so C2 was moved to a pivot host (128.55.12.233:80). Drakon ran hostname and whoami and exfiltrated /etc/passwd from both hosts; the C2 connections were left open for the rest of the day.
pidsmaker SYSTEM CADETS_E5
THEIA_E5

Ubuntu host with Firefox exploitation.

Attack id Duration Description
0 19 min Firefox exploited via malicious website. Root gained with BinFmt-Elevate, Drakon shellcode injected into sshd, persistence file created, C2 access maintained.
pidsmaker SYSTEM THEIA_E5
CLEARSCOPE_E5

Android device with APK-based attacks.

Attack id Duration Description
0 41 min Malicious appstarter APK loaded MicroAPT. Elevate driver installed for privilege escalation. Sensitive databases exfiltrated (calllog, calendar, SMS) and screenshot captured.
1 8 min MicroAPT deployed directly via adb shell after APK dropper failed. Privilege escalation via BinFmt Elevate driver, then file exfiltration.
pidsmaker SYSTEM CLEARSCOPE_E5
TRACE_E5

Ubuntu host with Firefox exploitation. A second attempt on May 17 with the Azazel LD_PRELOAD rootkit never established C2 and is not labelled.

Attack id Duration Description
0 1h28 Firefox exploited via the hijacked www.yale.edu website, Drakon APT connected to C2. Root gained with the BinFmt-Elevate driver (installed beforehand as benign activity), then Drakon injected into sshd with the new ptrace-based inject2 technique, opening further C2 connections used to read /etc/passwd and /etc/shadow.
pidsmaker SYSTEM TRACE_E5
FIVEDIRECTIONS_E5

Windows 10 hosts with Firefox exploitation.

Attack id Duration Description
0 21 min Firefox backdoor used to download ctfhost2.exe through the Background Intelligent Transfer Service (BITS). MicroAPT executed and connected to C2 at 113.165.213.253:80. Privilege escalation with several drivers failed because driver signature enforcement was re-enabled after a reboot.
1 32 min Firefox exploited via the hijacked www.usdoj.gov website, loading Drakon APT in memory. Privileges escalated to SYSTEM with the elevate driver, then the Copykatz module (Mimikatz) harvested cached credentials alongside whoami, hostname and sysinfo recon. The WMI step failed due to a target configuration issue.
2 11 min Firefox backdoor triggered over DNS to xx--ls8h.com; Drakon APT downloaded, executed and connected to C2. Privileges escalated to SYSTEM with the File System Filter elevate driver (triggered by opening a non-existent file), then host, network and passwd files exfiltrated.
3 6 min Follow-up to the Application Verifier persistence set up on May 16 (an unused date), which injects drakon.dll into every new Firefox process. A C2 connection from a fresh Firefox launch was used to escalate to SYSTEM with the File System Filter driver and exfiltrate the hosts file.
pidsmaker SYSTEM FIVEDIRECTIONS_E5

DARPA OpTC

Windows enterprise environment with realistic APT scenarios. Official repository

optc_h201

Attack id Duration Description
0 1h58 PowerShell Empire stager executed with elevated access. Mimikatz used for credential theft, registry persistence set, recon performed, then pivoted to other hosts via WMI.
pidsmaker SYSTEM optc_h201

optc_h501

Attack id Duration Description
0 5h01 Phishing email launched PowerShell Empire stager. Escalated via DeathStar, WMI persistence established, RDP tunneling and file exfiltration performed, then pivoted to other hosts.
pidsmaker SYSTEM optc_h501

optc_h051

Attack id Duration Description
0 3h56 Malicious Notepad++ update installed Meterpreter. Escalated to SYSTEM, migrated into LSASS for Mimikatz credential theft, established persistence, timestomped files, added admin account for RDP.
pidsmaker SYSTEM optc_h051

ATLASv2

Paper · Two Windows 7 hosts (h1, h2) attacked from Kali Linux. The dataset covers four benign days followed by one attack day on which all ten scenarios are executed. The provided data is Carbon Black Cloud EDR telemetry; the original dataset also includes Sysmon, Windows Security Auditing, Firefox, and DNS logs.

ATLASV2_EDR

Attack id Duration Description
s1 40 min CVE-2015-5122 Adobe Flash exploit via phishing email on h1. Meterpreter shell obtained, payload.exe dropped, PDFs exfiltrated over HTTPS.
s2 35 min CVE-2015-3105 Adobe Flash exploit via phishing email on h1. Meterpreter shell, payload drop, and HTTPS PDF exfiltration.
s3 45 min CVE-2017-11882 Microsoft Word memory corruption exploit via malicious attachment on h1. Meterpreter obtained, PDFs exfiltrated.
s4 44 min CVE-2017-0199 Microsoft Word OLE2 link exploit via malicious document on h1. Meterpreter shell, payload drop, HTTPS exfiltration.
m1 1h50 CVE-2015-5122 Adobe Flash exploit on h1 via phishing. h1's SimpleHTTP server poisoned to deliver payload to h2. PDFs exfiltrated from both hosts.
m2 30 min CVE-2015-5119 Adobe Flash exploit on h1 with lateral movement to h2 via SimpleHTTP server poisoning. PDFs exfiltrated from both hosts.
m3 34 min CVE-2015-3105 Adobe Flash exploit on h1 with lateral movement to h2 via poisoned SimpleHTTP server. PDFs exfiltrated.
m4 33 min CVE-2018-8174 Microsoft Word VBScript engine exploit on h1 with lateral movement to h2 via HTTP server. PDFs exfiltrated from both hosts.
m5 30 min CVE-2017-0199 Microsoft Word OLE2 link exploit on h1 with lateral movement to h2. PDFs exfiltrated from both hosts.
m6 33 min CVE-2017-11882 Microsoft Word memory corruption exploit on h1 with lateral movement to h2 via poisoned HTTP server. PDFs exfiltrated.
pidsmaker SYSTEM ATLASV2_EDR

CARBANAKv2

Paper · Multi-host testbed comprising four Windows 10 workstations (h1–h4), a CentOS 7 Linux fileserver (fs), and a Windows 10 Server AD domain controller (dc). Benign activity was generated by four graduate students using the machines as their primary workstations. The provided data is Carbon Black Cloud EDR telemetry.

CARBANAKV2_EDR

Attack id Duration Description
0 10 days MITRE Carbanak APT emulation. Attacker compromises h1 (Apr 30) via WScript-based Carbanak implant (TransBaseOdbcDriver.js). Pivots to Linux fileserver fs and then Windows AD domain controller dc via lateral movement (May 2). Subsequently spreads to h2, h3, and h4 (May 7–10), establishing persistence across all hosts.
pidsmaker SYSTEM CARBANAKV2_EDR

PROVENANCE_BENIGN

A Linux audit corpus used only to pretrain SPIDER. It has no ground truth, so it can't be used to evaluate detection. It is downloaded like the other datasets (pidsmaker download PROVENANCE_BENIGN, 2 MB).

It is built on a Linux machine: auditd records the system calls of 21 scripted workloads (from core utilities, compilers and package managers to web servers, databases, browsers and attack-like commands), the logs are parsed into entities and edges, and create_database_provenance_benign.py loads them into a PROVENANCE_BENIGN database with the DARPA TC schema. The collection scripts are on the spider branch, and their README describes each step.

The dates of PROVENANCE_BENIGN in DATASET_DEFAULT_CONFIG (pidsmaker/config/config.py) are those of the corpus used in the paper (2026-03-16, UTC). Set them to the days of your own capture.

Network datasets

Network datasets record the communications between the hosts of an enterprise network, authentications or flows, during benign activity and a red team campaign. Their single node type is the host, and their events carry attributes (logon types, ports, protocols, sizes...) that become edge features (batching.edge_features=edge_attrs). Both are described by a schema in pidsmaker/config/schemas.py, and both are built from the preprocessed files of LARES (see Building datasets from scratch).

Malicious events are labelled in the database (label column), so the ground truth is event-level: the evaluation labels each edge with its events. Models are trained and validated on benign events only: construction.benign_training (on by default) drops the malicious events of the train and val dates, which has no effect when they have none (as for LANL and OPTC_NET).

LANL

The "Comprehensive, Multi-Source Cyber-Security Events" dataset of the Los Alamos National Laboratory: 58 days of authentications between the computers of the LANL network, with the red team events of a penetration test. As in Euler, Argus, Jbeil and LARES, only NTLM authentications are kept. Edges are authentications, typed by their orientation (LogOn, LogOff, ...), with the logon type, authentication type, success and kinds of source and destination users as attributes.

LANL timestamps are seconds from an undisclosed origin, mapped to UTC dates such that the first red team event happens on 2015-01-03. Models are trained on 2015-01-01, validated on 2015-01-02 and tested from 2015-01-03 to 2015-01-30. The root source of the attack is host 9660.

pidsmaker SYSTEM LANL

OPTC_NET

The network flows of all the hosts of DARPA OpTC (eCAR FLOW START and FLOW MESSAGE events), from 2019-09-16 to 2019-09-25. Edges are flows, with the source and destination ports (grouped by service and range), the protocol and the size of messages as attributes. As in LARES and Argus, only FLOW START events are used by default (construction.operations). Models are trained from 2019-09-16 to 2019-09-21, validated on 2019-09-22 and tested from 2019-09-23 to 2019-09-25 (malicious flows happen on 2019-09-23 and 2019-09-24). The root sources of the attacks are hosts 201, 402 and 501.

LARES labels only some of the records of each malicious flow (a flow has FLOW START and FLOW MESSAGE events, recorded by the hosts at both ends). By default, the database labels malicious all the records of a malicious flow (same 5-tuple in the same LARES file): 1,015 malicious FLOW START events instead of the 115 of LARES. The labels of LARES are kept by building the database with --no_label_propagation (see Building datasets from scratch, tab OpTC flows)). Euler and Argus use another preprocessing and labelling of OpTC (IP addresses as nodes, including external hosts, and all the events of compromised hosts as malicious), so their results on OpTC are not comparable.

99.9% of the FLOW START events are NetBIOS, LLMNR and SSDP broadcasts and multicasts and ICMPv6 neighbor discovery, which link each host to most hosts in every time window. They are dropped by default (construction.drop_noise_events, which has no effect on other datasets); set construction.drop_noise_events=False to keep them, as LARES does. The OpTC hyperparameters of LARES (30 min windows, α = 5, β = 30) and the 6 min snapshots of Argus are loaded with --tuned (config/tuned_baselines/optc_net/).

pidsmaker SYSTEM OPTC_NET

Train, validation and test splits

Each dataset is split by day, as defined by train_dates, val_dates and test_dates in DATASET_DEFAULT_CONFIG (pidsmaker/config/config.py):

  • Train days: benign activity only, used to train the model.
  • Validation days: benign activity only, used to pick the detection threshold.
  • Test days: benign activity and attacks, used for evaluation.

On datasets with labelled events, construction.benign_training enforces it by dropping the malicious events of the train and validation days.

The events of each day are then cut into time-window graphs during construction.

Ground truth

The two kinds of datasets are labelled differently:

  • Provenance datasets come with the list of the nodes involved in each attack, in files under ground_truth/. PIDSMaker ships several labelings of the DARPA TC attacks (orthrus, reapr, threatrace).
  • Network datasets label their events in the database. Malicious nodes are the endpoints of malicious events.

See Ground truth for how they are selected and how labels are assigned to nodes, edges and time windows.

Adding custom datasets

To add a new dataset, define its configuration in pidsmaker/config/config.py:

DATASET_DEFAULT_CONFIG = {
    "MY_DATASET": {
        "raw_dir": "",
        "database": "my_database_name",
        "database_all_file": "my_database_name",
        "schema": "darpa_tc", # Format of the database: node types, edge types and event attributes (in pidsmaker/config/schemas.py)
        "timezone": "US/Eastern", # Timezone of the dates below
        "start_date": "2018-04-02", # Start date (Inclusive)
        "end_date": "2018-04-14", # End date (Exclusive)
        "train_dates": [
            # Dates/graphs used for training (i.e., benign activity)
            "2018-04-02",
            "2018-04-03",
            "2018-04-04",
            "2018-04-05",
            "2018-04-07",
            "2018-04-08",
            "2018-04-09",
        ],
        "val_dates": [
            # Dates/graphs used for validation/threshold calibration (i.e., benign activity)
            "2018-04-10"
        ],
        "test_dates": [
            # Dates/graphs used for testing (i.e., contains both benign and attack activity)
            "2018-04-06",
            "2018-04-11",
            "2018-04-12",
            "2018-04-13"
        ],
        "unused_dates": [
            # Any unused dates/graphs that should be ignored
             "2018-04-14"
        ],
        "ground_truth_relative_path": ["MY_DATASET/labels.csv"],
        "attack_to_time_window": [
            ["MY_DATASET/labels.csv", "2018-04-11 10:00:00", "2018-04-12 12:00:00"],
        ],
    },
}

schema names a dataset schema of SCHEMAS in pidsmaker/config/schemas.py (darpa_tc, optc, carbon_black_edr, lanl_auth, optc_flows), from which the numbers of node and edge types are derived. A dataset in a new format needs a new schema, which describes the database tables of its node types, its edge types and the attributes of its events.

Then follow the database creation guide to load your data, and add its ground truth under ground_truth/ (or, with a schema that has a label column, label its events in the database, as the network datasets). A dataset with labelled events, like LANL, sets ground_truth_relative_path and attack_to_time_window to empty lists, and can set root_attack_nodes, the root sources of its attacks used by the host-centered evaluation.