Threat Encyclopedia

Selected viruses, spyware, and other threats: sorted alphabetically

Win32/Bagle.AB

Win32/Bagle.AB is an internet worm spreading via e-mail messages, P2P networks or shared network drives.

Note: In following text a symbolic inscription %windir% is used instead of the name of directory in which Windows operating system is installed. Of course, this may differ from installation to installation. The subdirectory System or System32 placed in %windir% has a name %system%

Subject of the message sent by the worm can be one of the following:

Changes..
Encrypted document
Fax Message Received
Forum notify
Hidden message
Incoming message
New changes
Notification
Protected message
Re: Document
Re: Hello
Re: Hi
Re: Incoming Message
RE: Incoming Msg
RE: Message Notify
Re: Msg reply
RE: Protected message
RE: Text message
Re: Thank you!
Re: Thanks :)
Re: Yahoo!
Site changes

The attachment of the message is either an executable or a dropper script. Below is the list of possible names of the attachment:

Alive_condom
Counter_strike
Details
Document
Half_Live
Info
Information
I_search_for_you
Joke
Loves_money
Manufacture
Message
MoreInfo
Nervous_illnesses
Readme
Smoke
text_document
the_message
Toy
Your_complaint
Your_money
You_are_dismissed
You_will_answer_to_me

Executable attachment has one of the four possible extensions: ".exe", ".scr", ".com" or ".cpl". Extension of the dropper script file is either ".hta" or ".vbs". The attached worm can be in a password-protected ZIP archive. If this is the case, one of the following messages is in the body of the e-mail:

For security reasons attached file is password protected. The password is <heslo>
For security purposes the attached file is password protected. Password -- <heslo>
Note: Use password <heslo> to open archive.
Attached file is protected with the password for security reasons. Password is <heslo>
In order to read the attach you have to use the following password: <heslo>
Archive password: <heslo>
Password - <heslo>
Password: <heslo>
Pass - <heslo>

The first time the worm is started, a fake error message is displayed: "Can't find a viewer associated with the file".
Then the worm copies itself in the %system% directory using a name "drvddll.exe". Then, two files called "drvddll.exeopen" and "drvdll.exeopenopen" are created in the same directory. Both of them are executable copies of the worm. In order to be executed every time the Windows is started, the worm creates an entry called "drvddll.exe" in the following Registry key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

The entries below are deleted from the Registry keys HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run:

9XHtProtect
Antivirus
EasyAV
FirewallSvr
HtProtect
ICQ Net
ICQNet
Jammer2nd
KasperskyAVEng
MsInfo
My AV
NetDy
Norton Antivirus AV
PandaAVEngine
service
SkynetsRevenge
Special Firewall Service
SysMonXP
Tiny AV
Zone Labs Client Ex

The following is a list of processes the worm tries to teminate:

