-
I am testing some custom rules but so far nothing. I've made a simple porwershell -ExecutionPolicy Bypass rules for testing proposes no alert was seen, how does the custom rule works I did everything as the documentation says I am doing something wrong or is the system not working? `name: "PowerShell Execution with -ExecutionPolicy Bypass"
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @bb0rges please, can you attach the file to check the identation. Anyway, you have an issue with the regexp, you need to scape the scape character '' to make it work -> (powershell|pwsh)(.+)?-ExecutionPolicy\s+Bypass Example: Best regards |
Beta Was this translation helpful? Give feedback.
Hi @bb0rges please, can you attach the file to check the identation. Anyway, you have an issue with the regexp, you need to scape the scape character '' to make it work -> (powershell|pwsh)(.+)?-ExecutionPolicy\s+Bypass
Example:
"pwsh> This is a test -ExecutionPolicy Bypass" this will match.
Best regards