Table of Contents

Chapter 9: Network, Endpoint, and Infrastructure Engineering

Learning Outcomes:

Introduction

The previous chapters built a security architecture from the top down: governance, risk, identity, cloud, cryptography. This chapter is about the day-to-day operational substrate that all of those abstractions actually run on — the endpoints employees use, the network that connects them, the core protocols those endpoints depend on, and the management discipline that keeps the inventory honest.

This is also where most attacks are won and lost. A misconfigured firewall rule, a flat VLAN, a domain controller still running on Windows Server 2012, an unsigned email that lands in a CFO’s inbox, an EDR agent quietly disabled six months ago and never re-enrolled — these are not exotic problems. They are mundane, ubiquitous, and the proximate cause of many successful breaches.

We start with change and configuration management, because every other control depends on knowing what you have. Then come endpoint security, where modern EDR has replaced signature-based antivirus as the primary defense; network troubleshooting (routing, VPNs, IDS/IPS); the core services everyone takes for granted (DNS, TLS, email, DDoS); and mobile and remote device management. The throughline is that competent operations beat clever architecture: the question is rarely “do we have the right tool?” but “is it deployed, configured correctly, and producing usable signal?”


How Do We Manage Infrastructure Changes?

Security cannot defend what it does not know about. The discipline of keeping that “what we have” picture accurate, current, and trustworthy is configuration management, and the discipline of changing it without breaking things is change management. Together they are the operational scaffolding that everything else in this chapter rests on.

Change and Configuration Management

A change is any modification to the production environment: a firewall rule edit, a server patch, a Kubernetes deployment, a routing-table tweak, the addition of a new SaaS tenant. Change management is the formal process by which proposed changes are reviewed, scheduled, and recorded.

A mature change-management workflow has four basic steps:

  1. Request and impact assessment. The proposer documents what is changing, why, what could break, what the rollback plan is, and which other teams are affected.
  2. Approval. A Change Advisory Board (CAB) — formal in regulated environments, lightweight in startups — approves, defers, or rejects. Pre-approved standard changes (a routine OS patch with a known rollback) skip the CAB to avoid bottlenecking.
  3. Implementation in a defined window. The change is performed during a scheduled maintenance window with a designated implementer and verifier, not at 4:55 p.m. on a Friday by whoever happens to be available.
  4. Post-implementation review. Did it work? Did anything else break? The result is recorded against the original change ticket so that future investigators can correlate “the system started failing on Tuesday” with “ah, we deployed change CR-2317 on Tuesday.”

Configuration management is the data side of the same problem: each system has a desired state (declared in a tool like Ansible, Puppet, Chef, Salt, or a Terraform / IaC pipeline) and an actual state (what is really on the machine). The desired state starts from a baseline, an approved hardened configuration such as a CIS Benchmark profile, and configuration drift is any unapproved departure from it. Drift is the fertile ground in which many security failures grow.

Example

A firewall rule change through the full workflow

Juliet Capulet’s team at Verona Health submits change request CR-4417: “Open TCP 6443 inbound from the DevOps VLAN to the Kubernetes API server to enable automated CI/CD deployments.”

  1. Request and impact assessment. The ticket documents the source/destination pair, the business justification, the rollback plan (delete the rule), and a note that the Kubernetes API server is in PCI and HIPAA scope.
  2. CAB review. An analyst flags that the DevOps VLAN is shared with a contractor subnet. The rule is narrowed to three specific CI/CD runner IPs before approval.
  3. Implementation window. The rule is applied at 2 a.m. Sunday. A verification test — a successful curl from an approved runner IP and a confirmed rejection from a non-approved IP — is logged in the ticket.
  4. Post-implementation review. The ticket is closed with the exact rule as implemented, the verifier’s name, and an action item to audit contractor IP assignments in the DevOps VLAN.

Six months later, when an auditor asks “why does port 6443 have an inbound allow rule?”, the answer is one click away — not an educated guess based on who remembers the sprint.

Asset Management Lifecycle, Inventory, and CMDB

The Configuration Management Database (CMDB) is the system of record for every asset and every relationship between assets. Each hardware, virtual, software, or cloud asset is stored as a configuration item (CI) with attributes and links to other CIs. A good CMDB answers questions like: which servers run this application? Which VLAN are they in? Which patch group? Who is the business owner? Which compliance scope (PCI, HIPAA, SOX) does each asset fall under? When does the support contract expire? Inventory is the raw list of what exists; the CMDB adds ownership and relationships. Neither stays accurate by hand, so mature teams feed them with automated discovery (scans, cloud APIs, directory sync, EDR and MDM enrollment).

