Skip to content
Projets

À propos

Generate realistic synthetic security logs for cybersecurity threat hunting training and research

Sécurité et confidentialité

Comment ces chiffres sont mesurés

What you can do

  • Guided scenario authoring — Agent skills turn exercise ideas into validated scenario definitions, environment briefings, reusable packs, and configuration changes.
  • Multi-source evidence generation — Produce Windows, Linux, macOS workstation, EDR, network, IDS, firewall, web, proxy, and email evidence from one scenario.
  • Baseline and storyline modeling — Combine ordinary user and system activity, benign red herrings, and typed attack events in the same dataset.
  • Repeatable generation at scale — Deterministic seeds, resource forecasts, progress reporting, and resumable checkpoints support complex simulations and huge datasets.

Progression mesurée des étoiles

in 24h
+4
in 7 days
+12
in 15 days
+24
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

EvidenceForge

EvidenceForge logo

License: MIT CI Python 3.12+

Generate realistic synthetic security logs for cybersecurity threat hunting training and research.

For background on the project and why we built it, read our announcement: Introducing EvidenceForge: synthetic security logs that don't look (as) fake.

See the deterministic ground-truth contract for authored intent, actual occurrences, source observation, and prevention semantics. Evaluation checks process transitions by execution identity and reports source-specific matching details, timing provenance and explicit diagnostic limits.

What It Does

EvidenceForge creates multi-format security log datasets from YAML scenario definitions. You describe an environment—users, systems, network topology, and normal activity—and an optional attack storyline. EvidenceForge then generates temporally consistent evidence across all selected formats, complete with cross-referenced identities, sessions, processes, timestamps, and network connections.

Every generated bundle includes a human-readable GROUND_TRUTH.md answer key and machine-readable GROUND_TRUTH.json. New bundles also include GROUND_TRUTH_EVENTS.jsonl, which records authored occurrences, their consequences and per-source evidence expectations. Baseline-only scenarios explicitly state that no malicious events were generated.

Key Capabilities

  • Guided scenario authoring — Agent skills turn exercise ideas into validated scenario definitions, environment briefings, reusable packs, and configuration changes.
  • Multi-source evidence generation — Produce Windows, Linux, macOS workstation, EDR, network, IDS, firewall, web, proxy, and email evidence from one scenario.
  • Baseline and storyline modeling — Combine ordinary user and system activity, benign red herrings, and typed attack events in the same dataset.
  • Repeatable generation at scale — Deterministic seeds, resource forecasts, progress reporting, and resumable checkpoints support complex simulations and huge datasets.
  • Validation and quality measurement — Catch schema, cross-reference, topology, and capacity problems before generation, then evaluate schema-5 bundles across five equally weighted quality pillars. Legacy schema-3/4 bundles retain their four-pillar evaluation.
  • Reusable environment modeling — Split scenarios with YAML includes, compose versioned industry or organization packs, and apply project-local configuration overlays.

What Makes EvidenceForge Different

Most synthetic log generators create independent rows or replay isolated templates. EvidenceForge models activities first, then renders the evidence those activities would leave across different systems and sensors.

  • Correlated evidence, not independent rows. A logon, process, file operation, or connection retains the same identities and relationships everywhere it is observed, enabling realistic pivots between endpoint, identity, network, and application sources.
  • Causal activity, not keyword matching. DNS lookups precede connections, Kerberos tickets precede domain logons, and lifecycle endings follow their beginnings. Required supporting evidence is generated automatically instead of being hand-authored as disconnected events.
  • Behavioral and temporal realism. Bursty user activity, periodic system traffic with jitter, day-of-week variation, role-aware services, and benign anomalies create the texture analysts expect from real environments.
  • Observation-aware output. Sensor placement, network direction, collection profiles, source clocks, and coherent visibility gaps determine what each source can actually observe.
  • Source-native evidence. Each output uses the identities, fields, ordering, and lifecycle conventions of the source it represents rather than projecting one generic event schema into every format.
  • Creative authoring, deterministic rendering. Agent skills help research and design scenarios, while the generation engine makes no LLM calls. The same scenario, seed, formats, and version reproduce the same dataset without API costs or model variability.

What's New in 3.0.0rc4 (Release Candidate)

