Home→Descriptions→Trojan-GameThief.Win32.Magania.dbtv
| Detected | Apr 14 2010 20:40 GMT |
| Released | Apr 16 2010 06:09 GMT |
| Published | Oct 25 2010 13:34 GMT |
This Trojan belongs to the family of Trojans that steals passwords from online gaming user accounts. It is a Windows application (PE EXE file). The file is 126 464 bytes in size. It is packed using ASPack. The unpacked file is approximately 516 KB in size. It is written in C++.
Once launched, the Trojan copies its original body to the current user's temporary files directory under the following name:
%Temp%\herss.exeIt assigns "Hidden", "Read Only", and "System" attributes to this file. In order to ensure that the Trojan is launched automatically each time the system is restarted, the Trojan registers its executable file in the system registry autorun key:
[HKCU\Software\Microsoft\Windows\CurrentVersion\Run] "cdoosoft"="%Temp%\herss.exe"
Once launched, the Trojan increases its privileges to gain access to other processes. Subject to the presence of a launched "AVP.exe" process, the Trojan extracts a malicious driver from its body, under various names. If "AVP.exe" is not found, it saves the driver under the name:
%System%\drivers\klif.sysThe file is 3840 bytes in size. It is detected by Kaspersky Anti-Virus as Trojan.Win32.Zapchast.ccf.
If the "AVP.exe" antivirus process is detected, the Trojan rewrites the system driver for Microsoft CD-ROM audio filter:
%System%\drivers\cdaudio.sysIt creates the service called "KAVsys" and uses it to launch the malicious driver. After launching the driver, the Trojan deletes the following registry key:
[HKLM\System\CurrentControlSet\Services\KAVsys]and also deletes the file itself:
%System%\drivers\klif.sysor:
%System%\drivers\cdaudio.sysIt searches for a process with the name "livesrv.exe" (BitDefender Security Update Service). After detecting a launched "livesrv.exe" process, the Trojan finds the location of the executable file and moves from this directory to the root directory of the logical C drive all executable files ("exe") and library files ("dll") with their original names, adding the new "vcd" extension, for example:
C:\livesrv.exe.vcdIt finds and opens Explorer:
%WinDir%\explorer.exeIf the original Trojan file is not located in the local drive's root directory, the malware ceases running. In other cases the Trojan uses Explorer to open the root directory of the local disk where its executable file is located. In order to ensure that its process is unique in the system, the Trojan creates unique identifiers called "Game_start", "DALXBHDFGERTONGOJK_POP", "MN_XADLEBCBAXCSDFGEWQCDDD0", and "KJLDSOIUBGDSEROPOFGSFSIKDQ_MN". The Trojan then extracts a malicious library from its body and saves it under the following name:
%Temp%\cvasds<rnd>.dllwhere rnd is a decimal number.
The file is 86 016 bytes in size. It is detected by Kaspersky Anti-Virus as Trojan-GameThief.Win32.Magania.dbtv.
It assigns "Hidden", "Read Only", and "System" attributes to this file. In a separate stream, 72 000 times per cycle the Trojan searches for Kaspersky Anti-Virus windows with the class names "AVP.AlertDialog" and "AVP.Product_Notification". The Trojan closes the window with the class name "AVP.AlertDialog" by simulating a mouse click on the dialog window. It closes the window with the class name "AVP.Product_Notification" by sending a close message to this window. It searches for the process:
RavMon.exeWhen this process is found in all streams, it searches for windows with the class name "#32770" and attempts to close them. It injects its malicious code into the address space of the process "explorer.exe". This launches for execution the malicious library "cvasds<rnd>.dll". The Trojan's library is injected into all launched applications. The Trojan uses this library to perform the following actions:
[HKLM\System\CurrentControlSet\Control\Nls\Language]
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden"=dword:00000002 [HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "ShowSuperHidden"=dword:00000000 [HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL] "CheckedValue"=dword:00000000
[HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:00000091
[HKCR\CLSID\MADOWN] "urlinfo"="dswdfre.q" [HKLM\Software\Classes\CLSID\MADOWN] "urlinfo"="dswdfre.q"
[HKLM\Software\ESET\ESET Security\CurrentVersion\Plugins\01000200\Profiles\@My profile\UrlSets\Node_00000000] "Masks"="*www*|www.16***.com*"
http://www.16***u.com/1mg/am.rar http://www.go***ccf.com/1mg/am1.rarThe files are saved in the current user's temporary files directory under the following names, respectively:
%Temp%\am.exe %Temp%\am1.exeThe file is 159 232 bytes in size.It is detected by Kaspersky Anti-Virus as Trojan-GameThief.Win32.Magania.dtyy.
The Trojan then opens the file, decrypts the header of the executable file, and launches it for execution. The malware extracts the executable file into the current user's temporary files directory under the name:
%Temp%\apiqq.exeThen, in order to ensure that it is launched automatically each time the system is rebooted, it adds a link to the executable file in the system registry autorun key:
[HKCU\Software\Microsoft\Windows\CurrentVersion\Run] "api32" = "%Temp%\apiqq.exe"It extracts a malicious library from its body, and saves it under one of the following names:
%Temp%\apiqq0.dll %Temp%\apiqq1.dllThis file is 98 304 bytes in size.It is detected by Kaspersky Anti-Virus as Trojan-GameThief.Win32.Magania.dtyy.
ALYac Avast AVG Antivir Guard McAfee Norton Security Suite NOD32 Symantec Spyware Doctor Internet Security Trend Micro Internet Security Virus Chaser
World of Warcraft SilkRoad Online Knight Online CABAL Online Metin2 MapleStory Dofus Guild Wars Aion Dungeon Fighter Online MU Online Seal Online EVE Online
http://go***6s.com/y2y3/mfg/lin.asp http://go***6s.com/y2y3/mwo/lin.asp http://go***6s.com/y2y3/mqs/lin.asp http://go***6s.com/y2y3/msl/lin.asp http://go***6s.com/y2y3/ohs/lin.asp http://go***6s.com/y2y3/myt/lin.asp http://go***6s.com/y2y3/xfg/lin.asp http://go***6s.com/y2y3/tjt/lin.asp http://go***6s.com/y2y3/odo/lin.asp http://go***6s.com/y2y3/ofg/lin.asp http://go***6s.com/y2y3/dyt/lin.asp http://go***6s.com/y2y3/mjz/lin.asp http://go***6s.com/y2y3/yhz/lin.asp http://go***6s.com/y2y3/mnf/lin.asp http://go***6s.com/y2y3/mmu/lin.asp http://go***6s.com/y2y3/txw/lin.asp http://go***6s.com/y2y3/mev/lin.asp
For its subsequent propagation the Trojan copies the following file:
%Temp%\herss.exeinto the root directories of all local drives, network drives, and removable drives, under the name:
X:\wyskq6lt.exewhere X is the letter of the disk partition. The Trojan creates the below file to autorun the executable file:
X:\autorun.infIt writes the following strings to this file:
[AutoRun] open=wyskq6lt.exe shell\open\Command=wyskq6lt.exeThe Trojan assigns "Hidden", "Read Only", and "System" attributes to the created files.
If your computer does not have antivirus protection and has been infected by this malicious program, follow the instructions below to delete it:
[HKCU\Software\Microsoft\Windows\CurrentVersion\Run] "api32" = "%Temp%\apiqq.exe" "cdoosoft"="%Temp%\herss.exe"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden"=dword:00000002 [HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "ShowSuperHidden"=dword:00000000 [HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL] "CheckedValue"=dword:00000000 [HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:00000091 [HKLM\Software\ESET\ESET Security\CurrentVersion\Plugins\01000200\Profiles\@My profile\UrlSets\Node_00000000] "Masks"="*www*|www.163*.com*"To
[ HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden"=dword:00000001 [HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "ShowSuperHidden"=dword:00000001 [HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL] "CheckedValue"=dword:00000001 [HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:00000255 [HKLM\Software\ESET\ESET Security\CurrentVersion\Plugins\01000200\Profiles\@My profile\UrlSets\Node_00000000] "Masks"=""
[HKCR\CLSID\MADOWN] [HKLM\Software\Classes\CLSID\MADOWN]
%Temp%\herss.exe %Temp%\apiqq.exe %Temp%\apiqq0.dll %Temp%\apiqq1.dll %Temp%\am.exe %Temp%\am1.exe X:\wyskq6lt.exe X:\autorun.inf %Temp%\cvasds<rnd>.dllwhere rnd is a decimal number.
[MD5: b06f47faeba87fe46cde3dfcfc7e3fa7]
[SHA1: 0ef51ea12b22cb78ce0d037baafddfa830d17606]
This type of malicious program is designed to steal user account information for online games. The data is then transmitted to the malicious user controlling the Trojan. Email, FTP, the web (including data in a request), or other methods may be used to transit the stolen data.
Trojan-GameThief.