Leanpub Header

Skip to main content

The Anatomy of Modern Endpoint Detection and Response

From Kernel Hooks to Zero Trust - A Security Professional's Guide

The Anatomy of Modern Endpoint Detection and Response
This book is 100% completeLast updated on 2026-11-22
+73,103 words in the last 30 days

Endpoint Detection and Response is at the core of modern cybersecurity. This book explores the technologies behind EDR, from kernel-level telemetry to threat hunting and zero-trust architectures, providing practical guidance for deploying and operating EDR at scale.

Minimum price

$29.00

$39.00

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
WEB
APP
435
Pages
About

About

About the Book

Endpoint Detection and Response has evolved from a niche category into the backbone of modern cybersecurity operations. This book dissects EDR systems from the inside out, covering kernel-level instrumentation on Windows and Linux, behavioral telemetry engineering, machine learning detection models, threat hunting methodologies, and integration with zero-trust architectures. Whether you are a SOC analyst tuning your first EDR deployment, a security architect designing an enterprise detection strategy, or a CISO evaluating platforms, this book provides the technical depth and practical guidance needed to operate EDR at scale in today's threat landscape.

Share this book

Featured in our articles on

Author

About the Author

Steve Publications

Steve is a technology professional with more than 20 years of experience spanning software development, server infrastructure, cybersecurity, vulnerability research and reverse engineering. His work focuses on understanding complex systems, uncovering security weaknesses and developing practical solutions that make technology more secure, reliable and effective.

Through Steve Publications, he collaborates with experienced researchers, engineers and industry experts to create practical, technically rigorous books on various topics not limited to self-improvement, software development, cybersecurity, cloud computing, DevOps, artificial intelligence and enterprise technologies. His mission is to make complex technical subjects accessible through clear explanations, real-world examples and hands-on exercises that help IT professionals, students and technology enthusiasts build valuable, practical skills.

Steve Publications embraces AI as a supporting tool for translation, proofreading and editorial refinement, not as a substitute for original research, technical expertise, or hands-on experience. Some contributors choose to publish under pseudonyms to protect their privacy or maintain professional boundaries.

Behind every book is a commitment to technical accuracy, practical relevance and continuous improvement. Our publications are written, reviewed and maintained by experienced professionals, with support from a private community of more than 420 engineers and researchers. Rather than prioritizing volume or mass-produced AI-generated content, we focus on delivering reliable, useful resources that readers can apply in real-world environments.

We also welcome experienced professionals who want to share their knowledge by writing or reviewing books, particularly in specialized and emerging technology fields. If you have expertise to contribute, we invite you to get in touch and explore opportunities to collaborate.

Our commitment is simple: To deliver books that respect our readers' time, support their professional growth and provide lasting practical value. If a book does not meet your expectations, Leanpub offers a 60-day money-back guarantee.

Contents

Table of Contents

From Kernel Hooks to Zero Trust: A Security Professional’s Guide

  1. About this book

Introduction: The Endpoint as the Last Line

Chapter 1: The Evolution of Endpoint Security

  1. From Signatures to Behavior: The Failure Modes of Classic Antivirus
  2. The HIDS Interlude and the Limits of Log Monitoring
  3. Birth of EDR: Threat Intelligence and the Need for Context
  4. Architectural Principles of Modern Endpoint Protection

Chapter 2: Operating System Architecture Fundamentals

  1. Kernel and User Mode: The Security Boundary
  2. Process and Thread Lifecycle: From Creation to Termination
  3. Memory Management and Virtual Address Spaces
  4. System Calls: The Kernel Interface
  5. File Systems, Handles and Network Stacks

Chapter 3: Security Models and the Modern Threat Landscape

  1. OS Security Models: DAC, MAC and Mandatory Integrity
  2. The Privilege Ladder: From Unprivileged to SYSTEM and root
  3. Adversary Taxonomies: Nation-States, Ransomware Gangs and Opportunists
  4. The MITRE ATT&CK Framework as a Common Language

Chapter 4: Windows Endpoint Instrumentation

  1. Event Tracing for Windows: Providers, Sessions and Real-Time Consumption
  2. Sysmon and the Windows Security Monitoring Toolkit
  3. Minifilter Drivers and the File System Filter Stack
  4. Kernel Callbacks: Process, Thread, Image and Registry Notifications
  5. WMI, Scheduled Tasks and the Persistence Surface

