Skip to content
File upload Write-up Intermediate

Zombie ZIP — (CVE-2026–0866) - Proof of Concept

A ZIP archive can be crafted so its local and central directory headers both claim the data is stored uncompressed while the bytes are actually deflated, causing antivirus scanners to scan scrambled data and miss the embedded executable. The author claims this technique evaded detection on VirusTotal, with the normal ZIP flagged and the manipulated one showing zero detections.

medium.com

Published on medium.com

Hello everybody ! today we gonna explore the mechanics of Zombie ZIPs , specially crafted archives designed to exploit discrepancies in how security engines (AV/EDR) and operating systems parse file metadata. By manipulating ZIP headers, an attacker can effectively “hide” malicious payloads in plain sight.

s4mb4sh, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the archive parser trusts the compression method field in the ZIP headers instead of verifying it against the actual data, so scanners read compressed bytes as if they were raw.

Impact

The manipulated ZIP could evade antivirus detection on VirusTotal, with the normal ZIP flagged and the Zombie ZIP showing zero detections, though this only demonstrates scanner evasion and not actual execution.

What the attacker needed

Ability to craft or modify a ZIP file; a malicious payload to embed

The fix

Archive scanners should verify the compression method against the actual data or attempt decompression regardless of the declared method.

How it was found

  1. Create a suspicious executable payload with an MZ header and process injection skeleton.
  2. Compress the payload into a ZIP file using the default deflate method.
  3. Open the ZIP in a hex editor and change the compression method field in the local file header from deflate to stored.
  4. Locate the central directory signature near the end of the file and change its compression method field from deflate to stored as well.
  5. Upload both the normal ZIP and the manipulated ZIP to VirusTotal to compare detection results.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A ZIP file stores a small header before each file that says how the data is compressed. If that header lies and says the data is not compressed when it really is, a scanner may read the scrambled bytes and see nothing harmful, while a real unzip tool still extracts the original file. This trick hides a malicious program inside an archive from antivirus checks.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.