Posted on Monday, November 9th, 2009 | Bookmark on del.icio.us

Malicious Google AppEngine Used as a CnC

by Jose Nazario

Over the weekend our zoo found a malware sample that revealed a malicious Google AppEngine application. The app in question is being used to feed URLs to the zombies for them to download. We got the malware via sample sharing, and its original location and infection information is absent. The malware details are below:

MD5: 2143a7b9a9de6ea26987ed8ece29d2c6
SHA1: 30f6befc76e4e269e5aa9c01c735d55d7ca4099a
File type: application/x-ms-dos-executable
File size: 65024 bytes

It’s a simple HTTP engine and downloader, packed with UPX. The C&C is visible in the unpacked sample:

http://xiaoiboxip.appspot.com/[OMITTED]?hostname=

&&systemcpoy=
&&userName=

Where [Omitted] refers to a four letter explicative (this is a family friendly blog, folks!).

This was bound to happen, after all, in an open environment like this where people’s abilities are limited by their intentions. The C&C appears to manage infections on the basis of the computer hostname sent in the request; a unique hostname yields the malcode URL to update:

<br>http://XX.XX.76.85/aa.exe</br>

In this case aa.exe is a PCClient backdoor to the infected PCs. When you come back, at this time you just get the word “cmd”. It’s unclear to be what additional commands the C&C can issue to clients.

A quick analysis of the original malware doesn’t reveal any additional functionality, just the downloader bits. (See below) Google’s been contacted for the AppEngine to be taken down, and the site hosting the second stage malware has been contacted for takedown, as well.

UPDATE Google has confirmed the malicious AppEngine is now down.

UPDATE 2 Actually, looking at the sample reveals that it talks to a host in China using what at first blush appears to be a Grey Pigeon protocol.

UPDATE 3 Found another URL the app used, but i’m not sure what it was used for:

http://xiaoiboxip.appspot.com/getip?speed=100


The google cache of the results suggest it reads something like “Today visited 42 times this month, visited 587 times.” It’s unclear if that’s the size of the botnet or what.

Share

16 Responses | Add your own



Comment Post by: xiaoibox — November 10th, 2009 @ 12:51 pm EST  Reply

I m so sorry !
This app is writed by me !
I just writed it for test my delphi code.
http://xiaoiboxip.appspot.com/getip?speed=100,this web page just for count my web vist, not for the backdoor count. Now my google app engine is disabled by google. I m so disappointed!
Can u contact google for takeing up my the AppEngine?
I m so glad that someone can attention my app! Thank u !

Comment Post by: xiaoibox — November 10th, 2009 @ 12:58 pm EST  Reply

Additional, many anti-virus software vendors have analysis my app.
Do you think such a rubbish app worthed so many security engineer attentioning?

Comment Post by: Bot herders turn to the cloud for command-and-control | Supossably — November 10th, 2009 @ 4:16 pm EST  Reply

[...] Monday, the security blog at Arbor Networks reported finding a bit of malware that checked in with a remote account to download some URLs. On its own, [...]

Comment Post by: Bot herders turn to the cloud for command-and-control - Ars Technica — November 10th, 2009 @ 4:23 pm EST  Reply

[...] Monday, the security blog at Arbor Networks reported finding a bit of malware that checked in with a remote account to download some URLs. On its own, [...]

Comment Post by: Open Systems Journal » Blog Archive » Bot herders turn to the cloud for command-and-control — November 10th, 2009 @ 5:19 pm EST  Reply

[...] Monday, the security blog at Arbor Networks reported finding a bit of malware that checked in with a remote account to download some URLs. On its own, [...]

Comment Post by: Bot herders turn to the cloud for command-and-control « Digital Asylum — November 10th, 2009 @ 8:00 pm EST  Reply

[...] Monday, the security blog at Arbor Networks reported finding a bit of malware that checked in with a remote account to download some URLs. On its own, [...]

Comment Post by: Bot herders turn to the cloud for command-and-control | Newsblog — November 11th, 2009 @ 11:00 am EST  Reply

[...] Monday, the security blog at Arbor Networks reported finding a bit of malware that checked in with a remote account to download some URLs. On its own, [...]

Comment Post by: Jose Nazario — November 11th, 2009 @ 1:47 pm EST  Reply

you’ll have to contact google on your own.

Comment Post by: CyberHades » Blog Archive » Command and Control in the Cloud — November 12th, 2009 @ 5:59 am EST  Reply

[...] aquí. En Virustotal podéis encontrar más información sobre este malware concretamente. Comparte [...]

Comment Post by: Google AppEngine om botnet aan te sturen | ISPam.nl — November 13th, 2009 @ 3:03 am EST  Reply

[...] AppEngine. Door deze te gebruiken als Command & Control-server om een botnet aan te sturen, zo heeft Arbor Networks ontdekt. Google heeft de bewuste malafide AppEngine applicatie ondertussen offline [...]

Comment Post by: Applicazioni Google aggridite dal malware | Sicurezza&Privacy.Trovare.Info — November 13th, 2009 @ 5:07 am EST  Reply

[...] a quanto rilevato da Arbor Networks, la piattaforma App Engine di Google sarebbe stata sfruttata da alcuni [...]

Comment Post by: ControlAltTV » Blog Archive » Bot herders turn to the cloud for command-and-control — November 14th, 2009 @ 7:22 am EST  Reply

[...] Monday, the security blog at Arbor Networks reported finding a bit of malware that checked in with a remote account to download some URLs. On its own, [...]

Comment Post by: Copestore — April 8th, 2010 @ 8:15 am EST  Reply

Google and privacy is becoming more and more of a concern, is it possible that there is some covert activists now that have some ‘behind doors’ licence to do their work?

Comment Post by: Remote File Inclusion in Google Cloud – nurhayati satu | Eric Romang Blog — July 6th, 2010 @ 4:56 pm EST  Reply

[...] due to distribution of spam and malware. In April 2009 Arbor Networks reported that a malicious Google AppEngine was used as botnet CnC. In April 2010, VoIP Tech Chat has reported some Amazon EC2 SIP brute force attacks, until abuse [...]

Comment Post by: The cloud continues to struggle with malware distribution problems « d0ey[d0t]in — August 3rd, 2011 @ 3:30 pm EST  Reply

[...] App Engine has been used for everything from spamming and hosting phishing forms, to acting as a command and control server for pushing instructions to zombified botnet PCs. Google Docs was also recently spotted serving up [...]

Comment Post by: The cloud continues to struggle with malware distribution problems | CD DISK — August 3rd, 2011 @ 8:36 pm EST  Reply

[...] App Engine has been used for everything from spamming and hosting phishing forms, to acting as a command and control server for pushing instructions to zombified botnet PCs. Google Docs was also recently spotted serving up [...]

Leave a Comment