Skip to content

Commit

Permalink
Update link_download_suspicious_file.yml (#2074)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomequipd authored Oct 31, 2024
1 parent c1c88d8 commit e71063a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion detection-rules/link_download_suspicious_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,15 @@ source: |
)
// for both non-encrypted zips and encrypted zips
// that were successfully cracked
or .file_extension in ("dll", "exe", "html", "lnk", "js", "vba", "vbs", "vbe")
or .file_extension in ("dll", "exe", "html", "lnk", "js", "vba", "vbs", "vbe", "bat")
or strings.ilike(.file_name, "*.exe")
or (
.file_extension not in ("dll", "exe")
and (
.flavors.mime in ("application/x-dosexec")
or any(.flavors.yara, . in ('mz_file'))
)
)
)
and not (
ml.link_analysis(..).effective_url.domain.root_domain == "zoom.us"
Expand Down

0 comments on commit e71063a

Please sign in to comment.