arXiv:2606.28917cs.LG2026-06KDD

用弱监督机器学习检测攻击者通过LDAP的早期侦察行为。

ML-Powered LDAP Reconnaissance Detection using Weak Supervision

论文配图:ML-Powered LDAP Reconnaissance Detection using Weak Supervision
图 1 · 摘自论文原文
  • 用弱监督方法自动标注海量LDAP查询数据,识别恶意请求。
  • 分类器在测试集上达65%查全率,误报率低;挖掘出的签名字段精确率达81.48%。
  • 适合安全团队快速部署,适用于大规模AD环境威胁检测。

轻量目录访问协议(LDAP)允许用户查询和修改活动目录(AD)数据。默认情况下,所有用户均可通过LDAP读取全部AD数据,使其成为攻击者首次入侵身份系统后的常用侦察工具。为在侦察阶段尽早捕获攻击者,本文开发了两种机器学习框架:一是基于弱监督的恶意LDAP查询分类器,通过关联LDAP查询与终端检测结果,自动标注大规模数据集并进行分类;二是在此基础上构建的统计假设检验框架,用于挖掘新型恶意LDAP查询特征。尽管弱监督相比人工标注存在局限性,但其可实现大规模自动化数据构建,显著降低时间和成本。最终,分类器在测试集上达到最高65%真阳性率,同时控制误报;挖掘出的查询特征在CrowdStrike管理式检测与响应团队验证中,字段精确率达81.48%。

原文摘要 · Abstract (English)

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.

机器学习LDAP安全威胁检测弱监督

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。