Help - Search - Members - Calendar
Full Version: dropper.exe (Bagle rootkit)
B.I.S.S. Forums > Malware News , Research & Removal > Malware Playground
Kimberly

File details


Filename: dropper.exe

File size: 748279 bytes
MD5: 6ab0800a87ca21087c4a463b6f32ba16
SHA1: aa9aa7eaadc3d4cc4f5e56a34ca29da0e05cd777
PEiD: Themida/WinLicense V1.8.0.2 + -> Oreans Technologies
packers: Themida

Technical details


Registry changes.
  • Adds a hidden service called srosa.
    QUOTE
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000 "Class"
    Type: REG_SZ
    Data: LegacyDriver
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000 "ClassGUID"
    Type: REG_SZ
    Data: {8ECC055D-047F-11D1-A537-0000F8753ED1}
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000 "ConfigFlags"
    Type: REG_DWORD
    Data: 00, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000 "DeviceDesc"
    Type: REG_SZ
    Data: Megadrv3
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000 "Legacy"
    Type: REG_DWORD
    Data: 01, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000 "Service"
    Type: REG_SZ
    Data: srosa
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000\Control
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000\Control "*NewlyCreated*"
    Type: REG_DWORD
    Data: 00, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SROSA\0000\Control "ActiveService"
    Type: REG_SZ
    Data: srosa
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa "ErrorControl"
    Type: REG_DWORD
    Data: 00, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa "ImagePath"
    Type: REG_EXPAND_SZ
    Data: \??\C:\WINDOWS\system32\drivers\srosa.sys
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa "Start"
    Type: REG_DWORD
    Data: 01, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa "Type"
    Type: REG_DWORD
    Data: 01, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa\Enum
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa\Enum "0"
    Type: REG_SZ
    Data: Root\LEGACY_SROSA\0000
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa\Enum "Count"
    Type: REG_DWORD
    Data: 01, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa\Enum "NextInstance"
    Type: REG_DWORD
    Data: 01, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srosa\Security
  • Adds 2 hidden run entries.
    QUOTE
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run "drvsyskit"
    Type: REG_SZ
    Data: C:\WINDOWS\system32\drivers\hldrrr.exe
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run "german.exe"
    Type: REG_SZ
    Data: C:\WINDOWS\system32\wintems.exe
  • Misc Changes.
    QUOTE
    HKEY_CURRENT_USER\Software\FirstRRRun
    HKEY_CURRENT_USER\Software\FirstRRRun "First12Ru123n"
    Type: REG_DWORD
    Data: 01, 00, 00, 00
    HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications
    HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\TestProg
    HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\TestProg\Recent File List
    HKEY_CURRENT_USER\Software\Local AppWizard-Generated Applications\TestProg\Settings
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DownloadManager
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system "EnableLUA"
    Type: REG_DWORD
    Data: 00, 00, 00, 00
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Security Center
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Security Center\Svc
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Security Center\Svc "EnableLUA"
    Type: REG_DWORD
    Data: 16, 00, 00, 00
  • Deletes the Safeboot keys so that the computer can't boot into Safe Mode anymore.
    QUOTE
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\SafeBoot
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot
  • Changes the startup type for security related applications (firewall and antivirus). Note that some entries will be different on each PC depending on the software installed.
    QUOTE
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ccEvtMgr "Start"
    Old data: 02, 00, 00, 00
    New data: 04, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ccPwdSvc "Start"
    Old data: 03, 00, 00, 00
    New data: 04, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ip6Fw "Start"
    Old data: 03, 00, 00, 00
    New data: 04, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndisuio "Start"
    Old data: 03, 00, 00, 00
    New data: 04, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NISUM "Start"
    Old data: 02, 00, 00, 00
    New data: 04, 00, 00, 00
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess "Start"
    Old data: 02, 00, 00, 00
    New data: 04, 00, 00, 00
