EXPLORE
← Back to Explore
sublimelowRule

Attachment: ZIP filename mismatch

Detects inbound messages with ZIP attachments that exhibit a mismatch between the filename stored in the local file header and the filename in the central directory.

MITRE ATT&CK

defense-evasion

Detection Query

type.inbound
and any(filter(attachments, .file_type == "zip"),
        any(file.explode(.),
            any(.scan.yara.matches, .name == "zip_pklfh_cd_fname_mismatch")
        )
)

Data Sources

Email MessagesEmail HeadersEmail Attachments

Platforms

email

Tags

Attack surface reduction
Raw Content
name: "Attachment: ZIP filename mismatch"
description: "Detects inbound messages with ZIP attachments that exhibit a mismatch between the filename stored in the local file header and the filename in the central directory."
type: "rule"
severity: "low"
source: |
  type.inbound
  and any(filter(attachments, .file_type == "zip"),
          any(file.explode(.),
              any(.scan.yara.matches, .name == "zip_pklfh_cd_fname_mismatch")
          )
  )
tags:
  - "Attack surface reduction"
attack_types:
  - "Malware/Ransomware"
tactics_and_techniques:
  - "Evasion"
detection_methods:
  - "Archive analysis"
  - "YARA"
  - "File analysis"
id: "de90dc01-7201-5e0a-bdc2-2f28bd9fd1fe"