Sophos

Download Windows 7 security - A great leap forward or business as usual?

Bypassing … by using ASCII Exploit

Over the last last few weeks SophosLabs have been testing new detection for malware using the ASCII Exploit. With one of our technology partners we have been scanning the murkier areas of the web for malicious HTML pages exhibiting the ASCII Exploit (though calling it an exploit is a misnomer).

What actually happens is that if Internet Explorer (IE) is told that a webpage is US-ASCII then will ignore parts of characters that are not valid under US-ASCII. For example in the following

Ascii

  • The 0×0d 0×0a (carriage return, line feed) are valid end of line characters.
  • However, the 0xbc is not a valid ASCII character and so IE throws away the most significant bit of the hexadecimal number. Converting 0xbc to 0×3c the hexadecimal equivalent of <.
  • The first piece of code 0xbc 0xe8 0xf4 0xed 0xec 0xbe will translate to <HTML>.

This morning SophosLabs released detection for a whole slew of malware using this ASCII exploit Mal/EncPg-A


Email this story to a friend   Digg   Reddit   Technorati   Slashdot   Facebook   Twitter   NewsVine   MySpace   Google   Live   Mixx   del.icio.us   StumbleUpon  

Download Windows 7 security - A great leap forward or business as usual?

Related posts