Skip to content

TIDIR Target System Architecture: Cyber Defence Control System ​

Tier 1: Strategic Architecture · Golden Path Step 3 of 5 · Audience: Enterprise Architects, SecOps Leaders · Normative Status: Normative Architecture
Prerequisites: Step 2: Invariants & Constitution · Next Step: Step 4: Capability Model
Related Views: Conceptual Information Architecture · Detection Engineering Lifecycle


This document defines the target component architecture for TIDIR (Threat Intelligence, Detection, Investigation & Response). TIDIR is architected as an integrated Cyber Defence Control System that governs the bidirectional operational progression:

Exposure⟷Observe⟶Normalise⟶Infer⟶Investigate⟶Decide⟶Actuate⟶Learn⟷Exposure

The TIDIR Reference Architecture Set ​

To translate this conceptual control loop into a practical enterprise target architecture without overburdening a single view, TIDIR is formalised across a modular reference architecture set:

  1. System & Capability Architecture (Level 1): Defines the overarching 4-plane control system topology, cross-domain ownership boundaries, and core capability taxonomy.
  2. Cyber Defence Operations Architecture (Level 2): Details how capabilities are operated to detect, correlate, triage, investigate, and respond to threats across distributed hybrid environments.
  3. Cyber Defence Engineering Architecture (Level 2): Formalises how detection, intelligence, automation, and deception capabilities are engineered, tested, and continuously improved (Detection Engineering Lifecycle).
  4. Conceptual Information Architecture (Level 2): Establishes vendor-neutral semantic definitions for the core information objects—Observations, Context, Findings, Alerts, Cases, Decisions, and Knowledge (Information Architecture).

with deterministic controls wrapped around all probabilistic stages:

  • Exposure Intelligence: Continuous Threat Exposure Management (CTEM) integration, asset criticality scoring, and attack path mapping providing dynamic Bayesian priors, updated continuously by incident reality.
  • Observation: Telemetry & Data Fabric (Layer 1 & 2) collecting raw environmental events and native edge security findings.
  • Normalisation: Open Cybersecurity Schema Framework (OCSF) validation and schema registry mapping.
  • Inference & Threat Estimation: Distributed detection model pairing native edge detections (EDR, NDR, CNAPP, IdP) with central cross-domain correlation and dependency-aware Bayesian risk compounding (Layer 3).
  • Investigation: Bounded hierarchical agent mesh with evidence grounding across entity-finding graphs (Layer 4), retrieving contextual telemetry on-demand.
  • Decision: Universal Incident Decision Directed Acyclic Graph (DAG) recording causal provenance.
  • Actuation & Control: Monotonic fail-closed containment state machines governed by reachability invariants.
  • Feedback & Learning: Continuous Red, Blue, Green Team, and Exposure Management calibration loops.
  • Resilience: Four-tier graceful degradation, local NVMe spooling, and air-gapped continuity modes.

TIP

OPERATOR QUICK-TAKE: The 4 Planes in 30 Seconds

  • 1. Telemetry Data Plane (Untrusted Ingest): Ingests raw endpoint, network, and cloud telemetry alongside native edge findings (EDR, NDR, CNAPP), standardises them into open OCSF schemas, and stores them across hot search indices (ClickHouse) and columnar lakehouses (Iceberg/Parquet).
  • 2. Analytical & Reasoning Plane (Advisory Only): Evaluates streaming detection queries, correlates multi-stage attack chains, and deploys autonomous AI triage agents. Everything in this plane is advisory—it produces proposals, hypotheses, and evidence links, never direct environment mutations.
  • 3. Defence Control Plane (The Safety Kernel): The hardened, minimal Trusted Computing Base (TCB). It evaluates proposals against deterministic security policies, simulates blast radiuses against critical business assets, and issues short-lived cryptographic authorization credentials.
  • 4. Actuation Plane (Task-Scoped Execution): Connectors that call vendor APIs (EDR isolation, identity revocation, firewall shunting). It only executes when presented with a valid cryptographic credential from the Defence Control Plane, enforcing Security-State Monotonicity ( sn+1⪯sn ).

Strategic Context: The Four Generations & The Shadow Risk Register ​

The Four Generations of Cyber Engineering ​