AGENTSVR.EXE
ANTI-TROJAN.EXE
ANTIVIRUS.EXE
ANTS.EXE
APIMONITOR.EXE
APLICA32.EXE
APVXDWIN.EXE
ATCON.EXE
ATGUARD.EXE
ATRO55EN.EXE
ATUPDATER.EXE
ATWATCH.EXE
AUPDATE.EXE
AUTODOWN.EXE
AUTOTRACE.EXE
AUTOUPDATE.EXE
AVCONSOL.EXE
AVGSERV9.EXE
AVLTMAIN.EXE
AVprotect9x.exe
AVPUPD.EXE
AVSYNMGR.EXE
AVWUPD32.EXE
AVXQUAR.EXE
BD_PROFESSIONAL.EXE
BIDEF.EXE
BIDSERVER.EXE
BIPCP.EXE
BIPCPEVALSETUP.EXE
BISP.EXE
BLACKD.EXE
BLACKICE.EXE
BOOTWARN.EXE
BORG2.EXE
BS120.EXE
CDP.EXE
CFGWIZ.EXE
CFIADMIN.EXE
CFIAUDIT.EXE
CFINET.EXE
CFINET32.EXE
CLEAN.EXE
CLEANER.EXE
CLEANER3.EXE
CLEANPC.EXE
CMGRDIAN.EXE
CMON016.EXE
CPD.EXE
CPF9X206.EXE
CPFNT206.EXE
CV.EXE
CWNB181.EXE
CWNTDWMO.EXE
DEFWATCH.EXE
DEPUTY.EXE
DPF.EXE
DPFSETUP.EXE
drvsys.exe
DRWATSON.EXE
DRWEBUPW.EXE
ENT.EXE
ESCANH95.EXE
ESCANHNT.EXE
ESCANV95.EXE
EXANTIVIRUS-CNET.EXE
FAST.EXE
FIREWALL.EXE
FLOWPROTECTOR.EXE
FP-WIN_TRIAL.EXE
FRW.EXE
FSAV.EXE
FSAV530STBYB.EXE
FSAV530WTBYB.EXE
FSAV95.EXE
GBMENU.EXE
GBPOLL.EXE
GUARD.EXE
GUARDDOG.EXE
HACKTRACERSETUP.EXE
HTLOG.EXE
HWPE.EXE
IAMAPP.EXE
IAMSERV.EXE
ICLOAD95.EXE
ICLOADNT.EXE
ICMON.EXE
ICSSUPPNT.EXE
ICSUPP95.EXE
ICSUPPNT.EXE
IFW2000.EXE
IPARMOR.EXE
IRIS.EXE
JAMMER.EXE
KAVLITE40ENG.EXE
KAVPERS40ENG.EXE
KERIO-PF-213-EN-WIN.EXE
KERIO-WRL-421-EN-WIN.EXE
KERIO-WRP-421-EN-WIN.EXE
KILLPROCESSSETUP161.EXE
LDPRO.EXE
LOCALNET.EXE
LOCKDOWN.EXE
LOCKDOWN2000.EXE
LSETUP.EXE
LUALL.EXE
LUCOMSERVER.EXE
LUINIT.EXE
MCAGENT.EXE
MCUPDATE.EXE
MFW2EN.EXE
MFWENG3.02D30.EXE
MGUI.EXE
MINILOG.EXE
MOOLIVE.EXE
MRFLUX.EXE
MSCONFIG.EXE
MSINFO32.EXE
MSSMMC32.EXE
MU0311AD.EXE
NAV80TRY.EXE
NAVAPW32.EXE
NAVDX.EXE
NAVSTUB.EXE
NAVW32.EXE
NC2000.EXE
NCINST4.EXE
NDD32.EXE
NEOMONITOR.EXE
NETARMOR.EXE
NETINFO.EXE
NETMON.EXE
NETSCANPRO.EXE
NETSPYHUNTER-1.2.EXE
NETSTAT.EXE
NISSERV.EXE
NISUM.EXE
NMAIN.EXE
NORTON_INTERNET_SECU_3.0_407.EXE
NPF40_TW_98_NT_ME_2K.EXE
NPFMESSENGER.EXE
NPROTECT.EXE
NSCHED32.EXE
NTVDM.EXE
NUPGRADE.EXE
NVARCH16.EXE
NWINST4.EXE
NWTOOL16.EXE
OSTRONET.EXE
OUTPOST.EXE
OUTPOSTINSTALL.EXE
OUTPOSTPROINSTALL.EXE
PADMIN.EXE
PANIXK.EXE
PAVPROXY.EXE
PCC2002S902.EXE
P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IN32.EXE
VSISETUP.EXE
VSMAIN.EXE
VSMON.EXE
VSSTAT.EXE
VSWIN9XE.EXE
VSWINNTSE.EXE
VSWINPERSE.EXE
W32DSM89.EXE
W9X.EXE
WATCHDOG.EXE
WEBSCANX.EXE
WGFE95.EXE
WHOSWATCHINGME.EXE
WINRECON.EXE
WNT.EXE
WRADMIN.EXE
WRCTRL.EXE
WSBGATE.EXE
WYVERNWORKSFIREWALL.EXE
XPF202EN.EXE
ZAPRO.EXE
ZAPSETUP3001.EXE
ZATUTOR.EXE
ZAUINST.EXE
ZONALM2601.EXE
ZONEALARM.EXE

Win32/Bagle.AB searches local drives for directories, that contain the "shar" string in their names. The worm is copied in such directories using the following names:

ACDSee 9.exe
Adobe Photoshop 9 full.exe
Ahead Nero 7.exe
Kaspersky Antivirus 5.0
KAV 5.0
Matrix 3 Revolution English Subtitles.exe
Microsoft Office 2003 Crack, Working!.exe
Microsoft Office XP working Crack, Keygen.exe
Microsoft Windows XP, WinXP Crack, working Keygen.exe
Opera 8 New!.exe
Porno pics arhive, xxx.exe
Porno Screensaver.scr
Porno, sex, oral, anal cool, awesome!!.exe
Serials.txt.exe
WinAmp 5 Pro Keygen Crack Update.exe
WinAmp 6 New!.exe
Windown Longhorn Beta Leak.exe
Windows Sourcecode update.doc.exe
XXX hardcore images.exe

This way the worm is able to spread via various P2P networks and other shared resources.

In order to extract e-mail addresses for further spreading, files with following extensions are searched for:

.adb
.asp
.cfg
.cgi
.dbx
.dhtm
.eml
.htm
.jsp
.mbx
.mdx
.mht
.mmf
.msg
.nch
.ods
.oft
.php
.pl
.sht
.shtm
.stm
.tbb
.txt
.uin
.wab
.wsh
.xls
.xml

