Powershell script: WMI-based remote execution detected
Description
Powershell script: WMI-based remote execution detected
Query · wazuh
field win.eventdata.scriptBlockText="(?i)(WMIMethod|RemoteWMI|PowerShellWmi|wmicommand)"
No license declared
socfortress/Wazuh-Rules publishes no license, and without an express grant the default is all rights reserved. The query above is synthesized from the rule rather than copied out of it, so you can see what the rule matches on; the rule as written stays upstream.
Read the full rule at Windows Powershell/100535-win_powershell_rules.xml ↗. Why this rule is treated this way.
Fires when
Wazuh evaluates a chain top-down. Every rule above this one must match on the same event before this rule is tested at all.
-
decoded_as=windows_eventchannel AND field win.system.providerName="\.+" -
field win.system.channel="^Microsoft-Windows-PowerShell/Operational$" -
field win.eventdata.ScriptBlockId=".+" -
field win.eventdata.scriptBlockText="(?i)(WMIMethod|RemoteWMI|PowerShellWmi|wmicommand)"
Rule dependencies
Depends on
-
composes · Wazuh if_sid
91802