Detection rules › Sublime MQL

Attachment: WinRAR CVE-2025-8088 exploitation

Severity
high
Type
rule
Source
github.com/sublime-security/sublime-rules

Detects attempts to exploit CVE-2025-8088 via attached RAR files

Threat classification

Sublime's own taxonomy (not MITRE ATT&CK).

CategoryValues
Attack typesMalware/Ransomware
Tactics and techniquesExploit, Evasion

Event coverage

Rule body MQL

type.inbound
and any(attachments,
        // its a rar file
        (
          .content_type == "application/x-rar-compressed"
          or .file_extension == "rar"
          or .file_type == "rar"
        )
        // less than 10 meg
        and .size < 10000000
        // explode it
        and any(file.explode(.),
                // contains a yara match
                any(.scan.yara.matches, .name == "WinRAR_CVE_2025_8088")
        )
)

Detection logic

Scope: inbound message.

Detects attempts to exploit CVE-2025-8088 via attached RAR files

  1. inbound message
  2. any of attachments where all hold:
    • any of:
      • .content_type is 'application/x-rar-compressed'
      • .file_extension is 'rar'
      • .file_type is 'rar'
    • .size < 10000000
    • any of file.explode(.) where:
      • any of .scan.yara.matches where:
        • .name is 'WinRAR_CVE_2025_8088'

Inspects: attachments[].content_type, attachments[].file_extension, attachments[].file_type, attachments[].size, type.inbound. Sensors: file.explode.

Indicators matched (4)

FieldMatchValue
attachments[].content_typeequalsapplication/x-rar-compressed
attachments[].file_extensionequalsrar
attachments[].file_typeequalsrar
file.explode(attachments[])[].scan.yara.matches[].nameequalsWinRAR_CVE_2025_8088