You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document describes the design of the Generator, the core component of the Security Dataset Generation Platform. For overall platform vision and architecture, see the overview document.
1. Purpose
The Generator takes a Scenario Definition as input and produces raw artifacts:
These artifacts are packaged into a Dataset Bundle with accompanying Ground Truth records, then fed into the QFlow pipeline for validation.
Scenario Definition
|
v
Generator
|
v
Raw Artifacts (PCAP / JSONL / logs)
|
v
Dataset Bundle (+ Ground Truth)
2. Emulation-Centered Approach
The Generator uses an emulation-centered approach: it provisions actual VMs and containers, runs real tools inside them, and captures the resulting traffic and logs.
2.1 Why Emulation
Benefit
Explanation
Data realism
Protocol quirks, OS-specific behaviors, and timing patterns are naturally captured
QFlow compatibility
Generated data passes through the same pipeline as production data without adaptation
Multi-artifact generation
A single emulated scenario naturally produces PCAP, host logs, and application logs simultaneously
Ground truth accuracy
The Orchestrator knows exactly what activity is running at each moment
2.2 Known Challenges and Mitigations
Challenge
Mitigation
Speed
Pre-baked container/VM images with tools pre-installed; parallel execution of independent scenarios
Infrastructure cost
Container-first design (lightweight); VMs only when necessary (Windows/Sysmon)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Generator Design
This document describes the design of the Generator, the core component of the Security Dataset Generation Platform. For overall platform vision and architecture, see the overview document.
1. Purpose
The Generator takes a Scenario Definition as input and produces raw artifacts:
These artifacts are packaged into a Dataset Bundle with accompanying Ground Truth records, then fed into the QFlow pipeline for validation.
2. Emulation-Centered Approach
The Generator uses an emulation-centered approach: it provisions actual VMs and containers, runs real tools inside them, and captures the resulting traffic and logs.
2.1 Why Emulation
2.2 Known Challenges and Mitigations
2.3 Where Simulation Supplements Emulation
Not all data generation benefits from full emulation. The following areas may use simulation (synthetic generation) to supplement:
The boundary is clear: attack behaviors and their surrounding context are always emulated; background volume can be simulated.
3. Language Selection
3.1 Rust vs TypeScript — Per-Task Comparison
3.2 Decision: Rust
The Generator is not a pure orchestrator — it needs to:
Combined with the team's existing Rust expertise, Rust is the appropriate choice.
4. Internal Architecture
The Generator consists of five layers:
4.1 Orchestrator
4.2 Environment Layer
4.3 Activity Layer
4.4 Collection Layer
4.5 Bundling Layer
meta.jsonwith scenario metadata5. Environment Provisioning
5.1 Container-Based Environments
Used for Linux hosts, network infrastructure, and most attack tools.
5.2 VM-Based Environments
Used when Windows or full OS fidelity is required.
5.3 Network Topology
5.4 Encryption Architecture
Each scenario specifies an encryption architecture, which the Environment Layer configures:
6. Per-Artifact Generation Strategy
6.1 PCAP
edge.pcap,inner.pcap)6.2 Sysmon JSONL
6.3 Falco JSONL
6.4 DB Logs
6.5 Cloud Logs
7. Activity Generation
7.1 Normal Behavior Generation
Normal activities run inside containers and are controlled by the Orchestrator.
7.2 Attack Behavior Generation
Attack generation uses a hybrid approach: frameworks as the primary source, supplemented with individual tools where frameworks lack coverage.
Frameworks
Individual Tools by Attack Phase
All attack tools are managed as version-pinned container images to ensure reproducibility.
7.3 Incremental Rollout
The tool set expands incrementally, starting with the easiest to integrate:
Phase 1 — Early
Phase 1 — Late
Phase 2+
7.4 Temporal Mixing
8. Ground Truth Integration
Because the Generator uses emulation, it has precise knowledge of what happens and when.
ground_truth/manifest.jsonlis included in the Dataset BundleExample Ground Truth entry:
{ "timestamp_start": "2026-03-01T06:15:00Z", "timestamp_end": "2026-03-01T06:18:30Z", "type": "attack", "technique": "T1046", "phase": "reconnaissance", "tool": "nmap", "source": "attacker-001", "target": "win-002", "artifacts": ["net/edge.pcap", "host/win-002/sysmon.jsonl"] }9. Scaling Strategy
9.1 Single Machine (Phase 1)
9.2 Multi-Machine (Phase 3)
9.3 Cloud Scaling (Phase 4)
All reactions