To understand why TIDIR is architected as an integrated Cyber Defence Control System rather than an unbundled collection of discrete security tools, consider the historical evolution of the cyber engineering discipline across four distinct generations (analyzed in full in The Four Generations of Security Engineering):

  1. Generation 1: Perimeter & Host Infrastructure (~1995–2008): Focused on static perimeter defence, network access control lists (ACLs), stateful firewalls, and manual host patching. Control was maintained through physical network boundaries—an operating model that dissolved with cloud infrastructure, remote endpoints, and living-off-the-land techniques.
  2. Generation 2: Centralised Platform Operations (~2008–2018): Characterized by commercial SIEM platforms and the dedicated SOC. Engineers focused on log forwarders, heavy indexing clusters, and alert queues. Broken by volume-based licensing taxes and alert fatigue driven by the Base-Rate Fallacy.
  3. Generation 3: Software-Defined SecOps & Detection-as-Code (~2018–2024): Security operations adopted software engineering discipline: GitOps version control, Detection-as-Code (DaC), open schemas (OCSF), columnar lakehouses, and continuous CI/CD testing. Broken by the limits of human rule authoring against machine-speed polymorphic attacks.
  4. Generation 4: Agentic Systems & Intent Architecture (2024+): The TIDIR target architecture. Engineers define declarative objectives, state invariants, and blast-radius bounds, while supervising autonomous agent swarms that conduct investigation and monotonic containment within deterministic safety boundaries.

The Shadow Risk Register: Engineering Constraints as Business Risk Acceptance ​

In conventional Security Operations Centers (SOCs), operational compromises are routinely justified as mere engineering constraints, storage quotas, or performance tuning. In practice, every engineering constraint functions as an unacknowledged proxy for business risk acceptance—creating an invisible Shadow Risk Register:

  • Telemetry Sampling & Sensor Dropping: When an engineering team deploys lightweight endpoint sensors or truncates telemetry streams to save bandwidth or central processing unit (CPU) cycles, they implicitly accept the business risk of data blindness to novel zero-day memory injections and living-off-the-land techniques.
  • Alert Tuning for False Positives: When detection engineers tune out noisy rules to protect analysts from alert fatigue, they prioritize precision over recall—implicitly accepting the business risk of silent false negatives, where slight adversary mutations evade overly restrictive detection queries.
  • Superficial Queue Speed-Running: When human analysts are overwhelmed by alert volume and forced to speed-run ticket queues to satisfy Mean Time to Respond (MTTR) Service Level Agreements (SLAs), the organisation implicitly accepts the risk of shallow investigations, sacrificing proactive threat hunting for reactive queue clearing.
  • Hesitant or Partial Containment: When automated response is restricted to single-host isolation out of fear of disrupting business operations, the organisation implicitly accepts the risk of unmitigated lateral movement and rapid enterprise-wide compromise.

TIDIR's Mission: The 11 Architectural Invariants of TIDIR systematically eliminate the Shadow Risk Register. By decoupling storage into cost-effective lakehouses (preserving unmapped raw telemetry), applying dependency-aware Bayesian risk compounding (surfacing weak, correlated signals without alert flooding), and enforcing mathematically monotonic containment state machines, TIDIR converts hidden operational compromises into transparent, governed, and verifiable architectural guarantees.


1. System Topology & Control Loop ​

The architecture operates across two orthogonal dimensions:

  1. The Operational Runtime Plane: Four horizontal layers governing event ingestion, computation, detection, and mitigation.
  2. The Engineering Lifecycle Plane: Six vertical disciplines governing schemas, intelligence curation, Detection-as-Code (DaC), systems automation, Artificial Intelligence (AI) harnesses, and Green Team preventative engineering.

1.1 Operational Runtime Pipeline ​

The operational pipeline processes security events in a strict directional flow from point-of-origin generation to automated mitigation, with an outer perimeter feedback channel for attributed threat intelligence and visibility calibration.

Layer 1 anchors ingestion in the SOC Visibility Quad—incorporating machine-readable Logs, Endpoint events, Network metadata, and Application / Cloud / Artificial Intelligence (AI) execution traces—supplemented by enterprise asset context and Cyber Threat Intelligence (CTI):

1.2 Engineering Lifecycle & Closed-Loop Governance Plane ​

