Malicious Powershell Command Executed · rule 100543
Description
Malicious Powershell Command $(win.eventdata.scriptBlockText) Executed
Query · wazuh
list win.eventdata.scriptBlockText lookup=match_key etc/lists/malicious-powershell
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.system.severityValue="VERBOSE" -
list win.eventdata.scriptBlockText lookup=match_key etc/lists/malicious-powershell
Rule dependencies
Depends on
-
composes · Wazuh if_sid
100541