Chapter 5: Linux Endpoint Instrumentation

  1. The Linux Instrumentation Landscape
  2. eBPF: The Programmable Kernel Instrumentation Framework
  3. Tracepoints, kprobes and uprobe Attachment in Practice
  4. The Linux Audit Subsystem
  5. fanotify: Filesystem Access Control
  6. ptrace: Process Tracing and Inspection
  7. /proc and /sys: Kernel Information Filesystems
  8. seccomp: System Call Filtering
  9. Choosing the Right Instrumentation Layer
  10. Linux EDR and MITRE ATT&CK Coverage
  11. Summary

Chapter 6: macOS and Apple Silicon Endpoint Instrumentation

  1. The Endpoint Security Framework: Overview
  2. System Extensions and the Death of Kernel Extensions
  3. AMFI, Code Signing and the Gatekeeper Pipeline
  4. Launch Services, Daemons and Persistence on macOS
  5. Apple Silicon: ARM64 Kernel Changes and Their Security Implications
  6. macOS EDR and MITRE ATT&CK Coverage
  7. Summary

Chapter 7: Kernel Hooks, Event Interception and Sensor Design

  1. Hooking Techniques: Inline Hooks, IAT Hooks and Callback Chains
  2. Event Interception Patterns: Synchronous, Asynchronous and Buffered
  3. Performance Overhead, Event Loss and Backpressure
  4. Kernel Stability and the Blue Screen Problem
  5. Tamper Resistance and Anti-Debugging in Kernel Sensors
  6. Sensor Design Principles
  7. Summary

Chapter 8: EDR Agent Architecture

  1. The Agent Process Model
  2. Event Collection, Normalization and Enrichment
  3. Telemetry Serialization, Transport and Resilience
  4. Policy Engines, Configuration Management and Updates
  5. Self-Protection: Driver Signing, Integrity Checks and Kill-Switch Defense
  6. Summary

Chapter 9: The Telemetry Lifecycle: From System Call to Signal

  1. The Lifecycle as a Pipeline
  2. A Narrative Walkthrough: Following a Single Event
  3. Collection and Pre-Filtering: What to Send and What to Drop
  4. Event Normalization, Schema Design and Enrichment
  5. Transport Protocols, Buffering and Event Loss Mitigation
  6. Ingestion, Indexing and Storage Architectures
  7. Analytics and Detection
  8. From Alert to Incident: Triage, Investigation and Response Loops
  9. Alert Fatigue and Signal Quality
  10. Summary

Chapter 10: Centralized EDR Platform Architecture

  1. 10.1 The Scale Problem and Design Goals
  2. 10.2 Distributed Telemetry Ingestion and Load Distribution
  3. 10.3 Message Queues and Stream Processing Engines
  4. 10.4 Time-Series Storage, Search Infrastructure and Retention
  5. 10.5 Detection Engines: Rule-Based, Behavioral and ML-Driven
  6. 10.6 Multi-Tenancy, Scalability, Resilience and High Availability
  7. 10.7 Summary

Chapter 11: Detection Engineering Foundations

  1. 11.1 Detection as an Engineering Discipline
  2. 11.2 MITRE ATT&CK Mapping and Coverage Analysis
  3. 11.3 Behavioral Rules vs Indicators of Compromise
  4. 11.4 Correlation Logic and Multi-Event Detections
  5. 11.5 Testing, Tuning and False Positive Management
  6. 11.6 Summary

Chapter 12: Process Injection and Memory Manipulation

  1. 12.1 The Injection Problem and Its Taxonomy
  2. 12.2 Windows Memory and Process Control Primitives
  3. 12.3 Classic Windows Injection Techniques
  4. 12.4 DLL Injection, Reflective Loading and Shared Memory
  5. 12.5 Cross-Platform Injection: Linux and macOS
  6. 12.6 The Telemetry Signature of Injection
  7. 12.7 Detection Strategies for Process Injection
  8. 12.8 Practical Detection Implementations
  9. 12.9 Cross-Event Correlation Rules
  10. 12.10 Summary and Transition

References

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub