Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Full-disclosure] Multiple Vendor Anti-Virus Software DetectionEvasion Vulnerability through forged magic byte |
|---|---|
| Date: | Thu, 27 Oct 2005 09:14:52 +0200 |
I checked the "ZM" variant and got the same results as for "MZ" one. Thus, I think that they indeed, detected as executables, but only AV vendor can tell for sure. Generally, there are many variants for this issue, as many various "magic byte" variants exist. In my case - I force AV to look at the TEXT file as to EXECUTABLE, but it's possible that other "pairs" then txt<->exe exist as well. Regards, Andrey Bayora. ----- Original Message ----- 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> Sent: Thursday, October 27, 2005 8:25 AM Subject: Re: [Full-disclosure] Multiple Vendor Anti-Virus Software DetectionEvasion Vulnerability through forged magic byte
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
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [Full-disclosure] Multiple Vendor Anti-Virus Software DetectionEvasion Vulnerability through forged magic byte, Debasis Mohanty |
|---|---|
| Next by Date: | Re: [Full-disclosure] SEC-Consult SA 20051025-0 :: Snoopy Remote Code Execution Vulnerability, Florian Weimer |
| Previous by Thread: | Re: [Full-disclosure] Multiple Vendor Anti-Virus Software DetectionEvasion Vulnerability through forged magic byte, Eygene A. Ryabinkin |
| Next by Thread: | [Full-disclosure] [ GLSA 200510-20 ] Zope: File inclusion through RestructuredText, Thierry Carrez |
| Indexes: | [Date] [Thread] [Top] [All Lists] |