Table of Contents

Chapter 11: Security Operations, Monitoring, and Threat Hunting

Learning Outcomes:

Introduction

The previous chapters built defenses. This chapter is about watching them — turning the volumes of telemetry that every modern environment produces into actionable signal, baselining what “normal” looks like so anomalies stand out, hunting for adversaries who managed to slip past the preventative controls, and learning from the global threat-intelligence community so each organization is not detecting everything from scratch.

The hard problem in security operations is no longer collecting data — every endpoint, firewall, identity provider, cloud service, and application produces logs by default. The hard problem is making sense of it: which records are worth an analyst’s attention, which alerts are worth waking someone up over, and which gaps in coverage are the ones an adversary will exploit. A mature SOC measures itself not by the number of events ingested but by mean time to detect (MTTD), the average time from the start of an intrusion to its discovery; by mean time to respond (MTTR), the average time from discovery to response; and by how many real incidents it catches versus how many escape into the post-incident review of “why did we have telemetry but no alert?”

We start with the SIEM pipeline — collection, normalization, storage, correlation — because everything in this chapter depends on that data plane working. We then move to behavioral baselines (UEBA) that let anomalies surface without explicit rules, proactive threat hunting that goes looking for adversaries on a hypothesis rather than waiting for alerts, and finally the external threat intelligence ecosystem (OSINT, ISACs, STIX/TAXII, YARA/Sigma) that lets a defender benefit from what the rest of the industry has already learned.


How Do We Make Sense of Security Data?

A large enterprise can produce billions of log records a day across endpoints, network devices, identity systems, cloud services, and applications. None of that data is useful in raw form. The discipline of turning it into signal is Security Information and Event Management (SIEM) — historically a category of product (Splunk, IBM QRadar, Microsoft Sentinel, Elastic Security, Google Security Operations, Sumo Logic), increasingly a pattern that combines a data lake, a detection engine, and a workflow layer regardless of vendor.

SIEM Log Aggregation and Correlation

A SIEM pipeline has five stages, each with its own failure modes.

  1. Collection. Agents and forwarders pull or receive logs from sources: syslog from network devices, the Windows Event Log via Windows Event Forwarding (WEF), EDR telemetry via vendor APIs, cloud audit logs (AWS CloudTrail, Azure Activity Log, GCP Cloud Audit Logs) via streaming, application logs via Fluent Bit / Vector / Filebeat, identity provider logs via API.
  2. Normalization and enrichment. Raw records are parsed into a consistent schema — increasingly the Elastic Common Schema (ECS) or the Open Cybersecurity Schema Framework (OCSF) — and enriched with context the raw record lacks: GeoIP, asset criticality, user role, threat-intelligence overlap.
  3. Storage and indexing. Normalized data is written into a searchable store, typically with hot / warm / cold retention tiers — fast SSD for recent days, slower object storage for months-to-years, archive for compliance retention. Retention length is set by regulation, contract, and investigation needs; intrusions can dwell for months, so retention that is too short destroys evidence.
  4. Correlation and detection. Rules — written in vendor-specific languages or the cross-platform Sigma standard — combine multiple events into higher-level alerts. UEBA models flag statistical anomalies the rules would never have anticipated.
  5. Alerting, dashboards, and response. Alerts route to analysts; dashboards summarize trends; security orchestration, automation, and response (SOAR) playbooks (Chapter 12) automate response on the most common patterns.

The SIEM pipeline flows from heterogeneous sources through collectors and forwarders into a normalization-and-enrichment stage, then into indexed storage, correlation and detection, and finally to alerts, dashboards, and SOAR workflows. Schema discipline at the normalize stage is what makes everything downstream queryable across data sources. Figure 11.1: The SIEM pipeline flows from heterogeneous sources through collectors and forwarders into a normalization-and-enrichment stage, then into indexed storage, correlation and detection, and finally to alerts, dashboards, and SOAR workflows. Schema discipline at the normalize stage is what makes everything downstream queryable across data sources.

