Skip to content
Merged
Changes from all commits
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
9 changes: 6 additions & 3 deletions detection-rules/impersonation_usps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ source: |
'*delivery address*',
"*parcel allocation*",
"*claim your parcel*",
"*delivery details*"
"*delivery details*",
"start*survey"
)
),
strings.ilike(body.current_thread.text,
Expand All @@ -39,7 +40,8 @@ source: |
'*sorry tolet*',
'*Due to an incorrect*',
'*remain undeliverable*',
"*service updates*"
"*service updates*",
"*exclusive survey reward*"
),
// impersonal greeting
any(ml.nlu_classifier(body.current_thread.text).entities,
Expand Down Expand Up @@ -69,7 +71,8 @@ source: |
strings.icontains(.display_url.domain.root_domain, 'usps')
and .mismatched
)
)
),
any(body.links, .href_url.domain.domain in $free_file_hosts)
)
and (
sender.email.domain.root_domain not in (
Expand Down
Loading