Tanatos also known as Bugbear is a worm that drops a backdoor/keystroke logger trojan that can allow a cracker access to many parts of the infected computer. The worm has the ability to infect a computer from the preview pane of an unpatched system. It may also send email stored on an infected system to a random email address. It also had the habit of sending information to networked printers that caused them to print nonsense.
The name of the virus seems to be an alteration of the Greek term θάνατος (thanatos), meaning "death".
Tanatos can arrive on a system through email or a network. It uses a few complex methods to avoid being automatically identified as a worm when it arrives in an email attachment. The worm is even more bizarre with regard to its network transmission.
Tanatos arrives onto a system in an email message that is either a reply to or forward of an existing message, and it also may arrive as a new email message with one of the following subject lines:
- Get 8 FREE issues - no risk!
- Your News Alert
- $150 FREE Bonus!
- Re:, Your Gift
- New bonus in your cash account
- Tools For Your Online Business
- Daily Email Reminder
- News, free shipping!
- its easy
- SCAM alert!!!
- Sponsors needed
- new reading
- CALL FOR INFORMATION!
- 25 merchants and rising
- My eBay ads
- empty account
- Market Update Report
- click on this!
- bad news
- Lost & Found
- New Contests
- Today Only
- Get a FREE gift!
- Membership Confirmation
- Please Help...
- I need help about script!!!
- history screen
- Correction of errors
- Just a reminder
- Payment notices
The subject line may be constructed from a randomly selected file on the hard disk of the infected computer. The attachment name could be from a file on the computer that the worm was sent from or it could have one of the following names:
Their extensions are .exe, .scr or .pif. The file name may also be taken from a file on the previously infected computer sending the worm, in which case, it will have a double extension, such as Document.txt.scr. These files can include:
A system running Internet Explorer 5.0 or 5.5, the attachment may be run automatically from the preview pane in Outlook or Outlook Express if Explorer is unpatched.
Tanatos can spread over networks through shared folders. One of its threads continually scans for any shared network resources. It attempts to copy itself as a random file name to that resource. The worm does not discriminate between types of resources, including printers. This can cause an accumulation of print jobs and paper with unintelligable gibberish.
When Tanatos runs, it copies itself to the Windows System folder as a random string of four letters with a .exe file extension. It also copies itself to the startup folder as Cuu.exe on a Windows 95, 98 or ME system or Cti.exe on a Windows 2000, XP or NT system.
It creates five encrypted files, two encrypted .dat files in the Windows folder (Okkqsa.dat and Ussiwa.dat) and three encrypted .dll files in the Windows System folder (Iccyoa.dll, Lgguqaa.dll, Roomuaa.dll). One of the files contains a password required to establish connection with the backdoor component. Another, detected as the Hooker trojan, monitors keystrokes, which are then sent back to any cracker who can usethe backdoor to access the computer. The other files are encrypted, but non-malicious files that store gathered passwords, email addresses and logged keystrokes.
It then adds a value of random letters and the worm's file name to the local machine registry key that causes the worm to run when the computer starts up.
Tanatos creates four threads. The first of these activates a payload every 30 seconds to stop these processes from running:
The second thread searches for email addresses in files with the extensions:
The thread looks up the current user's email address and SMTP server from registry key that stores the address in order to prevent itself from infecting the same machine twice. Tanatos then sends itself to all found email addresses. Sometimes the worm constructs an email address from information taken from the computer for the spoofed Sender line.
The keylogging .dll file records all keystrokes to the memory. When the user accesses the internet through a dial-up connection, the keystroke logs are sent to these email addresses:
The worm also opens port 36794 and listens for commands from a remote machine. This allows a cracker to retrieve cached passwords in an encrypted form, download and execute a file, find files, delete files, execute files, copy files, write to files, list processes, terminate processes, Retrieve information such as username, type of processor, Windows version, Memory information (amount used, amount free, etc), drive information (types of local drives available, amount of space available on these drives, etc).
Tanatos gets its name from the text string found in the original variant, "Project Tanatos". Its more common name, Bugbear, was originally the name of a legendary monster used to frighten disobedient children, similar to a bogeyman. It has been used as a term for scarecrow. The word has also been used for several other things (usually some form of wild creature) that appear in Harry Potter, Dungeons and Dragons and Final Fantasy as well as several other places.
- Virus Encyclopedia full name: Worm/Email-Network/Win32/Tanatos
- Avira: Worm/BugBear.B.dll
- ClamAV: Trojan.PWS.Hooker
- Doctor Web: Win32.HLLM.Bugbear.2
- Eset: Win32/Bugbear.B
- F-Prot: W32/Keylog
- Grisoft: I-Worm/Bugbear
- Kaspersky Lab: Email-Worm.Win32.Tanatos.a or I-Worm.Tanatos.a
- McAfee: W32/Bugbear.b.dll.gen
- Panda: Trj/PSW.Bugbear.B
- RAV: TrojanSpy:Win32/Bugbear.B
- Bitdefender: Trojan.KeyLogger.BugBear.B
- Sophos: W32/Bugbear-B
- Symantec: W32.Bugbear@mm
Tanatos initially failed to chart, being beaten out by variants of Klez, Yaha, and a few others (Loveletter was still high on the virus/worm charts at the time). By Halloween (October 31) though, Tanatos had overtaken Klez.H as the most common worm. Klez later overtook Tanatos again in 2003 February.
Tanatos was at first said to have originated in Malaysia according to MessageLabs and the Straits Times. Malaysian authorities said that the first reports of the worm were in fact from Malaysia, but there was no confirmation that the worm was in fact created and released originally in Malaysia.
Michelle Delio. Tech-notes 108, "It's a Bug, a Bear and a Worm".
Yana Liu, Serghei Sevcenco. Symantec.com "W32.Tanatos@mm".
Sophos Threat Analysis, "W32/Tanatos-A"
Trend Micro, "WORM_Tanatos.A".
Kaspersky Lab. Virus List, Email-Worm.Win32.Tanatos.a.
Trend Micro Antivirus, WORM_Tanatos.A.
John Leyden. The Register, Klez-H enjoying its final days on infamy? 2002.10.02
-.-, Worms turn on Win/Linux users 2002.10.07
-.-, Klez-H tops monthly virus charts. Again. 2003.02.28
The Age, No proof Bugbear originated in Malaysia. 2002.10.09
Dr. Sureswaran Ramadass, Dr. Rahmat Budiarto, Mr. Ahmad Manasrah, Mr. M. F. Pasha. jEnterprise Suite For Network Monitoring and Security