Live data from Hacker News

How to defend your website with ZIP bombs (2017)

blog.haschek.at

11–20 of 79 posts

Re: How to defend your website with ZIP bombs (2017)

#11

I've done this without compression but just sending infinite data. On some days I've sent a TB to a single IP address... Might be an idea to combine this. I'd assume the resulting gzip file here contains a repeating pattern that you can generate on the fly?

Yes, it would be trivial to make an "endless" gzip stream.

Re: How to defend your website with ZIP bombs (2017)

#14

Is it legal to purposefully distribute a malicious payload as a booby trap?

Is it really malicious though? 10 gigs of zeros doesn’t seem that malicious to me. Microcontrollers often have a few megabytes of RAM if not less, does that make a few megabyte photo malicious?

Edit: spelling. I’m old school and used to typing on my computer. It’s getting repaired and all I’ve got is my phone. /rant

Re: How to defend your website with ZIP bombs (2017)

#16
People have been coming up with ideas like that regularly. I'm not a fan.

The title says that you can "defend" your webpage, but it is not clear how it "defends" against anything. The only thing you possibly achieve is that every now and then, someone with an automated scanner (which may be an attacker, or may be a security researcher or service) will see his tool crash or consume large amounts of resources.

You're spending time trying to annoy attackers that you should probably just ignore. If you really worry that someone running some automated scanner against your webpage causes you any harm, you probably should spend your time with something different than building zip bombs, and instead fix the security problems you have.

Re: How to defend your website with ZIP bombs (2017)

#19
Another method that stuck with me: in the early days of bitcoin someone built an "ssh paywall" – i.e. you would pay to enable ssh remote authentication for a minute or two.

In essence a hacker would have to pay before attempting to hack the ssh endpoint. Of course the admin would have to pay too but the money would end up on his/her wallet.

Quite ingenious if you ask me.

Re: How to defend your website with ZIP bombs (2017)

#20
post #16

People have been coming up with ideas like that regularly. I'm not a fan. The title says that you can "defend" your webpage, but it is not clear how it "defends" against anything. The only thing you possibly achieve is that every now and then, someone with an automated scanner (which may be an attacker, or may be a security researcher or service) will see his tool crash or consume large amounts of resources. You're s…

Slowing down and resisting unauthorised scanners does sound like one more layer of defence to me.
Post reply on HN