Skip to main content
Mallory
HighCISA KEVExploited in the wildPublic exploit

7-Zip Mark-of-the-Web Bypass Vulnerability

IdentifiersCVE-2025-0411CWE-693· Protection Mechanism Failure

CVE-2025-0411 is a security bypass flaw in 7-Zip’s handling of archived files on Windows. When a user extracts files from a crafted archive that itself carries the Windows Mark-of-the-Web (MotW), affected versions of 7-Zip fail to propagate the MotW metadata to the extracted files. As a result, files originating from an untrusted internet source may be written to disk without the expected MotW marking, defeating downstream Windows security controls that rely on that metadata. The issue was assigned ZDI-CAN-25456 and was reported as fixed in 7-Zip version 24.09.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

The primary impact is bypass of Windows trust and warning mechanisms that depend on Mark-of-the-Web. Files extracted from a malicious archive may execute without the usual security prompts or policy enforcement associated with internet-originated content. In practical attack chains, this can enable arbitrary code execution in the context of the current user once the victim opens or runs the extracted payload. The content also indicates in-the-wild exploitation, including delivery of SmokeLoader in campaigns targeting Ukrainian organizations.

Mitigation

If you can’t patch tonight, do this now.

Until patching is complete, avoid using vulnerable 7-Zip versions to extract archives obtained from untrusted or internet-sourced locations. Prefer extraction tools that correctly preserve Mark-of-the-Web, and enforce attachment and download controls to reduce delivery of malicious archives. Additional defensive measures include monitoring for execution of binaries from archive extraction paths or Temp directories, user awareness around phishing-delivered archives, and restricting execution of newly extracted content from untrusted sources via application control or similar endpoint policy.

Remediation

Patch, then assume compromise.

Upgrade 7-Zip to version 24.09 or later, as the provided content states the vulnerability was addressed in 24.09 in November 2024. Ensure all endpoints and any bundled or redistributed 7-Zip installations are updated, including environments where 7-Zip is invoked by scripts or third-party tooling. Verify that archive extraction workflows preserve MotW semantics after patching.
PUBLIC EXPLOITS

Exploits

6 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).

VALID 6 / 8 TOTALView more in app
Ashwesker-CVE-2025-0411MaturityPoCVerified exploit

This repository contains a proof-of-concept (PoC) exploit for CVE-2025-0411, a vulnerability in 7-Zip for Windows that allows attackers to bypass the Mark-of-the-Web (MoTW) security feature using double-nested archives. The repository consists of two files: a C++ source file (CVE-2025-0411.cpp) and a detailed README.md. The C++ file allocates memory, copies shellcode (which launches calc.exe), marks it as executable, and runs it in a new thread, demonstrating arbitrary code execution. The README provides comprehensive background, technical details, exploitation context, and mitigation advice. The exploit is operational, requiring user interaction to extract a crafted archive, and targets 7-Zip versions prior to 24.09 on Windows. The only fingerprintable endpoint is the execution of 'calc.exe' as a demonstration payload.

AshweskerDisclosed Jul 5, 2025cppmarkdownlocal
7-Zip-CVE-2025-0411-POCMaturityPoCVerified exploit

This repository is a Proof of Concept (POC) for CVE-2025-0411, a vulnerability in 7-Zip that allows for a Mark of the Web (MotW) bypass. The repository contains two files: a README.md with detailed information about the vulnerability and usage instructions, and loader.cpp, a C++ file that serves as the main exploit. The loader.cpp file allocates memory, copies embedded shellcode (intended to launch calc.exe), marks the memory as executable, and runs it in a new thread. This demonstrates arbitrary code execution, which is the core risk of the MotW bypass. The exploit is operational, providing a working payload for demonstration purposes, and is intended for use in a controlled environment to illustrate the impact of the vulnerability. No network endpoints are present; the attack vector is local execution on a Windows system with 7-Zip installed.

dpextremeDisclosed Mar 13, 2025cpplocal
7-Zip-CVE-2025-0411-POCMaturityPoCVerified exploit

