Sublime Security medium experimental mql

Attachment: PDF with personal Microsoft OneNote URL

Detects PDF attachments containing a sharepoint URL referencing the senders personal OneNote.

View Source

Detection Logic

type.inbound
and length(filter(attachments, .file_type == "pdf")) >= 1
and any(attachments,
        .file_type == "pdf"
        and any(file.explode(.),
                any(.scan.url.urls,
                    strings.icontains(.path,
                                      strings.concat("/:o:/p/",
                                                     sender.email.local_part
                                      )
                    )
                    or strings.icontains(.path, "/:o:/g/personal/")
                )
        )
)

Field Validations

Loading…

Comments (0)

Loading comments...