Powershell executed script from suspicious location
Description
Powershell executed script from suspicious location
Query · wazuh
field win.eventdata.commandLine="(?i)[c-z]:\\\\(Windows\\\\Temp|Users)\\.+\.(bat|cmd|lnk|pif|vbs|vbe|js|wsh|ps1)"
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.
-
field win.eventdata.commandLine="(?i)\.(bat|cmd|lnk|pif|vbs|vbe|js|wsh|ps1)" AND field win.eventdata.originalFileName="(?i)powershell\.exe$" -
field win.eventdata.commandLine="(?i)[c-z]:\\\\(Windows\\\\Temp|Users)\\.+\.(bat|cmd|lnk|pif|vbs|vbe|js|wsh|ps1)"
Rule dependencies
Depends on
-
composes · Wazuh if_sid
92028