Gen.Variant.Graftor.150077_9808c38a34

by malwarelabrobot on August 7th, 2014 in Malware Descriptions.

Trojan-Spy.Win32.Zbot.tsew (Kaspersky), Gen:Variant.Graftor.150077 (AdAware), Trojan-PSW.Win32.Zbot.6.FD, Sinowal.YR, GenericInjector.YR, BackdoorCaphaw_QKKBAL.YR, TrojanPSWZbot.YR (Lavasoft MAS)
Behaviour: Trojan-Spy, 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: 9808c38a345ad351ab79e95e9dca58fc
SHA1: ac002d3fed2cb9fe66cb91c5981f333b6e3aee26
SHA256: dfab1f09e0e618c2074dbc27cd990e02299129323e07c302e9e0903641395769
SSDeep: 6144:/KvyCVWEqRFfA4ZKdaNYRRjAWVFCP 0bVE0J:/KvEffA4wYgvVFCbuI
Size: 238288 bytes
File type: EXE
Platform: WIN32
Entropy: Packed
PEID: UPolyXv05_v6
Company: no certificate found
Created at: 2014-08-04 17:37:05
Analyzed on: WindowsXP SP3 32-bit


Summary:

Trojan-Spy. Spy program intended for stealing user's confidential data.

Payload

No specific payload has been found.

Process activity

The Trojan creates the following process(es):

epnug.exe:4076
epnug.exe:3988
%original file name%.exe:3692
%original file name%.exe:4032

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

Explorer.EXE:1948

Mutexes

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

File activity

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

%Documents and Settings%\%current user%\Application Data\Vesyy\epnug.exe (238 bytes)
%Documents and Settings%\%current user%\Local Settings\Temp\tmpc9aec436.bat (177 bytes)

Registry activity

The process epnug.exe:4076 makes changes in the system registry.
The Trojan creates and/or sets the following values in system registry:

[HKLM\SOFTWARE\Microsoft\Cryptography\RNG]
"Seed" = "AA 81 61 C8 7F C5 28 70 B0 6B DA 8E E6 2C D9 2B"

The process epnug.exe:3988 makes changes in the system registry.
The Trojan creates and/or sets the following values in system registry:

[HKLM\SOFTWARE\Microsoft\Cryptography\RNG]
"Seed" = "9E 6F 84 4C 14 87 04 EA 95 15 E6 55 AE 2C 6A EE"

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

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

[HKLM\SOFTWARE\Microsoft\Cryptography\RNG]
"Seed" = "77 74 0B D5 9A 70 5A 5F 7C FC 47 5D 46 F0 3E A6"

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

[HKLM\SOFTWARE\Microsoft\Cryptography\RNG]
"Seed" = "BD 18 23 4E C5 19 23 0C 2D 4D C6 86 D1 69 CA 6A"

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

Dropped PE files

MD5 File path
f753a9a8f7e25003d1a89084e52a3d2d c:\Documents and Settings\"%CurrentUserName%"\Application Data\Vesyy\epnug.exe

HOSTS file anomalies

No changes have been detected.

Rootkit activity

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

PlaySoundW

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

HttpEndRequestW
HttpEndRequestA
HttpSendRequestExW
HttpSendRequestExA
InternetSetFilePointer
InternetReadFileExA
HttpSendRequestA
HttpOpenRequestW
HttpSendRequestW
HttpOpenRequestA
InternetQueryDataAvailable
InternetCloseHandle
HttpQueryInfoA
InternetReadFile

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

PFXImportCertStore

The Trojan 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 installs the following user-mode hooks in ADVAPI32.dll:

CreateProcessAsUserA
CreateProcessAsUserW

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

WSASend
gethostbyname
send
closesocket
getaddrinfo

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

ExitProcess
GetFileAttributesExW

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

NtCreateThread

Propagation

VersionInfo

Company Name:
Product Name:
Product Version:
Legal Copyright:
Legal Trademarks:
Original Filename:
Internal Name:
File Version:
File Description:
Comments:
Language: Serbian (Latin, Serbia and Montenegro (Former))

