Skip to content
WETNav

Community detections

driverquery.exe

2 community detection rules look for suspicious driverquery.exe command lines. WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.

Rules by level

1 high1 medium

Worst caseHigh
Explain a driverquery.exe command line

What defenders look for

  • High
    Potential Recon Activity Using DriverQuery.EXE

    Detect usage of the "driverquery" utility to perform reconnaissance on installed drivers

    by Nasreddine Bencherchali (Nextron Systems)

  • Medium
    DriverQuery.EXE Execution

    Detect usage of the "driverquery" utility. Which can be used to perform reconnaissance on installed drivers

    by Nasreddine Bencherchali (Nextron Systems)

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.

Questions

Is driverquery.exe malicious?
Not by itself. These rules flag specific ways of running it: 2 rules, 1 rated high or critical. Potential Recon Activity Using DriverQuery.EXE; DriverQuery.EXE Execution. Judge a run by its command line, its parent process, the account and the host.
What does driverquery.exe have to do with ATT&CK?
The rules for it do not carry ATT&CK technique tags.
How do I check a driverquery.exe command line?
Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.