Threat Encyclopedia

Selected viruses, spyware, and other threats: sorted alphabetically

Win32/Trojan.Downloader.Bagle

This trojan is a typical Downloader Trojan. The size is 36864 bytes and is runtime compressed / protected by an executable file compressor.

Note: In the following text, %windir% denotes Windows directory (e.g. C:\WINDOWS) and % system% denotes Windows System directory (e.g. C:\WINDOWS\SYSTEM32) as
they differ on various versions of Microsoft Windows.

Installation and Autostart Techniques

Upon execution, the trojan drops components into the Windows System folder as "wiwshost.exe" (9216 bytes) and "winshost.exe" (36864 bytes selfcopy of the dropper).

Note: wiwshost.exe is a DLL file which is injected into the Explorer.exe process and represents the main component downloaded. The file is runtime packed.

The trojan adds the following keys to the registry to ensure its automatic execution upon startup:

HKLM\Software\Microsoft\Windows\CurrentVersion\Run
"winshost.exe" = "%SYSTEM%\winshost.exe"

HKCU\Software\Microsoft\Windows\CurrentVersion\Run
"winshost.exe" = "%SYSTEM%\winshost.exe"

Note: When the trojan is run for the very first time, it creates a status key and executes MSPaint:

HKCU\Software\FirstRun
"FirstRunRR" = (DWORD) 1

If the trojan finds any of the following values

Run,Symantec NetDriver Monitor
Run,ccApp
Run,NAV CfgWiz
Run,SSC_UserPrompt
Run,McAfee Guardian
Run,McAfee.InstantUpdate.Monitor
Run,APVXDWIN
Run,KAV50
Run,avg7_cc
Run,avg7_emc
Run,Zone Labs Client

at HKLM\Software\Microsoft\Windows\CurrentVersion\Run and / or

Symantec
McAfee
KasperskyLab
Agnitum
Panda Software
Zone Labs

at HKLM\SOFTWARE, then the trojan removes these startup values in its own thread that watches for these values.

The malicious process WIWSHOST is now running 'cloaked' inside the Explorer Task.
It might overwrite the existing %system32%\Drivers\etc\hosts file with the following data

127.0.0.1 localhost

Subsequently, the trojan kills services with the following names:

wuauserv
PAVSRV
PAVFNSVR
PSIMSVC
Pavkre
PavProt
PREVSRV
PavPrSrv
SharedAccess
navapsvc
NPFMntor
Outpost Firewall
SAVScan
SBService
Symantec Core LC
ccEvtMgr
SNDSrvc
ccPwdSvc
ccSetMgr.exe
SPBBCSvc
KLBLMain
avg7alrt
avg7updsvc
vsmon
CAISafe
avpcc
fsbwsys
backweb client - 4476822
backweb client-4476822
fsdfwd
F-Secure Gatekeeper Handler Starter
FSMA
KAVMonitorService
navapsvc
NProtectService
Norton Antivirus Server
VexiraAntivirus
dvpinit
dvpapi
schscnt
BackWeb Client - 7681197
F-Secure Gatekeeper Handler Starter
FSMA
AVPCC
KAVMonitorService
Norman NJeeves
NVCScheduler
nvcoas
Norman ZANDA
PASSRV
SweepNet
SWEEPSRV.SYS
NOD32ControlCenter
NOD32Service
PCCPFW
Tmntsrv
AvxIni
XCOMM
ravmon8
SmcService
BlackICE
PersFW
McAfee Firewall
OutpostFirewall
NWService
alerter
sharedaccess
NISUM
NISSERV
vsmon
nwclnth
nwclntg
nwclnte
nwclntf
nwclntd
nwclntc
wuauserv
navapsvc
Symantec Core LC
SAVScan
kavsvc
DefWatch
Symantec AntiVirus Client
NSCTOP
Symantec Core LC
SAVScan
SAVFMSE
ccEvtMgr
navapsvc
ccSetMgr
VisNetic AntiVirus Plug-in
McShield
AlertManger
McAfeeFramework
AVExch32Service
AVUPDService
McTaskManager
Network Associates Log Service
Outbreak Manager
MCVSRte
mcupdmgr.exe
AvgServ
AvgCore
AvgFsh
awhost32
Ahnlab task Scheduler
MonSvcNT
V3MonNT
V3MonSvc
FSDFWD

After that, the trojan seeks the file "mysuperprog.exe". If found, it will delete it.

Note: The trojan creates its own thread for this purpose.

The trojan will rename anti-virus and firewall related files.
This DLL thread also renames files belonging to security and anti-virus software. The following files will be renamed:

CCSETMGR.EXE
CCEVTMGR.EXE
NAVAPSVC.EXE
NPFMNTOR.EXE
symlcsvc.exe
SPBBCSvc.exe
SNDSrvc.exe
ccApp.exe
ccl30.dll
ccvrtrst.dll
LUALL.EXE
AUPDATE.EXE
Luupdate.exe
LUINSDLL.DLL
RuLaunch.exe
CMGrdian.exe
Mcshield.exe
outpost.exe
Avconsol.exe
Vshwin32.exe
VsStat.exe
Avsynmgr.exe
kavmm.exe
Up2Date.exe
KAV.exe
avgcc.exe
avgemc.exe
zonealarm.exe
zatutor.exe
zlavscan.dll
zlclient.exe
isafe.exe
cafix.exe
vsvault.dll
av.dll
vetredir.dll

