Cyber Knowledge · Domain 03 of 11 · Practitioner field guide
Blue Team & Defensive Security
A complete operating guide for security monitoring, detection engineering, threat hunting,
investigation, containment, recovery, and continuous validation. The goal is not to collect the
most alerts. It is to produce timely, source-backed decisions that reduce business risk and remain
defensible under technical, legal, and executive review.
Every alert is a lead. Preserve raw telemetry, establish identity and asset context, test alternative explanations, document uncertainty, and require human authorization for disruptive response actions.
Use the guide as an operating curriculum, not as a list of vendor products. Begin with the event, time, context, and evidence foundations. Build a service catalogue and telemetry requirements before purchasing analytics. Then create, test, deploy, monitor, and retire detections against known decision needs. Specialist teams can enter through endpoint, network, identity, cloud, or incident response, but they should return to the common case and evidence model.
Analyst track
Foundations plus Modules 1, 5, 6, 7, 8, and 9. Practice reconstructing timelines, validating entities, recording competing hypotheses, escalating with an explicit decision request, and closing with a reason code.
Detection engineer track
Foundations plus Modules 2–5, 10, and 14. Produce versioned analytics with declared telemetry dependencies, test fixtures, attack behavior, expected benign activity, performance limits, ownership, and validation evidence.
Incident responder track
Modules 1–3, 6–12, and 14. Connect technical containment to business authority, evidence preservation, legal and communications requirements, recovery criteria, and post-incident control improvement.
Program leader track
Modules 1–3 and 12–14. Govern scope, staffing, service levels, telemetry cost, evidence quality, automation authority, exercise cadence, risk acceptance, metrics, and measurable improvement.
Required case record
Every material alert, hunt, or incident should preserve the detection identifier and version; raw event references; normalized fields; entity identifiers; asset and business context; source clock and ingestion time; enrichment sources and collection times; analyst actions; competing explanations; decision owner; containment authority; evidence hashes or immutable references; disposition; limitations; and follow-up work. Dashboards are views. The case record is the durable decision trail.
Technical foundations — reason from evidence before tools
5 deep references
Security tools summarize observations. A defender must still know what was observed, when, from which vantage point, how it was transformed, what it can prove, and which alternative explanations remain plausible.
Events, observations, alerts, cases, findings, and incidents are different objects
An event is a structured or unstructured record emitted by a source. An observation is an analyst’s bounded interpretation of one or more records. An alert is a machine- or analyst-generated request for review. A case groups work around a question or decision. A finding is a supported conclusion with scope, evidence, and impact. An incident is an organizational classification that activates response authority and coordination. Treating these words as synonyms destroys auditability: an alert becomes “proof,” a case count becomes an incident count, and an automated severity becomes business impact.
Source truth
Preserve the original record, source system, collector, collection method, parser version, ingestion path, and immutable identifier. Normalized copies accelerate analysis but can omit, rename, truncate, or coerce fields. When a conclusion depends on one field, compare it with the raw source.
Assertion truth
Separate facts from inferences. “Process 842 created a connection at 10:02:14Z” can be a sourced observation. “The process contacted command-and-control infrastructure” requires destination attribution, time-bounded reputation, process provenance, and exclusion of legitimate software behavior.
Decision truth
A verdict includes who decided, under which policy, with what confidence, at what time, and what action followed. Confidence is not severity; severity is not priority; and priority is not authorization to isolate a production service.
Negative evidence
“No event found” proves only that the performed query returned nothing within the searched data, time range, fields, permissions, and retention. Record sensor health, ingest lag, clock assumptions, and coverage before using absence to clear a hypothesis.
Foundation acceptance: take one alert and produce a chain from original events to observation, hypothesis, case, decision, and action. Mark every inferred edge, cite every source, and state what missing data could change the conclusion.
Time is an evidence field, not a display preference
A useful timeline distinguishes event creation time, source-recorded time, collection time, ingestion time, processing time, alert time, analyst access time, and action time. These values can diverge because of clock drift, time-zone conversion, batch forwarding, mobile or offline endpoints, queue backpressure, source buffering, parser failure, retries, or delayed enrichment. Sorting on the wrong field can reverse cause and effect.
Store timestamps in a precise common form while preserving the source representation and time zone.
Measure source clock offset and collector lag; do not silently “correct” evidence without retaining the transformation.
Use stable event IDs, sequence numbers, process identifiers, trace IDs, session IDs, request IDs, and entity IDs to support correlation when timestamps collide.
Record query execution time and the version of mutable enrichment used. A domain’s reputation today may differ from its status at event time.
Build timelines with uncertainty ranges when exact order cannot be established.
Common mistake: a SIEM’s normalized @timestamp may represent source time for one integration and ingest time for another. Never merge cross-source timelines until the semantics are documented and tested.
Identity, asset, service, vulnerability, and business context
An IP address is not an asset, a username is not a stable identity, a container name is not a workload, and a hostname is not necessarily a service owner. Build entity records with stable identifiers, aliases, lifecycle state, owner, environment, criticality, exposure, trust zone, data classification, dependencies, identities, software, and confidence. Preserve point-in-time context: dynamic infrastructure and identity membership can change between the event and investigation.
Asset context
Map cloud resource IDs, endpoint IDs, hostnames, IP leases, MAC addresses, cluster and namespace, image digest, application, deployment, and owner. Prefer authoritative inventory and orchestration sources over names parsed from logs.
Identity context
Map immutable user, service principal, workload, device, session, tenant, group, role, and credential IDs. Record effective permissions and recent changes rather than assuming a job title describes access.
Service context
Connect customer-facing service, technical components, data, dependencies, recovery objectives, change windows, and escalation contacts. Response decisions should consider the service, not only the compromised host.
Vulnerability context
A CVE match is a candidate until product, version, configuration, reachability, exploit preconditions, compensating controls, and authoritative ownership are confirmed. Scanner output enriches a case; it does not replace validation.
Base rates, precision, recall, thresholds, and analyst capacity
A detector partitions events into matches and non-matches, but operational value depends on the prevalence of the target behavior, telemetry quality, rule logic, suppression, entity context, and cost of errors. Precision describes the fraction of reviewed matches that are relevant under a defined label policy. Recall describes the fraction of relevant behaviors detected in a labeled population. In production, true recall is rarely known because undetected events are not automatically labeled. Use controlled tests, retrospective datasets, sampled negative review, incidents, and simulation to estimate specific aspects without presenting an unmeasured “coverage percentage.”
Base-rate effect: even a detector with apparently strong test performance can overwhelm analysts when malicious behavior is extremely rare.
Threshold effect: raising a threshold may improve precision while missing low-and-slow activity; lowering it may expose precursors but increase review cost.
Label quality: closed as benign, expected administrative, duplicate, insufficient evidence, test, and malicious should remain distinct.
Selection bias: analyst-reviewed alerts are not a random sample of all events. Measuring only escalated alerts misstates performance.
Concept drift: software, business processes, attacker behavior, schemas, and population baselines change. Monitor detectors after release.
Foundation acceptance: define the target behavior, evaluation population, labels, test window, decision threshold, expected review volume, miss cost, false-positive cost, and uncertainty. Do not use a single undifferentiated “accuracy” number.
Controls and response state: prevention, visibility, analysis, decision, and action
A defensive capability is a chain. A preventive control may block behavior without recording enough evidence. A sensor may record behavior without forwarding it. A platform may ingest data without parsing critical fields. A rule may match without opening a case. An analyst may confirm activity without authority to contain it. A response action may execute without verification or rollback. Measure and validate each layer separately.
Layer
Question
Evidence
Failure example
Prevent
Did the control stop or constrain the behavior?
Control decision, endpoint or gateway result, target state
Blocked UI action but allowed API request
Observe
Was a useful record created?
Raw event with actor, object, action, outcome, time
Success logged without target identity
Transport
Did the record arrive intact and on time?
Collector counters, queue lag, checksums, field comparison
Batch delay caused alert after recovery
Analyze
Did the analytic identify the intended behavior?
Rule version, query result, test fixture, match explanation
Field rename silently disabled rule
Decide
Did a qualified reviewer reach a supported disposition?
Case notes, alternatives, confidence, approval
Severity label treated as confirmed incident
Act
Was a proportionate action executed and verified?
Authorization, action log, target confirmation, rollback result
Module 1 — Defensive mission, operating model, and SOC service
Mission before queue
A SOC is not a room, dashboard, or product. It is a decision service with defined customers, authority, evidence, handoffs, and measurable outcomes.
Define the mission in business and technical terms
State which organizations, services, environments, identities, data, and threat scenarios the defensive function covers. Define what it delivers: monitoring, alert triage, threat hunting, incident coordination, detection engineering, intelligence integration, validation, reporting, and advisory support. Record exclusions, hours, escalation channels, response authority, dependencies, and degraded-mode behavior. “Monitor everything” is not a scope.
Roles and decision rights
Tier 1 validates alert identity, gathers bounded context, follows runbooks, and escalates. Tier 2 reconstructs activity and coordinates deeper investigation. Tier 3, hunting, detection engineering, malware, identity, cloud, and forensics provide specialist analysis. Incident command owns coordination. Service and business owners authorize impact-bearing actions. Legal, privacy, HR, communications, and executive roles join under declared criteria.
Case lifecycle
Use explicit states such as new, acknowledged, scoped, investigating, awaiting evidence, awaiting owner, contained, monitoring, recovered, closed, and reopened. Define entry and exit criteria, reason codes, service-level targets, ownership transfer, and clock-pause rules. Preserve state transitions rather than overwriting history.
Service catalogue
For each service, name the customer, intake, supported scope, data requirements, output, response time target, approval boundary, escalation, evidence standard, retention, and quality measure. Separate 24×7 alert response from business-hours engineering and planned hunting.
Operating rhythm
Use shift handover, queue health, high-risk service review, detection change review, sensor health review, incident review, hunt planning, exercise review, and monthly risk reporting. Meetings exist to make decisions; dashboards should make their inputs traceable.
Applied exercise — design a three-tier service
Select one customer-facing service and document owner, data classification, availability need, identities, components, and critical threat scenarios.
Create one case state diagram, one escalation matrix, one shift-handover template, and degraded-mode procedure for SIEM or identity-platform failure.
Run a tabletop alert through the process. Measure decision time, handoff loss, repeated work, unavailable context, and ambiguous authority.
Revise the service catalogue and record the remaining accepted risks.
Evidence gate: another shift can inherit the case and explain current state, supporting evidence, open questions, next action, owner, deadline, and authority without contacting the original analyst.
Module 2 — Asset, service, identity, and exposure context
Know what the event concerns
Fast investigation depends on current context. Enrichment should narrow uncertainty, not flood the case with unverified OSINT or stale inventory.
Build a point-in-time defensive entity model
Maintain stable records for applications, services, hosts, cloud resources, containers, devices, networks, identities, credentials, data stores, software, vulnerabilities, vendors, and owners. Record source, verification time, lifecycle state, confidence, aliases, and relationships. Separate authoritative inventory from discovered evidence and analyst inference.
Business context
Attach criticality, customer impact, data classification, regulatory boundary, recovery objectives, on-call owner, maintenance window, geography, environment, and dependency path. A development host with a path to a production secret can be higher priority than a nominally “critical” isolated server.
Exposure and vulnerability
Record internet reachability, trust zone, gateway, public name, address ownership, certificate, listening services, software evidence, configuration, vulnerability candidate, exploit prerequisites, compensating control, and validation state. Shared CDN or SaaS infrastructure must not be imported as customer-owned assets merely because it appears in DNS or scan results.
Quality signals
Measure freshness, source authority, coverage, orphaned records, duplicate identities, unresolved owners, ephemeral-resource reconciliation, IP reuse, stale vulnerabilities, and conflicting criticality. Display uncertainty to analysts instead of silently choosing one source.
Safe enrichment
Cache and timestamp reputation, passive DNS, certificate, ASN, geolocation, vulnerability, threat intelligence, and sandbox results. Preserve provider terms, query provenance, rate limits, privacy boundaries, and whether a result concerns the exact artifact or shared infrastructure.
Applied exercise — enrich an internet alert
Start with one outbound network event. Resolve endpoint, user, process, service, owner, environment, and event-time IP allocation from authoritative sources.
Resolve destination name, IP, ASN, certificate, passive history, reputation, and known intelligence with collection times and source citations.
Separate confirmed entity links, time-bounded observations, heuristics, and unrelated shared-hosting results.
Recalculate priority using asset importance, exposure, behavior, confidence, and potential impact—not reputation score alone.
Record which enrichment changed the decision and which merely increased noise.
Boundary: active scanning, sandbox submission, file upload, third-party lookup, or external AI processing may disclose customer data or touch systems outside authority. Use approved providers, sanitized inputs, and explicit assessment authorization.
Collecting more data is not equivalent to visibility. Start with decisions and behaviors, define required fields, test the complete path, and continuously monitor data health.
Translate behavior into telemetry requirements
For each priority behavior, name the actor, action, object, outcome, source and destination, session, process or request lineage, privilege, timestamp semantics, and expected benign context. Identify the source that can observe each element and the control point that can respond. ATT&CK detection strategies and analytics can help organize behavior and mutable environmental elements; note that the older ATT&CK data-source catalogue is retained for reference but deprecated from v18 onward.
Collection pipeline
Document producer → local buffer → agent or API → broker → parser → normalization → enrichment → storage → query → analytic → alert → case. At each hop record authentication, encryption, batching, retry, loss behavior, ordering, backpressure, permissions, and health metrics.
Normalization
Retain raw events and map to a documented schema. OCSF supplies a vendor-neutral security-event model; OpenTelemetry supplies interoperable telemetry concepts. A mapping must preserve source field, normalized field, type, unit, cardinality, enum, null behavior, transformation, parser version, and examples.
Quality and health
Monitor source count, event rate, freshness, lag, parse failures, unknown enum values, null critical fields, duplicate rate, dropped messages, clock skew, schema drift, cardinality explosion, permission failures, and collector resource pressure. Alert on silent data loss separately from adversary behavior.
Retention and access
Match hot, warm, archive, and evidence retention to investigation needs, cost, legal holds, privacy, and recovery. Apply least privilege, field-level protection where needed, query auditing, export controls, immutable evidence storage, and tested restoration.
Minimum telemetry contract
Contract field
Required definition
Validation
Source identity
Producer, tenant, environment, integration, schema and parser version
Known fixture retains identifiers through storage
Time
Source, event, collection and ingestion semantics; zone and precision
Injected event compared across every hop
Entity
Stable user, device, workload, application, resource and session keys
Join accuracy tested against authoritative inventory
Action
Verb, object, result, reason, privilege and request lineage
Success, denial, failure and partial outcomes generated
Health
Heartbeat, volume envelope, lag, loss, parse and authorization metrics
Collector stop, queue delay and schema change exercised
Applied exercise — onboard one high-value source
Select one behavior and write the exact fields needed to distinguish malicious, administrative, automated, and ambiguous activity.
Module 4 — Detection engineering and detection as code
Behavior to tested decision logic
A production detection is a maintained software-and-operations artifact: hypothesis, data contract, logic, tests, deployment, monitoring, runbook, ownership, tuning, and retirement.
Write the analytic contract before the query
Define the adversary or risky behavior, why it matters in this environment, required telemetry, observable sequence, expected legitimate behavior, entity scope, time window, threshold, severity rationale, case fields, analyst decision, response options, owner, and limitations. Map ATT&CK only when the behavior supports the mapping. A technique label does not prove coverage of every implementation of that technique.
Lifecycle
Backlog → researched → specified → implemented → unit-tested → replay-tested → peer-reviewed → staged → simulated → production → monitored → tuned → superseded or retired. Require evidence for each transition and a rollback path for logic or pipeline changes.
Detection as code
Store rule source, schema, metadata, tests, fixtures, mappings, runbook, changelog, ownership, deployment target, and conversion pipeline in version control. CI should validate syntax, schema, unique identifiers, references, field availability, mappings, test results, secrets, performance budgets, and generated queries.
Behavior and correlation
Single-event analytics are useful for rare, high-signal actions. Correlations connect events by identity, host, process, session, request, resource, destination, or time. Sequences can improve context but create ordering, cardinality, windowing, late-arrival, duplicate, and state-expiry failure modes that must be tested.
Tuning and retirement
Prefer scoped contextual filters over broad allowlists. Every suppression needs owner, reason, target, expiry, review, and estimated miss risk. Retire rules when the behavior, telemetry, control, product, or threat premise no longer applies; retain history and a replacement link.
Portable rule metadata
Sigma provides a structured, shareable rule format with log source, detection logic, status, references, tags, false-positive notes, severity, and other metadata. Conversion does not make a rule production-ready: field mappings, backend semantics, case sensitivity, wildcard behavior, escaping, aggregation, time windows, null handling, and source availability must be validated in the destination.
title: Suspicious Encoded PowerShell With Network Follow-On
id: 0d5e5d83-17d1-4fc6-bdaf-6c524d1fd086
status: experimental
description: Lab example; validate field mappings and benign automation locally.
logsource:
product: windows
category: process_creation
detection:
selection_image:
Image|endswith: '\powershell.exe'
selection_flag:
CommandLine|contains:
- ' -enc '
- 'FromBase64String'
condition: selection_image and selection_flag
falsepositives:
- Approved administrative automation
level: medium
tags:
- attack.execution
- attack.t1059.001
Applied exercise — productionize one analytic
Start with a behavior hypothesis and build positive, near-positive, benign, malformed, duplicate, late, and missing-field fixtures.
Implement the smallest logic that separates the labeled fixtures. Document every field and backend assumption.
Replay against representative historical data. Review sampled matches and non-matches; record label criteria and uncertainty.
Deploy in observation mode, measure volume and latency, simulate the behavior safely, and verify alert and case content.
Release with owner, runbook, monitoring, change record, rollback, review date, and explicit coverage boundary.
Evidence gate: the rule repository, generated backend query, deployed object, test result, observed event, alert, case, analyst decision, and response evidence are linked by stable identifiers and versions.
A hunt is a planned investigation of a defined hypothesis in available telemetry. It is not an unbounded search for “anything suspicious,” and it does not claim execution against systems unless the query was actually run.
Construct a testable hypothesis
Derive the hypothesis from threat intelligence, an incident, a coverage gap, a new technology, an anomaly, or a control change. State actor or behavior, target population, expected observables, data sources, time window, alternative explanations, and a disconfirmation condition. Example: “On managed Windows endpoints, an adversary may execute encoded PowerShell from an Office child process and make a new outbound connection within five minutes; approved deployment tooling is the main expected benign cause.”
Plan
Record scope, owner, priority, ATT&CK mapping, data contracts, field and time semantics, queries per platform, expected volume, join keys, review sampling, evidence handling, stop conditions, safety, and escalation. Verify source health before interpreting absence.
Analyze
Begin broad enough to validate the data, then narrow by behavior and context. Keep query versions and result counts. Pivot across parent/child process, identity, session, device, DNS, network, file, cloud, and service activity. Test competing explanations and inspect raw events when normalized fields drive the conclusion.
Conclude and hand off
Close as supported, unsupported in searched data, partially supported, inconclusive, or blocked by visibility. Separate findings, leads, coverage gaps, data-quality issues, new detections, control work, incident escalation, and accepted risk. Record the searchable population and limitations.
Build reusable knowledge
Promote proven logic into tested detections; store safe query examples by language; link required telemetry and ATT&CK behavior; add false-positive notes; and record when the hunt should run again. A hunt that finds nothing can still improve the data contract or disprove a threat assumption.
Confirm process creation, PowerShell script-block or equivalent, network, DNS, and endpoint identity data for the selected population.
Query for encoded or decode-related PowerShell usage; measure normal prevalence and identify common management tools.
Join suspicious process events to parent process, signer, user, endpoint, destination, and subsequent file or persistence activity.
Review high-context matches against approved change and automation records. Preserve exact raw events and query version for candidates.
Create a detection proposal for the stable behavior chain and a telemetry backlog item for any unanswerable part.
Boundary: AI can propose hypotheses, queries, pivots, and summaries, but it cannot assert that a query ran, invent a result, assign a verdict, or replace analyst validation of fields and syntax.
Module 6 — Alert triage, investigation, and escalation
Convert a lead into a decision
Triage establishes whether the alert concerns the expected entity and behavior, whether immediate protection is needed, and who should own the next decision. It should not become shallow box-checking or an endless investigation at Tier 1.
Validate intake before enrichment
Confirm alert identifier, rule version, source events, time range, entity, environment, current rule health, duplicates, known test activity, and whether the data is complete. Read the logic and runbook. Determine what matched and which part of the description is interpretation. Assign priority using potential impact, asset and identity context, behavior, confidence, exposure, active scope, and response urgency.
Bounded enrichment
Collect only information that can change a decision: process lineage, signer and hash, user/session, asset, service owner, destination, threat intelligence, vulnerability, recent changes, peer behavior, authentication, and adjacent alerts. Timestamp external lookups and distinguish exact matches from associations.
Timeline and competing hypotheses
Build an ordered activity graph around the entity and event. List at least one malicious, one benign, and one data-quality explanation. For each, record supporting evidence, contradicting evidence, and the next discriminating query. Do not let the alert title become the hypothesis.
Escalation
Escalate with a decision request, not a data dump: what happened, affected entities, why it matters, evidence, uncertainty, actions taken, immediate risk, requested authority, recommended next steps, containment options, owner, and deadline. Use an incident trigger matrix for high-impact or multi-system activity.
Closure
Use specific dispositions and reason codes. Link evidence, record whether the rule worked as intended, capture a tuning or engineering task, remove temporary response changes, notify stakeholders, and set a reopen condition. “False positive” should not hide missing data, expected test, duplicate, or unresolved activity.
Process, persistence, credential, and response evidence
Endpoint telemetry is powerful because it exposes execution and state change, but sensor visibility, operating-system semantics, identity, and process lineage must be understood before assigning intent.
Design endpoint visibility around behaviors
Collect process creation and termination, parent and ancestry, command execution, image and module load, signer, file creation and modification, registry or configuration change, service and scheduled task, logon and token activity, script content where approved, network connection, DNS, driver, security control state, removable media, and sensor health. On Linux and macOS, map equivalent process, audit, launch, persistence, package, shell, authorization, and network sources instead of forcing Windows field assumptions.
Process reasoning
Analyze image path, canonical executable, hash, signer, reputation, parent, grandparent, user, integrity or privilege, session, command line, working directory, environment, file origin, loaded code, network activity, and downstream state changes. No single field proves maliciousness.
Response actions
Isolation, process termination, file quarantine, hash block, credential reset, memory capture, forensic package, scan, script collection, and reimage have different evidence and availability effects. Require target verification, authority, action logging, success check, alternate access, rollback, and service-owner coordination.
Coverage gaps
Account for sensor tampering, kernel and firmware boundaries, unmanaged hosts, offline devices, VDI, containers, ephemeral workloads, encrypted or in-memory content, interpreter and living-off-the-land behavior, exclusion policies, performance sampling, event loss, and privacy limits.
Endpoint hardening loop
Detection should inform application control, least privilege, script policy, attack-surface reduction, credential protection, patching, logging, administrative tiering, and backup. D3FEND provides useful countermeasure vocabulary, but it does not prescribe or rank effectiveness for a local environment.
Generate a safe lab process chain with a document-like parent, script interpreter, benign encoded content, file write, and controlled destination.
Trace original events through collection and normalization. Confirm process GUID or equivalent links survive.
Write single-event and correlation variants. Test with common administrative scripts, deployment tools, login scripts, and developer workflows.
Verify alert fields allow Tier 1 to see parent, command, signer, user, host, destination, and event references without opening multiple consoles.
Test isolation and evidence collection on a lab host; verify authorization, action result, user impact, and rollback.
Evidence gate: report observed process and state behavior. Do not label a binary “malware” solely because it is unsigned, rare, encoded, or launched by a suspicious parent.
Module 8 — Network defense, protocol analysis, and NDR
Connection context beyond an IP
Network evidence describes communication from a particular observation point. Interpret routing, address translation, proxies, shared infrastructure, encryption, and application semantics before attributing the activity.
Choose the right observation points
Flow records summarize who communicated, when, for how long, and how much. DNS adds requested names and resolution context. Proxy and gateway logs add user, URL, method, policy, and application. Firewall logs add control decisions. Packet capture adds protocol content where collection is lawful and technically available. Endpoint network events add initiating process. Cloud flow and load-balancer logs expose virtual-network paths. No source alone reconstructs every hop.
Protocol analysis
Validate protocol rather than trusting the port. Inspect handshake, direction, state, method or message type, status, negotiated features, timing, payload size, periodicity, errors, and peer behavior. Establish the expected application and compare deviations across the same service and population.
Encrypted traffic
Use SNI where present, certificate, issuer, validity, JA4 or other approved fingerprints, ALPN, DNS, flow shape, destination history, proxy identity, endpoint process, and service context. Fingerprints and reputation are supporting features, not verdicts. TLS inspection has privacy, legal, trust, performance, and application-compatibility consequences.
Network response
Blocking a domain, address, certificate, URL, application, account, or route has different precision and collateral risk. Shared hosting, CDNs, cloud ranges, resolvers, and SaaS make broad address blocks dangerous. Record scope, expiry, owner, business exception, propagation, verification, and rollback.
NDR limits
East-west blind spots, remote users, split tunneling, QUIC, encrypted DNS, service meshes, cloud-provider abstractions, NAT, sampling, packet loss, asymmetric routing, short retention, and high-throughput truncation can hide or distort behavior. Monitor the sensor and capture path as a production service.
Modern incidents often progress through valid identities, sessions, applications, devices, federation, certificates, and delegated trust. Defend the effective identity path, not only password events.
Model identity as a changing graph
Represent human and service identities, devices, workloads, tenants, directories, groups, roles, permissions, applications, credentials, certificates, sessions, federation, delegation, recovery methods, and resources. Record immutable IDs and point-in-time memberships. High-risk edges include privilege assignment, group control, password or key reset, consent, impersonation, delegation, certificate enrollment, role assumption, session creation, and trust-policy change.
AD and Kerberos
Correlate logon, ticket request, directory query, group and ACL change, service principal, certificate services, replication, remote service, process, and endpoint evidence. Kerberoasting, DCSync, pass-the-ticket, golden-ticket, delegation, and AD CS abuse require different prerequisites and artifacts; one Windows event ID is rarely sufficient.
Cloud identity
Monitor sign-in, authentication strength, conditional access, device state, session, token, application consent, OAuth permission, service principal, workload identity, role assignment, mailbox and forwarding rule, secret or certificate, federation, and administrative API use. Connect control-plane actions to the effective identity and session.
Identity response
Actions may include session revocation, credential rotation, account disable, role removal, consent revocation, token invalidation, device quarantine, federation key rotation, certificate revocation, and recovery-method reset. Order matters: an attacker-controlled recovery path can restore access after a password change.
Identity baselines
Compare role, privilege, device, location, authentication method, client, resource, peer group, and working pattern. Do not equate travel, VPN, cloud egress, or new device with compromise. Baselines should explain features and tolerate legitimate changes.
Applied exercise — Kerberoasting detection and response
Build a lab domain with a controlled SPN account, test user, endpoint telemetry, domain-controller events, and known time synchronization.
Generate normal service-ticket traffic and an authorized Kerberoasting simulation. Compare request encryption type, volume, target SPNs, requesting identity, host, process, and subsequent activity.
Test a rule against administrative scanners, service discovery, monitoring, and application behavior. Avoid a blanket “any RC4 ticket is malicious” verdict.
Investigate the identity path: credential exposure, privilege, reachable systems, delegation, group control, logons, and persistence.
Practice containment order, evidence preservation, service-owner coordination, password rotation, ticket/session invalidation, and verification.
Module 10 — Cloud, containers, Kubernetes, and SaaS defense
Control-plane and runtime evidence
Cloud defense begins with organization, tenant, account, subscription, project, cluster, namespace, region, identity, and resource IDs. IP addresses and instance names alone are unreliable in elastic environments.
Treat control-plane APIs as privileged operating-system events
Collect administrative and data-access events for identity, compute, network, storage, database, secrets, keys, logging, security controls, serverless, orchestration, and organization policy. Preserve actor, assumed role or service principal, session, source, user agent, API, resource, region, request parameters with secret filtering, result, error, and request ID. Monitor log disabling, policy changes, snapshot or image creation, public exposure, credential creation, discovery bursts, and cross-account access.
Kubernetes audit
Kubernetes audit records can answer who did what, when, to which resource, from where, and with what result. Policy controls whether metadata, request, or response bodies are recorded. Collect API audit, authentication, RBAC, admission, controller, kubelet where accessible, workload, runtime, image, registry, network, and cloud control-plane data while protecting secrets in bodies.
Workload and runtime
Map image digest, signature or provenance, deployment, namespace, service account, node, pod UID, container ID, process, file, network, capability, mount, secret access, exec, port-forward, and admission result. Ephemeral workloads require prompt enrichment and retention of orchestration history.
SaaS defense
Prioritize identity, session, sharing, export, API token, OAuth application, mailbox rule, administrative change, data access, device, and audit-configuration events. Verify the provider’s retention, export delay, API limits, schema changes, administrator access model, and incident-support process.
Cloud response
Actions include revoking a session, disabling a key, removing a role, isolating a workload, changing a security group, blocking public access, rotating a secret, snapshotting evidence, scaling down, quarantining an image, or restoring policy. Automation must verify account, region, resource ID, current owner, dependencies, and rollback.
Enable an approved audit policy in a lab and verify event stages, user, groups, source IP, verb, resource, namespace, name, response, request ID, and omission of sensitive content.
Create normal controller and workload access, then perform an authorized unexpected secret list/get with a test service account.
Correlate API audit with RBAC, pod, image, process, node, network, and cloud identity. Distinguish a controller, human administrator, compromised workload, and scanner.
Test alert volume and late events. Verify ephemeral pod and service-account context remains available after deletion.
Practice token revocation or workload isolation, policy correction, secret rotation, redeployment, and service verification.
Module 11 — Email, web, API, data, and insider defense
Cross-domain behavior and human context
These investigations cross technical and organizational boundaries. Apply privacy, legal, HR, communications, and data-handling rules while maintaining technical rigor and presumption discipline.
Defend the delivery, identity, session, execution, and data paths
For email, preserve message and trace identifiers, sender and envelope, authentication results, routing, URLs, attachments, sandbox evidence, recipient actions, mailbox rules, forwarding, authentication, session, OAuth grants, and post-delivery remediation. Do not infer sender identity from a display name or single header. Coordinate message purge, URL block, session revocation, password reset, consent removal, endpoint review, and recipient communication.
Web and API
Correlate edge, WAF, gateway, application, authentication, authorization, database, cache, service mesh, trace, and deployment events by request or trace ID. Monitor abnormal authentication, enumeration, injection indicators, object access, rate change, error patterns, administrative API use, data export, and control bypass while accounting for bots, scanners, retries, and application releases.
Data movement
Model source, actor, object, classification, operation, destination, volume, rate, compression, encryption, sharing, removable media, print, clipboard, repository, cloud storage, email, and network path. Context should include role, project, approved workflow, time, peer baseline, offboarding, and service-account behavior.
Insider-risk discipline
Detection should identify reviewable behavior, not declare motive or guilt. Separate malicious insider, compromised account, negligent action, policy violation, legitimate exception, automation, and data-quality explanations. Limit access to sensitive case information; use independent review and approved HR/legal processes.
Human-centered response
Protect potentially affected people, avoid unnecessary disclosure, use neutral language, document need-to-know access, and preserve appeal or correction paths. Security evidence can be incomplete, biased by coverage, or misattributed through shared identities.
Applied exercise — unusual repository-to-cloud transfer
Create a synthetic repository and data classification. Generate normal developer clones and an approved large export to a lab destination.
Module 12 — Incident response, DFIR, crisis coordination, and recovery
Technical action under governed authority
Incident response spans preparation, detection, analysis, response, and recovery across the organization. Current NIST SP 800-61r3 aligns incident-response recommendations with the six CSF 2.0 Functions rather than treating response as an isolated late-stage process.
Prepare authority, evidence, communications, and alternatives
Maintain incident classification and declaration criteria, severity model, on-call roster, incident command roles, service and business contacts, legal and regulatory path, communications plan, evidence procedures, responder access, clean communications, emergency credentials, provider support, forensic capability, backup and restoration evidence, containment patterns, and exercise schedule. Test these dependencies before an incident.
Analysis and scoping
Establish initial facts, affected services and identities, potential impact, entry and persistence hypotheses, time bounds, known and unknown entities, current activity, data exposure question, evidence sources, collection priority, and confidence. Maintain an incident timeline, action log, decision log, evidence index, hypothesis register, and task board.
Containment and eradication
Choose actions by risk, scope, reversibility, evidence effect, operational impact, attacker visibility, dependencies, and recovery readiness. Short-term containment may isolate endpoints, revoke sessions, restrict network paths, disable exposed keys, or protect a service. Eradication addresses persistence, credentials, vulnerable paths, malicious artifacts, and control failures after sufficient scope is established.
Recovery and learning
Recover from known-good state, rotate affected trust, verify configuration and identity, restore monitoring, increase observation, test business transactions, communicate residual risk, and define closure criteria. Post-incident review should separate causal factors, detection and response gaps, control improvements, owners, dates, validation, and accepted risk.
Evidence handling
Record collector, authority, source, acquisition method, time, tool and version, target identifier, hash where appropriate, storage, access, transfer, transformation, and analysis. Preserve originals and work from verified copies. Legal admissibility requirements vary; coordinate with counsel and applicable policy.
Build a timeline and scope graph. Decide whether and when to revoke sessions, disable identity, protect break-glass accounts, rotate secrets, preserve logs, and isolate workloads.
Introduce a business dependency that makes immediate account disable risky. Document the decision, compensating control, approval, monitoring, and deadline.
Recover, verify, monitor, close, and create tested detection, logging, identity, and runbook improvements.
Evidence gate: each material response action has a named approver, exact target, rationale, expected impact, execution record, success verification, evidence consequence, rollback or recovery plan, and owner.
Module 13 — AI-assisted defense, RAG, agents, and MCP
Assistance with explicit boundaries
AI can accelerate mechanical analysis and expose useful pivots. It also introduces non-determinism, prompt injection, context leakage, unsupported claims, tool misuse, stale retrieval, and automation risk. Keep evidence, policy, and human authority outside the model. Apply the AI Security logging and detection model to the prompts, retrieval, policy decisions, tool calls, approvals, and outcomes that ordinary application telemetry cannot explain alone.
Define permitted AI roles by stage and data class
Useful roles include summarizing a bounded evidence set; extracting entities with source spans; proposing hypotheses, queries, correlations, and false-positive checks; explaining rule logic; comparing timelines; drafting case notes; mapping reviewed behavior to ATT&CK; translating a validated analytic between query languages; and identifying missing context. Prohibited or gated roles should include unsupervised verdicts, autonomous containment, uncontrolled external enrichment, secret handling, unsupported attribution, and claims that tools or queries ran when they did not.
RAG and provenance
Retrieve from authorized, current, tagged data with stable IDs, source, timestamp, sensitivity, tenant, parser and embedding version, and access controls. Filter before retrieval, not only after generation. Return citations to exact records or passages. Reconcile new and changed IOCs, CVEs, reports, assets, rules, cases, and relationships; measure stale, orphaned, duplicate, and inaccessible chunks.
MCP and tool use
Expose small typed tools with explicit schemas, read versus write classification, target validation, timeouts, rate limits, result size limits, authentication, audit IDs, safe defaults, and structured errors. Keep scanners and high-risk utilities in isolated services. Require authorization evidence and human confirmation for external scans, uploads, changes, or response actions.
Control plane
Use provider policy, model allowlist, data classification, prompt templates, tool allowlist, network egress control, secret broker, tenant isolation, context budgets, output schema validation, citation checks, human review, full audit, cost limits, kill switch, and fallback. Treat retrieved reports, webpages, emails, and tool output as untrusted content that may contain instructions.
Evaluation
Test extraction accuracy, citation fidelity, unsupported-claim rate, schema validity, query correctness, secret leakage, tenant isolation, prompt injection, tool-selection precision, denial handling, timeout, partial result, duplicate actions, and human override. Preserve model, prompt, retrieval set, tool calls, output, reviewer changes, and final decision.
Applied exercise — AI-assisted hunt query
Create a saved hunt hypothesis with data classification, selected provider policy, telemetry schema, and a reviewed context package.
Ask the assistant for Sigma, KQL, SPL, EQL, or YARA-L output using a strict response schema: language, query, required fields, assumptions, expected evidence, false positives, and validation steps.
Reject invented fields and syntax. Compile or parse where possible, review against the destination schema, and run only through an approved analyst-controlled workflow.
Compare returned rows with the hypothesis; preserve queries and raw event references. Ask the model to summarize only the supplied evidence with citations.
Record human edits, final disposition, provider/model/prompt version, retrieval references, token or cost metadata where policy requires, and whether the assistance improved time or quality.
Non-negotiable boundary: model output is a lead, not evidence. Retrieval relevance is not source truth. A tool call is not successful until its authenticated structured result is received, validated, linked to the case, and reviewed.
Select behavior from a current threat model or intelligence requirement. Define technique and implementation, target, preconditions, expected telemetry, safety limits, allowed effects, cleanup, stop condition, approvals, observers, and rollback. Use isolated lab systems when possible. In production, favor reversible tests with synthetic data and minimal mutation. Never assume an Atomic Red Team, CALDERA, custom script, or commercial simulation is safe merely because it is packaged as a test.
Validation layers
Record execution evidence, control outcome, raw source event, collector arrival, normalized fields, query result, rule match, alert fields, case creation, analyst acknowledgement, escalation, response action, target verification, and cleanup. A green rule test does not prove alert routing or operational response.
Metrics that support decisions
Measure source freshness and completeness, alert acknowledgement and decision time by priority, escalation quality, reopen rate, queue age, rule deployment lead time, test pass rate, sensor failure detection, incident containment and recovery milestones, exercise findings, overdue owners, and recurrence. Define population, clock, exclusions, owner, verification date, and limitations for every metric.
Coverage governance
Maintain a matrix of priority behavior → environment → required telemetry → analytic → test → runbook → owner → current state → last validation → limitation. Distinguish planned, data-ready, implemented, tested, operational, degraded, superseded, and retired. Never reduce this to colored ATT&CK cells without evidence.
Maturity path
Progress from ad hoc observation, to documented services and data contracts, versioned tested analytics, integrated response and exercises, then measured adaptive improvement. Maturity is not tool count or event volume; it is the repeatability and quality of risk-reducing decisions.
Use these compact references during design and review. They expose the dependencies that graphical consoles often hide.
Deep dive 1 — telemetry pipeline design and failure testing
Begin with a source register: source and owner, environments, authentication, event types, expected rate envelope, critical fields, timestamp semantics, schema/version, privacy class, collection method, buffering, retention, cost, downstream rules, and support path. Store a representative fixture for every critical event class. Parse from the real fixture rather than hand-written examples.
Design for at-least-once delivery where practical and make downstream logic tolerant of duplicates. If the source cannot guarantee order, use stable sequence or entity keys and event-time windows. Define maximum acceptable source-to-search latency and monitor percentiles, not only averages. Differentiate zero legitimate volume, missing source, blocked authentication, parser rejection, queue backlog, storage throttle, and query failure.
Exercise the pipeline: stop the agent; revoke its token; fill the local buffer; change a field from integer to string; add an enum; omit a critical field; send a large record; send duplicate records; deliver late; deliver out of order; exceed the rate; rotate a certificate; fail DNS; and recover. Verify the health alert identifies the failing layer and does not itself depend exclusively on that layer.
Exit criterion: a maintainer can identify loss, lag, schema drift, authorization failure, and recovery from service telemetry, while an analyst can see whether an apparently empty query is trustworthy.
Deep dive 2 — rule specification, test pack, and production review
The specification should include purpose, risk statement, behavior, target population, excluded environments, event and field dependencies, query logic, correlation keys and window, severity, triage question, case fields, response options, expected benign patterns, known bypasses, ATT&CK and control mappings, owner, test owner, review date, and deprecation path. Keep the detector’s claim narrower than its name.
A useful test pack contains a minimal positive, alternate positive, boundary value, expected benign, near miss, missing field, null field, wrong type, duplicate, late event, reversed order, high-cardinality stress, and historical representative sample. Correlation tests should verify window start/end, identity reuse, host rebuild, session change, late arrival, and event deduplication. Performance tests should include the widest normal population and known peak.
Peer review asks whether the behavior is meaningful, data exists and is healthy, logic matches intent, mappings are justified, filters are scoped and expiring, test labels are credible, alert context answers the first analyst questions, runbook actions are authorized, volume is supportable, and rollback works. Production monitoring watches execution errors, latency, result volume, alert volume, entity concentration, disposition mix, suppression changes, source changes, and incidents the rule should have seen.
Deep dive 3 — investigation timeline and activity graph
Create two linked views: a chronological event ledger and an entity/activity graph. The ledger stores normalized time, uncertainty, source, event ID, actor, action, object, outcome, observation, and evidence reference. The graph stores entities and sourced relationships such as user authenticated session, session called API, process created process, process opened connection, identity assumed role, workload read secret, or file executed on host.
Do not create an edge merely because two events share a display name or IP. Record the join key, time constraint, source authority, confidence, and alternative. For every major hypothesis, list confirming and contradicting evidence and a next discriminating query. Maintain a “known unknowns” section: missing endpoint, unavailable audit body, expired retention, unmanaged device, unresolved NAT, shared identity, unverified clock, or inaccessible SaaS logs.
At handoff, provide the high-level narrative separately from the ledger. Narrative should cite event references and state uncertainty. Raw logs should remain accessible under appropriate controls. Screenshots can orient reviewers but should not be the sole evidence when exportable records exist.
Deep dive 4 — platform-neutral threat-hunt package
Supported, unsupported in searched data, partial, inconclusive, or blocked
Handoff
Incident/case, detection, telemetry, control, intelligence, or accepted risk
When translating between Sigma, KQL, SPL, EQL, Lucene, SQL, or YARA-L, maintain a platform-neutral test dataset and expected matches. Translation must account for field names, arrays, case, wildcards, regex, null, time, aggregation, join behavior, and backend limits. Never mark a query “validated” because it parses; validation requires representative events and reviewed results.
Deep dive 5 — identity incident containment sequence
Inventory the identity and trust path before changing it: immutable identity, account type, directory, tenant, sessions, devices, authentication methods, credentials, tokens, applications, consents, groups, roles, delegated access, recovery methods, federation, certificates, workload identities, automation, service dependencies, owners, and break-glass relationship. Identify attacker-controlled paths and business-critical dependencies.
A possible sequence is: preserve identity and audit evidence; establish clean responder access; protect emergency accounts; block or condition the risky session; revoke sessions and refresh tokens; disable or restrict the account when authorized; remove malicious grants and role changes; rotate exposed credentials, keys, certificates, and dependent secrets; correct federation or conditional-access changes; examine endpoints and workloads; restore legitimate access through verified recovery; monitor; and test. The correct order depends on active risk and environment.
After containment, query for reuse of the same credential, token, source, device, application, service principal, certificate, mailbox rule, or behavior across the tenant. Verify that revocation propagated. Closing an identity incident after one password reset is rarely sufficient when sessions, applications, devices, or recovery paths were affected.
Deep dive 6 — cloud and Kubernetes evidence boundaries
For cloud events, preserve organization and account, region, immutable principal, role or service principal, session, credential or key identifier without secret, source network, user agent, API, resource ARN/ID, request ID, result, error, and relevant request changes. For Kubernetes, preserve cluster, API server, audit ID, stage, source, user and groups, impersonation, verb, API group, resource, namespace, name, response code, admission decision, pod UID, service account, image digest, node, and runtime identifier.
Body logging can expose secrets and personal data; metadata-only policies can omit parameters required for investigation. Design policy by resource, verb, environment, sensitivity, and threat need. Validate that high-value mutating actions are visible without collecting unnecessary secret contents. Monitor audit-event drop and error counters, backend delay, webhook failure, policy changes, and storage pressure.
When a workload is deleted, names may be reused. Enrich events promptly with UID, deployment, image digest, owner, service account, node, labels, and cloud identity, and retain the point-in-time record. Avoid treating a current inventory lookup as proof of historical state.
Deep dive 7 — AI, RAG, and MCP assurance checklist
Document use case, prohibited actions, data class, provider, model, region, retention, training policy, and fallback.
Enforce tenant and document authorization before retrieval; apply sensitivity and TLP filters; cite stable source IDs and passages.
Version chunking, parsing, metadata, embeddings, index, prompt, model, tool definitions, and response schema.
Label all retrieved and tool-provided text as untrusted data; prevent it from changing system policy or tool authority.
Use typed MCP schemas, bounded parameters, exact target confirmation, read/write classification, rate and time limits, idempotency, structured error, and audit ID.
Require human confirmation for external scans, uploads, messages, configuration changes, account actions, containment, and deletion.
Evaluate citation accuracy, unsupported claims, secret leakage, cross-tenant access, prompt injection, tool misuse, stale retrieval, denial, timeout, and partial results.
Display provider and readiness honestly. A configured key is not proof of live connectivity, model access, or policy permission.
Exit criterion: a reviewer can reconstruct exactly which authorized sources, prompt, model, tools, parameters, and outputs contributed to a suggestion, and can show that the final decision and any material action were independently approved.
End-to-end defensive case studies
6 evidence-led scenarios
These are training blueprints. Use synthetic or authorized lab data, adapt queries to the local schema, and do not treat a scenario outcome as evidence about a real environment.
Case 1 — suspicious encoded PowerShell with network follow-on
EndpointNetworkT1059.001Detection engineering
Trigger: process creation matches encoded or decode-related PowerShell syntax. Question: is this approved automation, user activity, testing, or unauthorized execution?
Validate the raw process event, rule version, source health, endpoint, user, parent, ancestry, command line, signer, session, and time.
Decode only in an isolated analysis workflow; preserve original text and hash. Do not execute retrieved content.
Pivot to script-block or interpreter evidence, file writes, child processes, persistence, credentials, DNS, connections, proxy, and destination intelligence.
Compare deployment, login, security, developer, and support automation. Check change record and script ownership.
If supported, scope across the decoded indicators, parent, signer, user, destination, and behavior. Escalate with containment options.
Improve the detector by correlating parent, obfuscation, network, signer, and asset context rather than adding one global command-line allowlist.
Decision record: source events, decoded representation, execution relationship, network relationship, business validation, alternative explanation, confidence, affected scope, and response authority.
Case 2 — low-and-slow privilege path through identity changes
ITDRDirectoryCloudCorrelation
Trigger: a low-privilege identity registers a new authentication method, consents to an application, receives an indirect group or role edge, and later accesses a sensitive service. Each event may be individually legitimate.
Build the point-in-time identity graph and preserve immutable user, application, group, role, session, device, and resource IDs.
Correlate authentication-method, consent, group, role, conditional-access, sign-in, token, and resource-access events over an environment-appropriate window.
Validate owner, change request, help-desk or administrator actions, application publisher, permission grant, device, and recovery path.
Search for similar grants, same application, same administrator, same source, same device, and access to other resources.
Contain the complete trust path, not only the password; verify sessions, tokens, grants, roles, credentials, devices, and recovery.
Case 3 — phishing and adversary-in-the-middle session theft
EmailIdentityEndpointResponse
Trigger: a user reports a realistic sign-in lure; identity telemetry later shows a new session with successful MFA and unusual resource access. Risk: password-only reset may leave stolen sessions or consent.
Preserve the original message, headers, trace, URL, attachment, delivery and click evidence without broadly redistributing sensitive content.
Identify recipients and related messages by message and campaign features; distinguish exact URL, redirector, landing domain, and shared infrastructure.
Correlate click time with DNS/proxy, browser or endpoint, sign-in, authentication method, conditional access, device, session, token, and resource activity.
Search for mailbox rules, forwarding, OAuth consent, password or method changes, file access, data export, and lateral messaging.
Purge or contain the message and destination, revoke sessions, reset affected trust, remove persistence, review endpoints, communicate, and verify.
Do not overclaim: message receipt is not a click; click is not credential entry; credential entry is not successful authentication; successful authentication is not automatically compromise. Prove each transition.
Case 4 — Kubernetes service-account discovery and secret access
KubernetesCloudRuntimeT1613
Trigger: a service account lists pods and secrets outside its normal namespace, followed by a new outbound connection from a short-lived pod.
Validate audit stages, user and groups, source, verb, resource, namespace, response, audit ID, and event-time RBAC.
Resolve service account to pod UID, deployment, image digest, node, workload identity, owner, admission, and change record.
Compare controller and automation patterns. Determine whether list/get succeeded and whether sensitive body content was logged or accessed.
Trigger: unusual repository cloning, archive creation, removable-media activity, and cloud-storage access by an employee nearing a role change. Boundary: the same pattern can result from approved handover, backup, travel, or account compromise.
Restrict the case to need-to-know personnel and confirm investigation authority, privacy, HR, legal, and evidence rules.
Validate identity, device, repository, file classification, access authorization, volume, destination, process, and transfer outcome.
Compare assigned projects, peer and personal baseline, manager-approved handover, build and backup automation, and recent support activity.
Separate behavior from motive. Document facts, uncertainty, alternative explanations, and technical options without accusatory language.
Use the authorized multidisciplinary decision process for containment, interview, preservation, communication, and follow-up.
Case 6 — source report to hunt, detection, validation, and response
CTIATT&CKHuntingPurple team
Trigger: a current report describes a relevant actor using PowerShell, scheduled tasks, credential access, and cloud-hosted infrastructure. The task is to convert sourced behavior into local decisions without turning every report IOC into a permanent block.
Store report identity, publisher, publication date, canonical URL, TLP, source quality, excerpts, and claim-level citations.
Extract entities and behaviors; normalize aliases; map ATT&CK only at the level supported by the text; record confidence and temporal scope.
Compare target sectors, geography, technology, identity, and service exposure to local context. Prioritize relevant behaviors over generic actor labels.
Build hypotheses and platform-specific queries with required fields, alternatives, and limits. Search current telemetry and preserve results.
Create or update detections for stable behavior, then run safe simulation through the complete defensive chain.
Publish findings, coverage gaps, control work, incident triggers, and intelligence feedback with evidence and owners.
SOAR, case management, ticketing, workflow engines, MCP services
Authority, idempotency, exact target, audit, approval, rollback, failure and partial state
Validation
Atomic Red Team, MITRE CALDERA, custom fixtures, attack-lab systems
Authorization, exact behavior, safety, cleanup, observable evidence, end-to-end result
Knowledge / AI
AdversaryGraph, OpenCTI, RAG/vector stores, local or approved remote LLMs
Provenance, access before retrieval, freshness, citation, injection resistance, human review
Selection rule: inclusion in this table is illustrative, not endorsement. Evaluate security, licensing, support, data location, interoperability, operational cost, failure behavior, and fit to documented requirements.
Twelve-lab Blue Team curriculum
Lab 1 — Event and evidence chain
Take five raw events from different sources, normalize them, document transformations, create observations and hypotheses, and build a cited case timeline. Inject clock skew and a missing field.
Lab 2 — Sensor health and pipeline failure
Onboard one source, then stop collection, expire authentication, delay events, change schema, duplicate records, and recover. Build health alerts independent from attack analytics.
Lab 3 — Detection as code
Create one Sigma rule and native backend form with metadata, fixtures, CI validation, peer review, staged deployment, simulation, monitoring, and rollback.
Lab 4 — Threat hunt
Write a bounded hypothesis, data plan, multi-language query pack, result labels, competing explanations, conclusion, and detection or telemetry handoff.
Lab 5 — SOC triage
Process a queue containing true test activity, benign administration, duplicate alerts, missing telemetry, and one supported incident. Measure decision quality and handoff completeness.
Lab 6 — Endpoint process chain
Trace safe Office-like parent → PowerShell → file/network behavior, then test analytic variants and a lab isolation/collection workflow.
Lab 7 — Network protocol hunt
Correlate endpoint, DNS, flow, proxy, TLS, and packet evidence for controlled periodic traffic; document observation limits and benign lookalikes.
Lab 8 — Identity path
Simulate Kerberoasting or a cloud consent/session sequence in an isolated directory. Correlate identity, endpoint, and resource evidence and rehearse complete trust cleanup.
Lab 9 — Kubernetes audit
Design audit policy, detect abnormal discovery and secret access, retain ephemeral context, and validate authorized workload isolation and restoration.
Lab 10 — Email-to-identity response
Use a synthetic phishing message and identity events to prove delivery, click, authentication, session use, persistence, and cleanup as separate transitions.
Lab 11 — AI/RAG/MCP assurance
Test citation fidelity, stale retrieval, prompt injection, tenant separation, invalid schema, tool denial, timeout, partial result, secret filtering, and human approval.
Lab 12 — Full incident and purple-team capstone
Run a safe multi-source scenario from authorized behavior through prevention, telemetry, analytic, case, analyst, containment, recovery, review, rule improvement, and retest.
Authorization: scope, permitted behavior, data handling, safety limits, stop condition, cleanup, and owner are recorded.
Reproducibility: environment, versions, configuration, inputs, timestamps, commands or actions, and expected outputs are sufficient for another learner.
Evidence: raw events and stable references are preserved; screenshots are supplemental; transformations and enrichments are traceable.
Reasoning: observations, hypotheses, alternatives, limitations, confidence, and decision are separated.
Detection: target behavior, data requirements, logic, tests, mappings, volume, runbook, owner, and limitations are documented.
Operations: alert, case, acknowledgement, escalation, action, verification, rollback, and closure are tested where in scope.
Safety: no unauthorized target, uncontrolled payload, production secret, real customer data, or unsupervised destructive action is used.
Learning: the learner identifies at least one data, analytic, process, control, or documentation improvement and validates the fix.
Blue Team failure-mode atlas
Failure
Why it misleads
Corrective control
Alert equals incident
Machine severity becomes unsupported verdict
Explicit case states, evidence threshold, human decision
No results equals no activity
Ignores coverage, health, retention, scope, time and query error
Data-health proof and bounded conclusion language
ATT&CK heatmap equals coverage
A cell hides platform, behavior, data, test and operational status
Evidence-linked coverage matrix with state and limitations
IOC match equals compromise
Reputation can be stale, shared, repurposed, or context-free
Time-bounded behavior and entity validation
CVE match equals vulnerability
Product, version, reachability and configuration may be unproven
Candidate state and asset-owner validation
Rule parses equals rule works
Backend semantics, mapping and real data remain untested
Fixtures, replay, staged deployment and simulation
Global allowlist
Suppresses malicious use of legitimate tools or identities
Scoped contextual filters with expiry and owner
Dashboard is evidence
Views can change and omit source records
Stable raw-event references and immutable case record
Password reset completes identity response
Sessions, tokens, apps, devices and recovery may persist
Trust-graph containment and verification
AI summary is factual record
Generation can omit, merge or invent claims
Citations, structured output, source review and human authorship
Automation succeeded because request returned
Partial, delayed or wrong-target actions can occur
Exact target, action ID, state verification and rollback
Mean time alone proves quality
Fast closure can reward shallow decisions
Quality, reopen, evidence, impact and outcome measures
Module review questions
What is the difference between an event, observation, alert, case, finding, and incident?
Which timestamp should drive a cross-source timeline, and how do you test that choice?
How do stable identities prevent IP, hostname, account, pod, and display-name misattribution?
Why can high apparent detector accuracy still create an unusable alert queue?
What evidence distinguishes prevention, observation, transport, analysis, decision, and response?
What must a SOC service catalogue state about authority and degraded operation?
What is the minimum telemetry contract for a high-value behavior?
Which tests are needed beyond a positive rule match?
How does a hunt conclusion differ between “unsupported” and “inconclusive”?
What makes a Tier 1 escalation actionable for Tier 2 or incident command?
Which endpoint fields support process-lineage reasoning?
How do NAT, proxies, TLS, shared infrastructure, and observation point affect network attribution?
Which trust artifacts must be addressed beyond a password in identity response?
How do Kubernetes audit policy and ephemeral context affect an investigation?
Why must insider-risk cases separate observed behavior from motive?
What should an incident action log record for a containment decision?
How can prompt injection enter a defensive RAG or MCP workflow?
What proves an end-to-end detection worked operationally?
Which metric definition fields prevent misleading management reporting?
What evidence would make you retire rather than tune a detection?
Technical glossary
Alert: a machine- or analyst-generated request for review; not automatically a confirmed threat.
Case: the durable work record that groups evidence, hypotheses, decisions, actions, owners, and state.
Detection strategy: a high-level approach that organizes analytics for a behavior in a given context.
Analytic: logic that transforms or evaluates data to identify a defined condition or behavior.
Data contract: documented source, schema, field, time, quality, ownership, and change expectations.
Telemetry health: evidence that source generation, collection, transport, parsing, storage, and query remain usable.
False positive: a detector match that satisfies rule logic but does not represent the target condition under the label policy.
Benign positive: expected legitimate behavior that genuinely matches the described behavior and may require contextual handling.
Precision: relevant reviewed matches divided by reviewed matches for a defined population and label policy.
Recall: detected relevant instances divided by all relevant instances in a labeled evaluation population.
Threat hunt: a planned, bounded investigation that tests a hypothesis against available evidence.
ITDR: identity threat detection and response across accounts, sessions, credentials, permissions, devices, applications, and trust.
NDR: network detection and response using flow, protocol, packet, DNS, proxy, gateway, and related context.
Detection as code: version-controlled analytic source, tests, metadata, review, deployment, and lifecycle management.
RAG: retrieval-augmented generation, in which authorized source material is retrieved as context for a model.
MCP: Model Context Protocol, used to expose structured resources and tools to compatible AI applications.
Containment: authorized action that limits current or expected harm while preserving a path to recovery and investigation.
Eradication: removal of malicious artifacts, persistence, exposed trust, and exploited root causes after scope is understood.
Recovery: restoration and verification of service and trust, with monitoring and residual-risk communication.
Coverage: an evidence-backed state for a specific behavior, environment, data source, analytic, test, workflow, and limitation.
Final Blue Team review checklist
The defensive mission, customers, scope, services, hours, authority, and degraded-mode procedures are current.
Priority services, assets, identities, dependencies, exposure, owners, and business context have authoritative sources and freshness.
Critical telemetry has contracts, raw retention, parser versions, fixtures, health monitoring, change ownership, and recovery tests.
Detections have behavior specifications, required fields, tests, peer review, staged validation, runbooks, owners, metrics, and retirement state.
Hunts preserve hypothesis, population, data health, query versions, results, alternatives, conclusions, limitations, and handoffs.
Cases separate events, observations, inferences, decisions, and actions; source evidence is cited and accessible under proper controls.
Endpoint, network, identity, cloud, SaaS, email, web, and data workflows define evidence and authorized response boundaries.
AI/RAG/MCP use enforces access before retrieval, provenance, injection resistance, typed tools, human approval, audit, evaluation, and fallback.
Validation proves every layer from safe behavior to operational decision and response; failed and degraded states remain visible.
Metrics have definitions, populations, time windows, exclusions, owners, sources, verification dates, limitations, and decision purpose.
Open gaps have risk, owner, priority, due date, compensating control, validation plan, and explicit acceptance when not remediated.
Curriculum completion: the learner can design a scoped defensive service; onboard and failure-test telemetry; create and validate a detection; execute a bounded hunt; triage and escalate a case; investigate endpoint, network, identity, and cloud evidence; coordinate authorized response and recovery; safely use AI assistance; run an end-to-end validation; and communicate evidence, uncertainty, limitations, and risk to technical and business reviewers.
Connected original research
AI in Cyberattacks: statistical CTI study
Use the ATT&CK, Kill Chain, telemetry, sector, and defensive-control views as leads for detection and defensive validation—not as incident prevalence.