Skip to content

Mastering Apple Endpoint Security for Advanced macOS Malware Detection

Patrick Wardle

Patrick Wardle provides an advanced guide to Apple's Endpoint Security framework, demonstrating how to build robust, kernel-level telemetry and macOS malware detection.

Summary

The Evolution of macOS Security Telemetry

Apple transitioned from deprecated Kernel Extensions (KEXTs) to the Endpoint Security (ES) framework, providing user-space security products with kernel-level event monitoring and authorization capabilities.

Mastering Endpoint Security Events and Handlers

Patrick Wardle breaks down the technical implementation of ES clients, detailing how to subscribe to process execution, file system modifications, IPC mach messaging, and dynamic dylib loading events.

Detecting Advanced macOS Malware Tradecraft

Leveraging granular ES telemetry enables defenders to detect stealthy macOS malware techniques, including synthetic click generation, Dylib hijacking, LaunchDaemon persistence, and TCC permission bypasses.

Building Open-Source Defensive Tools

Sharing open-source detection engineering methodologies equips macOS administrators and security researchers to develop robust, native endpoint monitoring solutions.

Related talks