By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Security Parrot - Cyber Security News, Insights and ReviewsSecurity Parrot - Cyber Security News, Insights and Reviews
Notification
Latest News
OpenAI may use Associated Press archive for AI training
July 14, 2023
EU users can hold conversations with Google Bard from training set
July 14, 2023
Aptos, the new default font for Microsoft Office
July 14, 2023
BlackLotus UEFI bootkit sources published on GitHub
July 14, 2023
Hackers from the XDSpy cyber-espionage group attacked Russian organizations on behalf of the Ministry of Emergency Situations
July 14, 2023
Aa
  • News
  • Tutorials
  • Security InsiderComing Soon
  • Expert InsightComing Soon
Reading: An encrypted ZIP archive can have two valid passwords
Share
Security Parrot - Cyber Security News, Insights and ReviewsSecurity Parrot - Cyber Security News, Insights and Reviews
Aa
Search
  • News
  • Tutorials
  • Security InsiderComing Soon
  • Expert InsightComing Soon
Follow US
Security Parrot - Cyber Security News, Insights and Reviews > News > An encrypted ZIP archive can have two valid passwords
News

An encrypted ZIP archive can have two valid passwords

Last updated: 2022/08/22 at 5:51 PM
Security Parrot Editorial Team Published August 22, 2022
Share
SHARE

Positive Technologies cybersecurity researcher Arseniy Sharoglazov shared an experiment in which he created a password-protected ZIP file called “x.zip”.

For the ZIP file, Sharoglazov set a password that repeats the words of the famous song: “Nev1r-G0nna-G2ve-Y8u-Up-N5v1r-G1nna-Let-Y4u-D1wn-N8v4r-G5nna-D0sert-You”.

The expert demonstrated that when unpacking “x.zip” with a different password, he did not receive an error message. In fact, using a different password “pkH8a0AqNbHcdw8GrmSp” resulted in the successful extraction of the ZIP file with the original contents intact.

One of the Twitter users under the name “Unblvr” wrote why this is happening. According to him, when creating password-protected ZIP archives with AES-256 mode enabled, the ZIP format uses the PBKDF2 algorithm and hashes the password if it is too long (longer than 64 characters).

Instead of the entered password, the computed hash becomes the actual password for the file. When the user enters a password longer than 64 bytes while unpacking the archive, the entered data is again hashed by the ZIP application and compared with the correct password (which is now a hash itself). A match will result in successful extraction of the file.

The password “pkH8a0AqNbHcdw8GrmSp” is actually an ASCII representation of the SHA-1 hash of the original password “Nev1r-G0nna-G2ve…”. SHA-1 checksum “Nev1r-G0nna-G2ve-…” = 706b4838613041714e62486364773847726d5370. This checksum, when converted to ASCII, gives: “pkH8a0AqNbHcdw8GrmSp”.

But this fact is not a security vulnerability and will not allow a password-protected archive to be cracked, “because it is necessary to know the original password in order to generate a password hash.”

Weekly Updates For Our Loyal Readers!

Security Parrot Editorial Team August 22, 2022
Share this Article
Facebook Twitter Email Copy Link Print

Archives

  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

You Might Also Like

News

OpenAI may use Associated Press archive for AI training

July 14, 2023
News

EU users can hold conversations with Google Bard from training set

July 14, 2023
News

Aptos, the new default font for Microsoft Office

July 14, 2023
News

BlackLotus UEFI bootkit sources published on GitHub

July 14, 2023

© 2022 Parrot Media Network. All Rights Reserved.

  • Home
  • Parrot Media Group
  • Privacy Policy
  • Terms and Conditions
Join Us!

Subscribe to our newsletter and never miss our latest news, podcasts etc..

Zero spam, Unsubscribe at any time.

Removed from reading list

Undo
Go to mobile version
Welcome Back!

Sign in to your account

Lost your password?