The engineering plane governs the operational pipeline through version-controlled specifications, declarative policy engines, and automated validation gates:


2. Governing Invariants & Runtime Topological Implications ​

TIDIR is governed by eleven non-negotiable architectural invariants defined canonically in The TIDIR Architectural Constitution. Rather than treating invariants as abstract aspirations, the operational runtime topology is directly shaped by their constraints.

Four invariants in particular dictate the structure of the runtime planes and data contracts:

  • INV-02: Evidence Traceability: Governs the boundary between Detection (Layer 3) and Investigation (Layer 4). Every security finding must cite immutable raw observation identifiers (source_observation_ids); ungrounded or floating machine hypotheses are deterministically pruned from the Incident Decision DAG.
  • INV-04: Authority Separation: Dictates the 4-Plane Model and Agent Trust Boundary. Probabilistic components (LLMs, neural classifiers, clustering heuristics) operate strictly in a read-only proposal capacity within the Analytical Plane. Execution authority is held exclusively by deterministic policy kernels in the Defence Control Plane.
  • INV-07: Reachability Monotonicity: Dictates the design of the Actuation Plane. Containment workflows are modeled as fail-secure state machines where partial execution or connector timeouts execute forward perimeter escalation ( sn+1⪯sn ) rather than rolling back security barriers.
  • INV-08: Graceful Defensive Degradation: Enforces multi-tier failure survival across the Data and Analytical Planes. If streaming buses, vector stores, or cloud AI endpoints degrade, the runtime automatically falls back to local edge spooling, scheduled batch lakehouse sweeps, and deterministic rule-based tabular timelines without total visibility blindness.

For the complete formal definitions, mathematical state bounds, and compliance criteria across all eleven principles, refer directly to The TIDIR Architectural Constitution.


3. The TIDIR Trust Doctrine & Explicit Trust Matrix ​

In modern security operations, components operate under differing security assumptions. TIDIR enforces an explicit capability-based trust model:

ComponentAssume Compromised?Authority LevelBoundary & Safety Enforcement
Raw Telemetry & Sensor FeedsYes (Attacker-controlled)Evidence OnlySchema validation, unmapped_data dictionary, zero instruction execution.
Cyber Threat Intelligence (CTI)Yes (Potentially poisoned)Advisory EvidenceConfidence decay scoring, human peer review on new Priority Intelligence Requirements (PIRs).
Detection Rules (DaC)Potentially (Flawed/noisy logic)Finding GenerationCI/CD 30-day lakehouse backtesting, synthetic unit fixtures, noise error budgets (false-positive rate ≤5% ).
LLM Reasoning AgentsYes (Vulnerable to indirect injection)Proposal OnlyRead-only permissions, deterministic AST validation, task-scoped SVIDs ( ≤15m , max 15 minutes).
Challenger Models (Audit)Yes (Adversarial but probabilistic)Verification ProposalIndependent model lineage, consensus arbitration; cannot execute mutations directly.
MCP Query ToolsPotentially (Tool drift / injection)Bounded Read-Only QueryStrongly typed JSON schemas, SELECT-only enforcement, parameter array sanitization.
Deterministic Query Safety BoundaryTrusted Computing Base (TCB)Query & Resource GovernanceSyntactic AST validation (SELECT-only), semantic tenant/dataset authorization, query timeout & byte scan limits, and inferential privacy guards.
SPIFFE/SPIRE Identity AuthorityTrusted Computing Base (TCB)Machine Identity AuthorityIssues short-lived cryptographic X.509 SVIDs bound to attested workload attributes.
Containment State MachineHighly TrustedPolicy-Gated MutationMonotonic forward state transitions, connector circuit breakers, bounded isolation leases.
Policy Safety KernelTrusted Computing Base (TCB)Deterministic AuthorizationPre-execution blast-radius scoring, hard invariant gating, immutable rule evaluation.
Human Incident Commander (IC)Privileged AuthorityBreak-Glass OverrideMulti-signature consensus bypass, out-of-band cryptographic audit broadcast.
Audit & Evidence LedgerIntegrity RootEvidence IntegrityAppend-only Merkle hash chains, RFC 3161 cryptographic timestamps, WORM storage.

🛡️ The Governing Maxim of TIDIR ​

"Probabilistic components propose. Deterministic components authorize."

