Attack4 May 2000

The ILOVEYOU Worm

An email that said "ILOVEYOU" and a hidden .vbs file extension tricked tens of millions of people into running a worm.

Severity
Front-page news
Difficulty
beginner
Companies
Microsoft
Tech
Email, VBScript, Windows Script Host, Outlook address book
Root cause
social engineering, insecure defaults

The story

Quick (1 min)

On 4 May 2000, millions of people got an email with the subject "ILOVEYOU" and an attachment called LOVE-LETTER-FOR-YOU.TXT.vbs. It usually came from someone they knew.

Windows hid "known" file extensions by default, so the attachment looked like a harmless .txt text file. It was actually a script. Opening it infected the computer, overwrote many files, and emailed itself to everyone in the victim's address book.

It spread around the world in a day, following the working day from Asia to Europe to the US. Companies and governments shut down their email systems. Wikipedia says it eventually hit around 10% of internet-connected computers.

The lesson: attackers exploit trust and curiosity, and small defaults like hiding file extensions can make tricks work.

Keep reading to the end to earn XP.Read. XP earned.

Engineer (2 min)

What it was. A worm written in VBScript, run by the Windows Script Host, created by Onel de Guzman, a former student of AMA Computer College in the Philippines.

The lure. Subject "ILOVEYOU", body "kindly check the attached LOVELETTER coming from me", attachment LOVE-LETTER-FOR-YOU.TXT.vbs. With Windows' "Hide extensions for known file types" setting on, users saw LOVE-LETTER-FOR-YOU.TXT, which looked like a text file.

What it did when opened:

  • Copied itself to run on reboot, two copies disguised as Windows files (MSKernel32.vbs, Win32DLL.vbs).
  • Removed a 10-second script timeout in the registry.
  • Set the Internet Explorer homepage to download a trojan (WIN-BUGSFIX.exe) that stole passwords. De Guzman's goal was stealing dial-up internet credentials.
  • Emailed itself to every address book contact, tracking who it had already sent to.
  • Overwrote files: .vbs and .vbe replaced with its code; .jpg, .js, .css and others replaced with copies plus .vbs; .mp3 and .mp2 hidden and copied.
  • Could also spread through IRC.

Why it spread so fast. Emails came from people victims trusted. A single click could compromise a whole network, and the worm hit corporate mail systems as each region's working day began.

Aftermath. Over 25 variants appeared because VBScript was easy to modify. The Philippines had no specific anti-hacking law, so charges were dropped. The country then passed the Electronic Commerce Act of 2000.

Interview takeaway: defence in depth against phishing means user awareness, showing real file types, blocking executable attachments, and limiting what scripts can do.

Keep reading to the end to earn XP.Read. XP earned.

Deep dive (2 min)

Timeline (Wikipedia)

  • 4 May 2000: the worm starts spreading westward through corporate email: Hong Kong, then Europe, then the United States. The UK House of Commons email servers are shut down for two hours.
  • Same day onward: US federal agencies including the Department of Justice, Department of Labor and Social Security Administration are affected. The US Army reports 2,258 infected workstations, at an estimated cost of US$79,200.
  • 8 May 2000: Philippine police raid an apartment linked to de Guzman.
  • 11 May 2000: de Guzman's last public appearance for years, at a press conference.
  • Within ten days: tens of millions of infections reported.
  • June 2000: the Philippines passes the Electronic Commerce Act (Republic Act No. 8792). It can't be applied retroactively.
  • 2019: journalist Geoff White finds de Guzman in Manila. He admits creating and releasing the worm.

Origins

De Guzman had proposed a password-stealing trojan in his undergraduate thesis, arguing internet access was a human right. The college rejected it. He initially limited the worm to Manila, then removed the restriction (Wikipedia).

Damage

  • About 10% of internet-connected computers eventually affected.
  • Estimates in the 2020s put damage at about US$10 billion, though Wikipedia notes damage "is difficult to quantify."
  • Email systems shut down under the load; data lost from overwritten files; Belgium's banking system affected.

Why it's a social engineering classic

"By using each victim's address book, emails sent by the worm appeared to come from close contacts. This further encouraged recipients to run the worm." (Wikipedia)

The combination of a trusted sender, an emotional hook and a disguised file type still shows up in phishing today.

Keep reading to the end to earn XP.Read. XP earned.

Failure replay

