// PEER-REVIEWED ADVISORY ESSAY
SecOps & Detection PUBLISHED: AUGUST 2026 ⏱ 12 MIN READ VOL. 4

Detection Engineering: Turning Raw Telemetry into Defensible Decisions

Raw logs are a liability until refined into actionable, tested detection logic. Detection-as-Code (DaC), automated CI/CD validation, and signal-to-noise optimization transform telemetry pipelines into active defensive capabilities.

BM
Burhani Mtengwa
Principal Advisor, Mtengwa Strategic Advisory • Adv. RITTech, MBCS, MIET
High density cybersecurity code and continuous data stream pipeline
📷 Figure 0: Detection-as-Code Pipelines & Continuous Telemetry Parsing • Mtengwa Research Archives VOL. 4 • MTENGWA RESEARCH ARCHIVES
// EXECUTIVE BRIEFING SUMMARY

Key Findings for Corporate Boards & Technical Leadership

  • Software Rigor in SecOps: Treat detection logic as production code utilizing version control, peer review, and automated CI/CD pipelines.
  • Behavioral Over Signature: Focus detection engineering on adversary behaviors and choke points rather than ephemeral indicators of compromise (IoCs).
  • Ingestion Shaping: Drop low-value event noise at the ingestion boundary using stream processors to optimize SIEM costs and maximize signal fidelity.
  • MITRE ATT&CK Depth: Avoid superficial heatmap checklist syndrome; evaluate detection resiliency against obfuscated technique variations.
  • Continuous Emulation: Automate daily adversary technique emulation to verify that detection logic has not degraded due to environmental changes.

1. Beyond Static Signatures: The Shift to Detection Engineering

For decades, enterprise threat detection was treated as an operational cataloging exercise. Security administrators downloaded vendor-provided antivirus signatures, imported predefined SIEM correlation rules, and waited for an incoming log line to trigger a notification. In an era dominated by living-off-the-land techniques (LotL), fileless in-memory execution, and cloud credential hijacking, static signatures are functionally obsolete.

Modern threat actors operate using native operating system binaries (e.g., PowerShell, WMI, certutil on Windows; bash, curl, systemd on Linux) and authenticated cloud APIs. Detecting these actions requires understanding context, behavioral baseline deviations, and relational graph anomalies rather than matching static MD5 hashes or known bad IP addresses.

Detection Engineering is the disciplined application of software engineering methodologies to the problem of cyber threat identification. Rather than treating detection rules as static configuration entries stored inside a GUI, detection engineers treat rules as modular, version-controlled software assets.

ARCHITECTURAL IMPERATIVE
"Signatures detect known tools from yesterday’s breach; detection engineering uncovers immutable adversary behaviors during today’s campaign."
Software engineering development workstation with automated testing pipelines
FIG 4.1: Figure 4.1: Detection-as-Code (DaC) CI/CD Validation & Adversary Emulation Testing Loop MTENGWA RESEARCH ARCHIVES

2. Detection-as-Code (DaC): Applying Engineering Rigor to Defense

The foundational paradigm of modern detection engineering is Detection-as-Code (DaC). Under this framework, detection logic is authored in standardized, vendor-agnostic formats such as Sigma or Yara-L and stored in an enterprise Git repository.

Whenever an engineer proposes a new detection rule or modifies an existing threshold, the change triggers an automated Continuous Integration (CI) pipeline. This pipeline executes static analysis, validates syntactic compliance against the enterprise data schema (e.g., OCSF), and executes automated unit tests against historical event telemetry to quantify false-positive generation before the rule is ever deployed to production.

This engineering approach eliminates accidental rule breakage, establishes comprehensive audit trails required by regulators, and allows detection teams to collaborate using familiar peer-review pull-request workflows.

Rule 4.1: Production Sigma Rule — Detecting In-Memory LSASS Credential Dumping via MiniDumpWriteDump yaml
title: In-Memory LSASS Process Memory Dump via Suspicious API Call
id: 8d1f054b-22d7-4638-a1c2-3e2b9c7a1234
status: production
description: Detects processes attempting to create a memory minidump of the Local Security Authority Subsystem Service (LSASS)
references:
  - https://attack.mitre.org/techniques/T1003/001/
author: Burhani Mtengwa (Mtengwa Strategic Advisory)
date: 2026-08-14
logsource:
  category: process_access
  product: windows
detection:
  selection_target:
    TargetImage|endswith: '\lsass.exe'
  selection_access:
    GrantedAccess|contains:
      - '0x0010'   # PROCESS_VM_READ
      - '0x1F0FFF' # PROCESS_ALL_ACCESS
      - '0x0040'   # PROCESS_DUP_HANDLE
  filter_legitimate:
    SourceImage|endswith:
      - '\system32\csrss.exe'
      - '\system32\svchost.exe'
      - '\Program Files\Windows Defender\MsMpEng.exe'
  condition: selection_target and selection_access and not filter_legitimate
falsepositives:
  - Legitimate administrative debugging utilities (require change authorization ticket)
level: high

3. The Signal-to-Noise Ratio: Eliminating False Positives at Ingestion

In cybersecurity operations, more data is rarely better data. Indiscriminately ingesting terabytes of raw debug logs into an enterprise SIEM does not improve security posture; it merely inflates cloud storage invoices and accelerates analyst burnout.

High-velocity detection engineering teams operate a Telemetry Shaping layer at the point of ingestion. Using stream-processing frameworks like Apache Kafka, Vector, or FluentBit, raw event streams are filtered, deduplicated, and enriched before landing in permanent storage.

