Search site


Contact

How to make a Zip bomb

31/07/2009 16:13

A zip bomb, also known as a Zip of Death, is a malicious archive file designed to crash or render useless the program or system reading it. It is often used by virus writers to disable antivirus software, so that a more traditional virus sent afterwards could get into system undetected. A zip bomb is usually a small file (up to a few hundred kilobytes) for ease of transport and to avoid suspicion. However, when the file is unpacked its contents are more than the system can handle.You can make your own zip bomb to annoy your friends or just out of curiosity (or wilderness) to experiment with it. Make sure you don’t detonate it on yourself.

Here is how to make your own Zip Bomb of Death -
Create a new text file,name it a.txt
Open and type the null character (alt + 255) in it.
Now press Ctrl + A then Ctrl + V a couple times to make some null bytes.
Open Command prompt and navigate to the folder containing a.txt . Type the following command:

copy /b *.txt b.txt

This will write all the contents of a.text and its copies into a new text file called b.txt,hence making every copy is a super copy. Repeat the above steps from the beginning again and again to make a really big text file.

Once u have a nice empty big text file like 1gb or more,then compress it using Winrar or Winzip into a zip file.

You will find that it will be compressed to very small size (about 1MB ). It is because of the simple construction of the file as the text file contains 1gb of null bytes.

Make sure that YOU DONT OPEN THIS afterwards.

or you can download  the Zip bomb here.

Just make sure that your antivirus is turned off, otherwise it will consider Zip bomb as a malicious program.