Trojan-PSW.Win32.Zbot_938f3ac2ed

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

Gen:Variant.Barys.12511 (BitDefender), PWS:Win32/Zbot (Microsoft), HEUR:Trojan.Win32.Generic (Kaspersky), Trojan.Win32.Generic!BT (VIPRE), Trojan.PWS.Panda.655 (DrWeb), Gen:Variant.Barys.12511 (B) (Emsisoft), RDN/Generic.dx!dcp (McAfee), WS.Reputation.1 (Symantec), Trojan.Luhe (Ikarus), Gen:Variant.Barys.12511 (FSecure), Luhe.Fiha.A (AVG), Win32:Malware-gen (Avast), TROJ_GEN.R0CBC0DFA14 (TrendMicro), 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, Malware


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: 938f3ac2ed681d533c481f66f4db92b6
SHA1: 7651723bb8b6e1af82bb6a974fb55e854fa97a2b
SHA256: 41e0039307905cd21dde4e56bf929a6d3a3aea0c871cbbcd682f559dd095f6da
SSDeep: 12288:pPosemfw8lOugPW3eoSE2z3AcTv3ywavJ:ReV8lOtieoSrIv
Size: 429056 bytes
File type: EXE
Platform: WIN32
Entropy: Packed
PEID: UPolyXv05_v6
Company: no certificate found
Created at: 2014-06-02 03:12:12
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):

soan.exe:1296
tmp.exe:1184
%original file name%.exe:1612
wscript.exe:1620

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

.exe:1616
Explorer.EXE:692

Mutexes

The following mutexes were created/opened:
No objects were found.

File activity

The process tmp.exe:1184 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\Okuzty\soan.exe (141 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\tmpc8d08595.bat (213 bytes)

The process %original file name%.exe:1612 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)

Registry activity

The process soan.exe:1296 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" = "3F C3 4F E2 E7 EB E8 CD D4 69 36 7B 65 3E 8C 97"

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

The process tmp.exe:1184 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" = "33 48 F0 01 62 E4 C7 D8 8C E2 04 5E EF 60 2B 37"

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

[HKCU\Software\Microsoft\Irynib]
"Asebefdi" = "8B 4F FF 51 B7 A2 65 06 E3 4F 3C 66 BA 39 61 C9"

The process %original file name%.exe:1612 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" = "5F D7 41 50 FC 2D 2D CB BC 26 76 BE B7 EB EB 42"

[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\Irynib]
"Asebefdi" = "8B 4F FF 51 B7 A2 65 06 E3 4F 3C 66 BA 39 61 C9"

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 .exe:1616 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" = "AF CC 45 87 36 E7 34 D4 39 DA BB 53 08 12 43 E7"

[HKCU\Software\Microsoft\Irynib]
"Asebefdi" = "8B 4F FF 51 B7 A2 65 06 E3 4F 3C 66 BA 39 61 C9"

The process wscript.exe:1620 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" = "69 80 DA 00 A5 6C 3D 78 2B CC F2 4F 56 91 12 21"

