Bagle, also known as Beagle, is a large family of mass-mailing worms targeting Microsoft Windows. Its first variant, Bagle.A, was discovered on January 18, 2004. Bagle spreads primarily through malicious executable email attachments, using social engineering and benign-looking icons or file-type disguises to encourage execution. It harvests recipient addresses from local address books, text documents, and HTML files, then distributes itself using its own SMTP engine. Early variants perform direct mail-exchanger lookups and spoof sender addresses rather than relying on the victim’s email client configuration.
After execution, early Bagle variants copy themselves into the Windows system directory and establish startup persistence through registry Run entries. Bagle.A launches Windows Calculator to conceal its malicious activity. The family installs a backdoor that permits remote access; Bagle.A specifically supports downloading and executing arbitrary programs. Early variants also contact predefined web servers to report infection information. Many variants contain programmed dates after which propagation stops, although their behavior differs substantially across the family.
Bagle-infected systems were subsequently used in large spam-sending botnets, including campaigns advertising pharmaceuticals and replica watches. The family is also associated with a public rivalry involving the authors of Netsky and Mydoom, characterized by insulting messages embedded in malware and competing infection-removal routines. Bagle propagated internationally rather than targeting a specific industry.
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Early January saw a rise in activity from both the Lethic and Bagle spambots... it is currently responsible for about eight to ten per cent of the spam in our traps... The Bagle 2 botnet was only responsible for around 1.9 per cent of spam sent.
These expanding networks of zombie PCs (dubbed 'botnets' by the computer underground) are most often used for spam distribution but they also serve as effective platforms for DDoS attacks.
The "From" address field is spoofed, and may appear to be from someone you know.
The attachment is an executable file with a random file. Once the user executes the file, the virus mails itself to all of the names found on the users hard drive | The new variant arrives in an e-mail with a spoofed sending address and a subject line that contains the term “ID” followed by a string of random characters. The text of the message simply says: “Yours ID” followed by another bunch of random characters. The attachment is an executable file with a random file.
It can be used to download and execute arbitrary programs from the Internet.
When a user executes Bagle's attachment, the virus puts copies of itself called "bbeagle.exe" into the Windows System folders and adds the following registry keys to allow it to run when the system is started: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, "d3update.exe" = "%system%\bbeagle.exe"
When a user executes Bagle's attachment, the virus puts copies of itself called "bbeagle.exe" into the Windows System folders and adds the following registry keys to allow it to run when the system is started: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, "d3update.exe" = "%system%\bbeagle.exe"
The attachment has the Windows Calculator icon, and will launch the Calc.exe program to fool the user into thinking that's all they got.
Bagle recursively searches all drives on the infected computer to locate Windows Address Book (WAB) files, text and HTML.
It parses these files and collects all email addresses it can find.
Once the user executes the file, the virus mails itself to all of the names found on the users hard drive, with the exception of addresses in the Hotmail, MSN, Microsoft and AVP domains.
Once running, Bagle will attempt to connect with a PHP script on a series of internally hard-coded web sites.
When the worm is started it connects to a list of predefined web servers and tries to access a PHP file with certain parameters. One of the parameters is the TCP port where the backdoor is listening which suggests that this functionality is used to collect the addresses of infected computers.
Using its own SMTP engine Bagle sends messages with infected attachments to the collected addresses. The SMTP engine uses direct Mail eXchange (MX) lookup on the target domain so it does not depend on email settings of the infected computer.
The virus also listens on port 6777 for a malicious user to connect.
According to MessageLabs, Bagle also attempts to download a Trojan proxy component called Backdoor-CBJ.
Bagel contains a backdoor that listens on a TCP port 6777 which is hardcoded in the worm's body. This backdoor component provides remote access to the infected computer.
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.