The goal of this post is to identify and analyze mobile malware file: mmc.jar. Thereby please follow the following steps for completing the task:
- Unpack the file (hint – using zip on .jar)
- Examine .class files using tool available here (local copies for Mac and Linux and Win
- Find code sending SMSes using ‘sms://’ URI
- Calculate short number used in SM.send
- Finally for compiling the code use the developing tool Eclipse IDE.
Firstly, we are going to analysis the Java source code after decompilation. The accent is to find the code that is sending an SMSes using the ‘sms://’ URL. After identifying the linking associated classes we have to compile the code to move toward to final results of URLs. For this purpose we are using the developing tool Eclipse IDE.
Therefore, the results and the sent SMSes URLs are going to be presented into conclusion section. Which will complete the task and will yield the basic analysis of mobile malware file.
After running the decompiler tool we are examining and analyzing the Java source code. Whereby on the source code on the class M.class line 343 we have found the following source code:
The above code is associated with the class SM.class. With the following source code:
The above code is checking if the message and the destination is correct
and if the message is sent. Coloration is more like the first public static method named send with the two string values of s and s1.
All the above extraction was finished by JD-Gui version 0.3.3 and JD-Core version 0.6.0 and using the menu bar for search, with the criteria that will meet our needs.
The bellow are executable results presented, done by eclipse after compiling the code:
From the above presented results after compiling the code we have identify the number of SMSes URLs and in addition the exact URLs.
We live in a world where nowadays for everyday work, communication, etc. the most essentially tool is our mobile phones, smart phones, etc. We used them for communication, sending SMS, playing games, checking e-mails, social networking, bank transaction, etc. That is why today there are hundreds and rising everyday mobile malware files. We need to make sure what we are installing in our devices, what kind of games, applications, etc. Therefore, this post will help for a people who are interested to learn basic of how to analysis and identify malware files for mobile phones. However, this is only a basic, and a good guide to give you an idea of what kind of tools, applications you should have. This task is done only for a Java source code mobile malware game.
Furthermore, from the above section we have identify the number of SMSes that are sent and to what numbers. The total number of SMSes is 4 and sent to the following URLs:
Finally, mobile malware is rising and it is about to explode, therefore users need education. By delivering basic and advance mobile malware security awareness program we will have less malware attacks and better security policy into everyday mobile, smart phones usage.
 Chris Martin, Mobile malware is about to explode, users need education, 20 Jan. 2012, http://www.theinquirer.net/inquirer/opinion/2140338/mobile-malware-explode-users-education