Sublime Security high experimental mql

Attachment: HTML smuggling with eval and atob

Recursively scans files and archives to detect HTML smuggling techniques.

View Source

Detection Logic

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(.),
                // usage: onerror="eval(atob('
                any(.scan.strings.strings,
                    regex.imatch(., ".*eval.{1,4}atob.*")
                )
        )
)

Field Validations

Loading…

Comments (0)

Loading comments...