[40951] in bugtraq
Re: [Full-disclosure] Multiple Vendor Anti-Virus Software DetectionEvasion Vulnerability through forged magic byte
daemon@ATHENA.MIT.EDU (Eygene A. Ryabinkin)
Sat Oct 29 20:03:03 2005
Date: Thu, 27 Oct 2005 10:25:48 +0400
From: "Eygene A. Ryabinkin" <rea@rea.mbslab.kiae.ru>
To: Debasis Mohanty <mail@hackingspirits.com>
Cc: "'Andrey Bayora'" <andrey@securityelf.org>,
full-disclosure@lists.grok.org.uk, bugtraq@securityfocus.com
Message-ID: <20051027062548.GK14349@rea.mbslab.kiae.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
In-Reply-To: <20051025205000.26046.qmail@mail2.securityfocus.com>
> Especially in case of EXEs, AFAIK not all EXEs has the same 'MAGIC BYTE'
> (MZ). MZ only appears in the first two bytes of Win32 executable files.
Just for the curiosity: if you'll change "MZ" to "ZM" then the 16-bit
executables (MZ and NE executables) will still run and 32-bit (PE) executables
will execute their DOS stub part. It will be very interesting to check if
such files will be detected as executables at all in all mentioned antiviruses
and what sections PE files will be examined.
The 'MZ' -> 'ZM' hack is the old feature of MS-DOS loader that still lives in
WinXP (at least, didn't tested others, but believe that they also carry that
feature). That's what is called 'interoperability between various versions' ;)
--
rea