Low-value event noise—such as successful internal DNS queries or repetitive load balancer health checks—is dropped at the edge, while high-value security events (process creations, authentication grants, network socket binds) are enriched with asset criticality tags and user risk scores in real time.

Real-time analytical graphs tracking telemetry throughput and signal fidelity
FIG 4.2: Figure 4.2: Stream-Processing Ingestion Pipeline — Event Deduplication & Real-Time Context Enrichment MTENGWA RESEARCH ARCHIVES

4. Mapping to MITRE ATT&CK Without Checklist Blindness

Many security teams use the MITRE ATT&CK matrix as an administrative compliance checklist, striving to turn every square on the heatmap green by deploying a single generic detection rule. This creates a dangerous illusion of coverage.

True detection coverage is multidimensional. A single ATT&CK sub-technique (e.g., T1059.001: PowerShell execution) encompasses hundreds of distinct operational variations, obfuscation encodings, and execution wrappers. A detection rule that matches only unencoded "-enc" parameters provides near-zero defense against sophisticated adversaries.

Detection engineering treats ATT&CK as a taxonomy for continuous gap analysis and purple teaming, evaluating detection depth rather than superficial checklist breadth.

5. Continuous Automated Testing and Adversary Emulation

How does an enterprise know its detection rules actually function today? In most organizations, the answer is "we will find out during our annual penetration test or our next real incident."

Modern engineering teams reject this uncertainty by implementing Continuous Adversary Emulation. Using automated frameworks such as Atomic Red Team, Prelude, or Caldera, the engineering pipeline systematically executes benign, controlled attack techniques across staging and production clusters on a daily basis.

If a simulated credential dumping technique fails to trigger the corresponding detection rule within 90 seconds, a continuous integration alert is raised, treating detection degradation with the same urgency as a production software outage.

ARCHITECTURAL IMPERATIVE
"Untested detection logic is merely an unverified hypothesis. In an engineering discipline, unverified hypotheses do not belong in production."
MEASURED ARCHITECTURAL IMPACT & DEFENSIVE GAINS

Transitioning to Detection-as-Code and stream-level telemetry shaping reduces SIEM ingestion costs by up to 45%, decreases false positive alerts by 80%, and increases detection coverage of active MITRE techniques from 22% to over 85%.

// IMPLEMENTATION ROADMAP

Executive Action Plan: 90-Day Priority Deliverables

1
Migrate all production detection rules into a centralized Git repository under the Detection-as-Code (DaC) paradigm within 45 days.
2
Implement an automated CI validation pipeline that executes unit tests against historical telemetry before new rules are committed.
3
Deploy an ingestion stream-processing layer to eliminate duplicate health check logs and enrich security events with asset criticality tags.
4
Establish a recurring automated adversary emulation schedule executing Atomic Red Team tests against all tier-1 production segments.
5
Report quarterly Detection Efficacy metrics (rule degradation rate, mean time to detection, test pass rate) to the Board Audit Committee.
BM
Burhani Mtengwa
Adv. RITTech, MBCS, MIET • Principal Advisor
Surrey, United Kingdom • Independent Technology & Cyber Counsel

Principal Burhani Mtengwa provides independent board counsel and architecture reviews for regulated enterprises across banking, payments, defense, and healthcare.

FORMAL ACADEMIC & BOARD CITATION FORMAT
Mtengwa, B. (August 2026). "Detection Engineering: Turning Raw Telemetry into Defensible Decisions". Mtengwa Strategic Advisory Technical Papers, Vol. 4. Mtengwa Strategic Advisory Ltd, Surrey, UK. Canonical: https://mtengwa.co.uk/articles/detection-engineering-telemetry-to-decisions/
[+] CONTINUE READING RESEARCH ARCHIVES

Related Executive Papers

Why Security Architecture Fails Before Technology Does VOL. 1
Security Architecture

Why Security Architecture Fails Before Technology Does

Enterprise breaches frequently trace back to misaligned boundary definitions, identity sprawl, and fragmented ownership rather tha...

13 min read Read Paper →
Why More Security Tools Do Not Mean Better Security VOL. 2
Risk & Governance

Why More Security Tools Do Not Mean Better Security

The average enterprise maintains 45 to 70 disparate security products. Tool proliferation increases architectural entropy, dilutes...

12 min read Read Paper →
What a Modern MDR Should Actually Deliver (And Why Most Fall Short) VOL. 3
SecOps & Detection

What a Modern MDR Should Actually Deliver (And Why Most Fall Short)

Many Managed Detection and Response (MDR) services are glorified alert-forwarding centers. True MDR requires active autonomous con...

13 min read Read Paper →
[+] EXECUTIVE COMMUNICATIONS PROTOCOL

Direct Principal Channels & Retained Advisory Intake

SURREY, UK • SERVING UK & INTERNATIONAL CLIENTS
VIRTUAL SWITCHBOARD 24/7 GREETING
+44 1483 928037

Professional automated executive reception and priority message routing for prospective advisory mandates.

Call Switchboard
MOBILE & WHATSAPP DIRECT DESK
+44 7459 190198

Direct messaging channel for urgent confidential inquiries, board scheduling, and bilateral follow-ups.

Open WhatsApp Desk
Burhani Mtengwa
PRINCIPAL INBOX
DIRECT
principal@mtengwa.co.uk

Direct inbox for Principal Advisor Burhani Mtengwa. For board scoping, strategic reviews, and bilateral NDAs.

Email Principal
CALENDAR BRIEFING DIRECT BOOKING
Executive Calendar

Direct confidential scheduling for board chairs, C-suite executives, and private equity sponsors.

Select Date & Time ↗
WHATSAPP BRIEFING +44 7459 190198