Skip to content

Commit e6f8509

Browse files
authored
Negate FP's and FN's: impersonation_github.yml
1 parent ec61fe7 commit e6f8509

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

detection-rules/impersonation_github.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ source: |
2323
'githubnext.com',
2424
'lithub.com'
2525
)
26+
and (
27+
beta.whois(sender.email.domain).days_old < 45
28+
or (
29+
any(body.links,
30+
.href_url.domain.tld not in ("com", "net", "org", "co", "ms")
31+
and .href_url.domain.valid == true
32+
)
33+
)
34+
)
2635
and (
2736
(
2837
sender.email.domain.root_domain in $free_email_providers
@@ -42,4 +51,5 @@ tactics_and_techniques:
4251
detection_methods:
4352
- "Header analysis"
4453
- "Sender analysis"
54+
- "Whois"
4555
id: "9402f92b-f2b1-5452-8124-fdad4a88feb4"

0 commit comments

Comments
 (0)