Wednesday, April 1, 2009

Massive exploitation of instant messaging applications proved feasible

EDIT: While most realized this was an April fool's joke, only a few figured out that it was also a genuine smiley shellcode encoder. However, the security implications are of course non existent. And we have been slashdoted!

Yoann Guillot and myself have been assessing the security of instant communication applications for a couple of years.
For quite some time now, we have both suspected that it was possible to conduct both stealth and massive attacks on popular chat clients such as MSN, AIM, Trillian or mIRC.

Today, we have verified our intuition by creating an encoder that can make any shellcode look like a smiley. It is possible to encode malicious shellcodes in emoticons, leaving exploits indistinguishable from genuine chat messages.

This would make massive attacks against instant messaging applications impossible to catch by anti-virus, IDS or similar signature based technologies. Moreover, it is possible to conduct attacks with plausible deniability.

The potential for mass exploitation is undeniable. We are urging Microsoft, AOL and other administrators of popular chat networks to ban smileys (especially animated ones) until all the consequences of this attack have been understood. Twitter and Facebook are likely vulnerable too, although we didn't conduct specific research yet on those networks.

This proof of concept program will compile the sample included shellcode, encode it into a valid MSN smiley and compile a test C program by using metasm. While the example shellcode and the compiled test program are both targeting Linux, you can supply any shellcode you want, including a Windows one, via the command line.

Please, use as follow:

"apt-get install libc6-dev-i386 mercurial ruby" if required
"hg clone https://metasm.cr0.org/hg/metasm/"
"cd metasm"
put smile.rb in the metasm directory
"ruby ./smile.rb"
"./test.lol"

25 comments:

Sid said...

Awesome piece of research. Opens up for a wide new range of applications, especially for phishing attacks.

Impressive... :):D:P~

Anonymous said...

>:-o

Anonymous said...

\.

Anonymous said...

/.
^
>:-(

Anonymous said...

:F

dani said...

ohmy, martians will conquer the galaxy with poisoned smilies and clippys

Anonymous said...

All your base are belong to :-s

Anonymous said...

april fools?

Anonymous said...

What are you smiling about!!?!?

Anonymous said...

All your base are belong to /.

n said...

:D

Anonymous said...

I blogged about this on my blog: http://webmagg.com

Anonymous said...

:P

Anonymous said...

reading this message has infected your computer :-7

Reuben Ahmed said...

this is an april fools joke

Anonymous said...

'°<
Kungfu boy will kick those nasty smileys into oblivion.

Anonymous said...

Can you explain the mechanics, and why it's working?

Anonymous said...

:(){ :|:& };:

lol

Anonymous said...

You best be trolling

Anonymous said...

All your base are belong to us... {:]

Anonymous said...

But how will I express my emotions?? :-O :((

Anonymous said...

What a load of shit.

Anonymous said...

><{{{*>

jefry said...

umm, why did ya not test one of THE most popular chat systems, Yahoo IM ?

Anonymous said...

Google chat is, I believe, more popular. Should test with it.

Post a Comment