"No component receives authority merely because another component believes it is correct."

In TIDIR, model inference settings (e.g. temperature = 0, seed pinning) are employed to maximize repeatability, not determinism. Trustworthiness is not derived from model confidence or repeated inference; it is enforced through evidence grounding, independent multi-model arbitration, and deterministic authorization kernels.

💡 Intuitive Mental Models (The Brain, The Rails & The Brakes) ​

  • The Overeager Storyteller vs. The Locked Keyboard: Generative models naturally guess the next most plausible word. Left unconstrained, they can hallucinate or follow prompt injections embedded in raw logs. TIDIR uses grammar-constrained decoding (the locked keyboard): during inference, tokens violating target schemas (OCSF, typed tool parameters) are masked out before generation, making structural escape mathematically impossible.
  • The Wooden Shape Sorter: Like a shape sorter that physically refuses square pegs in round holes, telemetry and agent tool calls are constrained to strict structural types.
  • Demanding the Receipts: An agent is forbidden from claiming an incident occurred without attaching immutable forensic receipts (timestamps, process IDs, cryptographic hashes, and raw event UUIDs). Hypotheses without lineage are discarded before human analysts or playbooks see them.
  • The Two-Key Rule: AI components never hold root keys or execute infrastructure changes directly. They produce a typed Action Request Proposal, which is independently validated by deterministic policy kernels (OPA/Cedar) against blast-radius bounds.
  • The Type–Semantic Boundary: Typesafe decoding guarantees syntactic validity, but never semantic truth. A prompt-injected model can still emit a perfectly valid JSON finding claiming an active intrusion is benign. Deterministic policy gating remains the non-negotiable backstop.

3.1 The 4-Plane Model & The Defence Control Plane (DCP) ​

To answer the fundamental question—"what governs the systems that govern defence?"—and to prevent a compromised component from escalating control across the environment, TIDIR divides the architecture into four distinct planes:

  1. The Telemetry Data Plane (Untrusted Inputs):
    • What it does: Ingests high-throughput event streams, buffers records at the network edge, normalizes raw payloads into OCSF schemas, and writes long-term forensic logs to object storage lakehouses.
    • Security Posture: Untrusted data territory. Subject to line-rate schema validation and isolated Dead-Letter Queues (DLQs). Telemetry cannot directly trigger state mutations.
  2. The Analytical & Inference Plane (Probabilistic Reasoning):
    • What it does: Correlates signals across the in-memory execution graph, executes streaming and batch detection rules, synthesizes threat intelligence, and runs specialist AI agent meshes for triage and hypothesis generation.
    • Security Posture: Read-only advisory plane. Operates inside the Agent Trust Boundary under strict capability constraints with zero mutation authority.
  3. The Defence Control Plane (Deterministic Authority Kernel):
    • What it does: Evaluates policy invariants, validates proposed containment actions against asset criticality matrices, runs pre-execution blast-radius simulations, mints task-scoped identity certificates (SVIDs), and provides an audited Break-Glass Emergency Flight Deck.
    • Security Posture: Hardened Trusted Computing Base (TCB). Operates deterministically using immutable policies compiled via cryptographically signed GitOps workflows. Decoupled from the primary data bus to ensure telemetry flooding cannot paralyze control.
  4. The Response & Actuation Plane (Monotonic Environmental Mutation):
    • What it does: Dispatches containment actions across infrastructure connectors, EDR agents, cloud IAM APIs, and network firewalls using forward-escalating Saga orchestrators.
    • Security Posture: Task-scoped and monotonic. Connectors execute actions using short-lived cryptographic identity certificates ( ≤15 minutes ). If an execution encounters an error, the state machine freezes in place or escalates forward ( sn+1⪯sn ); it never rolls back security boundaries.

3.2 TCB Minimisation: Logical Authorization Kernel vs. Transitive Implementation TCB ​

TIDIR achieves system defensibility by strictly bounding its Trusted Computing Base (TCB). Rather than trusting hundreds of complex microservices, external threat feeds, and probabilistic AI models, TIDIR isolates the untrusted analytical ecosystem outside a lean, deterministic core.

Architecturally, TIDIR distinguishes between the Logical Authorization TCB and the Transitive Implementation TCB:

1. The Logical Authorization TCB ​

