The ILOVEYOU computer worm, also called the Love Bug, was a VBScript worm that spread by email from 4 May 2000. Opening its LOVE-LETTER-FOR-YOU.TXT.vbs attachment overwrote files and mailed itself to every contact in the victim's Microsoft Outlook address book, infecting tens of millions of Windows computers and causing about $10 billion in damage.
Key takeaways
- ILOVEYOU spread by email, using a love-letter subject line and a hidden .vbs extension to trick victims into opening it.
- It infected about 10 percent of internet-connected computers and caused about $10 billion in damage.
- Its author was never prosecuted, because the Philippines had no law against malware at the time — a gap the case forced lawmakers to close.
On the morning of 5 May 2000, office workers around the world opened an email with the subject line "ILOVEYOU" and an attachment that looked like a love letter. Within hours, email systems at the Pentagon, the CIA, the UK Parliament and Ford were shutting down. The love letter was a worm — and it became one of the most damaging malware outbreaks in history.
What was the ILOVEYOU computer worm?
ILOVEYOU, also called the Love Bug or Loveletter, was a computer worm that infected tens of millions of Windows computers beginning on 4 May 2000. It spread by email, overwrote files on infected machines, and mailed itself to every contact in the victim's address book.
The worm was written in VBScript and run by Windows Script Host. It arrived as an attachment named LOVE-LETTER-FOR-YOU.TXT.vbs. At the time, Windows hid known file extensions by default, so victims saw what looked like a plain text file called LOVE-LETTER-FOR-YOU.TXT and opened it without a second thought.
Once opened, the worm copied itself into system directories so it would run again at reboot, using filenames that mimicked legitimate Windows files such as MSKernel32.vbs and Win32DLL.vbs. It then tried to download a trojan called WIN-BUGSFIX.exe, which stole dial-up internet access passwords.
ILOVEYOU is considered one of the first major examples of malware using social engineering — the message itself, not a technical exploit, was what made people open it.
How did ILOVEYOU spread so fast?
ILOVEYOU spread fast because it combined a tempting message with automatic mailing to every Outlook contact. One opened attachment could infect an entire company within hours.
First, the email arrived from someone the victim knew, because it had been sent from an infected friend or colleague's address book. That trust made the love-letter subject line believable.
Second, the hidden .vbs extension removed the usual warning sign. Victims thought they were opening a text file, not running a program.
Third, Microsoft Outlook was the default email client in most companies, and Windows held about 95 percent of the personal computer market. The worm's target environment was nearly universal.
Fourth, the worm spread through Internet Relay Chat as well as email, giving it a second channel. And because it was written in VBScript, other people could easily modify it — more than 25 variants appeared in the weeks that followed.
What damage did ILOVEYOU do to infected computers?
ILOVEYOU overwrote files, hid music files, changed system settings and flooded mail servers with millions of copies of itself. Many victims lost photos, documents and music permanently.
The worm searched connected drives for files to modify. VBScript files were overwritten with the worm's code. Files with extensions including .jpg, .jpeg, .js, .css, .wsh, .sct and .hta were replaced with copies of the worm using the same base filename plus a .vbs extension. MP3 files were hidden rather than deleted, but many users never recovered them.
It also reset the victim's Internet Explorer start page and changed Windows registry settings, including removing a 10-second timeout for scripts so the worm could run without limits.
The network damage was just as bad. Each infected machine mailed the worm to every Outlook contact, so mail servers were inundated with millions of messages and many crashed under the load. Organizations including the Pentagon, the CIA, the US Army, AT&T, Ford and the parliaments of Denmark and the UK shut down their email services to stop the spread.
ILOVEYOU timeline: 4 May 2000 and after
ILOVEYOU moved around the world in a single working day, following business hours from east to west. The timeline below shows how quickly a single worm could circle the globe in 2000.
| Date | What happened |
|---|---|
| 4 May 2000 | ILOVEYOU begins spreading in the Philippines and across Asia during business hours |
| 4–5 May 2000 | It reaches Europe by mid-morning and the United States by morning, as mail servers start to fail |
| 5 May 2000 | Major organizations shut down email; CERT issues alerts; the worm dominates world news |
| May 2000 | More than 25 variants appear; tens of millions of computers are infected |
| July 2000 | The Philippines passes the E-Commerce Law (Republic Act No. 8792) in response |
| 2019–2025 | Retrospectives mark ILOVEYOU as a turning point for email security and user awareness |
In about 10 days, ILOVEYOU reached an estimated 45 million users and caused about $10 billion in damage, according to TechTarget. About 10 percent of all internet-connected computers at the time were affected.
Who created ILOVEYOU, and why?
ILOVEYOU was created by Onel de Guzman, a 24-year-old computer science student at AMA Computer College in Manila, Philippines. He was poor and struggling to pay for dial-up internet access, and he believed internet access should be a human right.
The worm's hidden purpose matched that belief: the trojan it tried to download, WIN-BUGSFIX.exe, stole dial-up passwords so the author could use other people's internet accounts. De Guzman later said he may have released the worm accidentally, and he was questioned alongside two other suspects.
Philippine prosecutors ultimately dropped all charges, because there was no law against making malware at the time. In response, President Joseph Estrada signed the E-Commerce Law in July 2000 to cover similar activity in future.
The case became a textbook example of a legal gap: the technology to cause global damage existed before the laws to punish it.
ILOVEYOU vs Melissa: how did it compare?
ILOVEYOU was not the first email worm. The Melissa virus, released in March 1999, also spread by mailing itself to Outlook contacts. ILOVEYOU was faster, more destructive and far larger in scale.
| Melissa (1999) | ILOVEYOU (2000) | |
|---|---|---|
| Spread | Word macro, Outlook contacts | VBScript attachment, Outlook contacts and IRC |
| File damage | Limited; mainly mail flooding | Overwrote images, scripts and documents |
| Scale | Hundreds of thousands infected | Tens of millions infected |
| Damage | About $80 million estimated | About $10 billion estimated |
| Social engineering | Promised passwords to adult sites | Love letter from a known contact |
The Melissa comparison matters because it shows the pattern: each worm taught attackers what worked, and the next one used it at larger scale. The same pattern drives modern phishing, which still uses trusted senders and tempting subject lines.
What did ILOVEYOU change?
ILOVEYOU changed email security, software defaults and the law. Its lessons are still visible in the protections on your computer today.
- File extensions became visible. Hiding extensions had made a program look like a text file. Modern systems are more cautious about script attachments.
- Email filtering improved. Mail providers began scanning attachments and blocking dangerous script types by default.
- Users learned to distrust attachments. "Do not open unexpected attachments" became standard security advice, and it remains good advice today.
- Laws caught up. The Philippines passed its E-Commerce Law within months, and other countries strengthened computer crime laws.
- Social engineering became a recognized attack. ILOVEYOU proved that a convincing message could be more powerful than a technical exploit — a lesson that shaped phishing defenses ever since.
It also pushed organizations to rethink incident response. Companies that had no plan for a mail-borne worm learned to shut down email gateways quickly, segment networks and keep offline backups — practices that are now standard.
What can ILOVEYOU teach us today?
The worm itself would struggle today, but its tactics are everywhere. Modern phishing emails still arrive from compromised contacts, still use tempting subject lines, and still rely on the victim opening something they should not.
Three habits from the ILOVEYOU era still protect you. First, treat unexpected attachments with suspicion, even from people you know — their account may be compromised. Second, keep backups offline, because overwritten files are only recoverable if a copy exists elsewhere. Third, keep software updated, because modern defenses against script malware depend on patches and filters working together.
For a practical test of your own judgment, try our free phishing quiz.
You can also see the modern version of these tricks in our phishing email examples, and read TechRadar's 25-year retrospective on ILOVEYOU.
The bottom line
ILOVEYOU was a love letter that cost the world about $10 billion. It worked because it trusted the victim's trust: a message from someone they knew, an attachment that looked harmless, and a mail system that forwarded it to everyone else.
The worm is history, but its lesson is current. Verify unexpected attachments, keep offline backups, and remember that a familiar sender is not proof a message is safe. Test your eye for the modern version with the free phishing quiz.
Frequently asked questions
What was the ILOVEYOU computer worm?
ILOVEYOU, also called the Love Bug or Loveletter, was a computer worm that spread by email from 4 May 2000. It used a love-letter subject line and an attachment that looked like a text file, then overwrote files and mailed itself to every Outlook contact.
How many computers did ILOVEYOU infect?
It infected tens of millions of Windows computers, about 10 percent of all internet-connected computers at the time. In about 10 days it reached an estimated 45 million users, according to TechTarget.
How much damage did ILOVEYOU cause?
About $10 billion in damage, including lost files, crashed mail servers and the cost of cleaning up infections at governments and large companies around the world.
Who created the ILOVEYOU worm?
Onel de Guzman, a 24-year-old computer science student at AMA Computer College in Manila, Philippines. He later said he believed internet access should be a human right, and the worm tried to steal dial-up passwords.
Was anyone punished for ILOVEYOU?
No. Philippine prosecutors dropped all charges because there was no law against making malware at the time. In response, the Philippines passed the E-Commerce Law, Republic Act No. 8792, in July 2000.
Is ILOVEYOU a virus or a worm?
It is a worm, although it is often called a virus. A virus needs a host file to spread, while a worm copies itself across a network. ILOVEYOU did both: it overwrote files and it mailed itself onward.
Could ILOVEYOU happen again today?
A worm in the same form would struggle, because modern Windows hides fewer extensions, blocks scripts by default and filters malicious attachments. But the social engineering behind it — a tempting message from someone you trust — still drives most modern phishing and malware.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Wikipedia's ILOVEYOU history, TechTarget's technical overview, TechRadar's 25-year retrospective and EBSCO's research summary.
How we write and fact-check →