Zip bomb (2024)

A zip bomb (aka decompression bomb, compression bomb, archive bomb, or zip of death) is a malicious archive file that can disable a program or system when unpacked, because processing it requires too much memory or puts an excessive load on the CPU. Usually such an effect is the result of the large difference in size between the compressed and decompressed data.

Zip bomb types

There are two main types of zip bombs:

  • Recursive
  • Non-recursive

Recursive bombs contain multiple nested archives that are unpacked one after another. An attack using such a file succeeds only if the attacked program supports recursive unpacking. A classic example of a recursive bomb is 42.zip, a file consisting of six layers of nested archives. It is just 42 kilobytes compressed, but after unpacking all the layers its size increases to 4.5 petabytes (4.5 million gigabytes). Recursive zip bombs also include zip quines— archives containing a copy of themselves, resulting in endless unpacking.

Non-recursive bombs are characterized by a very high data compression ratio. For a regular archive, this value does not exceed 1032 to one. But in the case of a zip bomb, it can reach millions to one. This is achieved through overlapping files, a technique proposed by U.S. programmer David Fifield. Instead of compressing many identical files individually, the zip bomber uses one “kernel” (compressed contents of a file) for all of them. During unpacking, as many files are reconstructed from it as were packed into the archive. The more there are, the higher the compression ratio. As a result, unpacking a single layer has the same effect as unpacking numerous layers of a recursive bomb.

Zip bomb use

Zip bombs are often used for malicious purposes. For example, attackers distribute them to knock out the antivirus and download malware onto a computer unhindered.

But zip bombs can be used against intruders too. For example, in 2017, Austrian programmer Christian Haschek suggested that website developers should use zip bombs to protect against hackers. He created a PHP script to detect suspicious requests and respond with a GZip bomb. The browser or vulnerability scanner that sent the request to the server attempts to unpack the archive and either hangs or returns an error.

Zip bomb danger

Zip bombs presently pose little or no threat to users for the following reasons:

  • Many programs do not support recursive unpacking, and one unpacked layer does not contain all that much data. This makes recursive zip bombs pointless.
  • Most modern security solutions are able to spot and block all types of zip bombs and warn the user of the danger.

Related Posts

  • Where and how post-quantum cryptography is being used in 2024

  • Telegram security: a sober look at the current situation

  • How to hack a bicycle

  • What to do if your company was mentioned on Darknet?

  • Understanding Malware-as-a-Service

  • Business on the dark web: deals and regulatory mechanisms

Zip bomb (2024)
Top Articles
Asset Based Loans | Asset Based Lending | Commercial Funding
Garnet Dragon
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Rubie Ullrich

Last Updated:

Views: 5589

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Rubie Ullrich

Birthday: 1998-02-02

Address: 743 Stoltenberg Center, Genovevaville, NJ 59925-3119

Phone: +2202978377583

Job: Administration Engineer

Hobby: Surfing, Sailing, Listening to music, Web surfing, Kitesurfing, Geocaching, Backpacking

Introduction: My name is Rubie Ullrich, I am a enthusiastic, perfect, tender, vivacious, talented, famous, delightful person who loves writing and wants to share my knowledge and understanding with you.