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
34 changes: 34 additions & 0 deletions detection-rules/abuse_google_drive_exessive_cc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Service abuse: Google Drive shares with excessive CC recipients and credential theft language"
description: "Detects messages from legitimate Google Drive sharing addresses that contain credential theft language and either have more than 30 CC recipients from different domains or use undisclosed recipients, indicating potential abuse of Google's trusted sending reputation."
type: "rule"
severity: "medium"
source: |
type.inbound
// using legit google sender
and sender.email.email in (
'[email protected]',
'[email protected]',
)
// length of cc'd
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
// length of cc'd
// length of cc'd recipients is > 30, not all the same, or unidsclosed recipients

and (
(
length(recipients.cc) > 30
and not length(distinct(recipients.cc, .email.domain.root_domain)) == 1
)
or all(recipients.to, .display_name == "Undisclosed recipients")
Copy link
Member Author

Choose a reason for hiding this comment

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

There's a better way to do this where you by checking for valid recipient domains... will look into adding that check.

)
and any(ml.nlu_classifier(body.current_thread.text).intents,
.name == "cred_theft"
)

attack_types:
- "Credential Phishing"
tactics_and_techniques:
- "Impersonation: Brand"
- "Social engineering"
detection_methods:
- "Content analysis"
- "Header analysis"
- "Natural Language Understanding"
- "Sender analysis"
id: "19dc6f1c-4c46-5dc5-b2ee-a594e768d79b"