EvidenceForge 3.0 adds macOS workstations as simulated hosts and introduces EvidenceForge Studio, a desktop application for creating and reviewing synthetic security datasets.

  • Simulate macOS alongside Windows and Linux. Include modeled macOS 27 arm64 workstations in the same scenario as Windows and Linux systems. Mac hosts can produce Endpoint Security process and selected file events, selected Unified Log messages, and interactive shell history, correlated with other endpoint and network evidence. You can generate these datasets from any supported host platform. See the macOS simulation guide.
  • Build exercises in EvidenceForge Studio. Author and validate scenarios, build reusable environment packs, generate logs, and review evaluation results in one desktop application. Studio ships with five example scenarios you can run or duplicate into your own project. The CLI and agent-skill workflows remain supported.
  • Visualize scenario and organization pack networks in Studio. Use the interactive diagram to inspect network topology, routes, sensor coverage, firewall rules, and NAT. We used the visualizer to find and fix network configuration issues in the bundled organization packs and example scenarios.
  • Check generated evidence against ground truth. New bundles record authored occurrences, their consequences, and what each log source is expected to show. The new Ground Truth Agreement score checks those expectations, and eforge eval can process complete datasets within a configurable memory budget.

Studio installers are available for Apple Silicon macOS, Ubuntu 24.04 Linux on ARM64 and x86_64, and Windows 11 x86_64. Each bundles Python and the EvidenceForge engine. Install Codex separately for assisted authoring.

What's New in 2.0

  • Greater realism across sources. Endpoint, identity, network, application, and IDS evidence now agrees more closely on actors, credentials, processes, timing, network sessions, artifacts, and lifecycle boundaries. Analysts can follow investigative pivots with fewer synthetic contradictions and more source-native behavior.

  • Full cross-platform SMB2/3 activity. Model stateful file-share activity across Windows and Linux clients and Windows or Samba servers, including storage topology, authentication, mappings, mounts, access controls, persistent sessions, and file operations. Correlated Windows Security, EDR, Samba audit, network traffic, and Zeek smb_mapping, smb_files, and files logs provide complete SMB investigations instead of inferred port 445 activity.

  • Resumable large-scale generation. Automatic incremental checkpoints, graceful suspension, integrity verification, and compatibility-aware recovery make long or multi-week runs easier to operate. Interrupted jobs can resume safely without starting over, while improved progress reporting, resource forecasting, and performance make large datasets more practical.

  • Reusable environment packs. Industry packs capture sector-specific applications, roles, traffic, and activity patterns, while organization packs define a consistent environment, including its identities, assets, services, storage, and background noise. Teams can share these packs, and reusing an organization pack across scenarios makes the resulting datasets look like different incidents collected from the same real environment.

  • Composable Scenario 2.0 environments. Scenarios can combine reusable packs with scenario-specific content and nested YAML includes. Users can separate stable organizational context from individual storylines, customize only what an exercise requires, and avoid rebuilding the same environment for every dataset.

  • Self-describing output bundles. Every generated bundle includes its authoritative resolved scenario and generation manifest, recording the effective composition, formats, seed, digests, and provenance. Bundles can be evaluated without separately locating the original scenario and retain the information needed to understand or reproduce the run.

  • Faster, clearer scenario authoring. Focused eforge schema commands provide exact installed-version field definitions and minimal examples, while runtime inventories expose valid roles, personas, formats, and IDS signatures. Grouped validation diagnostics and dedicated agent skills help authors find and repair the relevant object without navigating the entire scenario schema.

  • Earlier detection of invisible or impossible behavior. Validation now considers deployed sources, host roles, sensor placement, observation settings, collection windows, and selected output formats before generation begins. Blocking evidence gaps fail early, while intentionally valid but entirely invisible activity receives an actionable warning before users commit time and resources to a run.

See the complete changelog for detailed release history.

Supported Log Formats

These tables describe the current source checkout. Published installers contain the capabilities of their release; consult its release notes and eforge info formats --json. The OS being simulated is independent of the computer running EvidenceForge or Studio.

Host logs by simulated operating system

Simulated OS Available host formats Scope
Windows workstations and servers Windows Security (windows_event_security), Sysmon (windows_event_sysmon), eCAR (ecar) Authentication, process and endpoint activity; Windows-specific registry, module and service evidence where modeled.
Linux workstations and servers Linux syslog (syslog), Bash history (bash_history), eCAR (ecar) Role-aware authentication, sessions, services, package/scheduler/maintenance activity, interactive Bash and endpoint evidence.
macOS 27 arm64 workstations Endpoint Security (macos_endpoint_security), Unified Log (macos_unified_log), zsh history (zsh_history), explicit interactive Bash history (bash_history), eCAR (ecar) Qualified v11 process and bounded file operations; selected workspace, policy-refusal and SSH authentication messages. See Mac scope and limits.