The asset management lifecycle runs from procurement through disposal:

Key Point Every security control in this chapter assumes you know what assets you have. A firewall rule, an EDR agent, a vulnerability scan, an IDS signature — none of them help on a host you do not know exists. The single highest-leverage investment many organizations can make is not a new tool but a CMDB they actually trust.

Warning Shadow IT — assets the security team does not know about — is the usual source of “wait, that server got hit?” moments after a breach. A weekly automated reconciliation between the CMDB, the cloud provider’s inventory APIs, the Active Directory computer list, and the EDR console catches most of it.

Quick Check 9.1

  1. Recall. What are the four steps in the mature change-management workflow described in the chapter?
  2. Discriminate. A VM exists in the cloud provider inventory and the EDR console, but not in the CMDB. What operational problem does that reveal?
  3. Apply. In the TCP 6443 example, name one correction made at the CAB review and one safeguard applied during implementation.
Answers — Quick Check 9.1
  1. Request and impact assessment, approval, implementation in a defined window, and post-implementation review.
  2. CMDB drift. The VM is real and monitored, but its owner, patch group, and compliance scope are unrecorded; it may be shadow IT. Reconciliation should have flagged it.
  3. At CAB review, the rule was narrowed from the shared DevOps VLAN to three CI/CD runner IPs. During implementation, tests confirmed both a successful connection from an approved runner and a rejection from a non-approved source, and the exact rule was logged in the ticket.

How Do We Lock Down Endpoints and Servers?

The endpoint — laptop, server, virtual machine, container — is where users do work, where credentials live, and where attackers eventually want to land. A defended endpoint stack today looks very different from one five years ago: signature-based antivirus has been displaced by behavior-based Endpoint Detection and Response (EDR) and increasingly by Extended Detection and Response (XDR), which correlates endpoint signals with network, identity, and email telemetry.

EDR, HIPS/HIDS, Anti-Malware, and Host Firewalls

Traditional antivirus (AV) matches files against a database of known-bad hashes and signatures. It catches known malware quickly and produces few false positives, but it is essentially blind to anything new — a freshly compiled implant, a living-off-the-land attack using only built-in OS tools, a fileless payload that lives only in memory.

Endpoint Detection and Response (EDR) is a different paradigm. A lightweight agent on every endpoint streams continuous telemetry — process creations, network connections, file operations, registry edits, syscall patterns — to a cloud analytics backend. The backend applies behavioral models, machine learning, and threat-intelligence overlays to detect suspicious sequences, not just bad files. CrowdStrike Falcon, Microsoft Defender for Endpoint, SentinelOne, and Palo Alto Cortex XDR are the dominant commercial offerings.

Traditional AV asks “have I seen this file before?” — a question with a yes/no answer based on a static signature database. EDR asks “is this behavior consistent with an attack?” — a question that draws on continuous telemetry, cloud-side analytics, and the ability to respond automatically by isolating the host or terminating a process tree. Figure 9.1: Traditional AV asks “have I seen this file before?” — a question with a yes/no answer based on a static signature database. EDR asks “is this behavior consistent with an attack?” — a question that draws on continuous telemetry, cloud-side analytics, and the ability to respond automatically by isolating the host or terminating a process tree.

Host-based defenses fall along a spectrum:

Table 9.1: Modern endpoint protection has moved from “catch the file” to “explain the behavior, and respond.” Traditional AV still has a place — particularly on constrained or air-gapped systems — but EDR is the dominant control on managed corporate fleets.
Capability Traditional AV EDR / XDR
Detection model Signature / hash match Behavioral + ML + telemetry
Coverage of unknown / fileless Poor Strong
Telemetry retention Local logs only Cloud, weeks to months
Response capabilities Quarantine, alert Isolate host, kill process tree, roll back, remote shell
Threat-hunting support None Searchable telemetry, MITRE ATT&CK mapping
Operational overhead Low Higher — requires tuning and an analyst team
Cost Low Significant — per-endpoint subscription

Endpoint Privilege Management, Application Control, SELinux, and Attack Surface Reduction

