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
46 changes: 46 additions & 0 deletions detection-rules/fake_canada_taxrevenue_T4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "Brand impersonation: Canada Revenue Agency with attachment"
description: "Detects messages impersonating the Canada Revenue Agency (CRA) with attachments, using common tax-related subjects in both English and French, and containing CRA-related content in the message body."
type: "rule"
severity: "medium"
source: |
type.inbound
// sender claims to be CRA
and (
strings.icontains(sender.display_name, 'canada revenue agency')
or strings.icontains(sender.display_name, 'agence du revenu du canada')
or (
// cra display name and cra reference in subject
regex.icontains(sender.display_name, '\bcra\b')
and regex.icontains(subject.base,
'(?:T4|cra|tax|canada revenue|revenu du canada)'
)
)
)
// nlu cred theft
and any(ml.nlu_classifier(body.current_thread.text).intents,
.name == "cred_theft" and .confidence != 'low'
)
and not (
(
// negate highly trusted sender domains
sender.email.domain.root_domain in $high_trust_sender_root_domains
// negate legit senders from merck
or sender.email.domain.root_domain == "cra-arc.gc.ca"
)
// enforce auth
and coalesce(headers.auth_summary.dmarc.pass, false)
)
attack_types:
- "BEC/Fraud"
- "Credential Phishing"
- "Malware/Ransomware"
tactics_and_techniques:
- "Impersonation: Brand"
- "Social engineering"
- "PDF"
detection_methods:
- "Content analysis"
- "File analysis"
- "Header analysis"
- "Sender analysis"
id: "72607c4c-52dc-5df6-b547-54ee321b7a7a"
Loading