This type of worm is embedded in an e-mail attachment, and spreads using the infected computer's e-mailing networks.
Once detected, the F-Secure security product will automatically disinfect the suspect file by either deleting it or renaming it.
More information on the scanning and removal options available in your F-Secure product can be found in the Help Center.
You may also refer to the Knowledge Base on the F-Secure Community site for further assistance.
If the infection is in a local network, please follow the instructions on this webpage:
Manual disinfection of Bagle consists of the following steps:
F-Secure can confirm that the remote removal method found by Joe Stewart of Lurhq does indeed work (please note that the usage of this method against someone else's computers may be legally questionable).
Sending a specific byte sequence to port 6777 on the infected computers causes the worm to delete itself from the System Directory and terminate its process. The registry values are not removed but since the file does not exist Windows will ignore those.
The byte sequence to be sent:
Email-Worm:W32/Bagle.HR differs from previous Bagle variants in that it is itself capable of functioning as a trojan-downloader, rather than depending on a separate trojan-downloader program.
In addition, the worm uses rootkit technology to disguise its presence on the computer.
Upon executing for the first time, Bagle.HR it shows the following dialog box as a decoy:
It will display the same message regardless of the file chosen.
In order to check itself for first execution, Bagle.HR checks the following registry entry:
If the said registry entry is available it will no longer show the dialog box.
Bagle.HR drops copies of itself in the following path and filename:
It also drops the following rootkit driver to hide its malicious activities:
To enable automatic execution upon boot, it adds the following auto start entry but waits for 300000 ms before adding it:
It also adds its rootkit driver component as a service by adding the following changes to the registry:
Bagle.HR deletes the following key in order to prevent the user from booting into safe mode:
Bagle.HR downloads other malware from the following links:
The rootkit driver terminates and deletes the following files that are related to antivirus software: