• Sublime Core Feed
High Severity

Attachment: HTML smuggling with high entropy and other signals

Description

Recursively scans files and archives to detect HTML smuggling techniques.

Sublime Security
Created Aug 17th, 2023 • Last updated Aug 21st, 2023
Source
type.inbound
and any(attachments,
        (
          .file_extension in~ ("html", "htm", "shtml", "dhtml")
          or .file_extension in~ $file_extensions_common_archives
          or .file_type == "html"
        )
        and any(file.explode(.),
                .scan.entropy.entropy >= 5
                and any(.scan.strings.strings,
                        regex.icontains(., "fromCharCode")
                        and regex.icontains(., "parseInt")
                        and regex.icontains(., "charCodeAt")
                        and regex.icontains(., '(\\x0.*?){50}')
                )
        )
)
MQL Rule Console
DocsLearning Labs

Playground

Test against your own EMLs or sample data.

Share

Post about this on your socials.

Get Started. Today.

Managed or self-managed. No MX changes.

Deploy and integrate a free Sublime instance in minutes.
Get Started