Re: [Full-Disclosure] BZIP2 bomb question
From: Alex Shipp (ashipp_at_messagelabs.com)
To: <email@example.com> Date: Mon, 12 Jan 2004 21:36:54 -0000
>----- Original Message -----
>From: "Gregh" <firstname.lastname@example.org>
>Please note I am not a good programmer here but here goes:
>I am wondering why, for those who HAVE to auto unpack, a script cannot be
>written which, upon receipt of an archive of any sort, inspects it for, as
>an example, 100K of the same character repeated (keeping in mind that the
>NULL character, chr$(7) etc have all been used for compressed bombs) and if
>there *IS* such a file, move the file to some safe location for later
>inspection and if not, allow automatic unpacking etc.
Ignoring lots of technical details (!) this can indeed be done, and can be
along with lots of other heuristics to defend against compressed bombs.
There are implementaions that already do this.
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
Full-Disclosure - We believe in it.