Step by step, what broke and what it hit next.

  1. May 4, 2000
    Attackercompromised

    The worm is released in the Philippines as an email with the subject ILOVEYOU and a LOVE-LETTER-FOR-YOU.TXT.vbs attachment.

    Affects: Email recipients

  2. Morning, Asia
    Email recipientscompromised

    Windows hides the .vbs extension, so it looks like a text file from a friend. People open it.

    Affects: Windows PCs

  3. On open
    Windows PCscompromised

    The script installs itself to run at boot, overwrites files, and sets up a password-stealing trojan download.

    Affects: Mail servers

  4. On open
    Mail serversfailing

    It mails itself to every contact in the address book, so each victim spawns many more trusted-looking emails.

    Affects: Email recipients

  5. Same day
    Mail serversdown

    The wave follows the working day to Europe and the US. Companies and governments shut down email.

  6. Days
    Windows PCsrecovering

    Antivirus signatures and cleanup spread, but over 25 variants keep appearing.

  7. Jun 2000
    Philippine lawrecovering

    With no anti-hacking law to charge under, the Philippines passes the Electronic Commerce Act.

Impact

Who was affected
Tens of millions of Windows computers worldwide (an estimated 10% of internet-connected computers), including the UK House of Commons and many US federal agencies.
How long
Spread worldwide within a day on 4 May 2000; tens of millions of infections within ten days; variants continued afterwards.
Cost
Estimated at about US$10 billion (2020s estimates; difficult to quantify).

Lessons

  • Social engineering beats technical controls when messages come from trusted contacts.
  • Show real file extensions; hiding them helps disguise executables.
  • Block or sandbox executable and script attachments at the mail gateway.
  • Limit what scripts can do on user machines (script hosts, permissions).
  • Laws and international cooperation matter for prosecuting cybercrime.

Quiz

  1. Why did the attachment look harmless?

    Check answer

    Windows hid known file extensions, so LOVE-LETTER-FOR-YOU.TXT.vbs looked like a .txt file. With "Hide extensions for known file types" on, only the .TXT part was visible.

  2. How did ILOVEYOU spread?

    Check answer

    By emailing itself to every contact in the victim's address book. Emails came from people the recipient knew, which made them more likely to open it.

  3. Roughly what share of internet-connected computers was eventually affected?

    Check answer

    About 10%. Wikipedia cites an estimate of about 10%.

  4. Why were charges against the author dropped?

    Check answer

    The Philippines had no specific law against hacking at the time, and the evidence didn't support the charges filed. The Electronic Commerce Act came afterwards and couldn't be applied retroactively.

Interview prep

Try answering out loud before you open the model answer.

  1. security

    Why was ILOVEYOU so effective, and which layered defences would stop a similar attack today?

    Show model answer

    It combined social engineering (an emotional subject line, sent from trusted contacts) with a technical disguise: Windows hid the .vbs extension, so it looked like a .txt file. Once run, it mailed every contact automatically. Layered defences: mail gateway filtering and sandboxing of script and executable attachments, showing file extensions, restricting or disabling script hosts for normal users, endpoint protection, least-privilege accounts, user awareness training, and rate limits or anomaly detection for mass outbound email.

    A strong answer hits:

    • Social engineering plus a disguised file type
    • Self-propagation through address books
    • Gateway filtering, script restrictions, extensions shown
    • Outbound email rate limits and training
  2. system design

    How would you design an email system to detect and contain a worm that mass-mails itself from compromised accounts?

    Show model answer

    Watch for behavioural anomalies: a user suddenly sending the same attachment to their whole address book. Apply per-user outbound rate limits and quarantine bursts. Fingerprint attachments by hash and block a known-bad hash across all mailboxes once one sample is flagged. Sandbox attachments before delivery. Provide a kill switch to block an attachment type organisation-wide. Alert security teams with clear context.

    A strong answer hits:

    • Outbound rate limiting and anomaly detection
    • Attachment hashing and global blocking
    • Sandboxing before delivery
    • Organisation-wide kill switch
  3. behavioural

    How would you run security awareness so people don't open attachments like ILOVEYOU?

    Show model answer

    Keep it practical: teach a few clear signals (unexpected attachments, emotional urgency, odd file types), even when the sender is known. Make reporting suspicious mail one click and thank people for reporting. Run realistic, non-punitive phishing simulations. Pair training with technical controls, because some people will always click. The goal is fast reporting and limited damage, not perfection.

    A strong answer hits:

    • Simple, concrete warning signs
    • Easy reporting, positive reinforcement
    • Simulations without blame
    • Controls assume some clicks happen

Go deeper