Skip to content

Commit

Permalink
Merge branch 'main' into morriscode-patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscode authored Nov 7, 2023
2 parents ead4fab + 92a3cb4 commit 13f4c71
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions detection-rules/body_callback_phishing_no_attachment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,20 @@ source: |
)
)
and sender.email.domain.root_domain in $free_email_providers
and strings.ilike(body.current_thread.text,
"*mcafee*",
"*norton*",
"*geek squad*",
"*paypal*",
"*ebay*",
"*symantec*",
"*best buy*",
"*lifelock*"
and (
strings.ilike(body.current_thread.text,
"*mcafee*",
"*norton*",
"*geek squad*",
"*paypal*",
"*ebay*",
"*symantec*",
"*best buy*",
"*lifelock*"
)
or any(ml.logo_detect(beta.message_screenshot()).brands,
.name in ("PayPal", "Norton", "GeekSquad", "Ebay")
)
)
and length(body.current_thread.text) < 1500
and 3 of (
Expand All @@ -44,12 +49,15 @@ source: |
strings.ilike(body.current_thread.text, '*refund*')
)
// phone number regex
and regex.icontains(body.current_thread.text, '\+?(\d{1}.)?\(?\d{3}?\)?.\d{3}.?\d{4}')
and regex.icontains(body.current_thread.text,
'\+?(\d{1}.)?\(?\d{3}?\)?.\d{3}.?\d{4}'
)
and sender.email.domain.root_domain not in (
// paypal domain
"xoom.com"
)
and not strings.ends_with(headers.message_id, "@shopify.com>")
attack_types:
- "Callback Phishing"
tactics_and_techniques:
Expand Down

0 comments on commit 13f4c71

Please sign in to comment.