The minimal set of core architectural abstractions required to validate, authorize, and seal every defensive action:

TCBlogical={Identity Authority (SPIFFE/SPIRE),Declarative Policy Kernel (OPA/Cedar),Containment State Machine,Cryptographic Evidence DAG}

Accessible Explanation: At the logical architecture level, exactly four functions authorize environmental mutation: the Identity Authority, the Policy Kernel, the Containment State Machine, and the Evidence DAG. If any component outside this set is compromised or behaves unpredictably, the deterministic logical TCB prevents unauthorized mutations.

2. The Transitive Implementation TCB ​

While the logical kernel is intentionally compact, real-world security engineering must acknowledge the transitive implementation dependencies that underpin it. A production TIDIR implementation must explicitly enumerate, harden, and audit its physical supply chain:

  • Deployment & Distribution Pipeline: Cryptographically signed GitOps CI/CD runners, reproducible builds, and hermetic packaging.
  • Hardware & Cryptographic Roots: Hardware Security Modules (HSMs) and Trusted Platform Modules (TPMs) anchoring signing keys and attestation roots.
  • Runtime Environment: Hardened Linux microVMs/hypervisors, kernel eBPF verifiers, and memory-safe connector binaries.
  • Temporal & Network Infrastructure: RFC 3161 timestamping authorities, authenticated NTP daemons, and dedicated out-of-band control networks.

Rule of Implementation: TIDIR minimizes the logical authorization TCB to four core abstractions; enterprise deployments MUST enumerate and verify the complete transitive implementation TCB supporting them.

  • Immutable Policy Governance: Policies governing blast-radius limits, Tier 0 asset immunity, and invariant rules cannot be modified via API calls, prompt instructions, or runtime agents. They are compiled via cryptographically signed GitOps workflows requiring dual human sign-off.
  • Control-Plane Isolation: The Defence Control Plane maintains an out-of-band communication channel decoupled from the primary telemetry streaming bus. Telemetry floods or denial-of-service attacks cannot paralyze defensive authorization or human E-Stop flight decks.

3.3 Epistemic Verification Taxonomy: Precision in Claims ​

To prevent ambiguous claims of correctness, TIDIR enforces a strict three-tier verification taxonomy:

  1. Specification-Validated / Structurally Verified: The architecture schemas, invariants, bi-directional traceability graphs, and diagram syntaxes are programmatically asserted and internally consistent across all machine-readable definitions (e.g. via ./verify).
  2. Empirically Validated: Operational properties, latency bounds, error budgets, and failure modes are demonstrated via reproducible execution on physical testbeds and attack replays (e.g. the Attack-to-Containment Benchmark Harness).
  3. Formally Verified: State-machine invariants and reachability contracts are mathematically proven using symbolic verifiers or formal methods.

4. Layer Definitions & Operational Responsibilities ​

Layer 1: Data Sources & Environmental Inputs ​

  • Generation, Collection & Transport: Emits raw facts at the point of origin across standard machine-readable logs (Syslog RFC 5424, JSON/NDJSON, Windows EVTX, journald, cloud audit trails), kernel hooks (eBPF, ETW), control plane APIs, and wire taps, buffering at the edge and transporting across network boundaries via secure, compressed streams.
  • Multidimensional Ingress & Distributed Findings: Unifies raw telemetry with native edge findings emitted directly by domain security controls (EDR, NDR, CNAPP, IdP OCSF Classes 2001/2004; ADR-0023).
  • Exposure Intelligence & CTEM Fabric: Ingests continuous asset criticality, network reachability, identity attack path graphs, and vulnerability exploitability metrics (CISA KEV, EPSS), establishing the baseline context for detection prioritization (ADR-0022).
  • See full spec: Layer 1 Specification.

Layer 2: Pipeline, Storage & Query Fabric ​

  • Line-Rate Normalization: Standardises raw payloads and native edge findings into Open Cybersecurity Schema Framework (OCSF) objects via an authoritative Schema Registry.
  • Value-Based Routing: Diverts high-value security events to hot indexing and stream engines while streaming bulk forensic telemetry into low-cost columnar lakehouse storage.
  • Multi-Paradigm & Federated Querying: Provides four specialized engines: Real-Time Streaming ( <5s ), Scheduled Batch SQL (7–90 day baselines), Federated Query-in-Place (for on-demand edge/VPC context retrieval), and ML Feature Stores.
  • See full spec: Layer 2 Specification.

