
DEF CON 32 - MaLDAPtive: Obfuscation and De-Obfuscation - Daniel Bohannon, Sabajete Elezaj
Source: YouTube · DEFCONConference · published Oct 16, 2024 · 46:42
Key Takeaways:
• LDAP filters can be obfuscated using casing, object identifiers, ambiguous name resolution, and wildcards, all of which are documented or undocumented and effective in evading detection 12:01–13:51.
• Comparison operators like range, approximate equality, and bitwise logic can be manipulated to create false positives or bypass simple string-based detections, especially in Active Directory environments 15:00–17:40.
• Boolean operators (AND, OR, NOT) can be layered or inverted to create complex, logically equivalent filters—such as using De Morgan’s Law—making detection extremely challenging without advanced parsing 18:00–20:40.
• Extensible Match Filters allow bitwise value manipulation (e.g., breaking down 515 into 1, 2, and 512), enabling attackers to generate diverse, valid filters that evade signature-based detection 21:40–23:30.
• Attribute values and base objects can also be obfuscated via hex encoding, prepended zeros, and whitespace, with client-side logs showing raw syntax while server logs normalize results—requiring careful parsing to avoid misinterpretation 24:00–29:50.
• Maladaptive provides a parser, enrichment engine, and detection rules (65 total) to analyze LDAP queries in real time, with support for both interactive and CLI tools, and is designed to help defenders detect obfuscated activi
Generate CPE Credits
Generate a professional CPE document from this video's transcript.
Estimated credit: 1 CPE hours
Estimate uses the video runtime (1 hour ≈ 1 CPE, rounded to the nearest 0.5, minimum 0.5, maximum 2.0). The final amount can be lower after review, never higher.
Topic: Cybersecurity. Commonly maps to: Security and Risk Management, Security Operations. Exact CISSP domains are assigned during generation.
Free account. One generation at a time, with a daily limit.
CPEBuddy is independent and not affiliated with or endorsed by ISC2, ISACA, or any certification body. Exports are formatted for common CPE submissions; acceptance is at your certification body's discretion.
Transcript Preview
First 800 characters of the transcript
[Applause] how's everyone doing this I'm genuinely surprised so uh either y'all went to bed early or you never went to bed so thank you so much for being here this talk is maladaptive diving really really deep into ldap obfuscation deobfuscation and detection my name is Daniel bohannan everyone I know calls me Debo for short so feel free to call me that I'm a principal threat researcher for a startup company called periso security doing cloud and identity stuff for the last uh better part of a decade I've been really focused on inpoint security um doing some ir and threat research at mandant Microsoft uh and I have a little bit of a problem with obfuscation it's kind of a an obsession of mine of taking things that look normal and making them look just absolutely crazy uh and then as a Defe…