Example

A Sigma rule detecting suspicious scheduled task creation

Sigma is a vendor-neutral detection language that converts into a given SIEM’s query syntax. A rule that fires when a Windows scheduled task is registered to run a program from a user-writable folder, unless the registering account is the approved software-deployment account, looks like this:

title: Scheduled Task Registered from a User-Writable Path
status: experimental
description: A new scheduled task runs a program from a folder any user can write to
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 4698                   # "A scheduled task was created"
        TaskContent|contains:           # the task's XML, including its action

            - '\AppData\'
            - '\Users\Public\'
            - '\Temp\'
    filter_deployment_tool:
        SubjectUserName: 'svc-endpoint-mgmt'   # known deployment account
    condition: selection and not filter_deployment_tool
falsepositives:

    - Software installers and updaters that register their own tasks
level: medium
tags:

    - attack.persistence
    - attack.t1053.005

Event ID 4698 is logged whenever a task is registered, and TaskContent holds its definition, including the program it runs. Tasks that launch programs from user-writable folders are a common persistence pattern after initial access, so the rule flags them while the filter suppresses the known-good deployment account. Windows logs 4698 only if Audit Other Object Access Events is enabled: a rule is only as good as the telemetry behind it.

The sigma-cli tool converts the rule for a chosen backend: sigma convert -t splunk -p splunk_windows rule.yml produces Splunk SPL, and the kusto backend produces KQL for Microsoft Sentinel (the older sigmac converter is retired). One rule, any SIEM, kept in Git with a commit history and an ATT&CK tag (T1053.005, Scheduled Task) so coverage maps stay accurate.

Quick Check 11.1

  1. Recall. Name the five stages of the SIEM pipeline described in the chapter.
  2. Discriminate. Cloud-audit logs and EDR logs both arrive, but analysts cannot correlate them because their field names and structures do not line up. Which SIEM stage is failing?
  3. Apply. Your SOC is moving from one SIEM platform to another but wants to keep a suspicious-scheduled-task detection portable and auditable. What two practices from the section help most?
Answers — Quick Check 11.1
  1. Collection, normalization and enrichment, storage and indexing, correlation and detection, and alerting, dashboards, and response.
  2. Normalization and enrichment. Without a shared schema, cross-source joins become fragile or impossible.
  3. Write the rule in Sigma and manage it as detection-as-code in Git. That gives portability across SIEMs and an auditable review history.

Prioritizing Alerts and Reducing Noise

Most SOCs do not fail because they detect too little — they fail because they detect too much. An analyst who receives 400 alerts a day cannot triage them with care; some will be ignored, and the ignored ones will eventually include real attacks. Five disciplines reduce this:

Two data-quality problems distort all of this. Event duplication — the same event arriving through overlapping collectors — inflates counts and double-fires correlation rules, so deduplicate on a stable event ID. Non-reporting devices are the reverse: a silent log source produces no alerts, which looks like safety. Alert on missing heartbeats, because an alert failure is a false negative nobody sees.

Key Point Coverage gaps and noise are two sides of the same problem. You cannot tell an analyst to “look harder” past the noise — you have to engineer the noise down before they can see signal. The MITRE ATT&CK framework is increasingly used to measure coverage gap-by-gap: which techniques does the org have detections for, at what fidelity, and where are the holes?

Diverse Data Sources

Every additional data source the SIEM correlates against multiplies its detective power, but only if the data is parsed correctly and the right relationships are modeled. The high-leverage sources for any modern SOC:

Table 11.1: STIX and TAXII are complementary, not alternatives. STIX defines what threat intelligence looks like as data; TAXII defines how that data moves between systems. A modern Threat Intelligence Platform consumes TAXII feeds and stores STIX objects.
Property STIX (Structured Threat Information eXpression) TAXII (Trusted Automated eXchange of Indicator Information)
What it is A language / data model for describing threat intelligence A transport protocol for exchanging threat intelligence
Layer Information layer Transport layer
Current version STIX 2.1 (2021) TAXII 2.1 (2021)
Format JSON objects (indicators, malware, campaigns, threat actors, attack patterns that describe adversary techniques, sightings) HTTPS REST API built around collections (channels are reserved for a future version)
Typical use Encoding IoCs, ATT&CK mappings, campaign descriptions Pulling / pushing STIX bundles between TIPs, ISACs, and vendors
Analogy Like the language of an email Like the SMTP protocol that carries it

The current OASIS CTI ecosystem centers on STIX 2.1 and TAXII 2.1, with STIX defining the data model and TAXII defining the exchange protocol (OASIS Open Cyber Threat Intelligence Technical Committee 2021a, 2021b).

Dashboards, Reporting, and Security Metrics

Dashboards exist for two audiences with very different needs:

Example

A high-fidelity multi-source detection

The single highest-value detection in many SOCs is not exotic — it is the cross-source correlation of three boring events on the same user within minutes:

  1. An authentication from an unfamiliar country / ASN to an identity provider (Okta, Entra ID).
  2. A mailbox rule created shortly after that auth that forwards or auto-deletes mail (a hallmark of business email compromise).
  3. An OAuth grant to an unfamiliar third-party application requesting mail-read permissions.

Individually, each event has a substantial false-positive rate — travelers exist, users do legitimately create rules, OAuth apps are not all malicious. Together within a fifteen-minute window on the same user account, they are nearly diagnostic of credential compromise. The detection requires authentication logs, mailbox audit logs, and OAuth grant logs all in the same SIEM with a shared user identifier. None of that is exotic. Most organizations simply have not connected the data.

Quick Check 11.2

  1. Recall. Which two outcome metrics does the chapter treat as more meaningful than “number of events ingested”?
  2. Discriminate. The same alert fires once on a domain controller using a domain-admin account and once on a low-value workstation using a standard user. Which should be triaged first, and why?
  3. Apply. A SOC receives 400 alerts a day, many from vulnerability scanners and known developer tests. Name three noise-reduction steps from the chapter.
Answers — Quick Check 11.2
  1. MTTD and MTTR. They measure whether the security team is actually detecting and responding effectively.
  2. The domain-controller and domain-admin alert should go first because asset criticality and privilege level both raise the likely impact dramatically.
  3. Tune noisy events at the source, maintain a known-noise allowlist, and measure false-positive rate per detection so weak rules get tuned or retired. The chapter also recommends staging alerts by severity and criticality.

How Do We Baseline Normal Behavior?

Rules are the most explicit way to detect — “if X then alert” — but rules can only catch things you anticipated. Behavioral analytics flip the problem around: learn what is normal for each user, host, network segment, and application, then alert on statistically significant deviations.

User and Entity Behavior Analytics (UEBA)

User and Entity Behavior Analytics (UEBA) systems (the successor to earlier user-only UBA) build per-entity baselines from historical telemetry and detect anomalies against those baselines. Modern UEBA capabilities include:

UEBA shines against three classes of threat that static rules struggle with: compromised credentials (the attacker has valid login but does not behave like the user), insider threats (the user has legitimate access but is using it abnormally), and lateral movement post-compromise (an attacker on a foothold host is reaching systems the host never reached before).

Identifying Anomalies in Systems and Apps

UEBA is not limited to users. Entity behavior generalizes the idea to any first-class object: workstations, servers, service accounts, applications, IoT devices. The most fruitful anomalies in practice are usually the unglamorous ones:

Each of those anomalies is hard to express as a static rule and almost impossible to anticipate by name — but easy to detect once you have a baseline.

Case Study

Hamlet, the Insider, and the Off-Hours Database Queries

Hamlet, threat hunter at Denmark Cyber Defense, is reviewing the weekly UEBA risk-score report on a Wednesday morning when one entity stands out: a developer account belonging to a contractor who has been with the firm for nine months. The score is 78 out of 100, up from a baseline near 5, accumulated over the past eleven days.

