SACL: The Detection Capability You've Been Ignoring

Wojtek Sochacki (Senior Incident Responder and Threat Detection Engineer · Hermès), Maroua Lahlouhi (SOC/CERT Engineer)

Insomni'hack 2026 · Day 1 · Main Track

Overview

Modern security operations centers (SOCs) have largely been built around next-generation endpoint detection and response (EDR) tools, treating them as the primary source of truth for threat detection. While EDR agents excel at capturing process creation, parent-child relationships, network connections, and common registry or file system alterations on critical paths, they inherently leave blind spots. Vendors are forced to make trade-offs between performance and coverage, balancing strict CPU, memory, and I/O budgets against kernel stability. This leaves roughly 20% of critical telemetry unmonitored—specifically, read operations on sensitive files, object-level access to Active Directory (AD) objects, and deep registry auditing.

Watch on YouTube

Visual summary for SACL: The Detection Capability You've Been Ignoring by Wojtek Sochacki, Maroua Lahlouhi
Visual summary for SACL: The Detection Capability You've Been Ignoring by Wojtek Sochacki, Maroua Lahlouhi

Key moments

  1. 0:00 Introduction and confession of ignoring SACLs
  2. 2:08 Agenda and EDR coverage overview
  3. 4:00 EDR blind spots and why they exist
  4. 7:45 SACL fundamentals and comparison with DACLs
  5. 14:48 Real-world detections: files, registry, and AD objects
  6. 26:00 Default configuration myths and DC sync case study
  7. 30:42 Deployment problems and proposed vendor-agnostic tool
  8. 40:50 Audience Q&A on event volume and tool availability

SACL: The Detection Capability You've Been Ignoring

Speakers: Wojtek Sochacki (Senior Incident Responder and Threat Detection Engineer, Hermès); Maroua Lahlouhi (SOC/CERT Engineer)

Conference: Insomni'hack

YouTube: https://www.youtube.com/watch?v=lzpLaqzfVI4

Overview

Modern security operations centers (SOCs) have largely been built around next-generation endpoint detection and response (EDR) tools, treating them as the primary source of truth for threat detection. While EDR agents excel at capturing process creation, parent-child relationships, network connections, and common registry or file system alterations on critical paths, they inherently leave blind spots. Vendors are forced to make trade-offs between performance and coverage, balancing strict CPU, memory, and I/O budgets against kernel stability. This leaves roughly 20% of critical telemetry unmonitored—specifically, read operations on sensitive files, object-level access to Active Directory (AD) objects, and deep registry auditing.

In this talk, Wojtek Sochacki and Marouane Lahlouhi argue that defenders have overlooked a powerful, native, and ancient Windows telemetry layer: System Access Control Lists (SACLs). Rather than relying entirely on vendor roadmaps, security teams can leverage SACLs to achieve granular, independent object-level auditing. By setting up these native OS "cameras," organizations can capture stealthy reconnaissance, credential access, and enumeration activities that bypass standard EDR visibility, ultimately closing critical gaps in their detection engineering strategy.

Background

▶ Watch: Introduction and confession of ignoring SACLs (0:00)

The premise of the talk centers on the limitations of modern EDR coverage. EDR solutions typically capture about 80% of necessary telemetry, forming the bread and butter of daily incident response. However, the remaining 20%—the stealthy operations where attackers spend the vast majority of their time during reconnaissance and credential access—frequently goes unnoticed. EDR telemetry struggles with read access because reading a file or querying an AD object is far quieter and harder to observe than modifying or deleting a file. Furthermore, visibility often changes across product versions and policy revisions with limited transparency, leaving defenders to discover gaps through trial-and-error during live compromises.

Prior work by security researchers, including insights from SpecterOps, has highlighted various methods for abusing Windows internals, but native auditing configuration has historically suffered from a reputation for verbosity and poor scalability. Without proper tooling, configuring SACLs across an enterprise requires managing complex security descriptors manually. The speakers set out to demystify SACL fundamentals, correct default configuration myths in Active Directory, and provide a vendor-agnostic, open-source tool utilizing declarative YAML configurations to make SACL deployment manageable at scale.

Key Findings

▶ Watch: EDR blind spots and why they exist (4:00)

The main discoveries and technical contributions presented in the talk focus on leveraging SACLs across three primary Windows object types: files, registry keys, and Active Directory objects.

  • File System Auditing: Sensitive configuration files generated during operating system installations, such as unattended.xml files containing clear-text passwords, are frequently targeted by attackers. Applying SACLs to monitor read access (everyone principal, success flag) on these paths generates high-fidelity alerts with virtually zero false positives.
  • Registry Monitoring: Unexpected registry keys can be tied to execution chains. For instance, monitoring specific keys related to mshta.exe executing VBS scripts or tracking runMRU keys linked to ClickFix social engineering campaigns yields valuable Event ID 4663 logs without relying on EDR process hooks.
  • Active Directory Reconnaissance & Tool Fingerprinting: By deploying SACLs on honeypot accounts and auditing all attribute queries, defenders can catch vertical and horizontal directory scans. Because automated offensive tools like SharpHound, BloodyAD, BloodHound.py, and ADRecon query hardcoded sets of attributes, their queries leave a distinct fingerprint. A single query matching a specific pattern of queried attributes (such as a 42-attribute block unique to SharpHound) allows security teams to identify the exact tool used from the logs alone, yielding zero false positives.
  • Default AD Configuration Gaps: Default Active Directory SACLs are often insufficient. For example, standard SACLs do not log specific replication attributes when queried by machine accounts during a DCShadow or DCSetup attack, missing DCSync attempts executed by domain controller accounts unless explicitly reconfigured for the everyone principal. Similarly, auditing sensitive attributes such as msDS-KeyCredentialLink is mandatory to detect shadow credentials and Right DACL privilege escalation chains in frameworks like GoAD.

