Distributed File System Shares Enumeration via LDAP
Description
Identifies attempts to enumerate Distributed File System Shares using LDAP queries. Adversaries often query DFS links to learn about every central file share across the org without scanning the network. DFS shares might contain sensitive data (backups, GPO scripts, credentials, installer packages) or access controlled areas if permissions are misconfigured.
Query · eql
api where process.Ext.api.name == "ldap_search" and
process.Ext.api.parameters.search_filter : ("(&(objectClass=msDFS-Linkv2))", "(objectClass=msDFS-Linkv2)", "objectClass=msDFS-Linkv2") and
process.Ext.api.parameters.attribute_list : "msdfs-linkpathv2" and process.Ext.api.parameters.attribute_list : "msDFS-TargetListv2"