Welcome to the Computer Security Wiki! You can help us by expanding stubs, create new articles and improve current articles.
You can also help us by logging-in or creating an account!


From Malware Wiki

(Redirected from LoveLetter)

Jump to: navigation, search

Not to be confused with LoveYou.

Story love.gif
CreatorReonel Ramones and Onel A. De Guzman
DateMay 4th, 2000
OriginManila, Philippines
Programming LanguageVisual Basic Script
PlatformMicrosoft Windows
File Type.vbs
Impact500,000 Computers
Damage costs$15 billion
This box: view  talk  edit

ILOVEYOU, sometimes referred to as LoveLetter or LoveBug, was a computer worm that attacked over ten million Windows personal computers on and after May 5, 2000.

Memorable for its "LOVE-LETTER-FOR-YOU" attachment and "ILOVEYOU" subject line, was one of the early worms to gain a great deal of media attention. It was also one of the first to reportedly reach a multi-billion dollar damage toll, being one of the most dangerous viruses.

This worm program was written by two young Filipino computer programmers named Reonel Ramones and Onel de Guzman, a student at AMA Computer University in Makati, Philippines. The author of the worm has conceded that he may have released the malware by "accident". The worm was first discovered in Hong Kong.

Messages which were generated in the Philippines began to spread westwards through corporate email systems. Because the worm used mailing lists as its source of targets, the messages often appeared to come from acquaintances and were therefore often regarded as "safe" by their victims, providing further incentive to open them. Only a few users at each site had to access the attachment to generate millions of more messages that crippled mail systems and overwrote millions of files on computers in each successive network.

On 5 May 2000, the developers of the worm became targets of a criminal investigation by agents of the Philippines' National Bureau of Investigation. Local Internet service provider Sky Internet had reported receiving numerous contacts from European computer users alleging that malware (in the form of the "ILOVEYOU" worm) had been sent via the ISP's servers.

After surveillance and investigation by Darwin Bawasanta of Sky Internet, the NBI traced a frequently appearing telephone number to Ramones' apartment in Manila. His residence was searched and Ramones was arrested and placed on inquest investigation before the Department of Justice (DOJ). Onel de Guzman was likewise charged in absentia.

At that point, the NBI was unsure what felony or crime would apply. It was suggested they be charged with violating Republic Act 8484 (the Access Device Regulation Act), a law designed mainly to penalize credit card fraud, since both used pre-paid (if not stolen) Internet cards to purchase access to ISPs. Another idea was that they are charged with malicious mischief, a felony (under the Philippines Revised Penal Code of 1932) involving damage to property. The drawback here was that one of its elements, aside from damage to property, was intended to damage, and de Guzman had claimed during custodial investigations that he may have unwittingly released the worm.

To show intent, the NBI investigated AMA Computer College, where de Guzman had dropped out at the very end of his final year. They found that, for his undergraduate thesis, de Guzman had proposed the implementation of a trojan to steal Internet login passwords. This way, he proposed, users would finally be able to afford an Internet connection. The proposal was rejected by the College of Computer Studies board, prompting de Guzman to cancel his studies the day before graduation.

The ILoveYou worm caused widespread e-mail outages. More than 45 million computers around the globe have supposedly been infected by various strains of the worm. The types of industries affected include stock brokerages, food companies, media, auto, and technology giants, as well as government agencies, universities and medical institutions worldwide. The Ford Motor Company shut off its email system after being hit hard by the worm (General Motors was not directly affected by the worm, as they do not use Outlook at that company).

A partial list of others affected by the virus confirmed by CNET News.com was Silicon Graphics, the Department of Defense (including the Pentagon itself), Daimler-Chrysler, The Motion Picture Association of America, the Federal Reserve and Cox Cable. The worm was responsible for a denial-of-service attack on the official White House website. One web start-up reported losing 40 gigabytes of JPEG images. Estimates of the worm's damage are in between $8.75 billion and $10 billion.



The virus arrives in an email with the subject line of "ILOVEYOU" with an attachment "LOVE-LETTER-FOR-YOU.TXT.vbs" that people were encouraged to open, since the ".vbs" suffix was not visible, thus seeing the ".TXT" suffix. The message body is "kindly check the attached LOVELETTER coming from me." The sender line will be the address it was sent from. The user must download and execute the worm by clicking on it.

The worm may also come from an infected computer on the same IRC channel using mIRC. The worm will be in an infected HTML document named LOVE-LETTER-FOR-YOU.TXT.HTM downloaded into the IRC downloads folder. The user must access the .htm file to activate the worm.

Internet Explorer security settings do not allow scripts to access disk files and will display a warning when they try to. To work around this, the worm displays a fake message telling the user to give ActiveX control to the .htm file. If the user clicks on "Yes", the worm infects the system. If the user clicks on "No", the worm reloads the message in an infinite loop until the user clicks on "Yes" to allow it to infect the system.


When the worm is executed, it copies itself as the files LOVE-LETTER-FOR-YOU.TXT.VBS and MSKERNEL32.VBS in the System folder and WIN32DLL.VBS in the Windows directory. It creates its own key named MSKernel32 under the local machine registry key that causes programs to run and adds the value MSKERNEL32.VBS to it. It also creates a new Local Machine RunServices key named Win32DLL and adds WIN32DLL.VBS as a value to it, so it will run when the system boots, before the user even logs on.