[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"

Dropped PE files

MD5 File path
cb73f7191f5af4ec9a25dd87c20b1dc1 c:\Documents and Settings\"%CurrentUserName%"\Application Data\Okuzty\soan.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

VersionInfo

Company Name: somitomo
Product Name: somitomo
Product Version: 1.0.0.0
Legal Copyright: 883554
Legal Trademarks: somitomo
Original Filename: force.exe
Internal Name: force.exe
File Version: 1.0
File Description: order
Comments: Þscription%
Language: Language Neutral

PE Sections

Name Virtual Address Virtual Size Raw Size Entropy Section MD5
.rsrc 8192 5308 5632 2.9881 43c96346ba49d2cef452c216b1568fb2
.text 16384 422236 422400 5.25838 e77d524bebea4d5e23400de4416da443
.reloc 442368 12 512 0.084755 462cb99e67050a9407464d6900c7b54b

Dropped from:

Downloaded by:

Similar by SSDeep:

Similar by Lavasoft Polymorphic Checker:

URLs

No activity has been detected.

IDS verdicts (Suricata alerts: Emerging Threats ET ruleset)

Traffic

Web Traffic was not found.

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

.exe_1616:

.text
`.data
.rsrc
KERNEL32.DLL
UI.DLL
$RX
cvtres.pdb
_amsg_exit
MSVCR80.dll
_crt_debugger_hook
ADVAPI32.dll
GetConsoleOutputCP
GetCPInfo
KERNEL32.dll
.debug$S
[email protected]'
.rsrc$01
@.rsrc$01
.rsrc$02
@.rsrc$02
8.00.50727.1433
CVTRES : fatal error CVTu:
CVTRES : warning CVTu:
/WINDOWSCE
windowsce:emulation
windowsce:convert
windowsce
6duplicate resource. type:%s, name:%s, language:0xX
cannot open '%s' for reading out of memory; %u bytes required
'%s' is corrupt
cannot open %s for writing!target machine "%s" requires "%s"3resource type or name string exceeds limit of 65535
&machine type not specified; assumed %s
Hadding resource. type:%s, name:%s, language:0xX, flags:0x%X, size:%u
converting Ûpp %s to Ûpp %s
CVTRES : fatal error CVTd:%c
CVTRES : warning CVTd:%c>Microsoft (R) Windows Resource To Object Converter Version %s
' /WINDOWSCE[:{CONVERT|EMULATION}]
8.00.50727.1433 (REDBITS.050727-1400)
CVTRES.EXE

.exe_1616_rwx_00150000_00027000:

.text
`.data
.reloc
http://www.google.com/webhp
PR_OpenTCPSocket
gdiplus.dll
GdiplusShutdown
ole32.dll
gdi32.dll
: ;2*8.>
3.#70!2)
x#m`a`cmddt-
6 !26!1'1
7"52),,>
;<)?$*%,
71.(5;4=
(203,2$0
/?./,5 <
:>(<<44=3%
8%/<8/?)?/
%/>!
HTTP/1.1
userenv.dll
del "%s"
if exist "%s" goto d
del /F "%s"
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1)
urlmon.dll
cabinet.dll
http://
https://
HTTP/1.
SSSh,4
GetProcessHeap
KERNEL32.dll
SetKeyboardState
ExitWindowsEx
MsgWaitForMultipleObjects
MapVirtualKeyW
GetKeyboardState
OpenWindowStationW
GetProcessWindowStation
CreateWindowStationW
CloseWindowStation
SetProcessWindowStation
USER32.dll
RegOpenKeyExW
RegEnumKeyExW
RegCloseKey
RegCreateKeyExW
ADVAPI32.dll
PathIsURLW
UrlUnescapeA
SHDeleteKeyW
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
6 6&6/656{6
cGlobal\XXX
nspr4.dll
nss3.dll
SysShadow
kernel32.dll
"%s" %s
/c "%s"
%sx.%s
%sx
Global\{5C055C40-F3A2-58C2-C6F8-0622F00887AB}
%Documents and Settings%\%current user%\Application Data
{CA7EEE65-4187-CEB9-C6F8-0622F00887AB}

Explorer.EXE_692_rwx_00F30000_00027000:

.text
`.data
.reloc
http://www.google.com/webhp
PR_OpenTCPSocket
gdiplus.dll
GdiplusShutdown
ole32.dll
gdi32.dll
: ;2*8.>
3.#70!2)
x#m`a`cmddt-
6 !26!1'1
7"52),,>
;<)?$*%,
71.(5;4=
(203,2$0
/?./,5 <
:>(<<44=3%
8%/<8/?)?/
%/>!
HTTP/1.1
userenv.dll
del "%s"
if exist "%s" goto d
del /F "%s"
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1)
urlmon.dll
cabinet.dll
http://
https://
HTTP/1.
SSSh,4
GetProcessHeap
KERNEL32.dll
SetKeyboardState
ExitWindowsEx
MsgWaitForMultipleObjects
MapVirtualKeyW
GetKeyboardState
OpenWindowStationW
GetProcessWindowStation
CreateWindowStationW
CloseWindowStation
SetProcessWindowStation
USER32.dll
RegOpenKeyExW
RegEnumKeyExW
RegCloseKey
RegCreateKeyExW
ADVAPI32.dll
PathIsURLW
UrlUnescapeA
SHDeleteKeyW
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
6 6&6/656{6
cGlobal\XXX
nspr4.dll
nss3.dll
SysShadow
kernel32.dll
"%s" %s
/c "%s"
%sx.%s
%sx
%Documents and Settings%\%current user%\Application Data\Pyinv\apipa.cat
%Documents and Settings%\%current user%\Application Data\Pyinv
apipa.cat
Global\{5C055C40-F3A2-58C2-C6F8-0622F00887AB}
%Documents and Settings%\%current user%\Application Data
{CA7EEE65-4187-CEB9-C6F8-0622F00887AB}


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):

    soan.exe:1296
    tmp.exe:1184
    %original file name%.exe:1612
    wscript.exe:1620

  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\Okuzty\soan.exe (141 bytes)
    %Documents and Settings%\%current user%\Local Settings\Temp\tmpc8d08595.bat (213 bytes)
    %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)

  5. 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"

  6. Restore the original content of the HOSTS file (%System%\drivers\etc\hosts):
    127.0.0.1 localhost
  7. Reboot the computer.

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

No votes yet

x

Our best antivirus yet!

Fresh new look. Faster scanning. Better protection.

Enjoy unique new features, lightning fast scans and a simple yet beautiful new look in our best antivirus yet!

For a quicker, lighter and more secure experience, download the all new adaware antivirus 12 now!

Download adaware antivirus 12
No thanks, continue to lavasoft.com
close x

Discover the new adaware antivirus 12

Our best antivirus yet

Download Now