Medium Severity

Attachment: PDF with base64 JavaScript and eval functions

Description

PDF attachment contains base64-encoded JavaScript variables with eval functions, indicating potential code obfuscation and execution techniques commonly used in malicious documents.

References

No references.

Sublime Security
Created Aug 11th, 2026 • Last updated Aug 11th, 2026
Source
type.inbound
and any(filter(attachments, .file_type == "pdf"),
        any(file.explode(.),
            .depth == 0
            and any(.scan.yara.matches, .name in ("pdf_b64_js_var_eval", ))
        )
)
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