1986 · 1980s · Boot virus
Brain
The first PC virus, signed by its authors with a phone number.
What it was
Brain was written by Amjad and Basit Farooq Alvi in Lahore, Pakistan, and is generally considered the first virus for MS-DOS PCs. It infected the boot sector of 360 KB floppy disks and hid itself by redirecting reads to a clean copy of the sector.
How it spread
Floppy disks spread it between PCs. The stealth trick meant ordinary disk tools reported a healthy boot sector, so the infection survived casual inspection.
What defenders learned
Brain included the authors' contact details and a request to get in touch for a 'vaccination', a reminder that early malware culture was closer to mischief than to crime. Its stealth technique became a template for rootkits.
Recorded facts
- Created in 1986 in Lahore, Pakistan, by the Alvi brothers.
- Generally regarded as the first MS-DOS PC virus.
- Used stealth: infected reads were redirected to a clean copy of the boot sector.
- Included the message 'Welcome to the Dungeon' and the authors' contact details.
Inside the sandbox
The museum reenactment of Brain is a terminal log rendered entirely in this browser. Running it does not create a file, open a connection, or touch your device. You can stop it at any moment with Kill Process.