Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update credential_phishing_esign_document_notification.yml #2082

Merged
merged 4 commits into from
Nov 13, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ source: |
"docufile",
"E­-­S­i­g­n­&Return",
"document.signature",
"Electronic.?Signature",
"Complete: ",
"Please Review"
)
)
and (
Expand All @@ -61,12 +64,15 @@ source: |
or regex.icontains(body.html.raw, '(<p[^>]*>&nbsp;</p>\s*){7,}')
or strings.count(body.html.raw, '&nbsp;‌&nbsp;‌&nbsp') > 50
or regex.count(body.html.raw,
'<span\s*class\s*=\s*"[^\"]+"\s*>\s*[a-z]\s*<\/span><span\s*class\s*=\s*"[^\"]+"\s*>\s*[a-z]+\s*<\/span>'
) > 50
'<span\s*class\s*=\s*"[^\"]+"\s*>\s*[a-z]\s*<\/span><span\s*class\s*=\s*"[^\"]+"\s*>\s*[a-z]+\s*<\/span>'
) > 50
// lookalike docusign
or regex.icontains(body.html.raw, '>Docus[1l]gn<')
or (regex.icontains(body.html.inner_text, 'Document') and length(body.html.inner_text) < 300)
// common greetings via email.local_part
or any(recipients.to, strings.icontains(body.current_thread.text, .email.local_part))
or any(recipients.to,
strings.icontains(body.current_thread.text, .email.local_part)
)
// HR impersonation
or strings.ilike(sender.display_name, "HR", "H?R", "*Human Resources*")
)
Expand All @@ -87,7 +93,9 @@ source: |
'(listen|play).{0,10}(vm|voice)',
'clarify.{0,20}(deposit|wallet|funds)',
'enter.{0,15}teams',
'Review and sign'
'Review and sign',
'REVIEW.*DOCUMENT'
)
)
or any(body.links,
Expand All @@ -108,6 +116,51 @@ source: |
and regex.match(.display_text, "^[^a-z]*[A-Z][^a-z]*$")
)
)
or (
length(attachments) > 0
and any(attachments,
(
regex.icontains(beta.ocr(.).text,
"activate",
"re-auth",
"verify",
"acknowledg",
"(keep|change).{0,20}(active|password|access)",
'((verify|view|click|download|goto|keep|Vιew|release).{0,15}(attachment|current|download|fax|file|document|message|same)s?)',
'use.same.pass',
'validate.{0,15}account',
'recover.{0,15}messages',
'(retry|update).{0,10}payment',
'check activity',
'(listen|play).{0,10}(vm|voice)',
'clarify.{0,20}(deposit|wallet|funds)',
'enter.{0,15}teams',
'Review and sign'
)
)
or (
any(file.explode(.),
regex.icontains(.scan.ocr.raw,
"activate",
"re-auth",
"verify",
"acknowledg",
"(keep|change).{0,20}(active|password|access)",
'((verify|view|click|download|goto|keep|Vιew|release).{0,15}(attachment|current|download|fax|file|document|message|same)s?)',
'use.same.pass',
'validate.{0,15}account',
'recover.{0,15}messages',
'(retry|update).{0,10}payment',
'check activity',
'(listen|play).{0,10}(vm|voice)',
'clarify.{0,20}(deposit|wallet|funds)',
'enter.{0,15}teams',
'Review and sign'
)
)
)
)
)
)
and (
not profile.by_sender().solicited
Expand All @@ -117,7 +170,7 @@ source: |
)
)
and not profile.by_sender().any_false_positives
// negate replies/fowards containing legitimate docs
and not (
length(headers.references) > 0
Expand All @@ -136,7 +189,6 @@ source: |
)
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
attack_types:
- "Credential Phishing"
tactics_and_techniques:
Expand Down
Loading