Skip to content

Commit c3758b2

Browse files
authored
Update susp_email_redirection_spoofing.yar
Avoid regex usage for efficiency
1 parent 1a88e9e commit c3758b2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

yara/susp_email_redirection_spoofing.yar

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ rule SUSP_Email_Redirection_Spoofing_Feb25 {
1212
$sa1 = "Content-Transfer-Encoding:" ascii
1313
$sa2 = "Subject:" ascii
1414
15-
$s1 = /\.com%(20%){5,}=/ ascii
16-
$s2 = /(20%){5,}=/ ascii
15+
$x = ".com%20%20%20%20%20%" ascii
1716
condition:
1817
all of them
19-
and #s2 > 5
2018
}

0 commit comments

Comments
 (0)