Skip to content

Commit

Permalink
Update body_callback_phishing_no_attachment.yml (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscode authored Aug 30, 2023
1 parent 2f3c462 commit 0d700e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion detection-rules/body_callback_phishing_no_attachment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ source: |
"*best buy*",
"*lifelock*"
)
and length(body.current_thread.text) < 1500
and 3 of (
strings.ilike(body.current_thread.text, '*purchase*'),
strings.ilike(body.current_thread.text, '*payment*'),
Expand All @@ -46,7 +47,7 @@ source: |
strings.ilike(body.current_thread.text, '*refund*')
)
// phone number regex
and regex.icontains(body.current_thread.text, '\+?(\d{1}.)?\d{3}.\d{3,}')
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"
Expand Down

0 comments on commit 0d700e3

Please sign in to comment.