Layer 3: Threat Intelligence & Detection Engineering ​

  • Distributed & Cross-Domain Detection: Adheres to the principle "detect as close to the signal as practical; correlate as centrally as necessary." Offloads commodity single-source detections to native edge controls, reserving central stream and batch engines for cross-domain correlations and bespoke enterprise logic (ADR-0023).
  • Exposure-Aware Bayesian Risk Lens: Dynamically injects asset criticality and exposure posture as prior probabilities P(Breach) into the Bayesian Multi-Signal Risk Lens (ADR-0009), mitigating the Base Rate Fallacy by aggressively elevating weak anomalies on exposed choke points while dampening benign activity on isolated assets (ADR-0022).
  • Machine-Readable Attack Flows: Codifies multi-stage adversary behaviours into structured graphs, prioritising detection engineering backlogs via threat likelihood and asset exposure.
  • Detection-as-Code (DaC): All rules are authored as declarative code using a Polyglot DaC pattern (vendor-neutral YAML metadata envelopes coupled with target-optimized query blocks, see ADR-0019), versioned in Git.
  • Empirical Test Harness: Validates rules through controlled adversary simulation, synthetic unit tests, and 30-day historical lakehouse backtesting.
  • Standardised Findings: Emits OCSF Class 2001 (Security Finding) and Class 2004 (Detection Finding) objects.
  • See full spec: Layer 3 Specification.

Layer 4: Incident Response (Investigation, Case Management & Automated Containment) ​

  • Progressive Disclosure Workbench: Presents a 3-tier cognitive hierarchy (Situation Summary ➔ Forensic Evidence Table ➔ On-Demand Graph Lineage) to achieve sub-60-second analyst comprehension without visual fatigue.
  • Hierarchical Agent Mesh: Dispatches specialized autonomous subagents (host forensic, identity, network, cloud) coordinated by a Lead Triage Orchestrator behind an isolated Agent Trust Boundary, governed by deterministic schema validation and advisory consensus critique.
  • Tamper-Evident Evidence Dossier: Records queries, annotations, and artifacts with cryptographic integrity (RFC 3161 timestamps) across the Incident Decision DAG.
  • Monotonic Fail-Closed Containment: Executes containment as state machines governed by Security-State Monotonicity (see ADR-0005), separating low-risk actions (Tier 1) from disruptive actions (Tier 2) governed by dual-authorisation consensus and an audited Break-Glass Emergency Protocol.
  • First-Principles Workflow & Automation-as-Code (AaC): Replaces monolithic legacy SOAR platforms with code-first, testable workflows decoupled from compute runtimes (FaaS microVMs, containers, isolated VMs), executing under ephemeral SPIFFE SVID identities and dynamic secrets leasing (ADR-0027). Synchronizes incident state bidirectionally across enterprise ticketing (ITSM) and CMDB systems of record.
  • Closed-Loop Feedback & Green Team Prevention: While TIDIR intentionally scopes its core engine to threat intelligence, detection, investigation, and incident response (deliberately avoiding duplicating inline prevention appliances), it completes the closed loop by programmatically recommending and triggering Green Teams (infrastructure, platform, and cloud security engineering). Post-incident findings, exploited misconfigurations, and lateral movement paths automatically synthesize Infrastructure-as-Code (IaC) pull requests, identity boundary tightenings, and preventative control improvements to permanently eradicate root causes and deepen enterprise defense-in-depth.
  • See full spec: Layer 4 Specification and AI & Agentic Orchestration Plane.

5. Interface Types & Boundary Contracts ​

