Skip to content
Open
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
@@ -1,9 +1,11 @@
name: "Self-sender with copy/paste instructions and suspicious domains (French/Français)"
name: "Self-sender with suspicious links (French/Français)"
description: "Detects messages where the sender emails themselves with French text containing 'copier' (copy) and 'coller' (paste) instructions, along with suspicious domains like pages.dev or web.app. The subject line contains both the sender's email and display name, which are different values."
type: "rule"
severity: "medium"
source: |
type.inbound
// message is in French
and ml.nlu_classifier(body.current_thread.text).language == 'french'
// self sender
and (
length(recipients.to) == 1
Expand All @@ -13,10 +15,6 @@ source: |
and strings.icontains(subject.subject, sender.email.email)
and strings.icontains(subject.subject, sender.display_name)
and sender.email.email != sender.display_name
// copy
and strings.icontains(body.current_thread.text, 'copier')
// paste
and strings.icontains(body.current_thread.text, 'coller')
and (
strings.contains(body.current_thread.text, '.pages.dev')
or strings.contains(body.current_thread.text, '.web.app')
Expand Down
Loading