In May 2000 a single email with the subject line ILOVEYOU reached inboxes around the world within hours and showed how far a script attachment could travel when it arrived from a trusted contact. The ILOVEYOU worm, also called the Love Letter or Love Bug worm, combined a familiar sender, a hidden file extension and unrestricted script execution. This guide covers what happened, how the worm spread at a defensive level, how organisations and governments responded, and the controls it still argues for today. It is written for security practitioners, email and endpoint teams, and students of incident history. For worms in general (self-propagation, network worms and containment), see the Computer Worms Guide; this page stays on the ILOVEYOU case and its lessons.
Key takeaways
- Trust in the sender did most of the work. The worm mailed itself to every entry in the victim's Outlook address books, so recipients saw a message from someone they knew, which CERT/CC identified as a reason it was opened.
- A hidden extension disguised a script as a text file. The attachment carried a double extension ending in .vbs, and Windows Explorer's default of hiding known extensions left only the harmless looking part visible.
- Overwriting, not deleting, made recovery hard. CERT/CC noted the worm overwrote files with copies of itself, so recovery was difficult or impossible without backups.
- Subject line filters were outrun by copycats. Variants with new subjects and attachment names evaded the first filters within days, which pushed the industry towards blocking file types rather than matching strings.
- The law caught up only after the event. Philippine prosecutors could not proceed because no law covered the act when it was committed; the Electronic Commerce Act (Republic Act No. 8792) was approved on 14 June 2000.
What happened
CERT/CC published Advisory CA-2000-04, "Love Letter Worm", on 4 May 2000, the day the worm began circulating, and revised it on 5 May and again on 9 May 2000. The advisory describes the worm as a malicious VBScript program. By 8 May 2000 CERT/CC had received reports from more than 650 sites indicating more than 500,000 affected systems, with some sites reporting significant network degradation from the volume of mail.
Matt Bishop's analysis at the University of California, Davis, dated 9 May 2000, records that the worm spread worldwide within a few hours and that most anti-virus vendors had signatures within about 24 hours. He lists the British Parliament, the US Congress and the US Air Force among affected institutions. Copycat variants followed quickly; CERT/CC described a "Joke" or "Very Funny" variant and a "Mothers Day" variant with different subject lines and attachment names, and Bishop notes that the Mother's Day lure claimed a credit card charge and asked the recipient to open an "invoice".
| Date (2000) | Event | Source |
|---|---|---|
| 4 May | Worm begins circulating; CERT/CC issues CA-2000-04 | CERT/CC CA-2000-04 |
| 4 to 5 May | Worldwide spread within hours; vendors ship signatures within about a day | Bishop, UC Davis analysis |
| 5 May | Advisory updated (mail server filtering information, correction on the IRC check) | CERT/CC CA-2000-04 |
| 8 May | Reports from 650+ sites covering 500,000+ systems | CERT/CC CA-2000-04 |
| 9 May | Advisory last revised, including variants with new subjects and attachment names | CERT/CC CA-2000-04 |
| 11 May | Suspect arrested in Manila | Philippine National Police paper (UNAFEI) |
| 14 June | Philippines approves the Electronic Commerce Act (RA 8792) | RA 8792 text |
How it spread (defensive overview)
This section describes behaviour at the level defenders need for detection and control design. It deliberately gives no script content or propagation logic.
- Email through the local mail client: once opened, the worm used Microsoft Outlook on the infected machine to send copies to every entry in all address books (CERT/CC). The message came from the real account of a real colleague or friend, so reputation checks of the time had nothing to flag. In today's terms this is an internal or trusted-sender send burst, which is why outbound rate limits and anomaly alerts matter as much as inbound filtering.
- The disguised attachment: the attachment name was LOVE-LETTER-FOR-YOU.TXT.vbs. With Windows Explorer set to hide extensions for known file types, users saw a name ending in .TXT and expected a text file, while Windows Script Host executed it as VBScript. ATT&CK now catalogues this as T1036.007 Double File Extension.
- Chat and file shares: CERT/CC reported that the worm created a script for the mIRC chat client that offered the worm to other users in channels the victim joined, and that infected files on shared drives could infect other users who opened them. USENET and possibly web pages were also reported as vectors.
- Damage on the host: the worm overwrote certain files, including image and media files, with copies of itself rather than deleting them, changed registry keys including the Internet Explorer start page, and arranged to run again at startup (CERT/CC). Opening an overwritten file ran the worm again.
Mapped to current ATT&CK v20 techniques, the behaviour looks like this. The mapping is descriptive, written for detection planning.
| Behaviour | ATT&CK v20 technique | Control that breaks it today |
|---|---|---|
| Script arrives as an email attachment | T1566.001 Spearphishing Attachment | Gateway file type blocking with true type detection |
| User opens the file believing it is text | T1204.002 Malicious File | Show file extensions; block script hosts for users who do not need them |
| Name ending .TXT.vbs hides the real type | T1036.007 Double File Extension | Filter on true type, not the last visible extension |
| VBScript runs under Windows Script Host | T1059.005 Visual Basic | Application control; attack surface reduction rules; VBScript removal |
| Infected files on shared drives | T1021.002 SMB/Windows Admin Shares (closest fit) | Least privilege on shares, endpoint scanning of file servers |
| Files overwritten with worm copies | T1485 Data Destruction | Versioned, offline or immutable backups |
Impact and response
Damage figures vary widely and should be quoted with their source. CERT/CC's own count, reports covering more than 500,000 systems by 8 May 2000, is the most defensible primary figure. A paper by the Philippine National Police's Anti-Transnational Crime Division, published by UNAFEI, cites estimated damage of US$5.5 billion to US$10 billion. Bishop's contemporaneous analysis gives no economic estimate at all. Treat any single headline number as an estimate rather than a measured loss.
The technical response in the first days followed a pattern that is still familiar:
- Signature updates: anti-virus vendors shipped detection within about a day (Bishop), and CERT/CC's first recommendation was to update anti-virus software.
- Mail filtering by subject: administrators filtered on the ILOVEYOU subject line. CERT/CC warned that the worm could evade subject filters if the subject changed, and the variants proved it.
- Reducing script execution: CERT/CC advised disabling Windows Script Host, or active scripting in Internet Explorer, while noting that this could break wanted functionality.
- Chat client hardening: disabling automatic DCC file reception in IRC clients.
- User guidance: not opening unexpected attachments, and turning off auto preview or auto open in mail programs.
Bishop's paper argued for deeper fixes: treating received content as data rather than something executable, sandboxing with least privilege, and behaviour-based detection of unusual activity such as mass mailing or registry changes. Those ideas map closely to today's attachment sandboxing, application control and endpoint detection. For the choice between detonation and file rebuilding at the gateway, see Attachment Sandboxing vs CDR.
Legal aftermath
A programming student in Manila was arrested on 11 May 2000, according to the Philippine National Police paper. The charges were dismissed because no Philippine law penalised the act at the time it was committed; the paper cites the principle "nullum crimen, sine lege" (no crime without a law). The case is widely taught as the clearest early example of a cyber incident outrunning domestic law.
The Philippines responded with Republic Act No. 8792, the Electronic Commerce Act of 2000, approved on 14 June 2000. Section 33(a) penalises hacking or cracking, including the introduction of computer viruses that corrupt, destroy, alter or steal electronic data messages or documents, with a minimum fine of P100,000 and mandatory imprisonment of six months to three years. Because it was enacted after the worm was released, it could not apply to the ILOVEYOU case. The same police paper notes that RA 8792 covered only a limited set of offences and recommended a broader cybercrime law, which the Philippines later enacted.
| Legal lesson | What it means for organisations today |
|---|---|
| Laws are not retroactive | Do not assume prosecution will deliver recovery or deterrence; plan to recover on your own |
| Cross-border attribution is slow | Incident response plans should not depend on law enforcement timelines |
| Gaps differ by jurisdiction | Multinationals need legal input on where an incident can be reported and pursued |
This section summarises historical legal facts and is not legal advice.
Lasting lessons
Most controls that stop an ILOVEYOU-style attachment are now standard, but each still fails in predictable ways. The lessons below are the ones that remain relevant twenty-six years later.
Block by file type, using true type detection
Subject and name matching failed within days. Blocking whole classes of file that have no business arriving by email is the durable control. Microsoft Outlook blocks sending and receiving of file types including .vbs, .vbe, .js, .wsf, .hta, .scr, .exe and .bat. At the gateway, the common attachments filter in Microsoft Defender for Office 365 anti-malware policies includes vbs, vbe, wsf, wsh and hta in its default list and uses best-effort true type matching, so an executable renamed to .txt is still recognised; it falls back to extension matching where true type detection is not possible. Other gateways have equivalent controls. See the Email Security Guide.
Show the real extension
The double extension only worked because the real one was hidden. Turning off "Hide extensions for known file types" (Group Policy or Intune) costs little and removes the trick for anyone who looks. It is a supporting control, not a substitute for blocking.
Remove script hosts users do not need
Microsoft announced the deprecation of VBScript in October 2023 and states that it will be available as a feature on demand in future Windows releases before removal. Organisations do not need to wait: inventory legitimate VBScript use (logon scripts, legacy installers), migrate it, then disable or remove the component. Until then, Microsoft Defender attack surface reduction rules such as "Block JavaScript or VBScript from launching downloaded executable content" (GUID d3e037e1-3eb8-44c8-a917-57927947596d) and "Block executable content from email client and webmail" (GUID be9ba2d9-53ea-4cdc-84e5-9b1eeee46550) can run in audit mode first, then block. See How to Deploy Attack Surface Reduction Rules and the Application Allowlisting Guide.
Watch outbound mail, not only inbound
The worm's spread was visible as a sudden burst of messages from ordinary user accounts. Outbound send limits and alerts on unusual recipient counts catch a modern compromised mailbox in the same way. Zero-hour auto purge in Exchange Online, on by default, quarantines malware found after delivery, which matters when detection lags the first wave.
Protect files with versioned backups
Because files were overwritten, recovery depended on backups. The same holds for destructive malware and ransomware now. See the Backup Security and Immutable Backup Guide.
Teach the pattern, not the subject line
Awareness training that says "do not open ILOVEYOU" ages in a day. Training that says "an unexpected attachment from a known sender is still unexpected; check through another channel" still works. See the CIS Control 14 Security Awareness and Skills Training Guide.
Detection and measurement
- Gateway: count of messages rejected or quarantined by file type policy, and any script type attachments delivered (target: zero).
- Outbound: alerts on accounts sending to unusually many recipients in a short window; mean time to suspend a mass mailing account.
- Endpoint: script host executions (wscript.exe, cscript.exe) per week, trending down as VBScript is retired; ASR audit hits before moving to block.
- Configuration: percentage of managed devices with file extensions shown and with VBScript disabled or removed.
- Recovery: percentage of file shares with tested versioned restore in the last quarter.
Framework mapping
| Lesson | NIST SP 800-53 Rev. 5 | NIST CSF 2.0 |
|---|---|---|
| Malicious attachment detection and file type blocking | SI-3 Malicious Code Protection, SI-8 Spam Protection | DE.CM-01 |
| Remove unneeded script hosts | CM-7 Least Functionality | PR.PS-05 |
| Contain a mass mailing outbreak | IR-4 Incident Handling | RS.MI-01 |
| Recover overwritten files | CP-9 System Backup | PR.DS-11 |
Practitioner checklist
- Confirm your gateway blocks script and executable file types (vbs, vbe, js, wsf, wsh, hta, scr, exe, bat and similar) using true type detection, and test with a harmless renamed file.
- Check that double extension names are evaluated on the real type, not the last visible extension.
- Turn off "Hide extensions for known file types" on managed Windows devices.
- Inventory VBScript use, migrate it, and disable or remove VBScript where no longer needed.
- Run ASR rules for script and email content in audit mode, review hits, then move to block with a documented rollback.
- Set outbound recipient limits and alert on mass sending from user mailboxes.
- Keep zero-hour auto purge, or your gateway's equivalent, turned on.
- Verify versioned or immutable backups for file shares and test a restore each quarter.
- Update awareness material to teach out-of-band checks for unexpected attachments from known senders.
Standards and references
- CERT/CC: Advisory CA-2000-04 Love Letter Worm
- Republic of the Philippines: Republic Act No. 8792, Electronic Commerce Act of 2000
- University of California, Davis (Matt Bishop): Analysis of the ILOVEYOU Worm
- UNAFEI Resource Material Series No. 79: Philippine National Police paper on cybercrime
- MITRE ATT&CK: Double File Extension (T1036.007)
- Microsoft Learn: Anti-malware protection in EOP (common attachments filter)
- Microsoft Learn: Attack surface reduction rules reference
- Microsoft Learn: Deprecated features in the Windows client (VBScript)
Related NHI Mgmt Group resources: Computer Worms Guide · Email Security Guide · Email Authentication Checklist · Attachment Sandboxing vs CDR