Windows WMIC System Information Discovery via WMIC.EXE Recon

Flags WMIC.EXE executions running system info queries for OS and disk details.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
TropChaud (SigmaHQ), DRL 1.1
Published
2023-01-26
Updated
2026-07-30
title: Windows WMIC System Information Discovery via WMIC.EXE Recon
id: 6bf37821-39cd-4178-b28d-aaee9b2b31cd
related:
  - id: d85ecdd7-b855-4e6e-af59-d9c78b5b861e
    type: derived
  - id: 9d5a1274-922a-49d0-87f3-8c653483b909
    type: derived
status: test
description: This rule identifies process executions of the WMIC command-line utility (wmic.exe) where specific system discovery queries are issued. The matched commands enumerate operating system details, disk drive names and capacity, and other system attributes, which can support reconnaissance and environment profiling. Telemetry relies on Windows process creation fields including the original executable metadata and command-line contents.
references:
  - https://github.com/redcanaryco/atomic-red-team/blob/a2ccd19c37d0278b4ffa8583add3cf52060a5418/atomics/T1082/T1082.md#atomic-test-25---system-information-discovery-with-wmic
  - https://nwgat.ninja/getting-system-information-with-wmic-on-windows/
  - https://blog.sekoia.io/aurora-a-rising-stealer-flying-under-the-radar
  - https://blog.cyble.com/2023/01/18/aurora-a-stealer-using-shapeshifting-tactics/
  - https://app.any.run/tasks/a6aa0057-82ec-451f-8f99-55650ca537da/
  - https://www.virustotal.com/gui/file/d6f6bc10ae0e634ed4301d584f61418cee18e5d58ad9af72f8aa552dc4aaeca3/behavior
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_wmic_recon_system_info_uncommon.yml
author: TropChaud, Huntrule Team
date: 2023-01-26
modified: 2023-12-19
tags:
  - attack.discovery
  - attack.t1082
logsource:
  category: process_creation
  product: windows
detection:
  selection_wmic:
    - Description: WMI Commandline Utility
    - OriginalFileName: wmic.exe
    - Image|endswith: \WMIC.exe
  selection_commands:
    CommandLine|contains:
      - LOGICALDISK get Name,Size,FreeSpace
      - os get Caption,OSArchitecture,Version
  condition: all of selection_*
falsepositives:
  - Unknown
level: medium
simulation:
  - type: atomic-red-team
    name: System Information Discovery with WMIC
    technique: T1082
    atomic_guid: 8851b73a-3624-4bf7-8704-aa312411565c
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_wmic_recon_system_info_uncommon/info.yml
license: DRL-1.1