Sublime Security medium experimental mql
Attachment: Malformed mobileconfig file
Detects inbound emails containing .mobileconfig attachments that are missing required Apple configuration profile keys such as PayloadType, PayloadVersion, PayloadIdentifier, and PayloadUUID. The absence of these mandatory fields indicates the file does not conform to the standard Apple configuration profile schema, suggesting it may be malformed, tampered with, or crafted for malicious purposes such as unauthorized device configuration changes.
Detection Logic
type.inbound
and any(attachments,
.file_extension == "mobileconfig"
and not strings.icontains(file.parse_text(.).text,
'<key>PayloadType</key>',
'<key>PayloadVersion</key>',
'<key>PayloadIdentifier</key>',
'<key>PayloadUUID</key>'
)
) Field Validations
Loading…
Comments (0)
Loading comments...