This repository provides a proof-of-concept (POC) exploit for CVE-2025-0411, a vulnerability in 7-Zip (prior to version 24.09) on Windows that allows attackers to bypass the Mark-of-the-Web (MotW) protection. The exploit involves double-compressing a payload executable (loader.exe) in a 7z archive. When a victim extracts and runs the payload using a vulnerable version of 7-Zip, the MotW is not propagated, allowing the executable to run without SmartScreen or other warnings. The loader.cpp file is a simple C++ program that, when compiled, executes shellcode to launch calc.exe as a demonstration. The README.md provides detailed exploitation steps, including delivery via a file-sharing service and the difference in behavior between patched and unpatched 7-Zip versions. The main exploit capability is local code execution by bypassing MotW, requiring user interaction to open and run the payload. No network endpoints are hardcoded in the code; the only fingerprintable endpoints are the payload file and the MotW-related Zone.Identifier stream.

cesarbtakedaDisclosed Feb 23, 2025c++local
CVE-2025-0411-MoTW-PoCMaturityPoCVerified exploit

This repository provides a proof-of-concept (PoC) exploit for CVE-2025-0411, a vulnerability in 7-Zip (prior to version 24.09) that allows bypassing Windows' Mark-of-the-Web (MoTW) protections. The exploit consists of a Python script ('7-Zip-CVE-2025-0411-PoC.py') that automates the process of compiling a C++ payload ('executable.cpp') into a Windows executable ('compiled.exe'), then compresses it into a .7z archive, and finally double-compresses it into a nested .7z archive. The C++ payload contains shellcode that launches calc.exe, demonstrating arbitrary code execution. When a user extracts the double-compressed archive with a vulnerable version of 7-Zip, the extracted executable can run without MoTW warnings, illustrating the security bypass. The repository includes a README.md with background, technical details, and mitigation advice. The exploit is operational, demonstrating the vulnerability and providing a working payload, but is not weaponized for mass exploitation.

ishwardeeppDisclosed Feb 19, 2025pythonc++local
CVE-2025-0411-PoCMaturityPoCVerified exploit

This repository contains a proof-of-concept exploit for a Windows vulnerability related to the lack of Mark of the Web (MotW) enforcement in versions prior to 24.09. The exploit consists of a C++ loader (loader.cpp) that embeds and executes shellcode. The shellcode launches 'calc.exe', demonstrating arbitrary code execution. The README provides compilation instructions using MinGW-w64 and describes the attack scenario: the compiled executable is compressed and delivered to the victim, who must manually execute it. The exploit requires user interaction and targets local execution on Windows systems. No network endpoints are present; the only fingerprintable endpoint is the execution of 'calc.exe'. The repository structure is simple, with one code file and a README.

iSee857Disclosed Jan 27, 2025cpplocal
7-Zip-CVE-2025-0411-POCMaturityPoCVerified exploit

This repository demonstrates a proof-of-concept (POC) exploit for CVE-2025-0411, a Mark-of-the-Web (MotW) bypass vulnerability in 7-Zip for Windows. The vulnerability allows attackers to craft double-compressed archives such that, when extracted with a vulnerable version of 7-Zip (prior to 24.09), the extracted files do not retain the MotW alternate data stream (Zone.Identifier). This bypasses Windows SmartScreen and other security warnings, enabling arbitrary code execution if the victim runs the extracted executable. The repository contains two files: - README.md: Provides a detailed explanation of the vulnerability, exploitation methodology, and references. It describes the attack flow: a double-compressed archive containing a loader executable is delivered to the victim (e.g., via phishing and a payload delivery server like MediaFire). When the victim extracts and runs the loader, code execution occurs without MotW warnings. - loader.cpp: Implements a simple Windows loader that allocates memory, copies shellcode (intended to launch calc.exe), marks it as executable, and runs it in a new thread. This serves as the payload for the POC. No hardcoded network endpoints are present in the code, but the attack vector is network-based (malicious file delivery). The exploit targets 7-Zip on Windows systems prior to version 24.09. The POC demonstrates the risk by executing calc.exe, but the technique could be weaponized for arbitrary code execution.

dhmosfunkDisclosed Jan 22, 2025cppnetwork
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
7-Zip7-Zipapplication
NetAppActive Iq Unified Managerapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence1

Every observed campaign linking this CVE to a named adversary.

Associated malware2

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity1

Community discussion across Reddit, Mastodon, and other social sources.