Video Screencast Help
Security Response

Android Threat Set to Trigger On the End of Days, or the Day’s End

Created: 23 May 2011 23:28:07 GMT • Updated: 23 Jan 2014 18:20:58 GMT • Translations available: 日本語
Irfan Asrar's picture
+3 3 Votes
Login to vote

Symantec has discovered a Trojanized version of a legitimate application that is part threat, part doomsayer. The threat was embedded in a pirated version of an app called ‘Holy ***king Bible’, which itself has stirred controversy on multiple forums in which the app is in circulation.

Once the threat is installed, it waits for the device to reboot. After the reboot, it starts a service called 'theword'. At regular intervals, it attempts to contact a host service, passing along the device’s phone number and operator code. It then attempts to retrieve a command from a remote location. These same actions are carried out in a loop, in intervals of 33 minutes. In addition to having abilities to respond to commands through the Internet and SMS, the threat also has activities that are designed to trigger on the 21 and 22 of May 2011, respectively.

There are multiple suggestions in the threat that indicate that it was aimed at users in North America. One obvious element is that the threat was checking the US date format (MMDDYYYY) and will only trigger activation if the date is “05222011”, as opposed to “22052011” etc.

Another hint includes the cultural (borderline bizarre) reference in the threat, which is geared more towards an audience in the North American region. Additionally, it attempts to register users as members of a US-based political action committee called ColbertPAC. Lastly, and most evidently, is that the ‘End of the World’ occurring on May 21 is a phenomenon largely limited to North America.

And then on the 21 day of May 2011 AD….

As soon as the threat recognizes the date is May 21, 2011, it creates a database called “mydb.db”:

It then writes the string “endoftheworld” to the table ‘myTable'. (This is used as a trigger to tell the 'SMSsmack' class to automatically reply back to any SMS sent to the device with the message below.) Next, it randomly picks one of several pre-defined messages and proceeds to send the spam to the entire contact list:

Lastly, the wallpaper is changed to the following image:

When the threats detects that the date has rolled over to May 22, it changes the wallpaper again and spams the contact list with a new message:

Symantec has added detection for this threat, which is known as Android.Smspacem.

To avoid becoming a victim of such malicious Android applications, we recommend that you only use regulated Android marketplaces for downloading and installing Android applications. By default, an Android device does not allow the installation of applications from unknown sources (i.e. non-Market). This default configuration helps protect against rogue, pirated apps that may be malicious. The user must manually change this setting to allow the installation of unofficial (non-Market) applications, also known as side-loading. Checking user comments on the marketplace can also assist in determining if the application is safe. Lastly, always check the access permissions being requested during the installation of any Android applications. If they seem excessive for what the application is designed to do, it would be wise to stop installing the application.

A special thanks to Kaoru Hayashi for the in-depth analysis of this threat.