Skip to content
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

New Rule: X (Twitter) Impersonation with Credential Phishing motives #676

Merged
merged 5 commits into from
Oct 19, 2023
Merged
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
37 changes: 37 additions & 0 deletions detection-rules/impersonation_x_with_credphish_nlu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "X (Twitter) Impersonation with Credential Phishing motives"
description: |
This rule is designed to identify impersonation attempts by analyzing the display name or sender's
local part for the solitary use of "X" provided the email doesn't originate from twitter.com or x.com.
Natural Language Understanding (NLU) is used to check for credential theft requiring a medium-to-high confidence level for flagging.
Comment on lines +2 to +5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw some tweets/xeets about this one, worth adding anything to references?

type: "rule"
severity: "medium"
source: |
type.inbound
and (sender.display_name =~ "x" or sender.email.local_part =~ "x")
and sender.email.domain.root_domain not in ("twitter.com", "x.com")
and (
any(attachments,
.file_type in~ $file_types_images
and any(file.explode(.),
any(ml.nlu_classifier(.scan.ocr.raw).intents,
.name == "cred_theft" and .confidence != "low"
)
)
)
or any(ml.nlu_classifier(body.current_thread.text).intents,
.name == "cred_theft" and .confidence != "low"
)
)
attack_types:
- "Credential Phishing"
tactics_and_techniques:
- "Impersonation: Brand"
- "Social engineering"
detection_methods:
- "Computer Vision"
- "File analysis"
- "Header analysis"
- "Optical Character Recognition"
- "Natural Language Understanding"
- "Sender analysis"
id: "0b60dca6-db2d-5718-94d8-fdbfd06bd081"
Loading