BAGLE.P, gusano/backdoor de Correo
y P2P recibe comandos vía puerto TCP infecta archivos PE, etc. |
© Jorge
Machado Lima-Perú |
|
W32/Bagle.P@mm,
W32/Beagle.P@mm, Backdoor/Beagle.P@mm
Bagle.P es un gusano residente en memoria variante de la familia
Bagle, reportado el 16 de Marzo del 2004, de alta
propagación masiva a través de mensajes de correo con un archivo de nombre aleatorio, con
extensiones .EXE, .ZIP
o .RAR, estas últimas contienen
una contraseña.
El Remitente es conformado
aleatoriamente usando la técnica Spoofing,
los Asuntos son elegidos de una lista y el Contenido es construido
de diversas párrafos con sus correspondientes listas de texto. Este gusano se difunde a la mayoría de redes de
compartimiento de archivos Peer to Peer.
Al ejecutarse infecta en forma aleatoria
archivos PE (Portable Ejecutable)
de carpetas también elegidas al azar, insertando su código viral y dejándolos
inutilizables.
Su componente Backdoor le permite recibir
comandos del autor a través del puerto TCP
2556
(nicetec-nmsvc) y se puede actualizar desde una dirección URL cifrada dentro
del código del virus.
Asimismo genera llaves de registro para borrar
los valores en las claves generadas por las variantes del gusano Netsky.
Es un PE (Portable Ejecutable)
e infecta Windows 95/98/NT/Me/2000/XP, incluyendo los servidores NT/2000/Server 2003, está escrito en MS Visual
C++ con extensiones que varían entre 43 y 44 KB y comprimido con el
utilitario UPX (Ultimate Packer for eXecutables):
http://upx.sourceforge.net
El mensaje tiene las siguientes características:
Remitente: emplea la técnica Spoofing
con direcciones construidas del siguiente modo:
- ·[direcciones_de_correo_extraídas_del_sistema_infectado]
- ·administration@[nombre_de_dominio]
- ·management@[nombre_de_dominio]
- ·noreply@[nombre_de_dominio]
- ·staff@[nombre_de_dominio]
- ·support@[nombre_de_dominio]
- ·antispam@[nombre_de_dominio]
- ·antivirus@[nombre_de_dominio]
Asunto, elegido aleatoriamente de:
- ·Account notify
- ·E-mail account disabling warning.
- ·E-mail account security warning.
- ·Email account utilization warning.
- ·Email report
- ·E-mail technical support message.
- ·E-mail technical support warning.
- ·E-mail warning
- ·Encrypted document
- ·Fax Message Received
- ·Forum notify
- ·Hidden message
- ·Important notify
- ·Important notify about your e-mail
account.
- ·Incoming message
- ·Notify about using the e-mail account.
- ·Notify about your e-mail account
utilization.
- ·Notify from e-mail technical support
- ·Protected message
- ·Re: Document
- ·Re: Hello
- .Re: Hi
- ·Re: Incoming Fax
- ·Re: Incoming Message
- ·Re: Msg reply
- ·RE: Protected message
- ·RE: Text message
- ·Re: Thank you!
- ·Re: Thanks :)
- ·Re: Yahoo!
- ·Request response
- ·Site changes
- ·Warning about your e-mail account.
Contenido, es un mensaje construido con
la primera secuencia aleatoria (primer párrafo):
- ·Dear user of [nombre_de_dominio],
- ·Dear user of [nombre_de_dominio] e-mail
server gateway,
- ·Dear user of [nombre_de_dominio] mailing
server,
- ·Dear user of [nombre_de_dominio] mailing
domain,
- ·Dear user of [nombre_de_dominio] domain,
- ·Dear user of e-mail server
[nombre_de_dominio],
- ·Hello user of [nombre_de_dominio] e-mail
server,
- ·Dear user of [nombre_de_dominio] mailing
system,
- ·Dear user, the management of
[nombre_de_dominio] mailing system wants to let you know that,
Seguido de una de las siguientes líneas de
texto (segundo párrafo):
- ·Our antivirus software has detected a
large ammount of viruses outgoing from your email account, you may use our
free anti-virus tool to clean up your computer software.
- ·Our main mailing server will be temporary
unavaible for next two days, to continue receiving mail in these days you
have to configure our free auto-forwarding service.
- ·Some of our clients complained about the
spam (negative e-mail content) outgoing from your e-mail account. Probably,
you have been infected by a proxy-relay trojan server. In order to keep your
computer safe, follow the instructions.
- ·We warn you about some attacks on your
e-mail account. Your computer may contain viruses, in order to keep your
computer and e-mail account safe, please, follow the instructions.
- ·Your e-mail account will be disabled
because of improper using in next three days, if you are still wishing to
use it, please, resign your account information.
- ·Your e-mail account has been temporary
disabled because of unauthorized access.
Las siguientes líneas de texto (tercer
párrafo):
- ·Advanced details can be found in attached
file.
- ·Find the white rabbit.
- ·Follow the wabbit.
- ·For details see the attach.
- ·For details see the attached file.
- ·For further details see the attach.
- ·For more information see the attached
file.
- ·Further details can be obtained from
attached file.
- ·Here is the file.
- ·Message is in attach
- ·More info in attach
- ·Pay attention on attached file.
Las siguientes líneas de texto (cuarto
párrafo):
- ·Advanced details can be found in attached
file.
- ·For details see the attach.
- ·For details see the attached file.
- ·For further details see the attach.
- ·For more information see the attached
file.
- ·Further details can be obtained from
attached file.
- ·Pay attention on attached file.
- ·Please, read the attach for further
details.
Las siguientes líneas de texto como despedida
(quinto párrafo):
- ·Best wishes,
- ·Cheers,
- ·Have a good day,
- ·Kind regards,
- ·Sincerely,
- ·The Management,
Los mensaje terminan con el siguiente texto:
The [nombre_de_dominio] team http://www.[nombre_de_dominio]
Anexado, archivo de nombre aleatorio con extensión .EXE,
.ZIP o .RAR y con
el icono de mensaje de texto:
-
·Attach
-
·Details
-
·details
-
·Document
-
·Encrypted
-
·first_part
-
·Gift
-
·Info
-
·Information
-
·Message
-
·MoreInfo
-
·pub_document
-
·Readme
-
·Text
-
·text_document
-
·TextDocument
Con una de las extensiones:
Si el archivo anexado tiene las extensiones
.ZIP o .RAR, el mensaje contiene una línea de texto adicional:
-
·For security reasons attached file is password protected. The password is
[password_generado].
-
·For security purposes the attached file is password protected. Password is
[password_generado].
-
·Note: Use password [password_generado] to open archive.
-
·Attached file is protected with the password for security reasons. Password is
[password_generado].
-
·In order to read the attach you have to use the following password:
[password_generado].
El [password_generado] es un gráfico que
muestra la contraseña en modo gráfico.
Asimismo, en forma aleatoria el cuerpo del mensaje puede contener una de las siguientes
líneas de texto:
Archive Password: [password_generado].
Password - [password_generado].
Password: [password_generado].
Al ser activado el gusano se copia a la carpeta %System%
con con los siguientes nombres de archivos:
- Winupd.exe
(copia del gusano)
- Winupd.exeopen
(copia del gusano)
- Winupd.exeopenopen
(copia del gusano comprimido en formato .ZIP o .RAR)
- Winupd.exeopenopenopen
(gráfico que muestra la contraseña del archivo a .ZIP o .RAR)
Para ejecutarse la próxima
vez que se re-inicie el sistema crea la siguiente llave de registro:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"winupd.exe" = "%System%\winupd.exe"
Crea además la siguiente llave:
[HKEY_CURRENT_USER\winupd]
Al siguiente re-inicio el gusano se activa en
memoria y termina con los procesos de cualquiera de los sistemas de seguridad
que tengan los siguientes archivos:
- 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
- au.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
- d3dupdate.exe
- DEFWATCH.EXE
- DEPUTY.EXE
- DPF.EXE
- DPFSETUP.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
- 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
- PCC2K_76_1436.EXE
- PCCIOMON.EXE
- PCDSETUP.EXE
- PCFWALLICON.EXE
- PCIP10117_0.EXE
- PDSETUP.EXE
- PERISCOPE.EXE
- PERSFW.EXE
- PF2.EXE
- PFWADMIN.EXE
- PINGSCAN.EXE
- PLATIN.EXE
- POPROXY.EXE
- POPSCAN.EXE
- PORTDETECTIVE.EXE
- PPINUPDT.EXE
- PPTBC.EXE
- PPVSTOP.EXE
- PROCEXPLORERV1.0.EXE
- PROPORT.EXE
- PROTECTX.EXE
- PSPF.EXE
- PURGE.EXE
- PVIEW95.EXE
- QCONSOLE.EXE
- QSERVER.EXE
- RAV8WIN32ENG.EXE
- REGEDIT.EXE
- REGEDT32.EXE
- RESCUE.EXE
- RESCUE32.EXE
- RRGUARD.EXE
- RSHELL.EXE
- RTVSCN95.EXE
- RULAUNCH.EXE
- SAFEWEB.EXE
- SBSERV.EXE
- SD.EXE
- SETUP_FLOWPROTECTOR_US.EXE
- SETUPVAMEEVAL.EXE
- SFC.EXE
- SGSSFW32.EXE
- SH.EXE
- SHELLSPYINSTALL.EXE
- SHN.EXE
- SMC.EXE
- SOFI.EXE
- SPF.EXE
- SPHINX.EXE
- SPYXX.EXE
- SS3EDIT.EXE
- ST2.EXE
- SUPFTRL.EXE
- SUPPORTER5.EXE
- SYMPROXYSVC.EXE
- SYSEDIT.EXE
- TASKMON.EXE
- TAUMON.EXE
- TAUSCAN.EXE
- TC.EXE
- TCA.EXE
- TCM.EXE
- TDS2-98.EXE
- TDS2-NT.EXE
- TDS-3.EXE
- TFAK5.EXE
- TGBOB.EXE
- TITANIN.EXE
- TITANINXP.EXE
- TRACERT.EXE
- TRJSCAN.EXE
- TRJSETUP.EXE
- TROJANTRAP3.EXE
- UNDOBOOT.EXE
- UPDATE.EXE
- VBCMSERV.EXE
- VBCONS.EXE
- VBUST.EXE
- VBWIN9X.EXE
- VBWINNTW.EXE
- VCSETUP.EXE
- VFSETUP.EXE
- VIRUSMDPERSONALFIREWALL.EXE
- VNLAN300.EXE
- VNPC3000.EXE
- VPC42.EXE
- VPFW30S.EXE
- VPTRAY.EXE
- VSCENU6.02D30.EXE
- VSECOMR.EXE
- VSHWIN32.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
El gusano posee su propio SMTP
(Simple Mail Transfer Protocol) para auto-enviarse
masivamente a los buzones de correo contenidos en los archivos con las extensiones:
- 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
Tiene una
rutina que evita auto-enviarse a direcciones con las siguientes cadenas:
- @avp.
- @foo
- @hotmail.com
- @iana
- @messagelab
- @microsoft
- @msn
- abuse
- admin
- anyone@
- bsd
- bugs@
- cafee
- certific
- contract@
- feste
- free-av
- f-secur
- gold-certs@
- google
- help@
- icrosoft
- info@
- kasp
- linux
- listserv
- local
- nobody@
- noone@
- noreply
- ntivi
- panda
- pgp
- postmaster@
- rating@
- root@
- samples
- sopho
- spam
- support
- unix
- winrar
- winzip
El gusano usa el IP
217.5.97.137 (la mima que tiene el acceso restringido) para resolver otras direcciones IP,
en el caso que no pudiese encontrar un servidor DNS en las redes locales que
infecte.
Para propagarse a través de las redes Peer
to Peer se copia a las carpetas de descarga que tengan la cadena de
texto shar, que corresponden a Kazaa, BearShare,
eDonkey, Morpheus,
Grokster,
LimeWire., etc. en
caso de estar instaladas, con los siguientes nombres:
- ACDSee 9.exe
- Adobe Photoshop 9 full.exe
- Ahead Nero 7.exe
- 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
Bagle.P
genera llaves de registro para borrar los valores en las claves generadas por
las variantes del gusano Netsky:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
Los valores borrados son:
- 9XHtProtect
- Antivirus
- HtProtect
- ICQ Net
- ICQNet
- My AV
- Service
- Special Firewall Service
- Tiny AV
- Zone Labs Client Ex
Actuando como Backdoor el gusano se conecta
remotamente a través del puerto TCP 2556
(nicetec-nmsvc) para recibir comandos del autor del virus.
El gusano está programado para borrar todas sus llaves de registro el 31
de Diciembre del 2005 y en adelante.
Sus payloads son los
siguientes:
- Se propaga en mensajes de correo, con un archivo binario de nombre aleatorio, con la extensión
.ZIP protegido con una contraseña, la misma que es incluida en el Contenido
o Cuerpo del mensaje.
- Usa la técnica Spoofing para disfrazar al Remitente.
- Los Asuntos y Contenido son elegidos aleatoriamente de una lista contenida
en el código del virus.
- Posee su propio SMTP (Simple Mail Transfer Protocol) y se
auto-envía haciendo uso de direcciones de correo extraídas de archivos de
ciertas extensiones.
- Evita enviarse a buzones de correo con determinadas cadenas.
- También se difunde a través de las redes Peer to Peer cuyos software se
encuentren instalados en los sistemas infectados.
- Infecta en forma aleatoria archivos PE en carpetas elegidas al azar.
- Borra los valores de los registros creados por el gusano Netsky y sus
variantes.
- Actuando como backdoor el gusano se conecta remotamente a través del puerto TCP
2556
para recibir comandos del autor del virus.
- El gusano está programado para borrar todas sus llaves de registro el 31
de Diciembre del 2005 y en adelante.
PER ANTIVIRUS® versión
8.5 y 8.6 con
registro de virus al 16 de Marzo del 2004 detecta y elimina
eficientemente este gusano/backdoor.

