5.5.4. DLP, NAC, EDR/XDR, and User Behavior Analytics
💡 First Principle: These capabilities extend security beyond network boundaries to protect data wherever it goes, control device access, detect sophisticated threats on endpoints, and identify insider threats through behavioral analysis.
Data Loss Prevention (DLP) — prevents unauthorized data exfiltration by inspecting data in motion (network DLP), data at rest (storage DLP), and data in use (endpoint DLP). DLP policies define sensitive data patterns (credit card numbers, SSNs, proprietary keywords) and actions (block, quarantine, alert).
Network Access Control (NAC) — evaluates device health and compliance before granting network access. Pre-admission checks: is antivirus current? Is the OS patched? Is disk encryption enabled? Non-compliant devices are quarantined to a remediation VLAN with limited access.
EDR (Endpoint Detection and Response) — continuously monitors endpoints for suspicious activity using behavioral analysis, not just signatures. EDR records process execution, file changes, network connections, and registry modifications. When suspicious behavior is detected, EDR can isolate the endpoint, kill malicious processes, and collect forensic data. Because it keys on behavior rather than file signatures, EDR can catch fileless and living-off-the-land activity (trusted tools such as PowerShell abused in memory) and previously unseen malware that signature-only antivirus misses. The trade-off is that EDR typically costs more and needs more tuning than traditional antivirus.
XDR (Extended Detection and Response) — extends EDR across multiple security layers (network, email, cloud, identity) for correlated threat detection. XDR connects the dots across siloed security tools to identify complex, multi-vector attacks that no single tool would catch.
User Behavior Analytics (UBA/UEBA) — establishes baseline behavior patterns for each user and alerts on deviations. If an accounting employee suddenly accesses engineering files at 3 AM from a foreign IP, UBA flags the anomaly. Effective against insider threats and compromised accounts because it detects behavioral changes, not just known attack signatures.
How NAC admits a device:
- 802.1X — port-based network access control for wired and wireless networks, with three roles: the supplicant (software on the device), the authenticator (the switch or wireless access point) and the authentication server (usually RADIUS). Until authentication succeeds, the port passes only EAP authentication traffic; afterward, RADIUS can assign the device to the right VLAN. Certificate-based EAP-TLS is the strongest common method.
- Endpoint posture/compliance — the health check behind the admission decision: OS patch level, EDR or antivirus running and current, disk encryption on, host firewall enabled, no prohibited software. A persistent agent on managed devices reports posture continuously; a dissolvable (temporary) agent runs once and removes itself, which suits unmanaged contractor and guest devices; agentless checks query the device remotely or rely on directory and MDM data. Failing devices land in a remediation (quarantine) VLAN that can reach only patch and update servers.
- Captive portal — the web page an unauthenticated device is redirected to before it gets access, familiar from hotel and guest Wi-Fi: the user signs in, accepts an acceptable-use policy or enters a sponsor's code. It suits guests and personal devices that cannot run an 802.1X supplicant, but it identifies a user rather than checking the device's health, and an open guest network behind a captive portal is still unencrypted unless the wireless network itself uses encryption (WPA3, or Wi-Fi Enhanced Open).
⚠️ Exam Trap: EDR monitors endpoints. XDR correlates across multiple layers (endpoints + network + cloud + email). If the question asks about detecting a multi-stage attack that moves from email phishing to endpoint compromise to lateral movement, XDR is the better answer because it correlates across all those layers.