File system changes.
  • New hidden folder.
    QUOTE
    %System%\drivers\down
  • Files (Files in red are hidden)
    QUOTE
    %System%\ban_list.txt
    Size: 5,733 bytes
    %System%\mdelk.exe
    Size: 71,172 bytes
    %System%\wintems.exe
    Size: 71,172 bytes
    %System%\drivers\hldrrr.exe
    Size: 748,279 bytes
    %System%\drivers\srosa.sys
    Size: 112,432 bytes
  • Overwrites 1 file - See below under notes.
Note: %System% is a variable that refers to the System folder. By default, this is C:\Windows\System (Windows 95/98/Me), C:\Winnt\System32 (Windows NT/2000), or C:\Windows\System32 (Windows XP).

Rootkit Scan


QUOTE
GMER 1.0.14.14105 - http://www.gmer.net
Rootkit scan 2008-02-07 18:16:27
Windows 5.1.2600 Service Pack 2

---- System - GMER 1.0.14 ----

Code \??\C:\WINDOWS\system32\drivers\srosa.sys ZwOpenProcess [0xF4C7A31C]
Code \??\C:\WINDOWS\system32\drivers\srosa.sys ZwQuerySystemInformation [0xF4C7FC8A]
Code \??\C:\WINDOWS\system32\drivers\srosa.sys ZwSetInformationFile [0xF4C7A41A]
Code \??\C:\WINDOWS\system32\drivers\srosa.sys NtOpenProcess
Code \??\C:\WINDOWS\system32\drivers\srosa.sys NtQuerySystemInformation
Code \??\C:\WINDOWS\system32\drivers\srosa.sys NtSetInformationFile

---- Kernel code sections - GMER 1.0.14 ----

PAGE ntoskrnl.exe!ZwCreateKey + 40B 8056EBB4 7 Bytes JMP F4C7FEBE \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwQueryKey + 2F2 8056EEAB 7 Bytes JMP F4C7F836 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!IoCreateFile + EB 8056FB8E 7 Bytes JMP F4C7F4DC \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!NtOpenFile + 60 8056FBF3 7 Bytes JMP F4C7F3BE \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!NtOpenProcess 80572D06 5 Bytes JMP F4C7A320 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwProtectVirtualMemory + 45B 80573510 7 Bytes JMP F4C7FADC \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwCreateSemaphore + 449 80573C88 7 Bytes JMP F4C7A546 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!NtSetInformationFile 80576E9C 5 Bytes JMP F4C7A41E \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!NtQuerySystemInformation 8057D786 5 Bytes JMP F4C7FC8E \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwAcceptConnectPort + 871 8057FB73 7 Bytes JMP F4C7F58C \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!RtlGenerate8dot3Name + 1835 80593AA7 7 Bytes JMP F4C7A760 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwDeleteValueKey + 1685 80595131 7 Bytes JMP F4C7A960 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!NtQueryInformationAtom + 5D2 805D7392 7 Bytes JMP F4C7A3CE \??\C:\WINDOWS\system32\drivers\srosa.sys

---- Processes - GMER 1.0.14 ----

Process C:\WINDOWS\system32\wintems.exe (*** hidden *** ) 1312
Process C:\WINDOWS\system32\drivers\hldrrr.exe (*** hidden *** ) 1676

---- Registry - GMER 1.0.14 ----

Reg HKCU\Software\Microsoft\Windows\CurrentVersion\Run@drvsyskit C:\WINDOWS\system32\drivers\hldrrr.exe
Reg HKCU\Software\Microsoft\Windows\CurrentVersion\Run@german.exe C:\WINDOWS\system32\wintems.exe

---- Files - GMER 1.0.14 ----

