Possible discovery activity: Powershell executed "Get-ChildItem" command on a system folder
Description
Possible discovery activity: Powershell executed "Get-ChildItem" command on a system folder
Query · wazuh
field win.eventdata.scriptBlockText="(?i)(Get-ChildItem|gci).+(env\:windir|system32|windows)"
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=".+" -
91833Possible discovery activity: Powershell executed "Get-ChildItem" command on a system folder refinement level 3 this rulefield win.eventdata.scriptBlockText="(?i)(Get-ChildItem|gci).+(env\:windir|system32|windows)"
Rule dependencies
Depends on
-
composes · Wazuh if_sid
91802