An ACE Up the Sleeve: Designing Active Directory DACL Backdoors

Black Hat USA 2017

Presented by: Andy Robbins, Will Schroeder
Date: Wednesday July 26, 2017
Time: 14:40 - 15:30
Location: South Seas ABE

Active Directory (AD) object discretionary access control lists (DACLs) are an untapped offensive landscape, often overlooked by attackers and defenders alike. The control relationships between AD objects align perfectly with the "attackers think in graphs" philosophy and expose an entire class of previously unseen control edges, dramatically expanding the number of paths to complete domain compromise.

While DACL misconfigurations can provide numerous paths that facilitate elevation of domain rights, they also present a unique chance to covertly deploy Active Directory persistence. It's often difficult to determine whether a specific AD DACL misconfiguration was set intentionally or implemented by accident. This makes Active Directory DACL backdoors an excellent persistence opportunity: minimal forensic footprint, and maximum plausible deniability.

This talk will cover Active Directory DACLs in depth, our "misconfiguration taxonomy," and enumeration/analysis with BloodHound's newly released feature set. We will cover the abuse of AD DACL misconfigurations for the purpose of domain rights elevation, including common misconfigurations encountered in the wild. We will then cover methods to design AD DACL backdoors, including ways to evade current detections, and will conclude with defensive mitigation/detection techniques for everything described.

Andy Robbins

Andy Robbins has performed penetration tests and red team assessments for a number of Fortune 500 commercial clients and major U.S. Government agencies. In addition, Andy researched and presented findings related to a business logic flaw with certain processes around handling ACH files affecting thousands of banking institutions around the country at DerbyCon. He has a passion for offensive development and red team tradecraft, and helps to develop and teach the 'Adaptive Red Team Tactics' course at BlackHat USA. Twitter: @_wald0

Will Schroeder

Will Schroeder is a security researcher and red teamer. He has presented at a number of security conferences including Shmooon, Defcon, Derbycon and several Security BSides conferences on topics spanning AV-evasion, post-exploitation, red teaming tradecraft, and offensive PowerShell. Will is a co-founder of the Veil-Framework, developed PowerView and PowerUp, is an active developer on the PowerSploit project, and is a co-founder and core developer of Empire, the PowerShell post-exploitation agent. He enjoys exploring the offensive capabilities of PowerShell and helping clients secure themselves against the "real" bad guys.


KhanFu - Mobile schedules for INFOSEC conferences.
Mobile interface | Alternate Formats