Beyond detection, several controls reduce what an attacker can do once on the endpoint:

Credential Dumping, Privilege Escalation, Unauthorized Execution, and Defensive Evasion

The TTPs (Tactics, Techniques, and Procedures) that drive endpoint compromise map cleanly onto the MITRE ATT&CK framework:

Browser Isolation and Configuration Management

The web browser is the modern endpoint’s single largest attack surface. Two complementary controls have emerged:

Example

Detecting credential dumping in EDR telemetry

A typical Mimikatz invocation produces a telltale sequence the EDR backend can recognize even if the binary itself is renamed or repacked:

  1. A non-system process (e.g., powershell.exe, notepad.exe) opens lsass.exe with PROCESS_VM_READ | PROCESS_QUERY_LIMITED_INFORMATION.
  2. That process performs a sequence of large ReadProcessMemory calls covering the address ranges where credential structures live.
  3. The process writes a memory dump (such as lsass.dmp) to disk or transmits a comparable blob to an external IP.

No single step is unambiguous evidence of an attack. The sequence is — a multi-step pattern signature-based AV cannot express but a behavior-based EDR backend can. Even a freshly compiled, never-before-seen dumping tool trips the same fingerprint.

Quick Check 9.2

  1. Recall. What kinds of telemetry does EDR collect that traditional antivirus generally does not?
  2. Discriminate. powershell.exe opens lsass.exe, performs large ReadProcessMemory calls, and writes a memory-dump file. What attack activity is this, and what detection model catches it best?
  3. Apply. A fixed-purpose server still lets users keep local admin rights and run arbitrary unsigned utilities. Name two controls from the section that would most directly reduce that risk.
Answers — Quick Check 9.2
  1. Process, network, file, registry, and related behavioral telemetry. EDR watches sequences of activity, not just static file signatures.
  2. Credential dumping, specifically the kind of LSASS-memory access associated with tools like Mimikatz. A behavior-based EDR model is the best fit.
  3. Endpoint Privilege Management to remove routine admin rights and application allowlisting or ASR-style execution controls to prevent unapproved binaries and risky child-process behavior.

How Do We Troubleshoot Network Defenses?

Network defenses fail in characteristic ways: rules in the wrong order, sensors in the wrong segment, tunnels that drop fragments, ACLs that hide a quiet asymmetric routing problem behind apparent connectivity. The architect’s job is to recognize the failure modes and produce systems that fail loudly rather than silently.

Resolving IPS/IDS False Positives

A network Intrusion Detection System (IDS) inspects traffic against a rule library and alerts, usually from a copy of the traffic (a SPAN port or TAP); an Intrusion Prevention System (IPS) sits inline and can drop packets. Common engines are Snort, Suricata, and Zeek, plus commercial offerings from Palo Alto, Cisco, and Fortinet. Their tuning problems are universal:

The remedy is a tuning loop: investigate every alert during the initial tuning period (typically several weeks), mark legitimate traffic patterns as exclusions, and keep rule sets current — Emerging Threats and Talos publish frequent updates.

Correcting Routing, Switching, VPN/Tunnel, and ACL Errors

Network misconfigurations break in characteristic ways:

Lateral Movement Paths, Remote Administration Abuse, and Identity-Impacting Infrastructure Drift

A single compromised endpoint should not be able to reach every other endpoint in the environment, but on a flat network it can. The structural defenses are:

Infrastructure drift — a firewall rule added “temporarily” for a project that ended two years ago, an old VPN account still enabled, a service principal granted excess permissions during an incident response and never trimmed — is the silent enemy of identity hygiene. Quarterly access reviews and IaC-managed firewall configurations are the practical countermeasures.

Improving Observability and Sensor Coverage

A network you cannot see is a network you cannot defend. Practical observability layers:

Case Study

WannaCry (May 2017): Network Propagation Through Unpatched SMB

On Friday, May 12, 2017, self-propagating ransomware named WannaCry began spreading across the internet at unprecedented speed. Within 24 hours it had infected more than 230,000 computers in 150 countries — including the UK National Health Service (NHS), which cancelled an estimated 19,000 appointments and diverted ambulances from affected hospitals; Telefónica; FedEx; Renault; Russia’s Interior Ministry; and a long list of other organizations whose Friday afternoon ended in ransom screens (Microsoft Security Response Center 2017; National Audit Office 2017).