Hamlet clicks through. The anomalies tell a story when read together:

  1. Eleven nights running, the account has logged into a database read-replica at roughly 11:30 p.m. — outside the user’s historical 9 a.m. – 6 p.m. login pattern. The replica is one the user has access to but has never used in nine months on the job.
  2. The queries run against the replica are unusually large — SELECT * across the customer table, with LIMIT values incrementing each night (1000, then 5000, then 25000) as if the user were testing what size of result would not trigger alarms.
  3. The result sets are written to a local CSV under the user’s home directory on the developer workstation, and the workstation’s outbound HTTPS volume in the half-hour after each query is roughly 4× the user’s baseline — but split across multiple destinations including a personal cloud storage domain.
  4. The user has not opened chat or email between 11 p.m. and 6 a.m. on any of those nights — they are active only on the database and the uploads.

No individual event would have tripped a static rule. The database access is authorized, the hours are unusual but not impossible, the volumes sit within a developer’s normal variance, and the cloud upload alone would have been a low-priority DLP alert that the queue routinely dismissed.

Together, the pattern is unmistakable. Hamlet escalates to the incident response team, who pull the workstation’s EDR timeline and confirm a script that automates the SELECTs and uploads. HR and legal are looped in; the contractor’s access is suspended pending investigation. The full extracted volume — about 380,000 customer records over the eleven-day window — is recovered from the personal cloud storage provider through a preservation-and-disclosure process, and not (so far as can be determined) exfiltrated further.

The post-incident review lowers the UEBA risk-score threshold for off-hours access to databases an account has never used, even when access is permitted, and adds a DLP rule for the personal-cloud domain involved, since the company already sanctioned a different provider.

The case is the textbook example of why behavioral analytics matter: an attacker — internal or external — who has legitimate access is invisible to access-control alone. Only deviation from baseline reveals them.

Quick Check 11.3

  1. Recall. Besides users, what kinds of entities does UEBA baseline in the chapter?
  2. Discriminate. A service account suddenly begins performing interactive logons. Why is that a strong UEBA anomaly even if the account is technically valid?
  3. Apply. In Hamlet’s case, what combination of signals turned technically authorized database access into a likely insider incident?
Answers — Quick Check 11.3
  1. UEBA baselines hosts, service accounts, applications, and other entities, not just human users.
  2. It violates the account’s normal baseline. Service accounts are supposed to act like services, not like people logging in interactively.
  3. The decisive pattern was off-hours first-time use of the replica, progressively larger SELECT * exports, local CSV staging, and unusual outbound HTTPS to personal cloud storage. No single event was enough; the composition was.

How Do We Proactively Hunt for Threats?

Detective controls catch attackers when they trip an alarm. Threat hunting assumes the alarms have already failed — that some adversary is already inside the environment, evading detection — and goes looking for them based on a hypothesis about how they would behave. The yardstick is dwell time: how long an adversary stays inside before being detected. Hunting is what separates a reactive SOC from a proactive one.

Internal Reconnaissance and Honeypots

A threat hunt starts with a hypothesis (“an adversary using technique X would leave artifact Y”) and ends with one of three outcomes: an incident, a new detection that operationalizes what was learned, or a documented coverage confirmation. The hunt itself draws on the same telemetry the SIEM already ingests, but interrogated by a human asking questions a rule could not.

Hunters also draw on internal intelligence sources. Internal reconnaissance means mapping your network the way an intruder would (asset inventories, Active Directory enumeration, which hosts can reach which), because anything you can discover from inside, an attacker on a foothold host can discover too; it also means watching for the attacker’s own discovery activity, such as a workstation suddenly scanning subnets. An adversary emulation engagement goes further: a red or purple team re-creates a named threat actor’s ATT&CK-mapped techniques, with tools such as MITRE Caldera or Atomic Red Team, to test which detections fire. Each miss is a detection gap and a ready-made hunt hypothesis. Honeypots, honeynets, and UEBA complete the set.

