Skip to content

kvesel/zipbrk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zipbrk 2.1.1

Zip break is a tool to disect, modify, and reassemble zip files for a variety of tasks. It is designed to be cross-platform and as simple as possible to port between varied systems. It has been tested on Windows 9x/2k/XP, Windows Vista/7/8, Fedora 23/24/25/26/27, Kali, Debian 8/9, Qubes 3.2/4.0, Whonix 13/14, Ubuntu 10, FreeBSD 11, and various Android phones. To compile on Linux/UNIX machines simply execute gcc -o zipbrk zipbrk.c. Windows users can open the file into a default Visual Studio (the Community version is now free and works just fine for this) project and press F7.

Some examples of usage are:

zipbrk file.zip --encryption-set --xor-crc32

This command would tell zipbrk to set the encryption flag(s) in the file and modify the CRC32 sums associated with them. To modify the sums, the user is prompted for a password to be utilised as a key in any operations requiring unique modifications.

Note that the encryption flag may be set, but the contents are still not necessarily encrypted. Zip file programs will typically prompt for a password if the encryption flag is set, and fail to realise the data is not even encrypted, but the data is actually still in a plaintext form.

A safer alternative would be to perhaps encrypt a zip file, and then make it appear as though it's not encrypted, which may lead a user to assume the file is damaged.

--encryption-unset

Some anti-virus softwares have been known to not scan the contents of a file (CVE-2004-0932, et al.) if the Uncompressed Size parameter of the file header is set to 0 bytes in size.

--zero-uncompressed

In the event that a provider does not permit the transmission or storage of zip files (e.g. GMail, et al.), the zip file signature can be changed to fool zip processors into assuming the file is not in zip format. The signature can then be changed back once it's received by the end-point.

--signature-spoof

About

Zip file format fuzzer and multi-tool.

Resources

Stars

Watchers

Forks

Packages

No packages published