The technical pattern was a textbook case of every theme in this section. The exploit at the core was EternalBlue, which targeted a flaw in Microsoft’s SMBv1 implementation (CVE-2017-0144). It was widely reported to have been developed by the U.S. National Security Agency and was leaked publicly by the Shadow Brokers group in April 2017. Microsoft had released the patch (MS17-010) in March — two months before WannaCry — but many organizations had not applied it. The NHS in particular was running large numbers of unpatched Windows 7 systems (and some Windows XP) behind under-resourced IT teams, with SMBv1 enabled and, at many sites, internal networks flat enough for workstations to talk SMB to one another (Microsoft Security Response Center 2017; National Audit Office 2017).

Once a single host was compromised, the worm scanned for port 445 — both random internet addresses and the local subnet — and propagated to every unpatched Windows host it could reach, with no user click required. Where internal networks were flat, a single-host compromise became an enterprise outage.

The first wave was halted, more or less by accident, when British researcher Marcus Hutchins (working under the handle MalwareTech) discovered an unregistered domain inside the malware’s code that it contacted before encrypting. The domain functioned as a kill switch — Hutchins registered it for $10.69, and every infection that successfully resolved the domain immediately ceased encryption. Variants with the kill switch removed were reported within days, but the initial wave was already contained. In December 2017 the U.S. and U.K. governments attributed the attack to North Korea, and in 2018 the U.S. Department of Justice charged a North Korean programmer, Park Jin Hyok, of the Lazarus Group, in a complaint covering WannaCry (U.S. Department of Justice, U.S. Attorney’s Office for the Central District of California 2018).

The post-incident lessons are exactly the operational disciplines this chapter has been arguing for:

  1. Patching matters even when it is inconvenient. MS17-010 had been available for two months. The failure to deploy it was an operational problem — legacy dependencies, thin budgets, and no central body able to mandate action — not a missing capability. Before the attack, NHS Digital had assessed 88 of England’s 236 trusts on site, and none had passed its cyber-security assessment (National Audit Office 2017).
  2. Network segmentation contains blast radius. The worm needed a reachable port 445. Every filtered path between workstations was a place it could not go; every flat network was a place it could go anywhere.
  3. Unpatched and end-of-life systems are time bombs. Windows XP had been out of support for three years, but analyses of infected machines found that most were unpatched, still-supported Windows 7 systems; XP machines more often crashed than were encrypted. The lesson is patch discipline as much as lifecycle. Microsoft still took the “highly unusual step” of releasing updates for platforms in custom support only, including XP and Server 2003 (Microsoft Security Response Center 2017).
  4. Egress and DNS visibility help even mid-attack. Once Hutchins registered the kill-switch domain, DNS queries from infected hosts around the world flowed to his sinkhole, letting researchers watch the outbreak in real time.

Quick Check 9.3

  1. Recall. Give one common cause of IDS/IPS false positives and one common cause of false negatives from the section.
  2. Discriminate. Users say “small pages load, large pages hang” across an IPsec tunnel. Which network problem fits that symptom best?
  3. Apply. A hospital still has unpatched SMB-reachable Windows hosts on a flat internal network. Name two controls from the chapter that would most directly limit WannaCry-style spread.
Answers — Quick Check 9.3
  1. A false positive example is legitimate internal scanner traffic matching attack signatures. A false negative example is encrypted or asymmetric traffic the sensor cannot fully inspect.
  2. An MTU or MSS mismatch across the tunnel. The fix is typically MSS clamping so large packets stop fragmenting and failing.
  3. Patch or retire the vulnerable SMB systems and segment or firewall workstation-to-workstation SMB paths. Host firewalls and disabling legacy SMB behaviors also cut the worm’s blast radius.

How Do We Secure Core Network Services?

DNS, TLS, and email are the protocols an enterprise depends on without thinking about them. Each was designed in an earlier, more trusting era of the internet, and each has been retrofitted with cryptographic and policy controls that must be deliberately enabled.

DNS Security (DNSSEC, Poisoning, Sinkholing, Zone Transfers)

DNS resolves names to addresses. Without protection, any answer at any step of the recursive lookup can be forged.

TLS Troubleshooting (Cipher Mismatch and PKI Issues)

TLS handshake failures fall into a small number of root causes, all of which the architect should be able to diagnose from openssl s_client or a packet capture:

Email Security (DKIM, SPF, DMARC, S/MIME)