Host formats stay on their owning platform: a Mac client contacting a Windows server can leave Windows evidence on the server, alongside its own Mac and network evidence. eCAR families vary by platform; selecting eCAR on Linux or macOS does not create Windows registry/module telemetry. History requires a modeled interactive shell. macOS 26 and other unqualified Mac targets are not currently admitted for generation.

Network sensors and control points

These observe eligible traffic from any simulated OS; they are not additional endpoint OSes.

Source Available formats Deployment requirement
Zeek 16 JSON log types: conn, dhcp, dns, files, http, ntp, ocsp, packet_filter, pe, reporter, smb_files, smb_mapping, smtp, ssl, weird and x509 A configured network sensor with appropriate visibility. Each protocol needs matching modeled activity.
Snort/Suricata IDS Fast-format correlated alerts (snort_alert) A configured IDS sensor and eligible signatures/network evidence.
Cisco ASA firewall Connection, teardown, deny, NAT and threat-detection syslog (cisco_asa) A configured firewall control point; traffic visibility and policy determine its evidence.

Application/server logs and artifacts

Source Available output Where it is produced
Web server Apache/Nginx combined text or target-specific JSON (web_access) A Windows/Linux host with the web_server role. Clients may use any supported OS.
Forward proxy Extended combined text, SOF-ELK® combined text or Splunk-compatible JSON (proxy_access) A Windows/Linux host with the forward_proxy role and configured proxy routing.
Email Optional RFC 5322 .eml artifacts and manifest, correlated SMTP/network evidence Configured email routes and authored/background messages; artifacts are separate from log-format selection.

Selecting a format does not create every source or guarantee a file. Deployment, roles, activity, collection windows and sensor placement determine what is actually emitted.

The default target uses SIEM-neutral output. --target sof-elk produces layouts and source-native variants suitable for SOF-ELK, including Snare Windows events and year-partitioned RFC3164 syslog. --target splunk produces Splunk-friendly Windows event streams and JSON variants for web and proxy access logs. Formats whose representation does not need to change remain identical across targets.

See the Evidence Formats Reference for field-level details and the Output Target Ingest Guides for target-specific ingestion and parser support.

Modeled macOS workstations

The macOS 27 arm64 model includes qualified process startup, selected helper families, bounded native filesystem telemetry, interactive history and selected Unified Log messages. See Simulating macOS workstations for available sources, examples, coverage interpretation and explicit limits.

Quick Start

For the packaged desktop app, follow the Studio guide. Installers bundle the application and Python runtime; no uv, Node.js/npm, or Rust/Cargo is needed. Codex is installed separately for assisted authoring, and platform runtime requirements are covered in the Studio guide.

To run Studio from this repository, follow the source setup instructions first. Both uv run eforge-desktop and uv run eforge-studio start Tauri's development build and require Node.js/npm, Rust/Cargo, and your platform's native build tools in addition to Python and uv. These requirements apply even if you only want to use Studio without changing its code.

The commands below cover the traditional source-checkout CLI and chat-skill workflow. The CLI alone does not require Studio's Node.js/npm or Rust/Cargo toolchains.

[!IMPORTANT] Windows Studio: Keep active workspaces and generated runs on local NTFS storage, such as %USERPROFILE%\EvidenceForge; OneDrive and other cloud-synced locations are unsupported. See storage guidance.

macOS and Linux are the primary supported host platforms. Native Windows runs Python directly, without WSL; generation output, checkpoint workspaces, and temporary storage must use local NTFS paths without junctions or other reparse points. Windows checkpoints use native write-through publication; CI validates simulated power-loss recovery, not physical hardware guarantees. See Windows platform details for tested runtimes and filesystem limits.

# Install EvidenceForge from the source checkout
git clone https://github.com/Cisco-Talos/EvidenceForge.git
cd EvidenceForge
uv sync

# Install skills. You can choose either project- or user-level skills, or both

# Install the project-local skills for Claude Code and ChatGPT/Codex
# (for the current directory/project only)
uv run eforge install-skills

# Install the user-level skills for Claude Code and ChatGPT/Codex
# (for all user projects)
uv run eforge install-skills --global

In Claude Code, create a new exercise or try the bundled branch-office scenario:

/eforge scenario
/eforge generate scenarios/branch-office-example/scenario.yaml to ./output
/eforge evaluate ./output

In ChatGPT or Codex, use the corresponding eforge-scenario, eforge-generate, and eforge-evaluate skills.

Checkpoint-enabled runs can be inspected, stopped safely after the current simulated hour, and resumed from another terminal:

uv run eforge checkpoint status ./output
uv run eforge checkpoint verify ./output
uv run eforge checkpoint suspend ./output
uv run eforge generate --output ./output --resume

Agent Skills (Recommended)

EvidenceForge provides skills for the creative and interactive parts of the workflow. They guide scenario and pack authoring, invoke the deterministic CLI when appropriate, interpret results, and help repair problems without adding LLM calls to generation itself.

Workflow Claude Code ChatGPT/Codex Purpose
Scenario authoring /eforge scenario eforge-scenario Create or revise a validated exercise and its environment briefing
Scenario validation /eforge validate eforge-validate Explain validation failures and repair authored scenarios when requested
Log generation /eforge generate eforge-generate Generate, monitor, verify, and troubleshoot an existing scenario
Quality evaluation /eforge evaluate eforge-evaluate Score generated evidence, interpret results, and review realism
Pack discovery and lifecycle /eforge pack eforge-pack Find, inspect, validate, initialize, and copy reusable packs
Industry-pack authoring /eforge industry-pack eforge-industry-pack Create reusable sector-specific personas, applications, traffic, and storage vocabulary
Organization-pack authoring /eforge organization-pack eforge-organization-pack Create reusable users, systems, topology, services, and baseline activity
Pack releases /eforge pack-release eforge-pack-release Build, inspect, import, hydrate, and verify portable .efpack releases
Configuration /eforge config eforge-config Inspect or tailor project-local personas, applications, traffic, and other generator data

By default, uv run eforge install-skills installs both integrations for the current project under .claude/commands/eforge/ and .agents/skills/eforge-*. Use --global for user-wide installation, or select one integration with --agent claude or --agent chatgpt; --agent codex remains an alias for --agent chatgpt.

CLI Reference

For scripted or non-interactive use:

Command Description
eforge generate <scenario.yaml> -o <dir> [--seed N] Forecast resources, then generate logs with 24-hour checkpoints; --seed overrides the scenario seed
eforge checkpoint status <bundle-root> [--verbose|--json] Thoroughly inspect recovery health, compatibility, cursor, and managed storage without resuming
eforge checkpoint verify <bundle-root> [--verbose|--json] Read-only full hydration with phased progress and behavior/runtime drift diagnostics
eforge checkpoint suspend <bundle-root> Ask an active checkpoint-enabled generator to stop safely after its current simulated hour
eforge validate <scenario.yaml> Validate schema and cross-references, and always print a machine-aware memory and disk forecast
eforge resources predict <scenario.yaml> [--destination <dir>] [--checkpoint-hours N] [--json] Predict generated-data size, peak memory, and disk requirements without generating output or running validation
eforge resolve <scenario.yaml> -o <resolved.yaml> [--explain-composition] Compile an authoritative, self-contained scenario without generating logs
eforge pack <command> Discover, author, lock, validate, package, inspect, import, or hydrate industry and organization packs
eforge eval <output_dir> [-s <scenario.yaml>] [--memory-budget-mib 256] [--scratch-dir <directory>] Evaluate quality; new bundles use their adjacent resolved scenario, while legacy bundles require --scenario
eforge info [field] Show installation info, config paths, and data inventories. Pass a dot-path field for a specific value (e.g., eforge info personas). Use --fields to list available fields, --json for machine output.
eforge schema <selector> [--json] Show one focused installed-version authored-scenario contract, such as environment.network_identities or event.email_read.
eforge validate-config Validate config files for cross-reference integrity. Use --json for machine output.
eforge install-skills [--agent all|claude|chatgpt|codex] [--global] Install project-local or user-wide agent skills; defaults to all agents (codex aliases chatgpt)
eforge version Show version

Useful generate flags include --verbose / --debug, --formats / -F, --target default|sof-elk|splunk, --resume, --overwrite, and --checkpoint-hours N. The default checkpoint cadence is 24 simulated hours; 0 disables new checkpoints. validate accepts the same checkpoint-cadence option so its resource forecast reflects the intended run.