File C:\Documents and Settings\KLY\Application Data\Symantec\Shared 0 bytes
File C:\Documents and Settings\KLY\Application Data\Symantec\Shared\MyProfile.UserProfile 816 bytes
File C:\Documents and Settings\KLY\Application Data\Symantec\Shared\Options.VcPref 432 bytes
File C:\Documents and Settings\KLY\Application Data\Symantec\Shared\Sessions 0 bytes
File C:\Documents and Settings\KLY\Application Data\Symantec\Shared\Sessions\20070505154426808.liveReg 13520 bytes
File C:\Program Files\Movie Maker\Shared 0 bytes
File C:\Program Files\Movie Maker\Shared\Empty.txt 18 bytes
File C:\Program Files\Movie Maker\Shared\Filters.xml 7591 bytes
File C:\Program Files\Movie Maker\Shared\news.png 138660 bytes
File C:\Program Files\Movie Maker\Shared\paint.png 67213 bytes
File C:\Program Files\Movie Maker\Shared\Profiles 0 bytes
File C:\Program Files\Movie Maker\Shared\Profiles\Blank.txt 21 bytes
File C:\Program Files\Movie Maker\Shared\Sample1.jpg 62732 bytes
File C:\Program Files\Movie Maker\Shared\Sample2.jpg 46822 bytes
File C:\WINDOWS\system32\drivers\hldrrr.exe 748279 bytes
File C:\WINDOWS\system32\drivers\srosa.sys 112432 bytes
File C:\WINDOWS\system32\drivers\down 0 bytes
File C:\WINDOWS\system32\drivers\down\119091.exe 805 bytes
File C:\WINDOWS\system32\drivers\down\119852.exe 1125 bytes
File C:\WINDOWS\system32\drivers\down\136456.exe 6958 bytes
File C:\WINDOWS\system32\drivers\down\139140.exe 546 bytes
File C:\WINDOWS\system32\drivers\down\141713.exe 685 bytes
File C:\WINDOWS\system32\drivers\down\144457.exe 33907 bytes
File C:\WINDOWS\system32\drivers\down\147091.exe 648 bytes
File C:\WINDOWS\system32\drivers\down\157446.exe 13044 bytes
File C:\WINDOWS\system32\drivers\down\188471.exe 212 bytes
File C:\WINDOWS\system32\drivers\down\189041.exe 212 bytes
File C:\WINDOWS\system32\drivers\down\192526.exe 1609 bytes
File C:\WINDOWS\system32\drivers\down\193548.exe 212 bytes
File C:\WINDOWS\system32\drivers\down\197083.exe 21295 bytes
File C:\WINDOWS\system32\drivers\down\206687.exe 1621 bytes
File C:\WINDOWS\system32\drivers\down\237441.exe 873 bytes
File C:\WINDOWS\system32\drivers\down\250670.exe 23206 bytes
File C:\WINDOWS\system32\drivers\down\38901357.exe 71172 bytes
File C:\WINDOWS\system32\drivers\down\79724.exe 628 bytes
File C:\WINDOWS\system32\drivers\down\91331.exe 13063 bytes
File C:\WINDOWS\system32\wintems.exe 71172 bytes
File C:\WINDOWS\ime\shared 0 bytes
File C:\WINDOWS\ime\shared\res 0 bytes

---- Services - GMER 1.0.14 ----

Service C:\WINDOWS\system32\drivers\srosa.sys [SYSTEM] srosa

---- EOF - GMER 1.0.14 ----
The rootkit does hide legit files as seen in the scan.

Notes


In the analysis below, you will see screenshots of the different programs accessing internet. In reality you won't see those alerts because bagle disables and prevents security applications from running. I had to run the installer twice in order to obtain certain screenshots, once by protecting applications from being killed and another time in order to let the rootkit fully load.