Rather than indiscriminately shipping all raw data into a centralized repository, TIDIR establishes three first-class interface types grounded in OCSF:

  1. Telemetry (Observations): Raw factual records emitted by endpoints, networks, cloud providers, and applications. Mapped to OCSF Categories 1, 3, 4, and 6 (e.g. 1007: Process Activity, 3001: Authentication, 4001: Network Connection). Telemetry is retained in tiered columnar lakehouses or edge ring buffers, queried on demand, with upstream lineage tracked via W3C Trace Context (ADR-0025).
  2. Findings (Evaluative Intelligence): Evaluative conclusions produced by specialized detection engines and controls. Mapped strictly to OCSF Category 2 (Class 2001: Security Finding and Class 2004: Detection Finding). Native domain controls (EDR, NDR, CNAPP, IdP) detect locally and publish findings to the Finding Bus at line rate (ADR-0023, ADR-0024, and the Strategic Position Paper).
  3. Context (Security Knowledge): Ground-truth reference state used to interpret observations and findings. Mapped to OCSF Standard Objects (Device, User, Account, Process, Cloud) and structured into the Bipartite Entity-Finding Graph (ADR-0011). Context tracks identity resolution, asset criticality tiers, exposure paths, and governing controls across four epistemic tiers (Authoritative, Observed, Derived, Inferred).

Canonical Boundary Contracts ​

BoundarySchema ContractPurpose
L1 ➔ L2 IngressSchema Registry Envelope & Ingestion Lineage (ADR-0025)Bounded transport batch carrying origin metadata, W3C trace context, and raw event facts.
L2 NormalizationOCSF (Open Cybersecurity Schema Framework)Canonical schema across system, identity, network, cloud, and application domains.
L3 Detection TargetOCSF Classes, Inverted Dependencies (ADR-0019) & Coverage Assurance (ADR-0026)Rules declare required/optional telemetry streams, executing on native engines with automated degradation circuit breakers.
L3 ➔ L4 HandoffThe Finding Bus: OCSF Class 2001 & Class 2004 Findings (ADR-0024)Standardised security and detection findings carrying evidence lineage, ATT&CK tags, and dependency-discounted risk scores.
L4 Agent Tool ContractModel Context Protocol (MCP) & Typed JSON SchemaParameters for read-only forensic queries; strictly isolates prompts from unformatted raw telemetry.
L4 Monotonic ContainmentDeclarative Action Intents & Asymmetric State MachineStandardized action intents (ISOLATE_HOST, REVOKE_SESSION, BLOCK_INDICATOR) decoupled from vendor APIs; strictly fail-closed with reachability-bounded forward compensation ( R(spost)⊆R(spre) ).

6. The Executive AI & Autonomous Agentic Opportunity Matrix (The CISO Lens) ​

For executive cybersecurity leaders—including Chief Information Security Officers (CISOs) and Security Operations (SecOps) Directors—integrating Artificial Intelligence (AI) into security operations carries dual imperatives: maximizing defensive velocity while enforcing deterministic safety boundaries.

TIDIR establishes an AI-First Defence Architecture that moves beyond single-prompt helpers to an orchestrated agent mesh, while anchoring execution, schema contracts, and disruptive containment behind deterministic engineering gates and evals.

