← Back to SOC feed Coverage →

DLLHost.exe WMIC domain discovery

kql MEDIUM Azure-Sentinel
DeviceProcessEvents
huntingmicrosoftofficialwmi
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Azure-Sentinel →
Retrieved: 2026-05-25T11:00:00Z · Confidence: medium

Hunt Hypothesis

DLLHost.exe is being used by an adversary to execute WMIC commands for domain discovery, indicating potential lateral movement or reconnaissance activity. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify early-stage compromise and prevent further network infiltration.

KQL Query

DeviceProcessEvents 
| where InitiatingProcessFileName =~ "dllhost.exe" and InitiatingProcessCommandLine == "dllhost.exe" 
| where ProcessCommandLine has "wmic computersystem get domain"

Analytic Rule Definition

id: dc612ff9-88ac-4968-97c1-6789cd48c5d8
name: DLLHost.exe WMIC domain discovery
description: |
  Identify dllhost.exe using WMIC to discover additional hosts and associated domain.
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - DeviceProcessEvents
tactics:
- Reconnaissance
query: |   
  DeviceProcessEvents 
  | where InitiatingProcessFileName =~ "dllhost.exe" and InitiatingProcessCommandLine == "dllhost.exe" 
  | where ProcessCommandLine has "wmic computersystem get domain"

Required Data Sources

Sentinel TableNotes
DeviceProcessEventsEnsure this data connector is enabled

MITRE ATT&CK Context

References

False Positive Guidance

Original source: https://github.com/Azure/Azure-Sentinel/blob/main/Hunting Queries/Microsoft 365 Defender/Ransomware/DEV-0270/DLLHost.exe WMIC domain discovery.yaml