Skip to content

Commit

Permalink
FP Tune: link_qr_code_suspicious_language_fts.yml (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscode authored Sep 13, 2023
1 parent 1ba9c2c commit d970f36
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions detection-rules/link_qr_code_suspicious_language_fts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,22 @@ type: "rule"
severity: "medium"
source: |
type.inbound
// check image attachments for QR code, will want to add message.screenshot functionality here when it's ready
// and length(attachments) < 10
and any(attachments,
.file_type in $file_types_images
and any(file.explode(.),
.scan.qr.type == "url"
// recipient email address is present in the URL, a common tactic used in credential phishing attacks and the url is not in $org_domains
and any(recipients.to, strings.icontains(..scan.qr.data, .email.email))
and any(recipients.to,
strings.icontains(..scan.qr.data, .email.email) and .email.domain.valid
)
and .scan.qr.url.domain.root_domain not in $org_domains
)
)
// NLU has identified cred_theft language with high confidence
and (
any(ml.nlu_classifier(body.current_thread.text).intents,
Expand All @@ -40,7 +43,7 @@ source: |
)
)
)
// first-time sender
and (
(
Expand Down

0 comments on commit d970f36

Please sign in to comment.