ML-Powered LDAP Reconnaissance Detection using Weak Supervision
Not on the map. Why?
Abstract (arXiv)
Lightweight Directory Access Protocol (LDAP) is a protocol that allows users to query and modify Active Directory (AD) data. By default, all users have read access to all AD data through LDAP, making it a common initial tool for reconnaissance when a threat actor first compromises an identity. To capture threat actors early in the reconnaissance phase, we developed two machine learning frameworks to detect LDAP reconnaissance: an ML classifier to predict malicious LDAP queries and an ML-based data-mining method to extract malicious query signatures. By correlating LDAP queries with endpoint detections, the first framework uses weak supervision to label a massive dataset and classify LDAP queries as malicious or benign. For immediate deployment, a second technique was developed on top of this approach to employ a rigorous statistical hypothesis-testing framework for mining novel, malicious LDAP signatures. While this weakly supervised approach is limited compared with manual human labeling, it is more practical for this use case because it leverages large-scale automated corpus construction, reducing costs and time. Ultimately, both the LDAP classifier and the ML-based LDAP signature mining method achieved performance benchmarks, with the classifier achieving up to a 65% True Positive Rate (TPR) on the holdout set while limiting false positives, and mined signatures demonstrating 81.48% field precision with CrowdStrike's Managed Detection and Response team.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 4 of its 38 references that are in the map. First posted on arXiv 27 Jun 2026.
Builds on
4 of 38 references.
References · 4
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2017Snorkel: Rapid Training Data Creation with Weak Supervisioncited by 372
- 2020Automatic Yara Rule Generation Using Biclusteringcited by 17
- 2025Automatically Generating Rules of Malicious Software Packages via Large Language Modelcited by 2
Built on by
Not cited yet.