Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\wmic.exe'
- OriginalFileName: 'wmic.exe'
selection_cli:
CommandLine|contains: 'Product'
filter_main_call_operations:
# wmic /node:"#{node}" product where "name like '#{product}%%'" call uninstall
CommandLine|contains:
- ' uninstall'
- ' install'
filter_main_csproduct:
# wmic /node:"#{node}" csproduct get name, identifyingnumber, uuid
# covered by 3e3ceccd-6c06-48b8-b5ff-ab1d25db8c1d
CommandLine|contains: 'csproduct'
condition: all of selection_* and not 1 of filter_main_*
falsepositives:
- Unknown