Email was designed without authentication. Three layered controls have been bolted on, and they only work together:

SPF, DKIM, and DMARC are layered defenses against email spoofing. SPF authenticates the sending IP, DKIM authenticates the message contents, and DMARC ties both back to the visible From: domain — telling the receiving server which policy to apply on failure. Figure 9.2: SPF, DKIM, and DMARC are layered defenses against email spoofing. SPF authenticates the sending IP, DKIM authenticates the message contents, and DMARC ties both back to the visible From: domain — telling the receiving server which policy to apply on failure.

S/MIME — covered in Chapter 8 — is a different layer entirely: it provides end-to-end signing and encryption between specific senders and recipients using X.509 certificates. SPF/DKIM/DMARC authenticate the sending domain; S/MIME authenticates an individual person and, when used for encryption, keeps content confidential from everyone but the recipient.

These controls are now baseline requirements. Since February 2024, Google and Yahoo have required bulk senders (Google’s threshold is 5,000+ messages a day) to authenticate with SPF and DKIM, publish DMARC, and support one-click unsubscribe, and Microsoft began enforcing similar rules for Outlook.com in May 2025 (Google 2024; Microsoft Outlook Team 2025). Two optional layers build on them: MTA-STS lets a domain require TLS with a valid certificate for inbound mail, blocking downgrade attacks between mail servers (Margolis et al. 2018), and BIMI shows a verified brand logo, but only for domains enforcing DMARC at quarantine or reject.

Table 9.2: Common email attack types and the controls that materially reduce them. Email security is layered: no single control catches all of these, and most successful attacks combine two or three at once.
Attack Mechanism Primary Mitigation
Direct spoofing Forged From: from arbitrary IP DMARC reject with aligned SPF or DKIM
Display-name spoofing “CFO Name” with attacker email User training + mailbox banner for external senders
Lookalike domain paypa1.com, rnicrosoft.com Domain monitoring, secure email gateway lookalike detection
Compromised internal account Real authenticated send Phishing-resistant MFA + UEBA / impossible-travel detection + DLP egress rules
Reply-chain hijack Attacker with a stolen mailbox (or lookalike domain) replies inside a real thread Mailbox MFA + thread-anomaly detection + link and attachment sandboxing (DMARC still passes when the sender is genuinely compromised)
Malicious attachment Macro-enabled doc, ISO, LNK ASR rules, attachment sandboxing, Mark-of-the-Web enforcement
Phishing link URL → credential capture page URL rewriting + sandbox detonation, browser isolation, FIDO2

Example

What SPF, DKIM, and DMARC look like in DNS — and what happens when a spoofed message arrives

Three DNS records protect verona-health.org:

verona-health.org                    TXT  "v=spf1 include:_spf.google.com ip4:203.0.113.20 -all"
google._domainkey.verona-health.org  TXT  "v=DKIM1; k=rsa; p=MIIBIjANBgkq..."
_dmarc.verona-health.org             TXT  "v=DMARC1; p=reject; rua=mailto:dmarc@verona-health.org"

The SPF record authorizes Google’s mail servers and one specific IP (203.0.113.20) to send for the domain; anything else is a hard fail (-all). The DKIM record publishes the public key (selector google) used to verify the cryptographic signature attached to every outbound message. The DMARC record instructs receiving servers to reject any message that lacks an aligned pass — an SPF or DKIM pass whose authenticated domain matches the visible From: domain — and to send aggregate reports back to the security team.

When a phishing campaign sends “From: cfo@verona-health.org” from a rented VPS, one of two things happens. If the attacker forges the envelope sender too, SPF fails because the VPS IP is not listed. If the attacker uses their own domain as the envelope sender, SPF may pass — but for the attacker’s domain, which does not match the From: domain, so the pass is not aligned. Either way, the attacker cannot produce a DKIM signature for verona-health.org without its private key. With no aligned pass, DMARC applies p=reject and the message never reaches the inbox, and the aggregate report logs the attempt for the security team’s weekly review. (Verona reached p=reject only after months at p=none, using those reports to find legitimate senders it had forgotten.)

