Enterasys - Secure Networks

The Network Infrastructure and Security Division
of Siemens Enterprise Communications
Skip to content

ENSRT Incident Note ETS-i-2005-12588

The Enterasys Networks Security Response Team (ENSRT) publishes incident notes to provide information for our constituents to raise awareness of issues deemed threatening to the security and integrity of our customers.

Worm - WORM_BAGLE.BD

Release Date: 07/26/2005
Last Updated:

Print this alert

Overview

WORM_BAGLE.BD is a mass-mailing worm that also opens a backdoor on TCP port 80 in order to act as a WEB server.

Details below describe the characteristics of WORM_BAGLE.BD as well as provide detection, containment, and prevention techniques available through Enterasys Secure Networks solutions.

Systems affected

Windows operating systems

Systems not affected

Linux and MAC/OSX

Description

WORM_BAGLE.BD arrives via an e-mail with an attachment in the user's mailbox with a Subject line of "Foto" and with an attachment name of either "Foto.zip" or "fotos.zip". If the embedded trojan is launched, the following steps in the worm propagation process occur.

1) Creates registry entries to ensure the startup of the trojan upon Windows bootup, however, due to a misspelling the registry entries fail.
2) Downloads a copy of the worm component from several different WEB sites.
3) Collects e-mail addresses from the conquered PC's Windows Address Book (WAB).
4) Downloads EML.EXE from the Internet containing additional e-mail addresses.
5) Makes use of the local SMTP server as well as embedded SMTP functionality to invoke the mass-mailing routines.
6) The worm opens a WEB server on TCP port 80 for the purpose of uploading and downloading files.
7) Removes "ICQ Net" and "My AV" from the Windows autorun registry entries.

Threat Assessment

Mass-mailing worms if not addressed through prudent remediation steps may congest mail servers and/or degrade network performance. Mass-mailing worms may impact individual system performance and compromise security settings allowing unauthorized remote access to the compromised host.

Trojans or backdoor listeners if not addressed through prudent remediation steps, can compromise network and host security. Additionally, trojans and backdoor listeners potentially allow theft of information, unauthorized remote access, and damage to critical files.

Remediation

Matrix N7
X
Matrix E7
X
Matrix E6
X
Matrix E5
X
Matrix E1
X
VH
X
C-Series
X

Detection

Specific Dragon signatures that detect the WORM_BAGLE.BD worm can be retrieved via Dragon Live Update and are located in the Master Library within the ENSRT category. The two signatures with the prefix "ENSRT:WORM-BAGLE-BD" can be copied into a custom library and deployed on a Dragon network sensor that is protecting the enterprise SMTP server to successfully detect end-user class machines which have become infected with the worm.

If utilizing Dynamic Intrusion Response (DIR), a Dragon Alarmtool policy that consists of an event group that contains both of the signatures within the "ENSRT:W32-BAGLE-BD" family should be used. A threshold parameter of at least three signature detections within a time span of 60 seconds should be used to mitigate the existence of false positives.

NOTE: All signatures in the ENSRT library are disabled by default. These signatures must be enabled after they are imported into a custom library if they are to be successfully deployed.

Prevention

Trusted End System solutions are capable of monitoring various end system activity. TES is able to take immediate action such as firewalling specific IPs, TCP/UDP ports, applications, or placing the user into a Quarantine policy or VLAN until end system threat is mitigated. Learn more at: http://www.enterasys.com/solutions/secure-networks/trusted_end_system/

Containment

The Enterasys Dynamic Intrusion Response (DIR) solution can be utilized to remove infected end-users from the enterprise network by detecting the infection with a Dragon NIDS signature (see "Detection" section of this report), locating the user's connection point using Automated Security Manager's location services module, and either placing the user in a quarantine VLAN or disabling the associated switch port for the user.

Using Enterasys Policy Manager, enforce a policy that allows SMTP traffic from end user PCs to authorized SMTP mail servers and blocks SMTP traffic to unauthorized end users or unknown Internet systems. If the SMTP protocol is not implemented for end users within the enterprise, consider implementing a policy blocking SMTP traffic from end user ports.

Internet or edge facing firewalls should be configured with a default 'Deny' policy and contain 'Permit' policies for only needed services and applications. Furthermore, careful inspection of firewall policies that allow TCP traffic streams to be initiated from the Internet into internal enterprise resources is required. These policies should only allow specific protocols to trusted servers thereby combating the increased use of random TCP ports by Internet Trojans and worms.

Repair

Monitor Dragon Realtime Console for alerts that end-user PCs have become infected with the virus. If utilizing the DIR solution, users can either be expunged from the network or placed in a quarantine VLAN. Once isolated, see your anti-virus vendor for Windows repair procedures for infected users.

Scan all clients and servers for newly opened TCP ports that did not appear in previous TCP scans. If viruses are detected apply appropriate removal tools on each client and server that have the open ports (See your anti-virus solution for removal instructions).

References

http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM%5FBAGLE%2EBD&VSect=T


This document and the information contained herein are intended solely for informational use. Enterasys Networks, Inc. makes no representations or warranties of any kind, whether expressed or implied, with respect to this information and assumes no responsibility for its accuracy or completeness. Enterasys Networks, Inc. hereby disclaims all liability and warranty for any information contained herein and all the material and information herein exists to be used only on an "as is" basis. More specific information may be available on request. By your review and/or use of the information contained herein, you expressly release Enterasys from any and all liability related in any way to this information.    

A copy of the text of this section is an uncontrolled copy, and may lack important information or contain factual errors. All information herein is Copyright ©Enterasys Networks, Inc. All rights reserved. All information above is subject to change without notice.    


Revision History:

Version: 1.0

Date: 07/26/2005

Author: ENSRT STAFF

Change

There is nothing more important than our customers