… to these names:

C1CSETMGR.EXE
CC1EVTMGR.EXE
NAV1APSVC.EXE
NPFM1NTOR.EXE
s1ymlcsvc.exe
SP1BBCSvc.exe
SND1Srvc.exe
ccA1pp.exe
cc1l30.dll
ccv1rtrst.dll
LUAL1L.EXE
AUPD1ATE.EXE
Luup1date.exe
LUI1NSDLL.DLL
RuLa1unch.exe
CM1Grdian.exe
Mcsh1ield.exe
outp1ost.exe
Avc1onsol.exe
Vshw1in32.exe
Vs1Stat.exe
Av1synmgr.exe
kav12mm.exe
Up222Date.exe
K2A2V.exe
avgc3c.exe
avg23emc.exe
zonealarm.exe
zatutor.exe
zlavscan.dll
zo3nealarm.exe
zatu6tor.exe
zl5avscan.dll
zlcli6ent.exe
is5a6fe.exe
c6a5fix.exe
vs6va5ult.dll
a5v.dll
ve6tre5dir.dll

Note: All the affected software keeps working until next system restart. After the restart, the software will not load because the executable files were renamed by the trojan. Subsequently, the trojan terminates services with the following names:

SharedAccess
wscsvc

In the next step, the trojan creates a thread that kills processes with the following names:

NUPGRADE.EXE
MCUPDATE.EXE
ATUPDATER.EXE
AUPDATE.EXE
AUTOTRACE.EXE
AUTOUPDATE.EXE
FIREWALL.EXE
ATUPDATER.EXE
LUALL.EXE
DRWEBUPW.EXE
AUTODOWN.EXE
NUPGRADE.EXE
OUTPOST.EXE
ICSSUPPNT.EXE
ICSUPP95.EXE
ESCANH95.EXE
AVXQUAR.EXE
ESCANHNT.EXE
UPGRADER.EXE
AVXQUAR.EXE
AVWUPD32.EXE
AVPUPD.EXE
CFIAUDIT.EXE
UPDATE.EXE

Finally, the trojan tries to download a file from several web servers. The file is saved to the Windows directory as '_re_file.exe' and is executed via ShellExecute. The file downloaded was available at the following internet locations:

http://www.yannick-spruyt.be/osa3.gif
http://www.yayadownload.com/osa3.gif
http://www.yesterdays.co.za/osa3.gif
http://www.yesterdays.co.za/osa3.gif
http://www.yshkj.com/osa3.gif
http://www.yshkj.com/osa3.gif
http://www.zakazcd.dp.ua/osa3.gif
http://www.students.stir.ac.uk/osa3.gif
http://www.zenesoftware.com/osa3.gif
http://www.zentek.co.za/osa3.gif
http://www.czzm.com/osa3.gif
http://www.izoli.sk/osa3.gif
http://www.zorbas.az/osa3.gif
http://www.zsbersala.edu.sk/osa3.gif
http://www.triptonic.ch/osa3.gif
http://www.tv-marina.com/osa3.gif
http://www.travelourway.com/osa3.gif
http://www.megaserve.net/osa3.gif
http://www.trgd.dobrcz.pl/osa3.gif
http://www.mild.at/osa3.gif
http://www.mild.at/osa3.gif
http://www.kingsley.ch/osa3.gif
http://www.mild.at/osa3.gif
http://www.elvis-presley.ch/osa3.gif
http://www.gomyhome.com.tw/osa3.gif
http://www.ider.cl/osa3.gif
http://www.ascolfibras.com/osa3.gif
http://www.on24.ee/osa3.gif
http://www.xojc.com/osa3.gif
http://www.x-treme.cz/osa3.gif
http://www.gymzn.cz/osa3.gif
http://www.gymzn.cz/osa3.gif
http://www.gymzn.cz/osa3.gif
http://www.xiantong.net/osa3.gif
http://www.xmpie.com/osa3.gif
http://www.xmpie.com/osa3.gif
http://www.xmtd.com/osa3.gif
http://www.onlink.net/osa3.gif
http://www.discoteka-funfactory.com/osa3.gif
http://www.toussain.be/osa3.gif
http://www.idcs.be/osa3.gif
http://www.gepeters.org/osa3.gif
http://www.angham.de/osa3.gif
http://www.idaf.de/osa3.gif
http://www.bolz.at/osa3.gif
http://www.societaet.de/osa3.gif
http://www.ppm-alliance.de/osa3.gif
http://www.udc-cassinadepecchi.it/osa3.gif
http://www.universe.sk/osa3.gif
http://www.jingjuok.com/osa3.gif
http://www.gemtrox.com.tw/osa3.gif
http://www.uspowerchair.com/osa3.gif
http://www.steripharm.com/osa3.gif
http://www.beall-cpa.com/osa3.gif
http://www.jcm-american.com/osa3.gif
http://www.vercruyssenelektro.be/osa3.gif
http://www.centrovestecasa.it/osa3.gif
http://www.vet24h.com/osa3.gif
http://www.vinimeloni.com/osa3.gif
http://www.vnrvjiet.ac.in/osa3.gif
http://www.vote2fateh.com/osa3.gif
http://www.marketvw.com/osa3.gif
http://www.formholz.at/osa3.gif
http://www.checkonemedia.nl/osa3.gif
http://www.fotomax.fi/osa3.gif
http://www.vw.press-bank.pl/osa3.gif
http://www.wamba.asn.au/osa3.gif
http://www.cz-wanjia.com/osa3.gif
http://www.czwanqing.com/osa3.gif
http://www.wdlp.co.za/osa3.gif
http://www.automobilonline.de/osa3.gif
http://www.bangyan.cn/osa3.gif
http://www.21ebuild.com/osa3.gif
http://www.eagle.com.cn/osa3.gif
http://www.eagleclub.com.cn/osa3.gif
http://www.eagleclub.com.cn/osa3.gif
http://www.sanjinyuan.com/osa3.gif
http://www.designgong.org/osa3.gif
http://www.fermegaroy.com/osa3.gif
http://www.welchcorp.com/osa3.gif
http://www.snsphoto.com/osa3.gif
http://www.soeco.org/osa3.gif
http://www.softmajor.ru/osa3.gif
http://www.solt3.org/osa3.gif
http://www.sqnsolutions.com/osa3.gif
http://www.spacium.biz/osa3.gif
http://www.speedcom.home.pl/osa3.gif
http://www.trago.com.pt/osa3.gif
http://www.spirit-in-steel.at/osa3.gif
http://www.spy.az/osa3.gif
http://www.st-paulus-bonn.dehtdocs/osa3.gif
http://www.stbs.com.hk/osa3.gif
http://www.acsohio.com/osa3.gif
http://www.olva.com.pe/osa3.gif
http://www.subsplanet.com/osa3.gif
http://www.sungodbio.com/osa3.gif
http://www.superbetcs.com/osa3.gif
http://www.vnn.vn/osa3.gif
http://www.sydolo.com/osa3.gif
http://www.szdiheng.com/osa3.gif
http://www.agria.hu/osa3.gif
http://www.externet.hu/osa3.gif
http://www.hondenservice.be/osa3.gif
http://www.ehc.hu/osa3.gif
http://www.tcicampus.net/osa3.gif
http://www.contentproject.com/osa3.gif
http://www.festivalteatrooccidente.com/osa3.gif
http://www.techni.com.cn/osa3.gif
http://www.festivalteatrooccidente.com/osa3.gif
http://www.thaifast.com/osa3.gif
http://www.thaiventure.com/osa3.gif
http://www.andi.com.vn/osa3.gif
http://www.replayu.com/osa3.gif
http://www.th-mutan.com/osa3.gif
http://www.thetexasoutfitter.com/osa3.gif
http://www.tmhcsd1987.friko.pl/osa3.gif
http://www.thenextstep.tv/osa3.gif
http://www.thenextstep.tv/osa3.gif
http://www.wesartproductions.com/osa3.gif
http://www.wilsonscountry.com/osa3.gif
http://www.windstar.pl/osa3.gif
http://www.wise-industries.com/osa3.gif
http://www.witold.pl/osa3.gif
http://www.witold.pl/osa3.gif
http://www.51.net/osa3.gif
http://www.slovanet.sk/osa3.gif
http://www.wombband.com/osa3.gif
http://www.datanet.huwww.datanet.hu/osa3.gif
http://www.uw.hu/osa3.gif
http://www.dgy.com.cn/osa3.gif
http://www.bs-security.de/osa3.gif
http://www.die-fliesen.de/osa3.gif
http://www.dom-invest.com.pl/osa3.gif
http://www.engelhardtgmbh.de/osa3.gif
http://www.triapex.cz/osa3.gif
http://www.fahrschule-herb.de/osa3.gif
http://www.fahrschule-lesser.de/osa3.gif
http://www.gimex-messzeuge.de/osa3.gif
http://www.inside-tgweb.de/osa3.gif
http://www.jue-bo.com/osa3.gif
http://www.niko.de/osa3.gif
http://www.nikogmbh.com/osa3.gif
http://www.renegaderc.com/osa3.gif
http://www.sachsenbuecher.de/osa3.gif
http://www.scvanravenswaaij.nl/osa3.gif
http://www.spoden.de/osa3.gif
http://www.sportnf.com/osa3.gif
http://www.sweb.cz/osa3.gif
http://www.tg-sandhausen-basketball.de/osa3.gif
http://www.thefunkiest.com/osa3.gif
http://www.thefunkiest.com/osa3.gif
http://www.jeoushinn.com/osa3.gif
http://www.presley.ch/osa3.gif