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
26 changes: 26 additions & 0 deletions detection-rules/headers_x_source_auth_sender_mismatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Headers: X-Source-Auth mismatch with sender address"
description: "Detects messages where the X-Source-Auth header contains a different email address than the sender, indicating potential spoofing or mismatched authentication."
type: "rule"
severity: "medium"
source: |
type.inbound
// X-Source-Auth doesn't match sender
and any(headers.hops,
any(.fields,
.name == 'X-Source-Auth'
and .value != sender.email.email
and strings.parse_email(.value).email is not null
)
)
tags:
- "Attack surface reduction"
attack_types:
- "BEC/Fraud"
- "Credential Phishing"
tactics_and_techniques:
- "Spoofing"
- "Evasion"
detection_methods:
- "Header analysis"
- "Sender analysis"
id: "7756bf2c-4ef4-5112-8109-5f91b085171f"
Loading