The dropper is Themida packed. Depending on the options selected, you won't be able to monitor, debug or run such applications on a Virtual Machine. This is a typical example where legit software is misused.
IPB Image
Upon install, dropper.exe poses as a crack for an application and asks you to select the executable. The crack being a fake, this is of no use of course.
IPB Image
Dropper.exe creates a couple of registry entries - those present under Misc Changes - and performs a nifty trick to fully install itself upon reboot. Everyone has some programs running that have a startup entry in the registry under one of the run keys. They show up like this in hijackthis logs:
QUOTE
O4 - HKLM\..\Run: [VMUserServices] C:\Program Files\Virtual Machine Additions\vmusrvc.exe
O4 - HKLM\..\Run: [ccApp] C:\Program Files\Common Files\Symantec Shared\ccApp.exe
O4 - HKLM\..\Run: [ccRegVfy] C:\Program Files\Common Files\Symantec Shared\ccRegVfy.exe
O4 - HKLM\..\Run: [!1_pgaccount] "C:\Program Files\ProcessGuard\pgaccount.exe"
O4 - HKCU\..\Run: [!1_ProcessGuard_Startup] "C:\Program Files\ProcessGuard\procguard.exe" -minimize
Dropper.exe will enumerate the running processes and pick out one, a security application by preference, kill the running process and copy itself under the program's name in order to be loaded at next reboot. In my case C:\Program Files\Common Files\Symantec Shared\ccApp.exe was replaced by a copy of dropper.exe. Notice the new date and time stamp, 7 June 2004. This file will not show up in a search for created / modified files in the last 30 days like many fixes perform.
IPB Image
IPB Image
Nothing else will happen until we reboot the computer. Upon restart, our replaced ccapp.exe drops hldrrr.exe and srosa.sys into the %System%\drivers folder, the srosa service is created, the safeboot keys are deleted, etc ... and hldrrr.exe is launched by ccapp.exe. The rootkit is now fully installed.
IPB Image
Once loaded, hldrrr.exe attempts to kill all processes belonging to security applications, firewall and antivirus. Services belonging to them will be set to disabled so that they don't start anymore upon next reboot. (See Registry changes under Technical Details for more info). Corresponding files may get deleted.
IPB Image
Next step is to download additional malware from internet.
IPB Image
hldrrr.exe tries to download files2.php from different servers. These files will be stored into the C:\WINDOWS\system32\drivers\down\ folder under random numbered file names (See rootkit scan). In the screenshot below we see such a search. 217.167.24.32 for example contains a redirect to the server where the executable can be found. They show up as jpg images but are renamed during the download.
IPB Image
Some will be fully operational executables, some will only contain HTML code (mainly 404 errors because the file was not found on the server).
IPB Image
IPB Image
Note: b4_1.jpg is renamed as 38866947.exe - details: see below.
IPB Image
b4_31.jpg will be renamed as 38901357.exe. This file will be launched in a few as it belongs to the initial infection.
IPB Image
The file copies itself to the %System% folder as wintems.exe and mdelk.exe. A hidden startup entry is created for wintems.exe and both files are launched. Being the same file, they probably watch over each other in case one tries to delete one of them.
IPB Image
IPB Image
wintems.exe is listening for inbound connections and also accesses internet.
IPB Image
IPB Image
wintems.exe starts by downloading a ban list. This file is saved as %System%\ban_list.txt an contains a huge number of IP ranges.
IPB Image
Next, wintems does nothing else than requesting /images/news.php from different servers using a particular user agent named szNotifyIdent.
IPB Image
All requests I was able to see in Ethereal did return a 404 error.
IPB Image
During one of my "runs" a 12966970 bytes SWF file was also downloaded.
QUOTE
GET /videos/Clicks_en_10mins/Clicks_en_10min.swf HTTP/1.1
User-Agent: szNotifyIdent
Host: ganarpastafacil.com
Connection: Keep-Alive

HTTP/1.1 200 OK
Date: Thu, 07 Feb 2008 06:37:33 GMT
Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8b DAV/2 PHP/5.1.2
Last-Modified: Sat, 02 Feb 2008 19:18:45 GMT
ETag: "66799ac-c5dc3a-c274ef40"
Accept-Ranges: bytes
Content-Length: 12966970
Connection: close
Content-Type: application/x-shockwave-flash
Content-Language: it
In mean time hldrrr.exe continues to download additional malware. During certains periods, downloads are paused and hlddrrr.exe performs dns looksups.
IPB Image
Be prepared to see a huge amount of other malware stuff on the computer. The sample below is a Pinch and upon execution it does post back to the server; but as seen below the ppp.php file was not found. 38866947.exe is detected as Trojan-PSW.Win32.LdPinch.ewq by Kaspersky.
IPB Image
IPB Image
IPB Image
Users will encounter numerous errors when attempting to start firewall, antivirus, security applications, fixes ... The most common error is: "x is not a valid win32 application". bagle does corrupt PE headers of files containing a certain string - avp, combofix, icesword - to name only a few. Other messages may be related to corrupt installs, files missing ...
IPB Image
IPB Image
Main purpose seems to be the download and install of many other infections. Most the victims will end up with a severely compromised system. After a few hours / days one can reasonably presume that the down folder will contain a huge amount of files. While very often a repair is possible, you never will know what has been stolen, compromised, changed ... I personally advice you take the time to reinstall from scratch.

For information:
How Do I Handle Possible Identify Theft, Internet Fraud and CC Fraud?
When Should I Format, How Should I Reinstall
Kimberly
A couple of days ago steamwiz (a Security Expert on the Safer Networking Forums) contacted me about a bagle infection. yettyn (the victim) was so kind to upload the complete archive for me. The original topic is located here. I really encourage everyone to read it so that you realize what kinda damage those infections are able to perform. Luckily yettyn is rather comfortable with computers because that system was very close to death. Someone with less experience could have a hard time to fix all the damage. Kudos to steamwiz for his assistance.

File details


Filename: packed.exe

File size: 1679729 bytes
MD5: d8a1ff72be7c6f0b1506265713550512
SHA1: 0401935022b64f9c3d2c7c5243f0b3875c1723c4
PEiD: EXECryptor 2.2.4 -> Strongbit/SoftComplete Development (h1)
packers: EXECryptor
packers: Execryptor

Note: Contains a Themida section.
IPB Image
QUOTE
File packed.exe received on 02.29.2008 19:41:26 (CET)
AhnLab-V3 2008.2.29.1 2008.02.29 -
AntiVir 7.6.0.73 2008.02.29 TR/Bagle.DP
Authentium 4.93.8 2008.02.29 -
Avast 4.7.1098.0 2008.02.28 -
AVG 7.5.0.516 2008.02.29 I-Worm/Bagle
BitDefender 7.2 2008.02.29 -
CAT-QuickHeal 9.50 2008.02.29 -
ClamAV 0.92.1 2008.02.29 -
DrWeb 4.44.0.09170 2008.02.29 -
eSafe 7.0.15.0 2008.02.28 -
eTrust-Vet 31.3.5574 2008.02.29 -
Ewido 4.0 2008.02.29 -
FileAdvisor 1 2008.02.29 -
Fortinet 3.14.0.0 2008.02.29 -
F-Prot 4.4.2.54 2008.02.28 -
F-Secure 6.70.13260.0 2008.02.29 -
Ikarus T3.1.1.20 2008.02.29 -
Kaspersky 7.0.0.125 2008.02.29 -
McAfee 5242 2008.02.29 -
Microsoft 1.3301 2008.02.29 -
NOD32v2 2912 2008.02.29 -
Norman 5.80.02 2008.02.29 -
Panda 9.0.0.4 2008.02.28 -
Prevx1 V2 2008.02.29 Heuristic: Suspicious File With Covert Attributes
Rising 20.33.42.00 2008.02.29 -
Sophos 4.27.0 2008.02.29 Sus/ComPack-J
Sunbelt 3.0.906.0 2008.02.28 VIPRE.Suspicious
Symantec 10 2008.02.29 -
TheHacker 6.2.9.229 2008.02.25 W32/Behav-Heuristic-064
VBA32 3.12.6.2 2008.02.27 suspected of Embedded.Trojan-Downloader.Win32.Bagle.iw
VirusBuster 4.3.26:9 2008.02.29 -
Webwasher-Gateway 6.6.2 2008.02.29 Win32.Malware.gen (suspicious)
Kaspersky: Trojan-Downloader.Win32.Bagle.kr

Rootkit Scan


