Create a Zip Bomb - Zip of Death

A zip bomb, also known as a Zip of Death, is a malicious archive file designed to crash or render useless the program or Create a Zip Bomb - Zip of Deathsystem 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 of Death -

Create a new text file,name it a.txt

Create a new text file

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.If u have a hex editor,then make the hex 00 for about 50 kilobytes.

Now make several copies of a.txt in the same directory and name them accordingly.

make several copies of a.txt

Open Command prompt and navigate to the folder containing a.txt . Type -

copy /b *.txt b.txt

Open Command prompt and make a super copy

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.

Compress the text file and it will be compressed to a very high degree.

For added fun,open the compressed zip file file into a hex editor. You will see a bunch of hex 5555.Just add some more and the file will expand amazingly.

Open zip in hex editor

Make sure that YOU DONT OPEN THIS afterwards.

You can make the same file in Linux by typing -

dd if=/dev/zero bs=1000 count=1000000 | gzip > test.gz

Send it to your friends (or foes) and it will definitely annoy them . Use some creativity and rename the text file into some thing like Angelina Jolie.jpg and compress it and email to your friends. Once they download it,they will never be able to download again (sarcasm..sarcasm).More disastrous combinations can be made by experimenting with it.I get the idea :)

Also,you can check out the one of the most famous zip bombs alive today – (only 42 KB) which will uncompress to about 4 Petabytes (1 Peta byte = 1024 TB and 1 TB = 1024 GB ) of file size. Dangerous huh..?




  1. HEy acn u temme how this command works... /b *.txt b.txtand wat diws /b *.txt signify...i have done one but im not able to understand how it works

  2. i Don't understand how it compressess itsekf into such a small space...even im a hacker and i have my

  3. hey but what the use of creating this....when the person sees that the file is taking so much tym to unpack..then any person with a brain shuld takes so much tym

  4. It`s very nasty trick.
    I have to craft myself such zip-bomb and
    send it to few people;)

  5. When I press alt + 255 nothing happens. :|

  6. Rishabh !!

  7. Hi Rishabh :(
    Bro the one i made dint work out well..
    i mean it was a stupid bomb dint work..
    Please bro mail me one please
    or any link please..
    That aint workin for me..
    D e s p e r a t e l y

  8. i try to make zip boom, but when i open my file, zip file has broken

  9. Nice info!!!

  10. The ... pswd?


Need to say something ? Spell it out :)