Honeypots and honeynets are deception infrastructure that produce extraordinarily high-fidelity signal precisely because there is no legitimate reason for anyone to interact with them. A honeypot is a single decoy system; a honeynet is an isolated network of them.

A honeynet is an isolated VLAN containing decoy systems and tokens, with every interaction logged and alerted. Because no legitimate users have any reason to touch these systems, the signal-to-noise ratio approaches one — every alert is worth investigating. Figure 11.2: A honeynet is an isolated VLAN containing decoy systems and tokens, with every interaction logged and alerted. Because no legitimate users have any reason to touch these systems, the signal-to-noise ratio approaches one — every alert is worth investigating.

Hypothesis-Based Searches

A useful hunt is built on a specific, testable hypothesis. Examples:

A hunt that finds something becomes an incident. A hunt that finds nothing still pays off: the query can become a detection rule that keeps looking for the same pattern automatically, and the negative result becomes a documented record of coverage that auditors and leadership can point to.

Case Study

Marriott / Starwood (2014–2018): Four Years of Undetected APT Access

On 30 November 2018, Marriott International disclosed that an unauthorized party had been inside the reservation database of its Starwood subsidiary since 2014. Marriott’s first estimate was up to approximately 500 million guests; for about 327 million of them the exposed data included some combination of names, mailing addresses, phone numbers, email addresses, passport numbers, Starwood loyalty account information, and dates of birth, and for some guests payment card data. Marriott later revised the count to at most about 383 million guest records (Marriott International 2018; Marriott International, Inc. 2019).

The exposure came to light on 8 September 2018, when an internal security tool alerted Marriott to an attempt to access the Starwood guest reservation database in the United States. Pulling on that thread led investigators to a longer history of unauthorized access in the Starwood network dating back to 2014 (Marriott International 2018; Marriott International, Inc. 2019).

The detection failures were not exotic. They were the kind of multi-year operational drift this chapter has been describing:

  • Monitoring gaps. When the UK Information Commissioner’s Office (ICO) fined Marriott £18.4 million in 2020, it found insufficient monitoring of privileged accounts and of databases, along with missing server hardening and unencrypted personal data. (The penalty covered only the period after the GDPR took effect in May 2018.) (UK Information Commissioner’s Office 2020)
  • Long dwell time. Industry reports at the time put the global median dwell time at roughly 100 days. The Starwood intrusion lasted about four years, roughly fifteen times that. With long enough dwell, any architecture that depends on perimeter prevention and rare audit will fail.
  • Acquired-environment blind spot. The intrusion predated Marriott’s 2016 acquisition of Starwood and stayed in the inherited environment for years, illustrating how acquired platforms can sit outside the acquirer’s normal telemetry and hardening processes for too long (UK Information Commissioner’s Office 2020).
  • Unencrypted personal data. Marriott reported about 5.25 million unencrypted passport numbers among the records (Marriott International, Inc. 2019). Tokenization or field-level encryption (Chapter 8) would have meant that even a complete database extraction yielded surrogate values rather than government identifiers.

The consequences were substantial: regulatory scrutiny in multiple jurisdictions, including the ICO fine, extensive remediation work, and years of litigation and response costs.

Two structural lessons for security operations come from the Marriott / Starwood case:

  1. Acquired companies are an enormous detection blind spot. Any acquisition large enough to matter is large enough to merit a deliberate, time-boxed program of telemetry integration and compromise assessment before its data is folded into the acquirer’s systems.
  2. Long-dwelling APTs require proactive hunting, not just rules. If a sophisticated adversary stays quiet enough, prevention and traditional detection will not catch them. Hypothesis-based hunts, honey tokens, and behavioral analytics are the controls that close the long-tail gap.

