Powershell executed "Get-Content -Stream or Invoke-Expresion". Possible string execution as code
Description
Powershell executed "Get-Content -Stream or Invoke-Expresion". Possible string execution as code
Query · wazuh
field win.eventdata.scriptBlockText="(?i)(Get-Content.+\-Stream|IEX|Invoke-Expresion)"
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=".+" -
91837Powershell executed "Get-Content -Stream or Invoke-Expresion". Possible string execution as code refinement level 4 this rulefield win.eventdata.scriptBlockText="(?i)(Get-Content.+\-Stream|IEX|Invoke-Expresion)"
Rule dependencies
Depends on
-
composes · Wazuh if_sid
91802