QUOTE
GMER 1.0.14.14181 - http://www.gmer.net
Rootkit scan 2008-03-01 17:14:23
Windows 5.1.2600 Service Pack 2

---- System - GMER 1.0.14 ----

Code \??\C:\WINDOWS\system32\drivers\srosa.sys ZwOpenProcess [0xF463E31C]
Code \??\C:\WINDOWS\system32\drivers\srosa.sys ZwQuerySystemInformation [0xF4643534]
Code \??\C:\WINDOWS\system32\drivers\srosa.sys ZwSetInformationFile [0xF463E41A]
Code \??\C:\WINDOWS\system32\drivers\srosa.sys NtOpenProcess
Code \??\C:\WINDOWS\system32\drivers\srosa.sys NtQuerySystemInformation
Code \??\C:\WINDOWS\system32\drivers\srosa.sys NtSetInformationFile

---- Kernel code sections - GMER 1.0.14 ----

PAGE ntoskrnl.exe!ZwCreateKey + 40B 8056F46E 7 Bytes JMP F4643768 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwQueryKey + 2F2 8056F765 7 Bytes JMP F46430E0 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!IoCreateFile + EB 805715E2 7 Bytes JMP F4642D86 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!NtOpenFile + 60 80571647 7 Bytes JMP F4642C68 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!NtOpenProcess 8057459E 5 Bytes JMP F463E320 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwProtectVirtualMemory + 45B 80574DA8 7 Bytes JMP F4643386 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwCreateSemaphore + 44A 80575522 2 Bytes JMP F463E546 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwCreateSemaphore + 44D 80575525 4 Bytes [ 0C, 74, EB, F9 ]
PAGE ntoskrnl.exe!NtSetInformationFile 80579E7E 5 Bytes JMP F463E41E \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!NtQuerySystemInformation 8057CC27 5 Bytes JMP F4643538 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!RtlIntegerToUnicodeString + 15A 805801F9 7 Bytes JMP F4642E36 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwPrivilegeCheck + 224 8059742B 7 Bytes JMP F463E760 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!ZwSetThreadExecutionState + 1519 8059D6B8 7 Bytes JMP F463E960 \??\C:\WINDOWS\system32\drivers\srosa.sys
PAGE ntoskrnl.exe!NtQueryInformationAtom + 5D2 805D8CF2 7 Bytes JMP F463E3CE \??\C:\WINDOWS\system32\drivers\srosa.sys

---- Processes - GMER 1.0.14 ----

Process C:\WINDOWS\system32\drivers\hldrrr.exe (*** hidden *** ) 1584

---- Registry - GMER 1.0.14 ----

Reg HKCU\Software\Microsoft\Windows\CurrentVersion\Run@drvsyskit C:\WINDOWS\system32\drivers\hldrrr.exe

---- Files - GMER 1.0.14 ----

File C:\Documents and Settings\KLY\Application Data\Symantec\Shared 0 bytes
File C:\Documents and Settings\KLY\Application Data\Symantec\Shared\MyProfile.UserProfile 816 bytes
File C:\Documents and Settings\KLY\Application Data\Symantec\Shared\Options.VcPref 432 bytes
File C:\Documents and Settings\KLY\Application Data\Symantec\Shared\Sessions 0 bytes
File C:\Documents and Settings\KLY\Application Data\Symantec\Shared\Sessions\20070505154426808.liveReg 13520 bytes
File C:\Program Files\Movie Maker\Shared 0 bytes
File C:\Program Files\Movie Maker\Shared\Empty.txt 18 bytes
File C:\Program Files\Movie Maker\Shared\Filters.xml 7591 bytes
File C:\Program Files\Movie Maker\Shared\news.png 138660 bytes
File C:\Program Files\Movie Maker\Shared\paint.png 67213 bytes
File C:\Program Files\Movie Maker\Shared\Profiles 0 bytes
File C:\Program Files\Movie Maker\Shared\Profiles\Blank.txt 21 bytes
File C:\Program Files\Movie Maker\Shared\Sample1.jpg 62732 bytes
File C:\Program Files\Movie Maker\Shared\Sample2.jpg 46822 bytes
File C:\WINDOWS\system32\drivers\hldrrr.exe 1679729 bytes
File C:\WINDOWS\system32\drivers\srosa.sys 115318 bytes
File C:\WINDOWS\system32\drivers\down 0 bytes
File C:\WINDOWS\ime\shared 0 bytes
File C:\WINDOWS\ime\shared\res 0 bytes

