HEUR:Trojan.Win32.Generic (Kaspersky), Gen:Variant.Barys.12511 (B) (Emsisoft), Gen:Variant.Barys.12511 (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: dfe8ce0dedb3b73ded397d0f154a833c
SHA1: 2d470c9548480a4da5650a01da323dc59029863a
SHA256: 3c9f01e5f471547b34044a40ec1e7f6c66e370fbd36e53eec26d346d71bc33d1
SSDeep: 6144:PuPg6IT0ir8hj8TGW 2e13cFS7NRB68xZ7wKrZZTRfaza2eswi7XIu5:GP5QOj8T4zHNR5x5pbTRSJeswid
Size: 429056 bytes
File type: EXE
Platform: WIN32
Entropy: Packed
PEID: UPolyXv05_v6
Company: no certificate found
Created at: 2014-06-05 21:12:33
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):
wscript.exe:1072
meuh.exe:640
%original file name%.exe:2024
tmp.exe:1092
.exe:1552
The Trojan-PSW injects its code into the following process(es):
Explorer.EXE:128
Mutexes
The following mutexes were created/opened:No objects were found.
File activity
The process %original file name%.exe:2024 makes changes in the file system.
The Trojan-PSW creates and/or writes to the following file(s):
%Documents and Settings%\%current user%\Local Settings\Temp\mata2.bat (49 bytes)
%System%\drivers\etc\hosts (216 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\mata.bat (47 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\ .exe (35 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\rundll32-.txt (2321 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\invs.vbs (78 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\tmp.exe (141 bytes)
The Trojan-PSW deletes the following file(s):
%Documents and Settings%\%current user%\Local Settings\Temp\mata2.bat (0 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\mata.bat (0 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\rundll32-.txt (0 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\invs.vbs (0 bytes)
The process tmp.exe:1092 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\Pata\meuh.exe (141 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\tmpc256b333.bat (213 bytes)
Registry activity
The process wscript.exe:1072 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" = "91 68 4E 68 D4 95 A7 C7 18 75 78 15 56 8A B4 BE"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{c155cd73-744b-11e2-8294-806d6172696f}]
"BaseClass" = "Drive"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cookies" = "%Documents and Settings%\%current user%\Cookies"
[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Common Documents" = "%Documents and Settings%\All Users\Documents"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Desktop" = "%Documents and Settings%\%current user%\Desktop"
[HKCU\Software\Microsoft\Windows\ShellNoRoam\MUICache\C:\DOCUME~1\"%CurrentUserName%"\LOCALS~1\Temp]
"mata2.bat" = "mata2"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{c155cd72-744b-11e2-8294-806d6172696f}]
"BaseClass" = "Drive"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{b98117e8-75ca-11e2-81b2-000c293708fb}]
"BaseClass" = "Drive"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cache" = "%Documents and Settings%\%current user%\Local Settings\Temporary Internet Files"
[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Common Desktop" = "%Documents and Settings%\All Users\Desktop"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{c155cd75-744b-11e2-8294-806d6172696f}]
"BaseClass" = "Drive"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Personal" = "%Documents and Settings%\%current user%\My Documents"
The Trojan-PSW modifies IE settings for security zones to map all urls to the Intranet Zone:
[HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap]
"IntranetName" = "1"
The Trojan-PSW modifies IE settings for security zones to map all local web-nodes with no dots which do not refer to any zone to the Intranet Zone:
"UNCAsIntranet" = "1"
The Trojan-PSW modifies IE settings for security zones to map all web-nodes that bypassing the proxy to the Intranet Zone:
"ProxyBypass" = "1"
The process meuh.exe:640 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" = "D3 4E F1 0D D6 D2 2F D8 45 DC E2 4A D8 7A 5C 98"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData" = "%Documents and Settings%\%current user%\Application Data"
The process %original file name%.exe:2024 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" = "CA 43 04 33 07 38 21 4F 9D 88 7C 60 D6 78 E2 C6"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{c155cd73-744b-11e2-8294-806d6172696f}]
"BaseClass" = "Drive"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cookies" = "%Documents and Settings%\%current user%\Cookies"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{c155cd72-744b-11e2-8294-806d6172696f}]
"BaseClass" = "Drive"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{b98117e8-75ca-11e2-81b2-000c293708fb}]
"BaseClass" = "Drive"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData" = "%Documents and Settings%\%current user%\Application Data"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{c155cd75-744b-11e2-8294-806d6172696f}]
"BaseClass" = "Drive"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cache" = "%Documents and Settings%\%current user%\Local Settings\Temporary Internet Files"
[HKCU\Software\Microsoft\Windows\ShellNoRoam\MUICache\%Documents and Settings%\%current user%\Local Settings\Temp]
"tmp.exe" = "tmp"
"mata.bat" = "mata"
[HKCU\Software\Microsoft\Cyizc]
"Ohsylenoy" = "8C 8E 90 08 DA 3D E0 0A F9 D7 CE 53 F4 2E 15 1B"
The Trojan-PSW adds the reference to itself to be executed when a user logs on:
[HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
"Shell" = "%Documents and Settings%\%current user%\Local Settings\Temp\file.exe"
The Trojan-PSW modifies IE settings for security zones to map all web-nodes that bypassing the proxy to the Intranet Zone:
[HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap]
"ProxyBypass" = "1"
The Trojan-PSW modifies IE settings for security zones to map all local web-nodes with no dots which do not refer to any zone to the Intranet Zone:
"UNCAsIntranet" = "1"
The Trojan-PSW modifies IE settings for security zones to map all urls to the Intranet Zone:
"IntranetName" = "1"
The process tmp.exe:1092 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" = "A2 C6 C4 B5 60 9F F3 43 71 6B 79 B7 55 3D DC 46"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData" = "%Documents and Settings%\%current user%\Application Data"
[HKCU\Software\Microsoft\Cyizc]
"Ohsylenoy" = "8C 8E 90 08 DA 3D E0 0A F9 D7 CE 53 F4 2E 15 1B"
The process .exe:1552 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" = "48 53 55 58 27 66 5C 48 C8 6B 90 C8 FB F2 ED F6"
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData" = "%Documents and Settings%\%current user%\Application Data"
Dropped PE files
MD5 | File path |
---|---|
c7f970cf548de741ec1683a2a6fa8598 | c:\Documents and Settings\"%CurrentUserName%"\Application Data\Pata\meuh.exe |
e0d21bee6dae44a7c6e1896d7a8c7463 | c:\Documents and Settings\"%CurrentUserName%"\Local Settings\Temp\ .exe |
HOSTS file anomalies
The Trojan-PSW modifies "%System%\drivers\etc\hosts" file which is used to translate DNS entries to IP addresses. The modified file is 216 bytes in size. The following strings are added to the hosts file listed below:
127.0.0.1 | www.website.com |
127.0.0.1 | www.website.com |
127.0.0.1 | www.website.com |
127.0.0.1 | www.website.com |
127.0.0.1 | www.website.com |
127.0.0.1 | www.website.com |
127.0.0.1 | www.website.com |
127.0.0.1 | www.website.com |
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):
wscript.exe:1072
meuh.exe:640
%original file name%.exe:2024
tmp.exe:1092
.exe:1552 - Delete the original Trojan-PSW file.
- Delete or disinfect the following files created/modified by the Trojan-PSW:
%Documents and Settings%\%current user%\Local Settings\Temp\mata2.bat (49 bytes)
%System%\drivers\etc\hosts (216 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\mata.bat (47 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\ .exe (35 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\rundll32-.txt (2321 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\invs.vbs (78 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\tmp.exe (141 bytes)
%Documents and Settings%\%current user%\Application Data\Pata\meuh.exe (141 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\tmpc256b333.bat (213 bytes) - Remove the references to the Trojan-PSW by modifying the following registry value(s) (How to Work with System Registry):
[HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
"Shell" = "%Documents and Settings%\%current user%\Local Settings\Temp\file.exe" - Restore the original content of the HOSTS file (%System%\drivers\etc\hosts): 127.0.0.1 localhost
- Reboot the computer.
Static Analysis
VersionInfo
Company Name: SOMITOMO
Product Name: SOMITOMO
Product Version: 1.0.0.0
Legal Copyright: 62556872
Legal Trademarks: SOMITOMO
Original Filename: force.exe
Internal Name: force.exe
File Version: 1.0
File Description: QUOTATION
Comments: Þscription%
Language: English (United States)
Company Name: SOMITOMOProduct Name: SOMITOMOProduct Version: 1.0.0.0Legal Copyright: 62556872Legal Trademarks: SOMITOMOOriginal Filename: force.exeInternal Name: force.exeFile Version: 1.0 File Description: QUOTATIONComments: Þscription%Language: English (United States)
PE Sections
Name | Virtual Address | Virtual Size | Raw Size | Entropy | Section MD5 |
---|---|---|---|---|---|
.rsrc | 8192 | 5320 | 5632 | 3.00417 | cdb661fb47a402e374ee6c61d0a90768 |
.text | 16384 | 422340 | 422400 | 5.259 | 3f376ca5691e4237140e77a2803a3743 |
.reloc | 442368 | 12 | 512 | 0.084755 | 55587a6f81a92dbd5710f274439a50c1 |
Dropped from:
Downloaded by:
Similar by SSDeep:
Similar by Lavasoft Polymorphic Checker:
Network Activity
URLs
IDS verdicts (Suricata alerts: Emerging Threats ET ruleset)
Traffic
Map
The Trojan-PSW connects to the servers at the folowing location(s):
Strings from Dumps
Explorer.EXE_128_rwx_00E70000_00027000:
.text
.text
`.data
`.data
.reloc
.reloc
http://www.google.com/webhp
http://www.google.com/webhp
PR_OpenTCPSocket
PR_OpenTCPSocket
gdiplus.dll
gdiplus.dll
GdiplusShutdown
GdiplusShutdown
ole32.dll
ole32.dll
gdi32.dll
gdi32.dll
: ;2*8.>
: ;2*8.>
3.#70!2)
3.#70!2)
x#m`a`cmddt-
x#m`a`cmddt-
6 !26!1'1
6 !26!1'1
7"52),,>
7"52),,>
;<)?$*%,
;<)?$*%,
71.(5;4=
71.(5;4=
(203,2$0
(203,2$0
/?./,5 <</pre><pre>:>(<<44=3%</pre><pre>8%/<8/?)?/</pre><pre>%/><!8?>!</!8?></pre><pre>HTTP/1.1</pre><pre>userenv.dll</pre><pre>del "%s"</pre><pre>if exist "%s" goto d</pre><pre>del /F "%s"</pre><pre>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1)</pre><pre>urlmon.dll</pre><pre>cabinet.dll</pre><pre>http://</pre><pre>https://</pre><pre>HTTP/1.</pre><pre>SSSh,4</pre><pre>GetProcessHeap</pre><pre>KERNEL32.dll</pre><pre>SetKeyboardState</pre><pre>ExitWindowsEx</pre><pre>MsgWaitForMultipleObjects</pre><pre>MapVirtualKeyW</pre><pre>GetKeyboardState</pre><pre>OpenWindowStationW</pre><pre>GetProcessWindowStation</pre><pre>CreateWindowStationW</pre><pre>CloseWindowStation</pre><pre>SetProcessWindowStation</pre><pre>USER32.dll</pre><pre>RegOpenKeyExW</pre><pre>RegEnumKeyExW</pre><pre>RegCloseKey</pre><pre>RegCreateKeyExW</pre><pre>ADVAPI32.dll</pre><pre>PathIsURLW</pre><pre>UrlUnescapeA</pre><pre>SHDeleteKeyW</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>6 6&6/656{6</pre><pre>cGlobal\XXX</pre><pre>nspr4.dll</pre><pre>nss3.dll</pre><pre>SysShadow</pre><pre>kernel32.dll</pre><pre>"%s" %s</pre><pre>/c "%s"</pre><pre>%sx.%s</pre><pre>%sx</pre><pre>%Documents and Settings%\%current user%\Application Data\Viuzhy\ikyw.syv</pre><pre>%Documents and Settings%\%current user%\Application Data\Viuzhy</pre><pre>ikyw.syv</pre><pre>Global\{F2C42F54-4C8C-B685-7B1B-E213C3831807}</pre><pre>%Documents and Settings%\%current user%\Application Data</pre><pre>{64BF9D71-FEA9-20FE-7B1B-E213C3831807}</pre>