-
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: attachment_fake_zoom_installer.yml (#838)
Co-authored-by: Sam Scholten <[email protected]> Co-authored-by: ID Generator <[email protected]>
- Loading branch information
1 parent
6dea907
commit 8401fdb
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
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,62 @@ | ||
name: "Attachment: Fake Zoom installer" | ||
description: | | ||
HTML attachment contains a Zoom 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 == "Zoom" 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 == "Zoom" 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: "840a12a6-a796-5e73-b975-1d1b5f745aea" |