Quick Check 9.4

  1. Recall. What do SPF, DKIM, and DMARC each validate or enforce? Separately, what does an authoritative nameserver that answers AXFR requests from anyone on the internet expose?
  2. Discriminate. A bulk-mail vendor’s messages pass SPF and DKIM for the vendor’s own domain, but their visible From: address is @verona-health.org. Under p=reject, are they delivered? Why?
  3. Apply. A phishing campaign sends mail that appears to come from the CFO’s domain using a rented VPS. Name three layered controls from the section that should block or blunt that attack.
Answers — Quick Check 9.4
  1. SPF validates authorized sending IPs, DKIM validates the message signature, and DMARC aligns those checks with the visible From: domain and tells receivers what to do on failure. An open AXFR exposes the entire zone contents, leaking the organization’s naming map and host inventory for reconnaissance.
  2. No. The checks passed, but for the vendor’s domain, so neither is aligned with From:. The fix is a DKIM key for verona-health.org (or a delegated subdomain) at the vendor.
  3. DMARC with aligned SPF or DKIM (stops direct spoofing), secure-email controls such as lookalike-domain detection and link or attachment sandboxing, and post-delivery controls such as browser isolation and phishing-resistant FIDO2 authentication (which defeat credential theft) all reduce the attack’s chance of succeeding.

DoS/DDoS and Resource Exhaustion

A Denial of Service (DoS) attack consumes a resource (bandwidth, connections, CPU, memory) until legitimate users cannot use the service. Distributed DoS (DDoS) does so from many sources simultaneously, defeating simple IP blocking. Categories:

The general defense is layered absorption: a CDN + WAF in front, rate limits at the API gateway, autoscaling backends with circuit breakers, and an incident playbook that includes upstream provider contacts before the attack happens. Resource exhaustion also happens without an attacker (a memory leak, a full log volume, an exhausted DHCP scope), so quotas and capacity alerts belong to the same defense.


How Do We Manage Mobile and Remote Devices?

Phones, tablets, and laptops outside the office are the modern enterprise’s most awkward attack surface. They carry corporate data, authenticate to corporate identity systems, and travel into uncontrolled networks every day.

MDM Technologies and App Containment

Mobile Device Management (MDM) — and the broader category of Unified Endpoint Management (UEM) — gives IT a central control plane over enrolled devices. Microsoft Intune, Jamf, Omnissa Workspace ONE (formerly VMware), and Google’s endpoint management in Google Workspace are common platforms. NIST’s current enterprise mobile-device and BYOD guidance treats centralized management, policy enforcement, and app/container controls as foundational safeguards (Howell et al. 2023; Boeckl et al. 2023). Capabilities typically include:

The deployment models that matter fall into two camps:

Case Study

Juliet Capulet’s BYOD MDM Rollout at Verona Health

Juliet Capulet, security awareness trainer at Verona Health (a 4,000-employee regional hospital network), is the operational lead on a BYOD initiative that has been simmering for two years. Clinicians want to use their personal phones for secure messaging, on-call notifications, and electronic health record (EHR) access at bedside. The CFO wants to stop buying corporate phones for every nurse. The CISO wants to make sure the next breach report does not name Verona Health.

The pre-rollout state is bad. Several hundred clinicians have already self-enrolled their phones in the EHR vendor’s mobile app using their AD passwords; there is no MFA, no device posture check, and no way to know which devices are jailbroken or running an unpatched OS. Lost-phone incidents are reported to IT roughly once a month and to the privacy office almost never.

Juliet’s program runs in four phases over six months.

Phase 1 — Policy. Verona’s legal team writes a BYOD acceptable-use agreement. The crucial provisions: the company may wipe the corporate container on demand; the company will not access personal data, location, or browsing; lost or stolen devices must be reported within 24 hours; jailbroken devices are prohibited; and the OS must stay within two major versions of current. Each user e-signs the agreement before enrollment proceeds.

Phase 2 — Technology. Microsoft Intune is the chosen MDM, integrated with Microsoft Entra ID (formerly Azure AD) for conditional access. The corporate container approach (Intune App Protection on iOS, Work Profile on Android) is mandated; full-device management is offered as an option for the small number of executives who are issued company-paid phones. EHR access requires a managed device, FIDO2 or Authenticator app MFA, recent OS, encryption enabled, and a mobile threat-defense agent (Defender for Endpoint on iOS and Android) reporting. A non-compliant device is blocked at sign-in by conditional access (Howell et al. 2023; Boeckl et al. 2023; Rose et al. 2020; National Institute of Standards and Technology 2025).