resources predict uses the same calibrated forecast as validation and generation. Run from the project root to use its packs and overlays; --project-root explicitly overrides that working-directory context. Use --destination to check the filesystem where output will be saved. Its JSON report includes estimate ranges, resource pressure, and a machine snapshot. Prediction availability does not certify scenario validity; validate separately.

Resume defaults to --resume-policy compatible. It attempts environment drift such as Python, dependency, OS, and architecture changes, while preserving hard integrity, state-schema, immutable run-input, and fresh OOB-authorization boundaries. Material or unknown EvidenceForge behavior changes require interactive confirmation (default no) or explicit --resume-policy attempt after read-only verification; exact policy retains the byte-equivalent fingerprint requirement.

See Generation Checkpoints and Resume for recovery and filesystem-safety details, and the Output Target Ingest Guides for target-specific layouts and parser support.

All commands accept --help and -h for usage information.

Customizing Configuration

EvidenceForge uses a large data-driven configuration catalog for DNS, applications, personas, traffic profiles, source behavior, timing, and more. Customize it through a project-local overlay at .eforge/config/; project changes remain separate from the installed defaults and survive package upgrades.

The recommended approach is the agent skill (/eforge config in Claude Code or eforge-config in ChatGPT/Codex):

/eforge config inspect my project overlay and explain which defaults it changes

For the overlay workflow, manual editing, and cross-file dependencies, see Customizing Configuration.

Reusable Industry and Organization Packs

Scenarios can compose exact-version industry or organization packs while still supporting monolithic authoring. Industry packs provide reusable sector-specific behavior and vocabulary; organization packs can provide a concrete environment and baseline activity. The skills are the recommended way to discover, select, author, and release packs.

Bundled industry packs:

  • finance v1.0.0
  • healthcare v1.0.0
  • technology v1.0.0

Bundled fictional organization packs:

  • metrolink-specialty-care v1.0.0
  • northstar-health v1.0.0 and v1.1.0; v1.1.0 adds cross-platform SMB storage

Use /eforge pack or eforge-pack to inspect the available inventory. For the underlying composition and lifecycle contract, see Reusable scenario packs.

Data Quality Evaluation

Input validation and evidence evaluation are separate. validate-config, validate, resolve, and generate preflight packaged contracts; eval checks emitted records. Acceptance requires 100% schema compliance and objective record correctness. Realism diagnostics do not relax these gates. Existing scenario/overlay/pack interfaces remain supported; rules and thresholds are package-owned. See record validation.

EvidenceForge can evaluate a generated bundle across five complementary quality pillars for schema-5 bundles:

Pillar Weight What it measures
Parseability 20% Source conformance and format constraints
Plausibility 20% Values, cross-source agreement, distributions, diversity, and anomaly rates
Causality 20% Event presence, ordering, authored-intent reconciliation, and investigative pivots
Timing 20% Attack-chain timing, burstiness, regularity, diurnal patterns, and event rates
Ground Truth Agreement 20% Deterministic action/source expectations compared with actual evidence (95% minimum)

Applicable hard gates must pass; aspirational targets show where quality can improve without turning every shortfall into a failure. Measures that do not apply to a dataset are reported as unavailable rather than receiving an automatic perfect score. Ground Truth Agreement explicitly scores legitimate zero-check actions at 100%, with scope and counts. Legacy schema-3/4 bundles retain four-pillar evaluation and original weighting. See ground-truth contracts.

uv run eforge eval ./output

Development

EvidenceForge Studio is the local Tauri desktop app for scenario authoring and generation jobs. Native developer builds target Apple Silicon macOS, Ubuntu 24.04 ARM64/x86_64 and Windows 11 x86_64. Linux installers remain previews pending desktop acceptance. The Windows NSIS installer is published unsigned, with remaining Windows 11 desktop acceptance checks tracked in TODO.md. Engine and CLI platform support is described above.

See Contributing for all build/test environment setup, source launches, installer builds, test tiers, coding conventions and external-parser validation.

Documentation

Contributing

Before opening a pull request, please open an issue describing the problem or proposed change and wait for the approach to be discussed with the maintainers. This helps avoid work on changes that do not fit the project direction; pull requests submitted without prior agreement may be closed. Once an approach is agreed, follow CONTRIBUTING.md for development, testing, and submission requirements.

Acknowledgements

SOF-ELK® is a registered trademark of Lewes Technology Consulting, LLC. Used with permission.

License

MIT License - Copyright (c) 2026 Cisco Systems, Inc.

Explorer des projets similaires

Chargement…