dsquery

Tool · ATT&CK S0105 · Windows
2
Groups · 1 APAC
3
Campaigns
4
Techniques
0
CVEs cited
Profile
Also known as: dsquery.exe

dsquery is a command-line utility that can be used to query Active Directory for information from a system within a domain. It is typically installed only on Windows Server versions but can be installed on non-server variants through the Microsoft-provided Remote Server Administration Tools bundle.

Used by
  • APT41 Asia-Pacific EU
    Espionage · CN China
  • FIN8
    Cybercrime

Groups that ATT&CK documents using this program; a ransomware brand is listed with its own ransomware. A tool is used by many groups and by defenders: using it does not link two groups.

Campaigns
Reference
Text and mappings from MITRE ATT&CK®; citations are on the ATT&CK page. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Terms of use and licence.