Phase 3 — Pilot and rollout. The pilot covers two clinical units (forty users) for thirty days. Two issues surface: (1) some older Android devices can’t run the required security agent, and (2) the mandatory PIN interferes with one-handed phone use during patient care. Juliet adjusts: a hardship process (corporate device issued instead) and a biometric unlock option that satisfies the spirit of the PIN requirement. Rollout proceeds in waves of 500 users per week.

Phase 4 — Operations. A monthly report from Intune feeds into the security council: enrollment rate, compliance posture, incident counts (lost devices, attempted access from non-compliant devices), and selective wipes performed. The first month’s report shows 38 lost-phone reports — against roughly one a month before the program — which Juliet correctly interprets not as a worsening problem but as an improving reporting culture. A selective-wipe command was issued for each phone within an hour of its report. Online phones were wiped almost immediately; for those switched off or out of coverage, the command waited until the device next reached a network — one reason the policy demands a report within 24 hours.

Six months in, Verona Health has 3,700 enrolled devices, zero successful unauthorized EHR mobile accesses, and a CFO whose phone bill dropped by $180,000 a year. The CISO writes a one-paragraph note for the next board meeting describing the program as “the most boring success of the year” — by which she means it has produced no incidents to talk about, which is exactly the goal.


Chapter Review and Conclusion

Operational security — the unglamorous work of inventory, change control, patching, hardening, and monitoring — is what most organizations do worst and what attackers most reliably exploit. The architectures of the previous chapters only deliver value when the endpoints are running an EDR that has not been disabled, the network is segmented enough that one compromised host does not become every host, the DNS and email infrastructure are configured to reject forgery, and every device that touches corporate data — including the ones in employees’ pockets — is enrolled, posture-checked, and wipeable. The common thread is management discipline: deploying, configuring, and maintaining the tools an organization already has.

Key Terms Review

Practice-Based Questions

Apply The Chapter

Juliet Capulet Rolls Out BYOD at Verona Health

Design PBQ. Map each item in a CISO’s pre-rollout gap memo to its control — selective wipe, containerization, conditional access, FIDO2, per-SSID VLAN, DMARC, DNSSEC.

Diagnose The Failure

Juliet Reviews the Imaging-Department Ransomware

Diagnostic PBQ. The BYOD program shipped, then radiology gets ransomwared anyway — through a portal nobody locked and an enclave a vendor un-fenced with a patch cable. Walk backward through both doors.

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 runs network or endpoint defenses for a living: a network engineer, EDR analyst, infrastructure operations lead, or MDM administrator. Good questions:

Listen for the gap between defense-in-depth as drawn (firewalls, IDS, EDR, MDM) and as operated: coverage gaps, alert fatigue, and assets nobody is sure exist.

No one to interview? Rehearse with a chatbot playing a senior network and endpoint security engineer who owns the EDR rollout, asset inventory, and egress filtering. It exposes which of your questions are vague about the layer you mean.

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 detection engineer who deeply disagrees, citing real EDR incidents, vendor outages or compromises, and attacker shifts toward identity and cloud.

Track a Current Debate (20 min)

Find a network or endpoint security event from the last six months. Good starting points: CISA advisories on exploited edge devices, post-mortems of endpoint agent failures, and DNS, email-authentication, or BGP incident reports. Be ready to explain to a classmate, in two minutes, what happened, which network or endpoint layer was decisive, and what others are changing as a result. Bring two primary sources.

Lab Artifact: Analyze a Real Malware Traffic Capture (20 min)

Brad Duncan’s Malware Traffic Analysis site publishes packet captures and writeups of real infections. The writeups alone, without the pcap, show what a compromise looks like on the wire.

  1. Go to malware-traffic-analysis.net. Open the most recent “Traffic Analysis Exercise” or any blog entry from the last twelve months describing a malware infection.
  2. Read the writeup. Identify, in your own words: the delivery mechanism (phishing email, drive-by, malvertising), the initial network behavior (callback to a command-and-control server, DNS lookups to suspicious domains, HTTP requests with characteristic headers), and the indicators of compromise the analyst extracted (IPs, domains, file hashes, URLs).
  3. For each indicator, name the control from this chapter that would have detected or blocked it: DNS sinkholing, egress filtering, TLS inspection, EDR file telemetry, email gateway, NIDS signature, DMARC alignment failure.
  4. Answer: which single control, working perfectly, would have stopped this infection earliest? What does it tell you about defense-in-depth that no single control consistently catches every step?