Quick Check 11.4

  1. Recall. What makes a threat hunt different from waiting for an alert?
  2. Discriminate. A fake AWS access key is planted in a developer’s home directory, and any use of it triggers an alert. What is that object called?
  3. Apply. Your company acquires another firm with a legacy reservation platform. Name two actions from the Marriott lesson that should happen before full integration.
Answers — Quick Check 11.4
  1. A hunt is hypothesis-driven and assumes detection may already have failed. It goes looking for adversary behavior rather than waiting for a rule to fire.
  2. A honey token or canary credential. Its value is that no legitimate actor should ever touch it.
  3. Time-boxed telemetry integration into the main SIEM and a deliberate compromise assessment or threat-hunting effort on the acquired environment are the two structural steps the case study argues for.

How Do We Leverage Threat Intelligence?

No single organization sees enough of the global threat landscape to build comprehensive defenses on its own observations alone. Threat intelligence is the practice of collecting, refining, and operationalizing information about adversaries — their tools, infrastructure, targets, and tactics, techniques, and procedures (TTPs), meaning the behaviors they use to reach their goals — and integrating that information into the SOC’s detection and response workflows.

External Feeds, OSINT, and ISACs

Threat intelligence comes from many sources, each with different fidelity and licensing:

Judge each source by its reliability factors: track record, freshness, independent corroboration, collection method, and relevance to your sector and technology. The Admiralty system rates source reliability from A (completely reliable) to F (cannot be judged) and information credibility from 1 (confirmed) to 6 (cannot be judged).

Counterintelligence and operational security (OPSEC) protect your defensive work from the adversary’s attention. Do not browse a suspected command-and-control domain from a corporate laptop or publish your IoCs mid-response; either can tip off the attacker. Investigate from isolated systems, mark what you share with the Traffic Light Protocol (TLP) (TLP:RED, TLP:AMBER+STRICT, TLP:AMBER, TLP:GREEN, TLP:CLEAR), use deception such as honeypots and honey tokens to mislead intruders, and monitor the dark web passively, since buying stolen data or posing as a buyer carries legal and OPSEC risk.

STIX, TAXII, and Threat Intelligence Platforms

The plumbing that makes all of this manageable is the combination of STIX (the data model) and TAXII (the transport protocol), introduced in Table 11.1 (OASIS Open Cyber Threat Intelligence Technical Committee 2021a, 2021b). A Threat Intelligence Platform (TIP) — MISP and OpenCTI (open source), Anomali, ThreatConnect, ThreatQuotient — sits at the center:

  1. The TIP pulls STIX bundles from TAXII servers operated by ISACs, vendors, and partners.
  2. It deduplicates, scores, and ages indicators (an IP that was malicious in 2021 is probably no longer malicious in 2026).
  3. It pushes high-confidence indicators downstream to enforcement points: firewalls, DNS resolvers, email gateways, EDR.
  4. It pushes context into the SIEM so that alerts include the matched indicator’s known TTPs, campaign, and threat actor.
  5. It collects observations back from the SOC — every time an indicator matches, that match itself becomes intelligence to share with the community.
Table 11.2: Threat intelligence is layered across audiences and time horizons. The same campaign produces all four tiers of intelligence — strategic for the board, operational for SOC planning, tactical for hunting, technical for blocking. A program that consumes only one tier is incomplete.
Tier Audience Time Horizon Examples
Strategic Executives, board Months to years Adversary motivations, geopolitical risks, sector-targeting trends
Operational SOC managers, IR leads Weeks to months Campaign descriptions, threat-actor TTPs, ATT&CK technique focus
Tactical Analysts, hunters Days to weeks Tool families in use, malware variants, evolving tradecraft
Technical Detection engineers, automation Hours to days IoCs (IPs, domains, hashes, URLs), YARA rules, Sigma rules

IoCs go stale fast because attackers change IP addresses and file hashes cheaply. Indicators of attack (IoAs) describe behavior and intent — TTPs such as dumping credentials from LSASS memory or registering a scheduled task for persistence — and are far harder to change. An IoC says “this artifact was seen in an attack”; an IoA says “something is doing what attackers do.” Technical intelligence is mostly IoCs; the operational and tactical tiers are mostly IoAs.

