Skip to content

Commit

Permalink
Updating rule: attachment_microsoft_image_lure_qr_code.yml (#812)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Scholten <[email protected]>
  • Loading branch information
aidenmitchell and morriscode authored Oct 4, 2023
1 parent 254c6cb commit 8369b78
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions detection-rules/attachment_microsoft_image_lure_qr_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ source: |
type.inbound
and (
any(attachments,
.file_type in $file_types_images
(.file_type in $file_types_images or .file_type == "pdf")
and any(ml.logo_detect(.).brands, strings.starts_with(.name, "Microsoft"))
)
or any(ml.logo_detect(beta.message_screenshot()).brands, strings.starts_with(.name, "Microsoft"))
or (any(attachments, .file_type in~ $file_extensions_macros))
)
and any(attachments,
.file_type in $file_types_images
(
.file_type in $file_types_images
or .file_type == "pdf"
or .file_type in $file_extensions_macros
)
and (
any(file.explode(.),
regex.icontains(.scan.ocr.raw, 'scan|camera')
Expand Down Expand Up @@ -72,6 +77,7 @@ attack_types:
- "Credential Phishing"
tactics_and_techniques:
- "Impersonation: Brand"
- "PDF"
- "QR code"
- "Social engineering"
detection_methods:
Expand Down

0 comments on commit 8369b78

Please sign in to comment.