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
60 changes: 60 additions & 0 deletions detection-rules/link_financial_document_timeline_template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: "Link: Generic financial document with proceedural timeline template"
description: "Detects messages with generic greetings that reference payment releases & timelines, and exhibit unusual recipient patterns such as self-sending or missing recipients."
type: "rule"
severity: "medium"
source: |
type.inbound
// expectation of time
and regex.icontains(body.current_thread.text,
'will be released.{0,15}(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday),\s+(?:January|February|March|April|May|June|July|August|September|October|November|December)\s+\d{1,2},',
'\b[1-4]\W[1-4]\b.{1,10}days'
)
Comment thread
missingn0pe marked this conversation as resolved.

// link is malicious
and any(body.links,
// key phrasing or nlu
(
regex.icontains(.display_text,
'(?:access|show|view).{0,10}(?:confirmation|message|payment|statement)',
'advice',
'deposit',
'document',
'eft',
'release',
'remit'
)
Comment thread
missingn0pe marked this conversation as resolved.
or any(ml.nlu_classifier(body.current_thread.text).topics,
.name == "Request to View Invoice" and .confidence == "high"
)
)
// negate org domains
and .href_url.domain.valid != false
and .href_url.domain.root_domain not in $org_domains
)

// suspicious sender behavior
and (
(
length(recipients.to) == 1
and length(recipients.cc) == 0
and sender.email.email == recipients.to[0].email.email
)
// the recipient is undisclosed or there are no recipients
or (
length(recipients.to) == 0
or all(recipients.to, .email.domain.valid == false)
)
)

attack_types:
- "BEC/Fraud"
- "Credential Phishing"
tactics_and_techniques:
- "Social engineering"
- "Evasion"
detection_methods:
- "Content analysis"
- "Natural Language Understanding"
- "Header analysis"
- "Sender analysis"
id: "027cb65d-aee3-5f10-9555-20b719bbde42"
Loading