Rule-Based Detection Languages: Sigma, YARA, Snort

Several open rule languages and tools dominate community sharing:

Example

Anatomy of a YARA rule

YARA rules have three sections: meta (freeform annotation), strings (what to look for), and condition (when to fire). Here is a simplified rule flagging executables that impersonate security tools with fake-alert strings:

rule FakeAV_ScarewarePrompt
{
    meta:
        author      = "Denmark Cyber Defense"
        description = "Detects rogue AV using scare-language lures"
        date        = "2026-03-01"

    strings:
        $s1 = "Your PC is infected with" ascii nocase
        $s2 = "Call Microsoft Support" ascii nocase
        $hex = { 50 61 79 4E 6F 77 }   // "PayNow" in hex

    condition:
        uint16(0) == 0x5A4D   // MZ header — Windows PE file
        and 2 of ($s*)
        and $hex
}

uint16(0) == 0x5A4D ensures the rule only fires on Windows executables. 2 of ($s*) requires at least two of the ASCII strings to be present. The hex pattern adds a third, harder-to-rename anchor. A sandbox scanning a suspicious download, or Hamlet’s threat-hunting session scanning the developer workstation fleet, would flag any file matching all three conditions for analyst review — regardless of the filename or file extension an attacker chose.

A well-run detection-engineering program treats these rule libraries the way a software team treats open-source dependencies: pulled in, version-controlled, tested for false-positive impact in staging, and selectively enabled in production.

Warning Threat intelligence feeds are a fast way to introduce both false positives and operational fragility. A blocklist of “known-bad IPs” pulled from a low-fidelity feed and applied to the perimeter without curation will eventually block a legitimate cloud provider IP, a customer’s mail server, or your own VPN endpoint. Aging, fidelity scoring, and human review are not optional — they are the difference between an intelligence program and a self-inflicted denial-of-service.

Thought Question Your SOC has just begun consuming a commercial threat-intelligence feed that delivers about 50,000 new indicators per day. Should every one of those indicators flow directly to your perimeter firewall’s blocklist? If not, what filtering, scoring, and review process should sit between the feed and the enforcement point — and who in the organization owns the resulting false positives when something legitimate is blocked?


Chapter Review and Conclusion

Security operations is where every other control in this textbook is either validated or exposed. The SIEM pipeline determines what an organization can see; behavioral analytics catch the attacks that prevention missed; threat hunting catches the attackers that detection missed; and threat intelligence ensures that no SOC has to learn every lesson on its own. The discipline that ties them together is engineering rigor applied to detection — schemas, version-controlled rules, measured false-positive rates, hypothesis-driven hunts, and intelligence that is aged and curated, not merely consumed. Hamlet’s eleven nights of UEBA scoring and Marriott’s four years of missed dwell make the same point: with the right telemetry and discipline, even patient adversaries are detectable; without them, an ordinary intrusion can run for years.

Key Terms Review

Practice-Based Questions

Apply The Chapter

Hamlet Builds a Threat-Hunting Program at Denmark Cyber Defense

Design PBQ. Map each row of a damning SOC program scorecard to the control that fixes it — OCSF normalization, tiered storage, detection-as-code, UEBA, TIP, MTTD.

Diagnose The Failure

Hamlet Investigates the Insider That Dwelled

Diagnostic PBQ. Four months in, a year-long insider data theft surfaces — and every signal was visible the whole time. Walk backward through three missed signals and name the discipline that would have joined them into one investigation.

Synthesis Activities

These open-ended activities extend the chapter beyond what a search engine or chatbot can answer. Each works alone or in a group, and the goal is the conversation, debate, or artifact itself. Sidebars show how to use a chatbot as a practice partner, never as a source (Chapter 0 explains how).

Conduct an Interview (1 hour)

Talk to someone who works in security operations: a SOC analyst, detection engineer, threat hunter, or SOC manager. Questions worth asking:

Listen for the gap between SOC-as-described (analysts triaging high-signal alerts, hunters finding the missed adversary) and SOC-as-lived: alert fatigue, tooling sprawl, and coverage gaps.

No one to interview? Rehearse with a chatbot playing a senior detection engineer at a mid-sized SOC. The rehearsal exposes which of your questions confuse analyst work, detection engineering, and threat hunting.

Hold a Debate (1 hour)

Pick the position you find least sympathetic and argue it as well as you can (in class, assign positions and go live):

Studying alone? Have a chatbot attack your argument as a senior SOC director, citing real dwell-time reports (Mandiant M-Trends, CrowdStrike), hunt-program failures and successes, and shifts in attacker tradecraft.

Track a Current Debate (20 min)

Find a security operations or threat-hunting event from the last six months. Good starting points: MITRE ATT&CK updates, CISA Joint Cybersecurity Advisories with detection guidance, and annual threat reports such as Mandiant M-Trends. Be ready to explain to a classmate, in two minutes, what happened, which ATT&CK technique was decisive, and what other SOCs are changing as a result. Bring two primary sources.

Lab Artifact: Read a Real Sigma Rule (20 min)

Sigma is the closest thing security operations has to an open, vendor-neutral detection format. Reading a real rule makes you think like a detection engineer.

  1. Go to github.com/SigmaHQ/sigma. Browse into rules/ and pick a rule that maps to an ATT&CK technique you find interesting (credential dumping, lateral movement, evading defenses, persistence). Process-creation rules under rules/windows/process_creation/ read like English, so start there.
  2. Open the rule’s YAML. Identify, in your own words: the logsource (the telemetry that must be collected for it to fire), the detection logic, the ATT&CK technique(s), the level (informational to critical), and any false-positive notes.
  3. In plain English, write what this rule would alert on and what the analyst would see when it fires.
  4. Now do the harder part: evade it. Name two ways an attacker could perform the same technique without tripping this rule (process renaming, different flags, a living-off-the-land binary swap, a different parent process). For each, identify one additional detection that would close the gap.
  5. Is this rule worth deploying as written, or would you tune it first? What false-positive rate would you expect in a real environment, and how would you find out?

Safety: This is a read-only exercise on public detection rules. Do not attempt to test the evasions you identify against any real environment. The whole point is to think like a detection engineer, not to operate like an adversary.

Draft a Detection (2+ hours)

Pick one MITRE ATT&CK technique and write a Sigma-style detection rule for it from scratch. The goal is an honest attempt at encoding the logic, assumptions, and gaps, not a production rule. Choose a technique you can detect from one telemetry source:

Write (in YAML or Sigma-shaped pseudo-code):

Then write a short paragraph on how you would validate and roll out the rule (log-only for a week, a low-volume alert tier, then escalation) and tell whether it was working or just adding noise. Detection engineering looks simple in the textbook and is unforgiving in practice.

References

Marriott International. 2018. Marriott Announces Starwood Guest Reservation Database Security Incident. https://news.marriott.com/news/2018/11/30/marriott-announces-starwood-guest-reservation-database-security-incident.
Marriott International, Inc. 2019. Form 10-k for the Fiscal Year Ended December 31, 2018. https://www.sec.gov/Archives/edgar/data/1048286/000162828019002337/mar-q42018x10k.htm.
OASIS Open Cyber Threat Intelligence Technical Committee. 2021a. STIX Version 2.1. https://oasis-open.github.io/cti-documentation/stix/intro.
OASIS Open Cyber Threat Intelligence Technical Committee. 2021b. TAXII Version 2.1. https://oasis-open.github.io/cti-documentation/taxii/intro.
UK Information Commissioner’s Office. 2020. Marriott International Inc, Monetary Penalty Notice. https://ico.org.uk/media2/migrated/2618524/marriott-international-inc-mpn-20201030.pdf.