ArticleslgStudy

computer science

Brain (computer virus)

Brain (computer virus) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Brain (computer virus) rather than just read about it. In short: Brain is the industry standard name for a computer virus that was released in its first form on 19 January 1986, and is considered to be the first computer virus for the IBM Personal Computer (IBM PC) and compatibles. Description Brain affects the PC by replacing the boot sector of a floppy disk with a copy of the virus.

Brain (computer virus) — main illustration
Brain (computer virus) — illustration

Key takeaways

  • Brain (computer virus) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Brain (computer virus) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Brain (computer virus) from memory before moving on to harder problems.

Reference excerpt

Brain is the industry standard name for a computer virus that was released in its first form on 19 January 1986, and is considered to be the first computer virus for the IBM Personal Computer (IBM PC) and compatibles.

Description Brain affects the PC by replacing the boot sector of a floppy disk with a copy of the virus. The real boot sector is moved to another sector and marked as bad. Infected disks usually have five kilobytes of bad sectors. The disk label is usually changed to ©Brain, and the following text can be seen in infected boot sectors:

Welcome to the Dungeon (c) 1986 Amjads (pvt) Ltd VIRUS_SHOE RECORD V9.0 Dedicated to the dynamic memories of millions of viruses who are no longer with us today - Thanks GOODNESS!!! BEWARE OF THE er..VIRUS : this program is catching program follows after these ....$#@%$@!! There are many minor and major variations to that version of the text. The virus slows down the floppy disk drive and makes seven kilobytes of memory unavailable to DOS. Brain was written by Basit Farooq Alvi and Amjad Farooq Alvi, who at the time lived in Chah Miran, near Lahore Railway Station, in Lahore, Pakistan. The Alvi brothers told Time magazine they had written it to protect their medical software from illegal copying, and it was supposed to target copyright infringement only. The cryptic message "Welcome to the Dungeon", a safeguard and reference to an early programming forum on Dungeon BBS, appeared after a year because the brothers licensed a beta version of the code. The brothers could not be contacted to receive the final release of this version of the program. Brain lacks code for dealing with hard disk partitioning, and avoids infecting hard disks by checking the most significant bit of the BIOS drive number being accessed. Brain does not infect the disk if the bit is set, unlike other viruses at the time, which paid no attention to disk partitioning and consequently destroyed data stored on hard disks by treating them in the same way as floppy disks. Brain often went undetected, partially due to this deliberate non-destructiveness, especially when the user paid little to no attention to the low speed of floppy disk access. The virus came complete with address and three phone numbers, and a message that told the user that their machine was infected and to call them for inoculation:

Welcome to the Dungeon © 1986 Amjads (pvt). BRAIN COMPUTER SERVICES 730 NIZAM BLOCK ALLAMA IQBAL TOWN LAHORE-PAKISTAN PHONE: 430791,443248,280530. Beware of this VIRUS.... Contact us for vaccination... This software was originally used to track a heart monitoring application for the IBM PC, and people were distributing illicit copies of the disks. This tracking tool was supposed to stop and track illegal copies of the media; however, the program also sometimes used the last five kilobytes on an Apple floppy, making additional saves to the disk by other programs impossible.

Author response When the brothers began to receive a large number of phone calls from people in the United Kingdom, the United States, and elsewhere, demanding that they disinfect their machines, they were stunned and tried to explain to the outraged callers that their motivation had not been malicious. Their phone lines were overloaded. The brothers, with another brother, Shahid Farooq Alvi, continued business in Pakistan, as Brain NET Internet service providers with a company called Brain Telecommunication Limited. In 2011, 25 years after Brain was released, Mikko Hyppönen of F-Secure went to Pakistan to interview Amjad and Basit for a documentary. Being inspired by this documentary and its widespread popularity, a group of Pakistani bloggers interviewed Amjad and Basit, under the banner of Bloggerine.

See also Rootkit Timeline of computer viruses and worms

References

External links "BrainNET website". Archived from the original on 2005-02-04. Retrieved 2004-05-01. Description of (c)Brain at F-Secure site Brain: Searching for the first PC virus in Pakistan on YouTube, via YouTube Information on the Brain Virus And Variants at textfiles.com TED talk by Mikko Hyppönen Fighting viruses, defending the net

Illustrations

Brain (computer virus) illustration

Worked examples

Example 1 — a first encounter with Brain (computer virus)

Start with the simplest possible case. Write down what Brain (computer virus) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Brain (computer virus) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Brain (computer virus) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Brain (computer virus)

In research
Brain (computer virus) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Brain (computer virus) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Brain (computer virus) is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1980s in hacking, 1986 in computing, Boot viruses, so understanding it makes those chapters shorter.
In everyday life
Look for Brain (computer virus) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Brain (computer virus)” →

How to study Brain (computer virus) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Brain (computer virus) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Brain (computer virus) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Brain (computer virus) in simple terms?

Brain is the industry standard name for a computer virus that was released in its first form on 19 January 1986, and is considered to be the first computer virus for the IBM Personal Computer (IBM PC) and compatibles. Description Brain affects the PC by replacing the boot sector of a floppy disk wi…

Why does Brain (computer virus) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Brain (computer virus)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Brain (computer virus).

Tags

  • 1980s in hacking
  • 1986 in computing
  • Boot viruses
  • Information technology in Pakistan
  • Pakistani inventions

Keep exploring