Elastic low stable eql

Enumerating Domain Trusts via DSQUERY.EXE

Identifies the use of dsquery.exe for domain trust discovery purposes. Adversaries may use this command-line utility to enumerate trust relationships that may be used for Lateral Movement opportunities in Windows multi-domain forest environments.

View Source

Detection Logic

process where host.os.type == "windows" and event.type == "start" and
    (process.name : "dsquery.exe" or ?process.pe.original_file_name: "dsquery.exe") and 
    process.args : "*objectClass=trustedDomain*"

False Positives

  • Domain administrators may use this command-line utility for legitimate information gathering purposes.

Field Validations

Loading…

Comments (0)

Loading comments...