mirror of
https://github.com/valitydev/signature-base.git
synced 2024-11-06 10:05:18 +00:00
PowerShell Caret Obfuscation Rule
This commit is contained in:
parent
b4ef6f503e
commit
8af28e0fff
@ -37,3 +37,16 @@ rule SUSP_Obfuscted_PowerShell_Code {
|
||||
condition:
|
||||
#s1 > 11 and #s2 > 10 and #s3 > 10
|
||||
}
|
||||
|
||||
rule SUSP_PowerShell_Caret_Obfuscation_2 {
|
||||
meta:
|
||||
description = "Detects powershell keyword obfuscated with carets"
|
||||
author = "Florian Roth"
|
||||
reference = "Internal Research"
|
||||
date = "2019-07-20"
|
||||
strings:
|
||||
$r1 = /p[\^]?o[\^]?w[\^]?e[\^]?r[\^]?s[\^]?h[\^]?e[\^]?l\^l/ ascii wide nocase fullword
|
||||
$r2 = /p\^o[\^]?w[\^]?e[\^]?r[\^]?s[\^]?h[\^]?e[\^]?l[\^]?l/ ascii wide nocase fullword
|
||||
condition:
|
||||
1 of them
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user