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.

Version 1.0 Published Source review: Status: maintained practitioner guide Maintained by Andrey Pautov Editorial policy and corrections

Evidence before verdict

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.

How to use this guide

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.

1200km path: AdversaryGraph module guide · CTI evidence and entity modeling

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.

LayerQuestionEvidenceFailure example
PreventDid the control stop or constrain the behavior?Control decision, endpoint or gateway result, target stateBlocked UI action but allowed API request
ObserveWas a useful record created?Raw event with actor, object, action, outcome, timeSuccess logged without target identity
TransportDid the record arrive intact and on time?Collector counters, queue lag, checksums, field comparisonBatch delay caused alert after recovery
AnalyzeDid the analytic identify the intended behavior?Rule version, query result, test fixture, match explanationField rename silently disabled rule
DecideDid a qualified reviewer reach a supported disposition?Case notes, alternatives, confidence, approvalSeverity label treated as confirmed incident
ActWas a proportionate action executed and verified?Authorization, action log, target confirmation, rollback resultShared account disabled during critical operation

Primary: NIST Cybersecurity Framework 2.0 · MITRE D3FEND

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.

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.

Module 3 — Telemetry and logging architecture

Observe the decision-relevant behavior

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.

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.

Module 5 — Threat hunting

Test a bounded hypothesis

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.

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.

Module 7 — Endpoint defense and EDR

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.

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.

Module 9 — Identity defense and ITDR

Protect the trust graph

Modern incidents often progress through valid identities, sessions, applications, devices, federation, certificates, and delegated trust. Defend the effective identity path, not only password events.

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.

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.

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.

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.

Module 14 — Safe validation, purple teaming, metrics, and maturity

Prove the defensive chain

Coverage claims require repeatable evidence. Validate the preventive control, event creation, transport, parsing, analytic, alert, case, analyst decision, and response separately.

Operator technical deep dives

7 implementation references

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

RecordRequired content
HypothesisBehavior, population, expected observables, alternatives, disconfirmation, risk
Data planSources, fields, health, retention, time semantics, scope, exclusions
Query packLanguage and backend, version, parameters, execution time, result count, link/hash
Review planPrioritization, sample, labels, reviewer, evidence threshold, stop condition
ResultSupported, unsupported in searched data, partial, inconclusive, or blocked
HandoffIncident/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?

  1. Validate the raw process event, rule version, source health, endpoint, user, parent, ancestry, command line, signer, session, and time.
  2. Decode only in an isolated analysis workflow; preserve original text and hash. Do not execute retrieved content.
  3. Pivot to script-block or interpreter evidence, file writes, child processes, persistence, credentials, DNS, connections, proxy, and destination intelligence.
  4. Compare deployment, login, security, developer, and support automation. Check change record and script ownership.
  5. If supported, scope across the decoded indicators, parent, signer, user, destination, and behavior. Escalate with containment options.
  6. 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.

  1. Build the point-in-time identity graph and preserve immutable user, application, group, role, session, device, and resource IDs.
  2. Correlate authentication-method, consent, group, role, conditional-access, sign-in, token, and resource-access events over an environment-appropriate window.
  3. Validate owner, change request, help-desk or administrator actions, application publisher, permission grant, device, and recovery path.
  4. Search for similar grants, same application, same administrator, same source, same device, and access to other resources.
  5. Contain the complete trust path, not only the password; verify sessions, tokens, grants, roles, credentials, devices, and recovery.

Practice: ITDR detection framework · ITDR simulation framework

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.

  1. Preserve the original message, headers, trace, URL, attachment, delivery and click evidence without broadly redistributing sensitive content.
  2. Identify recipients and related messages by message and campaign features; distinguish exact URL, redirector, landing domain, and shared infrastructure.
  3. Correlate click time with DNS/proxy, browser or endpoint, sign-in, authentication method, conditional access, device, session, token, and resource activity.
  4. Search for mailbox rules, forwarding, OAuth consent, password or method changes, file access, data export, and lateral messaging.
  5. 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.

  1. Validate audit stages, user and groups, source, verb, resource, namespace, response, audit ID, and event-time RBAC.
  2. Resolve service account to pod UID, deployment, image digest, node, workload identity, owner, admission, and change record.
  3. Compare controller and automation patterns. Determine whether list/get succeeded and whether sensitive body content was logged or accessed.
  4. Correlate exec, process, image, file, secret mount, DNS, egress, cloud API, and downstream credential use.
  5. Isolate or scale the exact workload when authorized, revoke or rotate trust, correct RBAC, preserve image and runtime evidence, redeploy, and verify.

1200km: Kubernetes Logging and Monitoring

Case 5 — sensitive data staging before departure

Insider riskDataEndpointPrivacy

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.

  1. Restrict the case to need-to-know personnel and confirm investigation authority, privacy, HR, legal, and evidence rules.
  2. Validate identity, device, repository, file classification, access authorization, volume, destination, process, and transfer outcome.
  3. Compare assigned projects, peer and personal baseline, manager-approved handover, build and backup automation, and recent support activity.
  4. Separate behavior from motive. Document facts, uncertainty, alternative explanations, and technical options without accusatory language.
  5. Use the authorized multidisciplinary decision process for containment, interview, preservation, communication, and follow-up.

