Last active
May 1, 2023 19:24
-
-
Save iMHLv2/eb8987d4dcacdbae6628e27dc296edfd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule GenericPowershell | |
{ | |
strings: | |
$a = "PS>function" | |
$b = "Invoke-Expression" | |
$c = "<MS><S N=" | |
$d = "</MS></Obj>" | |
$e = "CompileAssemblyFromSource" | |
$f = "Remoting.RemoteHostMethodId" | |
$g = "<resp:Arguments" | |
$h = "rsp:Command" | |
$i = "-EncodedCommand" | |
condition: | |
any of them | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment