News for hackers. Stuff that matters.
Re:I Use Zip Bombs to Protect My Server by suid on Tuesday April 29, 2025 @09:23PM (#43840178)
Good question. The "ultimate zip bomb" looks something like https://github.com/iamtraction/ZOD - this produces the infamous "42.zip" file, which is about 42KiB, but expands to 3.99 PiB (!).

There's literally no machine on Earth today that can deal with that (as a single file, I mean).

Re:I Use Zip Bombs to Protect My Server by pdntspa on Wednesday April 30, 2025 @12:16AM (#43841213)
Do must unzip programs work recursively by default?
Re:I Use Zip Bombs to Protect My Server by moooo99 on Wednesday April 30, 2025 @01:07AM (#43841465)
No, at least not the ones I am aware of. iirc these kinds of attacks usually targeted content scanners (primarily antivirus). And an AV program would of course have to recursively de compress everything
Re:I Use Zip Bombs to Protect My Server by vitus on Tuesday April 29, 2025 @10:12PM (#43840474)
> There's literally no machine on Earth today that can deal with that (as a single file, I mean).

Oh? Certainly not in RAM, but 4 PiB is about 125x 36TiB drives (or 188x 24TiB drives). (You can go bigger if you want to shell out tens of thousands per 100TB SSD, at which point you "only" need 45 of those drives.)

These are numbers such that a purpose-built server with enough SAS expanders could easily fit that within a single rack, for less than $100k (based on the list price of an Exos X24 before even considering any bulk discounts).

Re:I Use Zip Bombs to Protect My Server by immibis on Wednesday April 30, 2025 @03:49AM (#43842325)
I think you can rent a server with about 4.5 PiB from OVH - as a standard product offering, not even a special request. It costs a lot, obviously.
Re:I Use Zip Bombs to Protect My Server by zparky on Wednesday April 30, 2025 @08:42AM (#43844381)
I would hope if you request a 4.5 PiB allocation somebody somewhere tries to call you to ask if you didnt accidentally put a couple extra zeroes lol
Re:I Use Zip Bombs to Protect My Server by eru on Wednesday April 30, 2025 @02:03AM (#43841730)
That's far from the ultimate zip bomb.

42.zip has five layers. But you can make a zip file that has an infinite number of layers. See https://research.swtch.com/zip or https://alf.nu/ZipQuine