Win32/Bagle.AB avoids sending itself to an address containing one of the strings below:

@avp.
@foo
@iana
@messagelab
@microsoft
abuse
admin
anyone@
bsd
bugs@
cafee
certific
contract@
f-secur
feste
free-av
gold-certs@
google
help@
icrosoft
info@
kasp
linux
listserv
local
news
nobody@
noone@
noreply
ntivi
panda
pgp
postmaster@
rating@
root@
samples
sopho
spam
support
unix
update
winrar
winzip

The worm has a backdoor function, it opens the TCP port 2535. For notification purposes, it may visit some of the following URLs:

http://2udar.ligakvn.de/5.php
http://3treepoint.com/5.php
http://abakan.strana.de/5.php
http://andimeisslein.de/5.php
http://ditec.um.es/5.php
http://fotos.schneider.bards.de/5.php
http://hardvision.ru/5.php
http://jakimov.golos.de/5.php
http://markusgimenez.de/5.php
http://mhv24.de/5.php
http://s318.evanzo-server.de/5.php
http://Spaceclub.de/5.php
http://tobimayer.de/5.php
http://vg.xtonne.de/5.php
http://villakinderbunt.de/5.php
http://virtualzone.de/5.php
http://www.ac-schnitzer.de/5.php
http://www.auma.de/5.php
http://www.autoscout24.de/5.php
http://www.avh.de/5.php
http://www.beckers-systems.de/5.php
http://www.berlinale.de/5.php
http://www.blauer-engel.de/5.php
http://www.bmbf.de/5.php
http://www.bruecke-osteuropa.de/5.php
http://www.bundesregierung.de/5.php
http://www.chugai.de/5.php
http://www.cicv.fr/5.php
http://www.dalnoboyshik.de/5.php
http://www.de-bug.de/5.php
http://www.degruyter.de/5.php
http://www.deutsch-als-fremdsprache.de/5.php
http://www.deutsches-museum.de/5.php
http://www.deutschland.de/5.php
http://www.dfg.de/5.php
http://www.documenta.de/5.php
http://www.dwd.de/5.php
http://www.embl-heidelberg.de/5.php
http://www.emis.de/5.php
http://www.eumetsat.de/5.php
http://www.exactaudiocopy.de/5.php
http://www.fernuni-hagen.de/5.php
http://www.fiz-karlsruhe.de/5.php
http://www.fracht-24.de/5.php
http://www.fu-berlin.de/5.php
http://www.gdch.de/5.php
http://www.go-amman.de/5.php
http://www.goethe.de/5.php
http://www.gospel-nations.de/5.php
http://www.gsi.de/5.php
http://www.hamann-motorsport.de/5.php
http://www.hamburg.de/5.php
http://www.heise.de/5.php
http://www.hotel-pension-spree.de/5.php
http://www.ifdesign.de/5.php
http://www.insel-ruegen-hotel.de/5.php
http://www.intermatgmbh.de/5.php
http://www.jura.uni-sb.de/5.php
http://www.kliniken.de/5.php
http://www.leipziger-messe.de/5.php
http://www.loveparade.de/5.php
http://www.low-spirit.de/5.php
http://www.mdz-moskau.de/5.php
http://www.mitsubishi-evs.de/5.php
http://www.mitsumi.de/5.php
http://www.mk-motorsport.de/5.php
http://www.mobile.de/5.php
http://www.nabu.de/5.php
http://www.neformal.de/5.php
http://www.neznakomez.de/5.php
http://www.paromi.de/5.php
http://www.partner-inform.de/5.php
http://www.php-resource.de/5.php
http://www.pri-wo-hamburg.de/5.php
http://www.red-dot.de/5.php
http://www.restarted-alliance.de/5.php
http://www.ruletka.de/5.php
http://www.russische-botschaft.de/5.php
http://www.siegenia-aubi.com/5.php
http://www.spiegel.de/5.php
http://www.sprach-zertifikat.de/5.php
http://www.teac.de/5.php
http://www.tecchannel.de/5.php
http://www.tekeli.de/5.php
http://www.tib.uni-hannover.de/5.php
http://www.turism.de/5.php
http://www.uni-oldenburg.de/5.php
http://www.uni-stuttgart.de/5.php
http://www.welt.de/5.php
http://www.windac.de/5.php
http://www.winfuture.de/5.php
http://www.www.mirko-becker.gmxhome.de/5.php

There is a message from the author in the executable, that is never displayed:

In a difficult world
In a nameless time
I want to survive
So, you will be mine
-- Bagle Author, 29.04.04, Germany.

NOD32 detected this worm using Advanced Heuristics without the need to update the virus database. Detection of Win32/Bagle.AB using a sample is available since version 1.741.