diff --git a/detection-rules/impersonation_usps.yml b/detection-rules/impersonation_usps.yml index 1ff2009c7a0..2f6b310cc6e 100644 --- a/detection-rules/impersonation_usps.yml +++ b/detection-rules/impersonation_usps.yml @@ -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*", @@ -17,12 +22,20 @@ 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 @@ -30,7 +43,6 @@ source: | ) or sender.email.domain.root_domain not in $high_trust_sender_root_domains ) - attack_types: - "Credential Phishing" tactics_and_techniques: