Skip to content

Create impersonation_social_security_administration.yml #3077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
43 changes: 43 additions & 0 deletions detection-rules/impersonation_social_security_admin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "Impersonation: Social Security Administration with secure message language"
description: "Detects messages impersonating the Social Security Administration (SSA) that contain links and use legitimate SSA terminology like 'Secure Message' or 'SSA Statement Viewer', but are sent from non-government domains by unsolicited or suspicious senders."
type: "rule"
severity: "medium"
source: |
type.inbound
and (
not profile.by_sender().solicited
or (
profile.by_sender().any_messages_malicious_or_spam
and not profile.by_sender().any_messages_benign
)
)
// Identifies as SSA without catching strings such as "Alyssa"
and (
regex.contains(sender.display_name, '^SSA\b')
or strings.icontains(sender.display_name, "Social Security Administration")
)
// Contains a link
and length(body.links) >= 1

// Not from a .gov domain
and not sender.email.domain.tld == ".gov"

// Secure messsage wording
and (
strings.icontains(body.current_thread.text, "Secure Message")
or strings.contains(body.current_thread.text, "SSA Statement Viewer")
// real SSA phone number
or strings.icontains(body.current_thread.text, "1-800-772-1213")
)

attack_types:
- "BEC/Fraud"
- "Credential Phishing"
tactics_and_techniques:
- "Impersonation: Brand"
- "Social engineering"
detection_methods:
- "Content analysis"
- "Sender analysis"
- "URL analysis"
id: "6196767e-6264-5833-96f3-d1e34424d7b5"