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
65 changes: 65 additions & 0 deletions detection-rules/impersonation_authentisign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: "Brand impersonation: AuthentiSign"
description: "Detects messages impersonating AuthentiSign through display name, domain, subject, or body content that either originate from non-AuthentiSign or spoofed domains."
type: "rule"
severity: "medium"
source: |
type.inbound
and (
(
strings.icontains(body.current_thread.text, "authentisign")
and (
strings.ilike(body.current_thread.text,
"*signing party*",
"*signing name*"
)
or any(body.links, regex.icontains(.display_text, '\bs[\s\W_]*i[\s\W_]*g[\s\W_]*n\b'),
)
)
)
or strings.ilike(sender.display_name, '*authentisign*')
or strings.ilevenshtein(sender.display_name, 'authentisign') <= 1
or strings.ilike(sender.email.domain.domain, '*authentisign*')
)
and (
sender.email.domain.root_domain != "authentisign.com"
or (
sender.email.domain.root_domain == "authentisign.com"
and not (headers.auth_summary.spf.pass or headers.auth_summary.dmarc.pass)
)
)
// negate legitimate conversations
and not (
(
strings.istarts_with(subject.subject, "RE:")
or strings.istarts_with(subject.subject, "RES:")
or strings.istarts_with(subject.subject, "R:")
or strings.istarts_with(subject.subject, "ODG:")
or strings.istarts_with(subject.subject, "答复:")
or strings.istarts_with(subject.subject, "AW:")
or strings.istarts_with(subject.subject, "TR:")
or strings.istarts_with(subject.subject, "FW:")
or strings.istarts_with(subject.subject, "FWD:")
or regex.imatch(subject.subject,
'(\[[^\]]+\]\s?){0,3}(re|fwd?|automat.*)\s?:.*'
)
or subject.is_reply
or subject.is_forward
)
and (
length(headers.references) > 0
and any(headers.hops, any(.fields, strings.ilike(.name, "In-Reply-To")))
)
)

attack_types:
- "Credential Phishing"
- "BEC/Fraud"
tactics_and_techniques:
- "Impersonation: Brand"
- "Lookalike domain"
- "Social engineering"
detection_methods:
- "Content analysis"
- "Header analysis"
- "Sender analysis"
id: "445a8c8b-cd38-5161-bf56-2eab83419e24"
Loading