Changes to Brain (computer virus)

TechWritereditor · 3 Dec 2026, 12:22 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: Brain (computer virus)

Short description

Removed:  
Added: Early boot-sector virus for IBM PCs (1986)

Type

Removed:  
Added: event

Summary

Removed:  
Added: A boot-sector virus for IBM PC-compatible floppy disks, released in January 1986 by the brothers Basit and Amjad Farooq Alvi in Lahore, Pakistan. It is widely described as the first virus for the IBM PC and MS-DOS.

Fact box

Removed:  
Added: Type: Boot-sector virus
Added: Platform: IBM PC compatibles (DOS)
Added: First detected: January 1986
Added: Authors: Basit and Amjad Farooq Alvi
Added: Origin: Lahore, Pakistan

Article

Added: **Brain** is a computer virus that infected the boot sector of floppy disks used by the [[IBM Personal Computer]] and compatible machines. Released in **January 1986**, it was written by the brothers Basit and Amjad Farooq Alvi in Lahore, Pakistan, and the Centre for Computing History describes it as the first virus to target the IBM PC and compatibles.[^1] The security company F-Secure calls it possibly the oldest known virus for DOS.[^2]
 
Added: ## How it worked
Added:  
Added: Brain spread by infecting the boot sector of [[Floppy disk]] diskettes. Its main visible effect was mostly harmless: it changed the disk's volume label, usually to "(c) Brain". It intercepted the computer's disk-reading routine so that anyone inspecting an infected boot sector saw the original one instead, which led F-Secure to call it the first "stealth" virus. Its embedded message began "Welcome to the Dungeon" and gave the authors' names and a business address in Lahore.[^2]
Added:  
Added: ## Origins and spread
Added:  
Added: According to a 1988 report in Time, the brothers ran a Lahore shop, Brain Computer Services, that sold cheap pirated copies of brand-name software such as [[Lotus 1-2-3]]. Time reported that Amjad created the virus to catch people who copied his own software, that infected disks went mainly to foreign customers, and that at least 100,000 floppy disks were affected; the brothers said they stopped distributing infected software in 1987.[^3] In a later NBC News account, the brothers said they had been experimenting with assembly language rather than setting out to write a virus. The same report says Brain was seen in Australia in early 1987 and had reached America and most of Europe by the end of that year.[^4]
Added:  
Added: ## Later history
Added:  
Added: In March 2011, marking the virus's 25th anniversary, F-Secure released a short documentary in which its chief research officer, Mikko Hyppönen, met the brothers; they said they were disappointed that malware writing had become a major criminal industry.[^5] Hyppönen travelled to Lahore for the meeting, which was the first video interview the brothers had given about the virus. By then their business was a telecommunications company, Brain Telecommunications.[^6]
Added:  
Added: ## See also
Added:  
Added: - [[Floppy disk]]
Added: - [[IBM Personal Computer]]
Added: - [[Morris worm]]
Added: - [[Melissa virus]]

Sources

Removed:  
Added: Brain, the first PC virus, is released | https://www.computinghistory.org.uk/det/6303/Brain,%20the%20first%20PC%20virus,%20is%20released | Centre for Computing History
Added: Brain | https://www.f-secure.com/v-descs/brain.shtml | F-Secure
Added: Technology: You Must Be Punished | https://time.com/archive/6713325/technology-you-must-be-punished | Time | 1988-09-26
Added: The story of the world's first free-range computer virus | https://www.nbcnews.com/tech/gadgets/story-worlds-first-free-range-computer-virus-flna915385 | NBC News
Added: Taking Brain home | https://www.virusbulletin.com/blog/2011/03/taking-brain-home/ | Virus Bulletin | 2011-03-14
Added: Mikko's Malware Odyssey | https://darkreading.com/vulnerabilities-threats/mikko-s-malware-odyssey | Dark Reading

Categories

Removed:  
Added: Online security
Added: Milestones in computing

Other names

Removed:  
Added: Brain virus
Added: (c)Brain
Added: Pakistani Brain