Earlier quoted context omitted.
Put it wherever in a "secret.zip" file? If you have the logs, just add a dummy page that they usually scan (/wp-admin or whatever) that automatically makes the client download the file. SSH however works with zero trust. Clients are protected from bad servers just as servers are protected from bad clients. It shouldn't be possible to send a file. If it is, it is a serious ssh vulnerability.
It's not about downloading, it's about unzipping. Most bots won't unzip a file they download. But they will deflate a SSL packet.
A better zip bomb
11–20 of 138 posts
Re: A better zip bomb
#12Is there a way to automatically send this to SSH spammers/directory scanning bots?
SSH has some kind of compression, so if you can write a Twisted ssh server sending the file as a compressed ssh packed. For detection, fail2ban provides a plugin architecture that allows it to do any action once it noticed an abuse, so you could switch the regular ssh implementation with you tricky one on the fly. Fun project. One should also do a lua nginx plugin for that: aggressive crawler ? Comment spammer ? Take…
Re: A better zip bomb
#13Re: A better zip bomb
#14Earlier quoted context omitted.
Put it wherever in a "secret.zip" file? If you have the logs, just add a dummy page that they usually scan (/wp-admin or whatever) that automatically makes the client download the file. SSH however works with zero trust. Clients are protected from bad servers just as servers are protected from bad clients. It shouldn't be possible to send a file. If it is, it is a serious ssh vulnerability.
It's not about downloading, it's about unzipping. Most bots won't unzip a file they download. But they will deflate a SSL packet.
Re: A better zip bomb
#15Pretty powerful! Lots of breakage with things that touch this file. Simply downloading it in Chrome caused issues, Chrome began extracting it to a temp folder (presumably for some malware scanning?) and quickly started filling the disk. Windows 10 then began doing the same thing for Windows Defender, but some sane limits aborted it after a few seconds.
I'm afraid to even download it now...
Re: A better zip bomb
#16Earlier quoted context omitted.
It's not about downloading, it's about unzipping. Most bots won't unzip a file they download. But they will deflate a SSL packet.
That would be something new! A website crashing your browser because http or tls compression is sending „zip bombs“.
Usually aimed against bots though: https://hackaday.com/2017/07/08/dropping-zip-bombs-on-vulner...
Re: A better zip bomb
#17https://www.librarystack.org/one-square-kilometer-for-walter...
Re: A better zip bomb
#18Is there a way to automatically send this to SSH spammers/directory scanning bots?
SSH has some kind of compression, so if you can write a Twisted ssh server sending the file as a compressed ssh packed. For detection, fail2ban provides a plugin architecture that allows it to do any action once it noticed an abuse, so you could switch the regular ssh implementation with you tricky one on the fly. Fun project. One should also do a lua nginx plugin for that: aggressive crawler ? Comment spammer ? Take…
Re: A better zip bomb
#19Is there a way to automatically send this to SSH spammers/directory scanning bots?
Re: A better zip bomb
#20Earlier quoted context omitted.
Does it work with gzip?
Not sure, but let's see if I can try without crashing my laptop. EDIT: nope, steaming doesn't work, the zip relies on the fact it contains many files, and gzip assume there is only one big blog. EDIT 2: tried with zlib but it expects a different header. So my guess is you really need to open it as an archive.