Skip to content

Commit

Permalink
Sync from PR#838
Browse files Browse the repository at this point in the history
New rule: attachment_fake_zoom_installer.yml by @aidenmitchell
#838
Source SHA 795a79d
Triggered by @morriscode
  • Loading branch information
Sublime Rule Testing Bot committed Oct 3, 2023
1 parent 581d6bc commit fe4974b
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions detection-rules/attachment_fake_zoom_installer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: "Attachment: Fake Slack installer"
description: |
HTML attachment contains a Slack logo, request language, and a link to an executable. Observed in the wild.
type: "rule"
severity: "high"
source: |
type.inbound
and (
any(attachments,
(
.file_extension in~ ("html", "htm", "shtml", "dhtml")
or .file_type == "html"
or .content_type == "text/html"
)
and any(file.explode(.),
any(ml.logo_detect(file.html_screenshot(..)).brands,
.name == "Slack" and .confidence in ("medium", "high")
)
and any(ml.nlu_classifier(file.parse_html(..).display_text).entities,
.name == "request" and .text =~ "download"
)
and any(.scan.url.urls,
strings.iends_with(.path, ".exe") and .domain.root_domain not in $org_domains
)
)
)
or any(attachments,
(.file_extension in~ $file_extensions_common_archives)
and any(file.explode(.),
(
.file_extension in~ ("html", "htm", "shtml", "dhtml")
or ..file_type == "html"
or ..content_type == "text/html"
)
and any(ml.logo_detect(file.html_screenshot(..)).brands,
.name == "Slack" and .confidence in ("medium", "high")
)
and any(ml.nlu_classifier(file.parse_html(..).display_text).entities,
.name == "request" and .text =~ "download"
)
and any(.scan.url.urls,
strings.iends_with(.path, ".exe") and .domain.root_domain not in $org_domains
)
)
)
)
attack_types:
- "Malware/Ransomware"
tactics_and_techniques:
- "Evasion"
- "HTML smuggling"
- "Impersonation: Brand"
- "Scripting"
- "Social engineering"
detection_methods:
- "Archive analysis"
- "Computer Vision"
- "File analysis"
- "HTML analysis"
- "Natural Language Understanding"
- "URL analysis"
id: "cded2d2f-a5ca-5754-9f2a-d6bdf28baab4"
testing_pr: 838
testing_sha: 795a79d68f90376c7a99e0cd13a25c522898f5df

0 comments on commit fe4974b

Please sign in to comment.