website stat 7-Zip MotW bypass exploited in zero-day attacks against Ukraine | The Windows Forum

Welcome to TheWindowsForum

Since 2010 — Over 15 years of helping Windows users worldwide.

Join thousands of Windows enthusiasts & IT pros. Ask questions, share tips, download resources, and connect with the community — free and always friendly.

  • Post & reply in threads
  • Private message other members
  • Access exclusive guides & downloads
  • NO ADS for registered users

7-Zip MotW bypass exploited in zero-day attacks against Ukraine

ThumperTM

Windows Ninja
Joined
Aug 18, 2010
Messages
14,201
7-Zip


A 7-Zip vulnerability allowing attackers to bypass the Mark of the Web (MotW) Windows security feature was exploited by Russian hackers as a zero-day since September 2024.

According to Trend Micro researchers, the flaw was used in SmokeLoader malware campaigns targeting the Ukrainian government and private organizations in the country.

The Mark of the Web is a Windows security feature designed to warn users that the file they're about to execute comes from untrusted sources, requesting a confirmation step via an additional prompt. Bypassing MoTW allows malicious files to run on the victim's machine without a warning.

When downloading documents and executables from the web or received as an email attachment, Windows adds a special 'Zone.Id' alternate data stream called the Mark-of-the-Web (MoTW) to the file.

When attempting to open a downloaded file, Windows will check if a MoTW exists and, if so, display additional warnings to the user, asking if they are sure they wish to run the file. Similarly, when opening a document in Word or Excel with a MoTW flag, Microsoft Office will generate additional warnings and turn off macros.

MoTW warnings in Windows
MoTW warnings in Windows
Source: BleepingComputer
As the Mark of the Web security features prevent dangerous files from automatically running, threat actors commonly attempt to find MoTW bypasses so their files automatically run and execute.

For years, cybersecurity researchers requested 7-Zip add support for the Mark of the Web, but it was only in 2022 that support for the feature was finally added.

MoTW bypasses exploited in attacks​

Trend Micro's Zero Day Initiative (ZDI) team first discovered the flaw, now tracked as CVE-2025-0411, on September 25, 2024, observing it in attacks carried out by Russian threat actors.

Hackers leveraged CVE-2025-0411 using double archived files (an archive within an archive) to exploit a lack of inheritance of the MoTW flag, resulting in malicious file execution without triggering warnings.

The specially crafted archive files were sent to targets via phishing emails from compromised Ukrainian government accounts to bypass security filters and appear legitimate.

Sample phishing email used in the campaign
Sample phishing email used in the campaign
Source: Trend Micro
Utilizing homoglyph techniques, the attackers hid their payloads within the 7-Zip files, making them appear harmless Word or PDF documents.

Although opening the parent archive does propagate the MoTW flag, the CVE-2025-0411 flaw caused the flag not to propagate to the contents of the inner archive, allowing malicious scripts and executables to launch directly.

The real contents of the masked files
The real contents of the masked files
Source: Trend Micro
This last step triggers the SmokeLoader payload, a malware dropper used in the past to install info-stealers, trojans, ransomware, or creating backdoors for persistent access.

Trend Micro says these attacks impacted the following organizations:

  • State Executive Service of Ukraine (SES) – Ministry of Justice
  • Zaporizhzhia Automobile Building Plant (PrJSC ZAZ) – Automobile, bus, and truck manufacturer
  • Kyivpastrans – Kyiv Public Transportation Service
  • SEA Company – Appliances, electrical equipment, and electronics manufacturer
  • Verkhovyna District State Administration – Ivano-Frankivsk oblast administration
  • VUSA – Insurance company
  • Dnipro City Regional Pharmacy – Regional pharmacy
  • Kyivvodokanal – Kyiv Water Supply Company
  • Zalishchyky City Council – City council

Update 7-Zip​

Although the discovery of the zero-day came in September, it took Trend Micro until October 1, 2024, to share a working proof-of-concept (PoC) exploit with the developers of 7-Zip.

The latter addressed the risks via a patch implemented in version 24.09, released on November 30, 2024. However, as 7-Zip does not include an auto-update feature, it is common for 7-Zip users to run outdated versions.

Therefore, it is strongly recommended that users download the latest version to make sure they are protected from this vulnerability.
 

USE THIS LINK TO BE 100% sure you are downloading the genuine article. Not the "Well honestly this is the 7 zip file you need and you can install our junk as well sites" or the look it says "7zip it had to be genuine and honestly we are ONLY going to download our junk when you click download, or one of the various million pieces of software hidden behind the word DOWNLOAD and spoofed IP address."

7 zip Organisation website is the only place to get the trusted versions. If its not from here then you have been warned.
 
wow I had no idea....... I love 7zip though, I dont even know how to tell what version it is, I feel like such a noob all the sudden o_O
 
7zip allows exe inspection and that does come in handy. However here is a good reason to keep an eye on open source software. You need to be very watchful of the sites you download programs from.
 
"wow I had no idea....... I love 7zip though, I dont even know how to tell what version it is, I feel like such a noob all the sudden o_O"

