Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion detection-rules/impersonation_usps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ type: "rule"
severity: "high"
source: |
type.inbound
and any(ml.logo_detect(file.message_screenshot()).brands, .name == "USPS")
and (
any(ml.logo_detect(file.message_screenshot()).brands, .name == "USPS")
or (
strings.ilike(sender.display_name, "USPS")
)
)
and length(body.links) > 0
and 2 of (
any(body.links,
Expand Down
Loading