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: impersonation_quickbooks.yml #862

Merged
merged 7 commits into from
Nov 4, 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
48 changes: 48 additions & 0 deletions detection-rules/impersonation_quickbooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: "Brand impersonation: Quickbooks"
description: "Impersonation of the Quickbooks service from Intuit."
type: "rule"
severity: "medium"
source: |
type.inbound
and (
(
strings.ilike(sender.display_name, '*quickbooks*')
or strings.ilevenshtein(sender.display_name, 'quickbooks') <= 1
or strings.ilike(sender.email.domain.domain, '*quickbooks*')
)
or strings.ilike(body.current_thread.text, "*invoice*")
)
and any(ml.logo_detect(beta.message_screenshot()).brands,
.name == "Quickbooks" and .confidence in ("medium", "high")
)
and sender.email.domain.root_domain not in~ ('intuit.com', 'turbotax.com', 'intuit.ca')
and (
not profile.by_sender().any_false_positives
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:
- "Callback Phishing"
- "Credential Phishing"
tactics_and_techniques:
- "Impersonation: Brand"
- "Social engineering"
detection_methods:
- "Computer Vision"
- "Content analysis"
- "Header analysis"
- "Sender analysis"
id: "4fd791d1-a053-5c2d-80dd-c6dcdc112a62"
Loading