1200km: Technical detection engineering for malicious-insider activity

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.

  1. Store report identity, publisher, publication date, canonical URL, TLP, source quality, excerpts, and claim-level citations.
  2. Extract entities and behaviors; normalize aliases; map ATT&CK only at the level supported by the text; record confidence and temporal scope.
  3. Compare target sectors, geography, technology, identity, and service exposure to local context. Prioritize relevant behaviors over generic actor labels.
  4. Build hypotheses and platform-specific queries with required fields, alternatives, and limits. Search current telemetry and preserve results.
  5. Create or update detections for stable behavior, then run safe simulation through the complete defensive chain.
  6. Publish findings, coverage gaps, control work, incident triggers, and intelligence feedback with evidence and owners.

1200km: From Threat Intelligence to Detection · Operation Desert Hydra · CTI field guide

Field references, lab curriculum, and assessment

Operational toolkit

Choose tools by evidence requirement and environment. Product names change; data contracts, validation, and decision boundaries remain.

Tool and platform decision matrix

CapabilityRepresentative tools or formatsRequired validation
SIEM / log analyticsElastic, Splunk, Microsoft Sentinel, OpenSearch, Chronicle/SecOps, LokiSource contract, schema, time, RBAC, query semantics, alert/case path, retention, export
Detection contentSigma, YARA-L, KQL, SPL, EQL, Lucene, SQL, Suricata/Snort, YARABackend mapping, fixtures, performance, representative data, versioned deployment
EndpointEDR platforms, Sysmon, Windows audit, auditd, osquery, eBPF/runtime sensorsOS version, event availability, tamper state, sampling, exclusions, action verification
NetworkZeek, Suricata, Wireshark/tshark, flow, DNS, proxy, firewall, cloud flowObservation point, loss, direction, NAT, encryption, retention, process/identity correlation
IdentityDirectory audit, IdP, PAM, ITDR, cloud identity, AD CS and Kerberos logsImmutable IDs, session/token state, effective privileges, tenant, time, response propagation
Cloud / containersCloud audit APIs, CSPM/CNAPP, Kubernetes audit, Falco/runtime, registry and admissionOrganization/account/region, resource UID, ephemeral context, policy, secret filtering
Case and automationSOAR, case management, ticketing, workflow engines, MCP servicesAuthority, idempotency, exact target, audit, approval, rollback, failure and partial state
ValidationAtomic Red Team, MITRE CALDERA, custom fixtures, attack-lab systemsAuthorization, exact behavior, safety, cleanup, observable evidence, end-to-end result
Knowledge / AIAdversaryGraph, OpenCTI, RAG/vector stores, local or approved remote LLMsProvenance, 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.

1200km labs: Security labs and validation environments · AdversaryGraph validation cases

Lab acceptance criteria

  • 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

FailureWhy it misleadsCorrective control
Alert equals incidentMachine severity becomes unsupported verdictExplicit case states, evidence threshold, human decision
No results equals no activityIgnores coverage, health, retention, scope, time and query errorData-health proof and bounded conclusion language
ATT&CK heatmap equals coverageA cell hides platform, behavior, data, test and operational statusEvidence-linked coverage matrix with state and limitations
IOC match equals compromiseReputation can be stale, shared, repurposed, or context-freeTime-bounded behavior and entity validation
CVE match equals vulnerabilityProduct, version, reachability and configuration may be unprovenCandidate state and asset-owner validation
Rule parses equals rule worksBackend semantics, mapping and real data remain untestedFixtures, replay, staged deployment and simulation
Global allowlistSuppresses malicious use of legitimate tools or identitiesScoped contextual filters with expiry and owner
Dashboard is evidenceViews can change and omit source recordsStable raw-event references and immutable case record
Password reset completes identity responseSessions, tokens, apps, devices and recovery may persistTrust-graph containment and verification
AI summary is factual recordGeneration can omit, merge or invent claimsCitations, structured output, source review and human authorship
Automation succeeded because request returnedPartial, delayed or wrong-target actions can occurExact target, action ID, state verification and rollback
Mean time alone proves qualityFast closure can reward shallow decisionsQuality, reopen, evidence, impact and outcome measures

Module review questions

  1. What is the difference between an event, observation, alert, case, finding, and incident?
  2. Which timestamp should drive a cross-source timeline, and how do you test that choice?
  3. How do stable identities prevent IP, hostname, account, pod, and display-name misattribution?
  4. Why can high apparent detector accuracy still create an unusable alert queue?
  5. What evidence distinguishes prevention, observation, transport, analysis, decision, and response?
  6. What must a SOC service catalogue state about authority and degraded operation?
  7. What is the minimum telemetry contract for a high-value behavior?
  8. Which tests are needed beyond a positive rule match?
  9. How does a hunt conclusion differ between “unsupported” and “inconclusive”?
  10. What makes a Tier 1 escalation actionable for Tier 2 or incident command?
  11. Which endpoint fields support process-lineage reasoning?
  12. How do NAT, proxies, TLS, shared infrastructure, and observation point affect network attribution?
  13. Which trust artifacts must be addressed beyond a password in identity response?
  14. How do Kubernetes audit policy and ephemeral context affect an investigation?
  15. Why must insider-risk cases separate observed behavior from motive?
  16. What should an incident action log record for a containment decision?
  17. How can prompt injection enter a defensive RAG or MCP workflow?
  18. What proves an end-to-end detection worked operationally?
  19. Which metric definition fields prevent misleading management reporting?
  20. 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.
  • Incident preparation covers command, legal/privacy, communications, evidence, clean access, containment, recovery, provider, and exercise needs.
  • 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.