Skip to content

Commit

Permalink
Update impersonation_usps.yml (#2116)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomequipd authored Nov 13, 2024
1 parent f471380 commit e89856e
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions detection-rules/impersonation_usps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ source: |
and length(body.links) > 0
and 2 of (
any(body.links,
strings.ilike(.display_text, "*check now*", "*track*", "*package*")
strings.ilike(.display_text,
"*check now*",
"*track*",
"*package*",
'*view your order*'
)
),
strings.ilike(body.current_thread.text,
"*returned*to*sender*",
Expand All @@ -17,20 +22,27 @@ source: |
// impersonal greeting
any(ml.nlu_classifier(body.current_thread.text).entities,
.name == "recipient" and .text =~ "Customer"
),
// no links go to usps.com
all(body.links, .href_url.domain.root_domain != "usps.com")
)
and (
sender.email.domain.root_domain not in ("usps.com")
or (
sender.email.domain.root_domain in ("usps.com")
and not headers.auth_summary.dmarc.pass
)
)
and sender.email.domain.root_domain not in ("usps.com")
and profile.by_sender().prevalence in ("new", "outlier", "rare")
// negate highly trusted sender domains unless they fail DMARC authentication
// negate highly trusted sender domains unless they fail DMARC authentication
and (
(
sender.email.domain.root_domain in $high_trust_sender_root_domains
and not headers.auth_summary.dmarc.pass
)
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
- "Credential Phishing"
tactics_and_techniques:
Expand Down

0 comments on commit e89856e

Please sign in to comment.