macOS Internals for Threat Detection Engineers
Where
Talks
Objective by the Sea v8.0
Duration
22 min
Maps macOS logging, Endpoint Security and TCC telemetry onto infostealer persistence and shows ways to spot it.
Summary
Olivia Gallucci opens by framing the problem: macOS produces a lot of security-relevant data, but it is hard to reach and noisy. She walks through the Unified Logging System, which records operating system and application events asynchronously and is mostly useful for context and correlation rather than real-time alerting. She then covers Endpoint Security, Apple's userland event API, and the tools used to read its events, along with the TCC database that stores privacy permission decisions.
The middle of the talk turns to persistence and abuse. Launch agents, launch daemons, login items and AppleScript run through osascript are presented as common ways malware keeps running or obtains user input. Examples come from families such as Atomic Stealer and XCSSET. Gallucci describes how Atomic Stealer hides its scripts through runtime string decoding and presents fake system password prompts, which evade defenses that focus only on exploits.
For the closing portion, she proposes detection built on behavior rather than signatures. The ideas include combining unusual osascript calls that display dialogs with hidden answers, high-entropy command-line arguments, unsigned parent processes, and outbound network traffic shortly after a prompt. She points to Mac Monitor and the Red Canary atomic test harnesses for generating and checking telemetry. The takeaway is that defenders should correlate several telemetry layers to find infostealer activity on macOS.
Related talks
Talks·26 min
Jaron Bradley
Shows lightweight macOS detections for Bonjour scanning, infostealers, Flutter-wrapped backdoors and remote-worker laptop farms.
Talks·19 min
Shows how Apple's FSKit can build userspace filesystems that serve as canary traps for catching infostealers and malware.
Talks·8 min
Martina Tivadar
Shows how a machine learning service that flags macOS malware gets built, from log collection to a deployed web app.


