Suspicious Scripting in a WMI Consumer
Description
Detects suspicious commands that are related to scripting/powershell in WMI Event Consumers
Query · sigma
selection_destination:
- Destination|contains|all:
- new-object
- net.webclient
- .downloadstring
- Destination|contains|all:
- new-object
- net.webclient
- .downloadfile
- Destination|contains:
- ' iex('
- ' -nop '
- ' -noprofile '
- ' -decode '
- ' -enc '
- WScript.Shell
- System.Security.Cryptography.FromBase64Transform
condition: selection_destination
Known false positives
- Legitimate administrative scripts