---- Services - GMER 1.0.14 ----

Service C:\WINDOWS\system32\drivers\srosa.sys [SYSTEM] srosa

---- EOF - GMER 1.0.14 ----
The rootkit does hide legit files as seen in the scan.

Notes


This one promises to be a complete version of WinLicense.
IPB Image
Once extracted from the RAR archive, we notice several files and no installer.
IPB Image
Everyone will presume that the program doesn’t need to be installed. Let’s take a closer look to the main executable, WinLicense.exe. We notice a tab called archive in the file properties. Although the icon is not a RAR icon, the file is a Solid SFX RAR Archive which contains 2 files. A Main comment is also present in the RAR archive.
IPB Image
IPB Image
The main comment is in reality a SFX script which will be executed if WinLicense.exe is ran.
IPB Image
If we unrar the file, we do see 2 executable files, packed.exe and WinLicence.exe again with the same icon. I didn’t test if that was a “real” copy of the WinLicense program.
IPB Image
Let’s be a n00b and click on the original WinLicense file. As expected, packed.exe is launched.
IPB Image
Rootkit is installed, same registry changes as above - %System%\ban_list.txt, %System%\mdelk.exe, %System%\wintems.exe are not present in this version. packed.exe also performs a complete scan of the HDD. As result, several applications are giving fatal errors when ran.
IPB Image
QUOTE
c:\Program Files\Common Files\Symantec Shared\ccApp.exe
Old date: 9/14/2002 7:21 PM
New date: 3/1/2008 4:59 PM
Old size: 54,976 bytes
New size: 54,976 bytes
c:\Program Files\Common Files\Symantec Shared\ccEvtMgr.exe
Old date: 9/12/2002 6:52 PM
New date: 3/1/2008 4:59 PM
Old size: 317,128 bytes
New size: 317,128 bytes
c:\Program Files\Norton Personal Firewall\NISUM.EXE
Old date: 9/14/2002 7:23 PM
New date: 3/1/2008 4:59 PM
Old size: 140,992 bytes
New size: 140,992 bytes
c:\Program Files\Symantec\LiveUpdate\LUALL.EXE
Old date: 8/7/2002 8:04 AM
New date: 3/1/2008 4:59 PM
Old size: 1,160,856 bytes
New size: 1,160,856 bytes
c:\Program Files\Virtual Machine Additions\vmusrvc.exe
Old date: 1/26/2007 7:09 AM
New date: 2/12/2008 11:18 AM
Old size: 112,008 bytes
New size: 1,679,729 bytes
c:\Tools\HiJackThis.exe
Old date: 10/20/2007 5:10 AM
New date: 3/1/2008 4:58 PM
Old size: 401,720 bytes
New size: 401,720 bytes
c:\Tools\IceSword122en\IceSword.exe
Old date: 7/10/2007 4:23 PM
New date: 3/1/2008 4:58 PM
Old size: 744,960 bytes
New size: 744,960 bytes
Their PE header has been damaged on purpose by the infection. Only 1 byte is sufficient to create an invalid file. 4C has been changend into 00.
IPB Image
packed.exe contains a huge list of programs & services hardcoded into the exe. One finds also a list of 135 websites where the infection should attempt to download other files.
IPB Image

Conclusion


Very simple … STAY AWAY FROM CRACKS !!!

The fact that WinLicense.exe was a RAR archive and not an executable, would have fooled more than one.
yettyn had VM Ware running … it would have been wiser to test it out in that environment. Some stuff will not run if a VM is detected, set up a test box for it and don’t use your personal PC.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.