Architectural LayerAutonomous AI / Agent OpportunityDeterministic Safety GateTarget Outcome / Validation Hypothesis
Layer 1: Data Sources & IngressAutomated Log Parser Synthesis: Generative models analyze unmapped vendor logs and draft canonical OCSF mapping parsers.Schema Registry Validation: Parsers cannot deploy without passing compiler type-checking and automated regression replay.Target Hypothesis: Accelerated Ingestion: Reduces manual parser drafting from weeks to hours, verified by automated schema test fixtures.
Layer 1: Data Sources & IngressSynthetic Telemetry Generation: Generates high-fidelity attack telemetry for dangerous, untestable techniques (e.g. ransomware encryption loops).Isolated Test Sandbox: Generated telemetry executes strictly within non-production environments.Target Hypothesis: Safe Efficacy Testing: Validates detection sensors against catastrophic exploits without running live malware.
Layer 2: Pipeline & Storage FabricNatural Language Data Exploration: Translates plain-language analyst questions into optimised SQL/streaming queries.Read-Only AST (Abstract Syntax Tree) Validator: Enforces strict SELECT-only query constraints and compute timeout budgets.Target Hypothesis: Sub-Minute Query Turnaround: Enables multi-table lakehouse investigations via schema-constrained query synthesis.
Layer 3: Detection EngineeringThreat Advisory to Attack Flow Synthesis: Ingests unstructured CTI advisories and bulletins and extracts structured ATT&CK DAG flows.Human CTI Peer Review: Analyst ratifies extracted Priority Intelligence Requirements (PIRs).Target Hypothesis: Continuous Codification: Reduces latency between zero-day public disclosure and backlog prioritization.
Layer 3: Detection EngineeringContinuous Evals-as-Code & DaC Quality Judge: Multi-agent judges and CI benchmark suites audit detection rules and agent prompts against golden incident datasets.CI/CD Unit & Regression Suite: Rules and agent prompts must achieve 100% pass rate on synthetic fixtures and 30-day lakehouse backtests.Target Hypothesis: Bounded Noise Ratio: Enforces alert noise error budget (false-positive rate ≤5% ) to suppress brittle rules before production.
Layer 4: Investigation & CasesHierarchical Agent Mesh (Host/Identity/Network): Lead orchestrator dispatches specialist subagents to scope 90-day baselines, process lineages, and lateral movement simultaneously.Agent Trust Boundary & Dual-Plane Isolation: Telemetry strings are treated as untrusted data planes; prompt injection is assumed possible while agents invoke typed tools without executing raw string commands.Target Hypothesis: Sub-60s Case Synthesis: Delivers a fully hydrated case dossier containing complete process lineage and host context upon ticket open.
Layer 4: Incident Response (Automated Containment)Pre-Execution Blast-Radius Simulator & Containment Engine: Evaluates active network connections, service criticality, and dependency trees; executes monotonic forward containment with forward escalation on error.Dual-Authorisation Consensus & Audited Break-Glass: Tier 2 containment requires multi-signature approval; high-velocity outbreaks support single-commander break-glass with cryptographic broadcast.Target Hypothesis: Blast-radius bounded containment with no verified false-positive isolation events: Validated through shadow-mode canary pre-execution blast-radius simulation, ensuring automated containment does not inadvertently isolate critical services.

7. The Detection Engineer's Operational Walkthrough (The Practitioner Lens) ​

To understand how the TIDIR architecture functions in day-to-day cyber defence, consider how a Detection Engineer navigates the lifecycle from a novel threat advisory to a hardened, deployed detection rule:

Step-by-Step Practitioner Journey ​

  1. Adversary Technique Published: A threat intelligence alert details a novel DLL Search Order Hijacking technique (MITRE ATT&CK T1574.002).
  2. Attack Flow Ingestion: In Layer 3, the intelligence engine parses the advisory into a machine-readable attack flow detailing the prerequisite process execution events, file creations, and command-line arguments.
  3. Telemetry Verification (Layer 1): The Detection Engineer confirms that enterprise endpoints emit the required telemetry—verifying that Windows Event Log Channel Microsoft-Windows-Sysmon/Operational (Event ID 7: Image Load) and Linux eBPF module loads are actively ingested and mapped to OCSF Class 1007 (Process Activity). Any non-standard fields are verified in unmapped_data.
  4. Declarative Rule Authoring (DaC): In the Detection-as-Code repository, the engineer authors a Polyglot DaC rule: defining the vendor-neutral metadata envelope targeting OCSF Class 1007 attributes, paired with target-optimized query blocks (e.g., KQL, SPL, and Lakehouse SQL) for production execution.
  5. Automated CI/CD Validation: Upon opening a Git Pull Request:
    • Synthetic Unit Tests: Run mock OCSF payloads through the rule parser to verify true-positive trigger conditions and benign edge-case pass-through.
    • 30-Day Historical Backtest: The CI pipeline queries a 30-day lakehouse sample in pre-prod to calculate the Expected Alert Volume (EAV) and ensure the false-positive rate falls within error budgets.
    • LLM Quality Judge: An automated harness audits the rule for schema field deprecations and ensures triage guidance is complete.
  6. Deployment & Execution (Layer 2 & 3): Once merged to main, GitOps automations deploy the rule to the Streaming Engine (for sub-5-second alerting on interactive sessions) and the Lakehouse Batch Engine (for 24-hour baseline sweeps).
  7. Risk-Lens Correlation & Incident Elevation (Layer 3 ➔ Layer 4): If the rule fires in production, the alert is not thrown into an unmanaged ticket queue. Layer 3's graph correlation engine links the event with network connections and user authentication events, computes the composite risk score, and elevates a structured Incident Dossier directly to the Tier-1 operator workbench.

Human-Led Architecture · AI-Supported · Apache-2.0 Licence · Live Commit: 91192f6