Sublime Security high experimental mql

Attachment: HTML attachment with Javascript location

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 .size <= 5000
        and any(file.explode(.),
                any(.scan.javascript.identifiers, . == "location")
                and length(.scan.javascript.identifiers) < 100
        )
)

Field Validations

Loading…

Comments (0)

Loading comments...