Security Online games and fraud. Battle Trojan complex
The number of online games is constantly growing and the amount of money of this market is growing too. It provokes criminals to improve the malicious software which is used to steal player's personal data. In this article Trojan family of Trojan-GameThief.Win32.OnLineGames will be explored. Thousands modifications of this family appear every day.
Figure 1. Detection statistics of Trojan-GameThief.Win32.OnLineGames: 2008.12.01 - 2009.08.23
Figure 2. Age groups online – players
Figure 3. Percentage of time spent on online-games a week
Figure 7. Comparison of MD5 hashes of the original and modified file userinit.exe
Figure 8. List of terminated processes
Figure 9. Command line for the completion of service and process.
In such away the Trojan hampers the work of antivirus program.
Trojan complex contains file "~Frm.exe", which is extracted in the current user's Windows temporary directory. This file provides an automatic launching for the original body Trojan-GameThief.Win32.OnLineGames.bkzf, creating the following key startup: [HKLM\Software\Microsoft\Windows\CurrentVersion\Run] "updater" = "%System%\updater.exe" File "~Frm.exe" extracts DLL from its body and places it in the current user’s Windows temporary directory as "tmp.tmp". The system process "%System%\svchost.exe" will then be launched for execution and code from DLL will be injected in address space. (Figure 10).
Figure 10. The injection of malicious code in the address space of the process svchost.exe
This code launches the flow (Figure 11), which downloads a file from the URL shown below:
http://hh *** e.cn:108/u1.txt.
Figure 11. Definition of malicious flow in the process svchost.exe
The file downloaded by the malicious thread is then saved in the current user’s Windows temporary directory as "tmp.tmp". This file has a list of URL for later download files. The downloaded files are stored in a temporary directory under random names, and then will be launched for execution. Files from the URL are detected as Trojans that steal user passwords to accounts of online-games. Among the basic families can be emphasized Trojan-GameThief.Win32.Magania, Trojan-GameThief.Win32.WOW. Disassembler's listing of the malicious thread is shown in Figure 12.
Figure 12. Disassembling of the malicious thread
Trojan extracts a rootkit "pcidump.sys" from its body. The Trojan uses the services "pcidump" to launch the rootkit in the system:
Figure 13. The display of service in the Registry Editor
This rootkit is designed to hide activity of the Trojan complex and to receive low-level access to the target system. Rootkit sets hook "NtQuerySystemInformation" in KeServiceDescriptorTable:
Figure 14. Replacing of handler NtQuerySystemInformation
Conclusions
The growth of the online – games and gaming industry has given birth to the malicious programs.
Today the stealing of virtual valuables and game characters are profitable business. There is an established market of game valuables. It's growth according to the economics laws (Figure 15).
Figure 15. Sale of accounts to the game Eve Online (http://accountgear.com/buy/Eve-Online)
A google.com / trends search for "hack account", "sell account", "buy account" returned the following diagram:
Figure 16. Google trends
In consideration of a large part of offers "to crack", "to buy" or "to sell" an account belong to online-games, could suppose demand outdistances supply at the market of gaming valuables. This market is constantly growing because of increasing number of people who want to buy a game characters or virtual riches. It means that the interest of malware writers to online games in the near future will not go down. It is possible to suppose that the criminals will actively use the advanced rootkit-technology for the further development Trojan family of Trojan-GameThief.Win32.OnLineGames.