-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Rule: Suspicious Lookerstudio link (#909)
Co-authored-by: ID Generator <[email protected]>
- Loading branch information
1 parent
482cc75
commit 86ff83d
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
detection-rules/link_suspicious_lookerstudio_new_unsolicited_sender.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: "Suspicious link to Looker Studio (lookerstudio.google.com) from a new and unsolicited sender" | ||
description: "This rule detects messages containing links to lookerstudio with a non standard lookerstudio template from a new and unsolicited sender." | ||
type: "rule" | ||
severity: "medium" | ||
source: | | ||
type.inbound | ||
and length(body.current_thread.text) < 800 | ||
and regex.icontains(body.current_thread.text, | ||
'(shared.{0,30}with you|View Document)' | ||
) | ||
and any(body.links, .href_url.domain.domain == "lookerstudio.google.com") | ||
and ( | ||
profile.by_sender().prevalence in ("new", "outlier") | ||
and not profile.by_sender().solicited | ||
) | ||
// negate highly trusted sender domains unless they fail DMARC authentication | ||
and ( | ||
( | ||
sender.email.domain.root_domain in $high_trust_sender_root_domains | ||
and ( | ||
any(distinct(headers.hops, .authentication_results.dmarc is not null), | ||
strings.ilike(.authentication_results.dmarc, "*fail") | ||
) | ||
) | ||
) | ||
or sender.email.domain.root_domain not in $high_trust_sender_root_domains | ||
) | ||
attack_types: | ||
- "Credential Phishing" | ||
tactics_and_techniques: | ||
- "Evasion" | ||
- "Social engineering" | ||
detection_methods: | ||
- "Content analysis" | ||
- "Sender analysis" | ||
- "URL analysis" | ||
id: "dbb50cb4-171f-532b-b820-906be09d03d6" |