PE Sections

Name Virtual Address Virtual Size Raw Size Entropy Section MD5
.text 4096 65629 66048 4.60924 28630549f1fe4de6b160873e91cef380
.rdata 73728 12740 12800 3.81207 00906163848f6b99e98120f40aeacc7b
.data 90112 175788 16896 4.83494 f35a48de2440be3c46944fa8ad0cf53a
.rsrc 266240 140160 140288 5.52445 2945e55105fd0bf5763cb428b3374a71

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 connects to the servers at the folowing location(s):

Explorer.EXE_1948_rwx_01100000_0003B000:

.text
`.data
.reloc
%s%s%s
HTTP/1.1
HTTP/1.0
hXXp://
hXXps://
HTTP/1.
gdiplus.dll
GdiplusShutdown
ole32.dll
gdi32.dll
hXXp://VVV.google.com/webhp
PR_OpenTCPSocket
cit_ffcookie.module
cit_video.module
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
hXXp://xxxxxxxx.com/xxxx/xxxx.php
%s, u %s %u u:u:u GMT
; charset=%s
HTTP/1.1 %u %s
Date: %s
Content-Length: %u
Expires: %s
Content-Type: %s%s
ID: %s
value_%s
value_%s_%s
%s = "%s";
update.exe
config.bin
facebook.com
Cookie: %s
Referer: %s
Accept: %s
Accept-Language: %s
Accept-Encoding: %s
='?8,6,&
&<'.6$2"
*;>",*' 04
%9%'62 1
0-'40'7!7
1$34/**8
!'8>#-" 
38.2-0&5
0:.vmk<][
$/9%:'1"
^#?07&'22
_getFirefoxCookie
CreatePipe
GetProcessHeap
KERNEL32.dll
OpenWindowStationW
GetProcessWindowStation
CreateWindowStationW
CloseWindowStation
SetProcessWindowStation
GetKeyboardLayoutList
ExitWindowsEx
GetKeyboardState
MsgWaitForMultipleObjects
SetKeyboardState
MapVirtualKeyW
USER32.dll
RegCreateKeyExW
RegOpenKeyExW
RegCloseKey
RegEnumKeyExW
RegCreateKeyW
RegQueryInfoKeyW
RegEnumKeyW
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
HttpOpenRequestA
HttpOpenRequestW
HttpEndRequestA
HttpSendRequestA
HttpEndRequestW
InternetCrackUrlA
HttpAddRequestHeadersW
HttpAddRequestHeadersA
GetUrlCacheEntryInfoW
WININET.dll
OLEAUT32.dll
NETAPI32.dll
VERSION.dll
WINMM.dll
PSSSSSSh
SSSh4
42>204:4
nspr4.dll
chrome.dll
kernel32.dll
\StringFileInfo\xx\%s
ntdll.dll
"%s" %s
/c "%s"
%sx.%s
%sx
SELECT * FROM %s
sXXXX
Company: %s
Product: %s
Version: %s
Software\Microsoft\Windows\CurrentVersion\Uninstall
%u: %s | %s | %s
Chrome
Firefox
SysShadow
Global\XXX
%Documents and Settings%\%current user%\Application Data
{5138E364-ADE1-1415-491B-65F1BD03CBFB}
%Documents and Settings%\%current user%\Application Data\Ikxyte\qufu.xua
%Documents and Settings%\%current user%\Application Data\Ikxyte
qufu.xua
%Documents and Settings%\%current user%\Application Data\Huyteq\wyer.lio
%Documents and Settings%\%current user%\Application Data\Huyteq
wyer.lio
Global\{C7435141-1FC4-826E-491B-65F1BD03CBFB}


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

    epnug.exe:4076
    epnug.exe:3988
    %original file name%.exe:3692
    %original file name%.exe:4032

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

    %Documents and Settings%\%current user%\Application Data\Vesyy\epnug.exe (238 bytes)
    %Documents and Settings%\%current user%\Local Settings\Temp\tmpc9aec436.bat (177 bytes)

  5. Reboot the computer.

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