Sad thing being these days LOVING a PROGRAM is what advertisers and Malware coders look for, the easy hook to get their junk on your system.

My advice is atart and learn about whats right and how to get exactly what they want onto your computer, Sites along the lines of SOFTONIC generally will have what you want, but as DVD D suggests, inspecting the exe you download prior to running it will reveal modifications to the actual software.

This sucks and of course it isnt for everyone. Ill tell you all now the MICROSOFT DEFENDER is about as good at stopping this kind of intrusion software as having no doors on your house and wondering why you got burgled.

Ive spent most of my adult life routing out virus intrusions beck from the SCA virus on Amiga through to some (it has to be said here) brilliantly coded ransomware infections on systems and networks.

Personally I am a subscriber to COMODO INTERNET SECURITY and it is simple, easy to use and just sits there, does its job and requires no interaction, I recommended it to my customers for the last 15 years and never had a complaint about it other then "But you dont see it do anything" unlike Microsoft Defender that block good stuff and lets through bad stuff flagging the good with lots of "What you wan to do with this "Messages.

One major thing I recommend to folk who have no clue what to do with files is to go join groups lioke "Majorgeeks" or chek out this forum, or if in doubt ASK US !!!!
 
"Personally I am a subscriber to COMODO INTERNET SECURITY and it is simple, easy to use and just sits there, does its job and requires no interaction" Ive been using avast ultamite edition and I gota say this thing has basicly hand held me to having my computer running perfect, VPN, it has everything you could even think of, even a program running simulator that can run programs in some sort of isolated environment that I dont think im ever going to bother with. I think avast is amazing.
 
Avast, wow so they do have a customer.

Sorry I can recall the days when anything AVAST was spamware attached to games and workwear. Pretty much everyone had some avast spam in their system of one kind or another.

Avast have got their act together it seems these days and taking this internet thing seriously, not just another free magazine advert space. Have to say I did try the Avast AV a while back on a laptop I had and it did a reasonable job, but I had issues with using older software, and (Coughs) certain other program modification items, as the version I used you couldnt tell it to leave stuff alone. On the virus front is has a good and efficient engine. If your happy with it then good luck with it.

COMODO Ive been working in the background with stuff for them since 2008 when it was all feee to use for home users for everything and businesses paid a modest price. Still is in some cases on their wares.

I consider Anti Virus a necessity and advert shoving a nono. I pay for my subscription each year and I get one email around Christmas time to renew and thats it, not getting at least 20 emails a week in my box asking me to try out this and that and that and this version as well as trying out the program I installed.

Im currently training another company to stop sending me junk mail as I have one of their programs installed and find it incredibly useful. Its like buying a car from your garage and your garage thinks it has the immediate right to spam you to "Change your car today" when I only bought it last week.

If you are happy with what you get from AVAST then go with it. I dont force stuff on anyone, they get asked once and get information on it if required. Unlike certain competitors who thing everyone should have their particular pack of junk on their machines to buy so they get kickbacks. Thats how bad reps are formed
 
I see your point i geuss..... Keep in mind I am quite noob when it comes to these things..... but I decided to go with avast after all of the devices of not just me but also people living near me were affected(2 pcs of mine, a family member windows tablet, and all of our phones needed to be formated), I was able to reclaim my computer, it seemingly helped my install a better version of windows without a memory block apparently on windows 11 which i didnt know was a thing ( theres a 4gb memory requirement that it taught me i could bypass and my games are running better than ever). It comes with a vpn and an app simulation software that supposedly allows me to test suspect apps without risking my computer in wich i would probably not use anyway.....

Maybe its all a trap, but before that all of my computers were unuseable..... so I dont really know wat to say.... avast seems like the pirate friendly not so nice guy antivirus bloke on the block as far as i can tell, it warned me from using newer bloated versions of software, i use old cs6 photoshop for the laser engraving work that I do (with 8gb of ram on my pc newer phtoshop ran like cashews, cs6 runs like og ms paint).

Im not a hacker I dont know these things, but crazy as it seems it seems to lead me through to good outcomes like it has a mind of its own so im just going to continue to trust what it sends me through. it hasnt hacked my bank account yet wich at this point it could EASILY do, it even helped me install better versions of drivers for my core system, and roll back drivers for things like bluetoooth that windows seems to break with newer updates. i have no choice but to trust it......

I am liking the results so far, its actually unlike anything I could have imagined. 45$ for 2 years on 10 devices with VPN and all sorts of badass firewall options and anti tracking, and even walks you through the security risks connected to your accounts like emails and google and facevook and stuff, it really does seemingly know about everything you do, its like the ultamite hand holding security. granted, its so in depth that if it turned out to be not good it could literally steal my identity

If someone knows something about this and can prove it that this antivirus plan is nefarious then they should let me know, but believe it or not avast pretty much somehow led me to this forum although i cant even trace how it even happened to begin with...... very strange times we are living in
 
Last edited:

Support TheWindowsForum

Help us stay ad-free and keep the community running

Donate Now
Back
Top