The worm sets the Internet Explorer start page to one of four randomly chosen web pages so that it downloads the file WIN-BUGSFIX.EXE, a trojan. It then adds a registry key for it in the same manner that it registered its own files, so it will run at startup. After the WIN-BUGSFIX.EXE program has been run, it copies itself to the Windows system folder as WinFAT32.EXE and replaces the WIN-BUGSFIX.EXE registry key with one for itself. This file obtains the system's logins, passwords, machine name, IP address, RAS information and some other information about the computer and sends it to mailme@super.net.ph.

Loveletter searches for files to modify, mostly by replacing those files with a copy of itself. If the file has a .vbs or .vbe extension, it will simply overwrite the files. If they have the extensions js, jse, css, wsh, sct, or hta, it will overwrite the file as well as the extension, changing it to .vbs, but retaining the original name (program.js becomes program.vbs). For .jpg or .jpeg files, it overwrites them, retains the original file name and extension, but adds .vbs to the extension (picture.jpg becomes picture.jpg.vbs). Mp3 and mp2 files are not overwritten, but rather hidden.

Loveletter opens the Outlook email program and scans for email addresses in the Address book. It sends the email with an attached copy of itself

The worm scans for the files mirc32.exe, mlink32.exe, mirc.ini, script.ini and mirc.hlp. If it finds one or more of these files, it will generate a new script.ini and place it in the directory where the files are found. The script contains instructions to send the file LOVE-LETTER-FOR-YOU.TXT.HTM to all users on the same IRC channel as well as a comment:

 ;mIRC Script" 
  ;  Please dont edit this script... mIRC will corrupt if mIRC will 
  ;     corrupt... WINDOWS will affect and will not run correctly. thanks" 
  ;Khaled Mardam-Bey 


The worm itself is a text script program, and it is spread in-text source form. The worm's code may be easily modified by hackers, and as a result, there are many variants of the original worm. Most of them are just minor remakes and differ to the original just in details - there are message-fields text changed, different file names, a different set of affected disk files extensions (for example, .BAT and .INI).

The subject, message body, and attached file name in different variants appear as listed below (the first block belongs to original worm version):

Subject Body Attachment Name
ILOVEYOU kindly check the attached LOVELETTER coming from me. LOVE-LETTER-FOR-YOU.TXT.vbs
Mothers Day Order Confirmation

We have proceeded to charge your credit card for the amount of $326.92 for the mothers day diamond special. We have attached a detailed invoice to this email. Please print out the attachment and keep it in a safe place.Thanks Again and Have a Happy Mothers Day!


fwd: Joke - no message body in message Very Funny.vbs
Susitikim shi vakara kavos puodukui... kindly check the attached LOVELETTER coming from me. LOVE-LETTER-FOR-YOU.TXT.vbs
Important ! Read carefully !! Check the attached IMPORTANT coming from me ! IMPORTANT.TXT.vbs
Dangerous Virus Warning

There is a dangerous virus circulating. Please click attached picture to view it and learn to avoid it.

How to protect yourself from the IL0VEY0U bug! Here's the easy way to fix the love virus. Virus-Protection-Instructions.vbs
Thank You For Flying With Arab Airlines Please check if the bill is correct, by opening the attached file. ArabAir.TXT.vbs
Bewerbung Kreolina Sehr geehrte Damen und Herren! BEWERBUNG.TXT.vbs
LOOK! hehe...check this out. LOOK.vbs
Variant Test This is a variant to the vbs virus. IMPORTANT.TXT.vbs
Yeah, Yeah another time to DEATH... This is the Killer for VBS.LOVE-LETTER.WORM. Vir-Killer.vbs
I Cant Believe This!!! I Cant Believe I Have Just Recieved This Hate Email .. Take A Look! KillEmAll.TXT.vbs
New Variation on LOVEBUG Update Anti-Virus!!

There is now a newer variant of love bug. It was released at 8:37 PM Saturday Night. Please Download the following patch. We are trying to isolate the virus. Thanks Symantec.

IMPORTANT: Official virus and bug fix

This is an official virus and bug fix. I got it from our system admin. It may take a short while to update your system files after you run the attachment.

Bug and virus fix.vbs
Recent Virus Attacks-Fix

Attached is a copy of a script that will reverse the effect of the LOVE-LETTER-TO-YOU.TXT.vbs as well as the FW:JOKE,

Mother's Day and Lituanian Siblings.



O UOL tem um grande presente para voce, e eh exclusivo. Veja o arquivo em anexo.




I got this from our system admin. Run this to help pervent a ny recent or future bug & virus attack's. It may take a small while up update your files.

You May Win $1,000,000! 1 Click Away kindly check the attached WIN coming from me. WIN.vbs
Virus Warnings !!! VERY IMPORTANT PLEASE READ THIS TEXT. TEXT ATTACHMENT. very-important-txt.vbs

kindly check the attached VIRUS INFORMATION coming from me. This is how you can be immune to any virus. It really helps alot!

You must read this! Have you read this text? You must do it!! C:\NOTES.TXT.exe
New virus discovered!

A new virus has been discovered! It's name is @-@Alha and Omega@-@.

Full list of virus abilities is included in attached file @-@info.txt@-@.

For the last information go to McAfee's web page

Please forward this mesage to everyone you care about.

Wish you were Here! Wish you were Here! Im having a great time! Wish you were Here!.postcard.vbs