Technical Deep Dive

▶ Watch: Real-world detections: files, registry, and AD objects (14:48)

Windows objects rely on security descriptors composed of four core components: the owner SID, the primary group SID, the Discretionary Access Control List (DACL), and the System Access Control List (SACL). While the DACL acts as a doorman controlling who is allowed or denied access, the SACL functions as a security camera recording access attempts (both successful and denied) to the Windows Security Event Log.

An SACL consists of individual Access Control Entries (ACE) containing:

  • ACE Type: System Audit ACE (triggers an audit event when matching access is attempted).
  • Access Mask: A bitmask defining the operation to audit (read, write, delete, etc.).
  • Trustee SID: The specific user, group, or principal being audited (e.g., everyone).
  • Audit Flag: Success, failure, or both.
  • Inheritance Flags: Container inherit and object inherit properties allowing audit policies to propagate automatically to child objects.

Configuring SACLs requires programmatic or manual setup. In PowerShell, administrators can fetch an existing ACL using Get-Acl, create an audit rule using New-Object System.Security.AccessControl.FileSystemAuditRule (or equivalent directory service classes), and apply it back to the object.

Crucially, setting the SACL alone is insufficient; the OS auditing subsystem must be explicitly enabled. Administrators must configure advanced audit policies (via Group Policy Object or the auditpol command-line utility) to enable success auditing for subcategories such as File System and Directory Service Access:

When properly configured, these rules generate specific event IDs:

  • Event ID 4663: An attempt was made to access an object (file system or registry).
  • Event ID 4662: An operation was performed on an application directory object.
  • Event ID 5136: A directory service object was modified (useful for tracking attribute changes like group memberships).

Demo / Proof of Concept

▶ Watch: Default configuration myths and DC sync case study (26:00)

The speakers demonstrated how improper SACL scoping can easily overwhelm security infrastructure, leading into the practical challenges of enterprise deployment. During the Q&A session, attendees and speakers discussed real-world failure modes where enabling broad read auditing (Event ID 4663) across sensitive system directories like System32 caused security event logs to fill up rapidly—accounting for up to 90% of logged events and forcing rapid log rotation that risked dropping critical security data.

To mitigate these volume issues, the speakers emphasized that SACLs must be tightly scoped, rigorously tested in pre-production environments, and deployed selectively rather than applied blindly across entire volumes. To address the operational friction of manual setup and maintenance, the speakers introduced a custom, open-source, vendor-agnostic tool designed to manage SACLs through declarative YAML configurations. This tool supports bulk targets, compliance reporting against desired states, SACL-to-YAML generation, and a CI/CD linter to catch syntax errors and configuration drift before production deployment.

Defensive Implications

▶ Watch: Audience Q&A on event volume and tool availability (40:50)

Defenders wishing to incorporate SACLs into their security posture should adopt a measured, methodical rollout strategy:

  • Start with Honeypots: Create and monitor dedicated honey accounts in Active Directory on day one. Because legitimate users and applications have no business querying these objects, alerts generated against them carry a near-zero false positive rate.
  • Enforce Declarative Infrastructure-as-Code: Avoid manual GUI changes or unversioned PowerShell scripts. Use version-controlled YAML files and CI/CD pipelines to track changes, review rollbacks, and detect configuration drift where attackers or misconfigurations remove SACLs from endpoints.
  • Manage Event Volume Carefully: Scope audit rules narrowly. Avoid setting broad read-auditing on high-churn directories or registry hives without thorough pre-production validation to prevent flooding SIEMs and exhausting local event log ring buffers.
  • Integrate with Cheaper Data Lakes: Because SIEM ingestion costs (such as Splunk) can scale rapidly with verbose Windows logging, route native Windows event logs to cost-effective data lakes while maintaining high-fidelity detection rules.

Key Takeaways

  • EDR solutions cover roughly 80% of standard telemetry, but native OS capabilities like SACLs are required to capture the remaining 20% of blind spots, particularly file reads and AD reconnaissance.
  • Default Windows and Active Directory configurations are frequently insufficient or noisy; critical attributes (such as replication privileges and msDS-KeyCredentialLink) require explicit hardening.
  • SACL auditing relies on specific event logs, notably Event ID 4663 (file/registry access), Event ID 4662 (AD object access), and Event ID 5136 (AD attribute modifications).
  • Active Directory honeypots allow defenders to fingerprint offensive reconnaissance tools (like SharpHound and BloodHound.py) based on exact attribute query patterns with zero false positives.
  • Poorly scoped SACLs will quickly flood security event logs; rules must be carefully scoped, tested, and managed using declarative infrastructure-as-code tooling.

About the Speaker(s)

  • Wojtek Sochacki (Senior Incident Responder and Threat Detection Engineer, Hermès): Wojtek has been part of the Hermès Paris team since 2021 and is currently based in New York to support the company's follow-the-sun operations. He helped design and deploy Hermès's weak-signal detection model and has authored numerous production-grade detection rules spanning Windows, network, identity, and EDR telemetry.
  • Maroua Lahlouhi (SOC/CERT Engineer): Maroua is a SOC/CERT engineer with over five years of experience in investigation, remediation, and detection engineering. As a team lead and senior analyst, she has strengthened the detection posture of multiple organizations across various MSSPs, with a particular focus on weak-signal detection strategies.

Reviews

→ Top-rated talks at Insomni'hack 2026

All talks from Insomni'hack 2026