Safety: Read the writeups. Do not download the pcap or malware sample files to your own machine unless you are working in a properly isolated analysis environment that you own. The writeups contain everything you need for this exercise.

Model a Local System (2+ hours)

Pick a system you use (your school’s network, your home network, or a small organization’s network you have permission to observe) and sketch its security posture from what you can observe without probing:

Then identify the layer where you have the lowest confidence. Do not probe, scan, or attempt to bypass any control. The deliverable is a one-page sketch and a short paragraph naming the weakest visible layer and what you would ask the operator to fix first.

References

Boeckl, Kaitlin, Nakia Grayson, Gema Howell, et al. 2023. Mobile Device Security: Bring Your Own Device (BYOD). NIST SP 1800-22. National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.1800-22.
CA/Browser Forum. 2023. Ballot SC-063v4: Make OCSP Optional, Require CRLs, and Incentivize Automation. https://cabforum.org/2023/07/14/ballot-sc063v4-make-ocsp-optional-require-crls-and-incentivize-automation.
CA/Browser Forum. 2025. Ballot SC-081v3: Introduce Schedule of Reducing Validity and Data Reuse Periods. https://cabforum.org/2025/04/11/ballot-sc081v3-introduce-schedule-of-reducing-validity-and-data-reuse-periods/.
Google. 2024. Email Sender Guidelines. https://support.google.com/a/answer/81126.
Howell, Gema, Joshua Franklin, Vincent Sritapan, Murugiah Souppaya, and Karen Scarfone. 2023. Guidelines for Managing the Security of Mobile Devices in the Enterprise. NIST SP 800-124 Rev. 2. National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-124r2.
Kucherawy, Murray, and Elizabeth Zwicky. 2015. Domain-Based Message Authentication, Reporting, and Conformance (DMARC). RFC 7489. Internet Engineering Task Force. https://doi.org/10.17487/RFC7489.
Let’s Encrypt. 2025. OCSP Service Has Reached End of Life. https://letsencrypt.org/2025/08/06/ocsp-service-has-reached-end-of-life.
Margolis, Daniel, Mark Risher, Binu Ramakrishnan, Alexander Brotman, and Janet Jones. 2018. SMTP MTA Strict Transport Security (MTA-STS). RFC 8461. Internet Engineering Task Force. https://doi.org/10.17487/RFC8461.
Microsoft Outlook Team. 2025. Strengthening Email Ecosystem: Outlook’s New Requirements for High-Volume Senders. Microsoft Tech Community blog. https://techcommunity.microsoft.com/blog/outlook/strengthening-email-ecosystem-outlook%E2%80%99s-new-requirements-for-high%E2%80%90volume-senders/4399730.
Microsoft Security Response Center. 2017. Customer Guidance for WannaCrypt Attacks. https://www.microsoft.com/en-us/msrc/blog/2017/05/customer-guidance-for-wannacrypt-attacks.
Moriarty, Kathleen, and Stephen Farrell. 2021. Deprecating TLS 1.0 and TLS 1.1. RFC 8996. Internet Engineering Task Force. https://doi.org/10.17487/RFC8996.
National Audit Office. 2017. Investigation: WannaCry Cyber Attack and the NHS. National Audit Office. https://www.nao.org.uk/reports/investigation-wannacry-cyber-attack-and-the-nhs/.
National Institute of Standards and Technology. 2025. Digital Identity Guidelines: Authentication and Lifecycle Management. https://pages.nist.gov/800-63-4/sp800-63b.html.
Rose, Scott, Oliver Borchert, Stu Mitchell, and Sean Connelly. 2020. Zero Trust Architecture. NIST SP 800-207. National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-207.
U.S. Department of Justice, U.S. Attorney’s Office for the Central District of California. 2018. North Korean Regime-Backed Programmer Charged with Conspiracy to Conduct Multiple Cyberattacks and Intrusions. https://www.justice.gov/usao-cdca/pr/north-korean-regime-backed-programmer-charged-conspiracy-conduct-multiple-cyberattacks.
Weston, David. 2024. Helping Our Customers Through the CrowdStrike Outage. Microsoft blog. https://blogs.microsoft.com/blog/2024/07/20/helping-our-customers-through-the-crowdstrike-outage/.