Need help? Ask the community or hire an expert.
Go to Avira Answers
Virus:TR/PSW.Magania.bgnw
Date discovered:16/06/2009
Type:Trojan
In the wild:Yes
Reported Infections:Low to medium
Distribution Potential:Low to medium
Damage Potential:Low to medium
Static file:Yes
File size:104.425 Bytes
MD5 checksum:8b04623457c9d0651f8153e95c2e756f
IVDF version:7.01.04.99 - Tuesday, June 16, 2009

 General Method of propagation:
    Autorun feature


Aliases:
   •  Mcafee: Generic PWS.ak trojan
   •  Sophos: Mal/Generic-A
   •  Bitdefender: Trojan.PWS.OnLineGames.KCNA
   •  Panda: W32/Lineage.KZK
   •  Eset: Win32/PSW.OnLineGames.NNU


Platforms / OS:
   • Windows 2000
   • Windows XP
   • Windows 2003


Side effects:
   • Lowers security settings
   • Downloads a malicious file
   • Drops malicious files
   • Registry modification

 Files It copies itself to the following locations:
   • %SYSDIR%\olhrwef.exe
   • %drive%\xdglur.bat



It deletes the initially executed copy of itself.



It deletes the following file:
   • %SYSDIR%\drivers\cdaudio.sys



The following files are created:

%drive%\autorun.inf This is a non malicious text file with the following content:
   • %code that runs malware%

%SYSDIR%\nmdfgds0.dll Further investigation pointed out that this file is malware, too. Detected as: TR/PSW.Magan.bgnw.1




It tries to download a file:

The location is the following:
   • http://dsfert.net/mg/**********




It tries to execute the following file:

Filename:
   • "%PROGRAM FILES%\Internet Explorer\IEXPLORE.EXE"

 Registry The following registry key is added in order to run the process after reboot:

[HKCU\Software\Microsoft\Windows\CurrentVersion\Run]
   • "cdoosoft"="%SYSDIR%\olhrwef.exe"



The following registry keys are changed:

[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
   New value:
   • "Hidden"=dword:0x00000002
   • "ShowSuperHidden"=dword:0x00000000

[HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
   New value:
   • "NoDriveTypeAutoRun"=dword:0x00000091

[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\
   Folder\Hidden\SHOWALL]
   New value:
   • "CheckedValue"=dword:0x00000000

 Injection –  It injects the following file into a process: %SYSDIR%\nmdfgds0.dll

    Process name:
   • explorer.exe



It injects itself as a remote thread into a process.

    Process name:
   • iexplore.exe


 File details Runtime packer:
In order to aggravate detection and reduce size of the file it is packed with a runtime packer.

Description inserted by Petre Galan on Wednesday, October 13, 2010
Description updated by Petre Galan on Wednesday, October 13, 2010

Back . . . .