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.
|Enterprise||T1087||Account Discovery||dsquery can be used to gather information on user accounts within a domain.|
|Enterprise||T1069||Permission Groups Discovery||dsquery can be used to gather information on permission groups within a domain.|
Groups that use this software:FIN8