The First PC Virus: Brain Virus

August 18, 2016 | Views: 5338

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Hello my Geeky Hackers,

Today, I’m going to tell you about the first PC virus ever written that comes from my own country, Pakistan. Hopefully you guys will love the story (*..*) .


Who, When, Why and How?

Brain Virus is considered to be the first virus written for PC’s. It was written in 1986 by two brothers: Basit Farooq Alvi and Amjad Farooq Alvi from Lahore, Pakistan. Brain infected PC’s running Disk Operating System with File Allocation Table.


Why was it written, you might ask?

Both brothers owned a computer shop in the city and, one day, they saw some people illegally distributing a medical software they wrote. They decided to strike back with their own weapon. They wrote a program intended to stop illegal distribution of there medical software by making the floppy disk drives with the pirated copy of the software very slow. This program was distributed via floppy disks. Due to a flaw in the design of the program it became capable of manipulating itself to other PC’s and became a more deadly piece of code (a virus).


Let’s talk about how it worked

At that time, PC’s used DOS (Disk Operating System) and floppies. Brain infected/replaced the original boot sector of the floppy disks with it’s own code. Yet, instead of loading the intended program at the boot sector, it loaded the virus onto the computer. The original boot sector was moved to another sector and was marked as bad (that’s cool). In this way, people were left with a slow floppy disk drive with little less disk space. The virus showed a message like:

Welcome to the Dungeon (c) 1986 Basit & Amjad (pvt) Ltd. BRAIN COMPUTER SERVICES 730 NIZAB BLOCK ALLAMA IQBAL TOWN LAHORE-PAKISTAN PHONE:430791,443248,280530. Beware of this VIRUS.... Contact us for vaccination............ $#@%$@!!


How did this mess end?

Brain Virus infected a lot of machines around the globe. IBM took very serious action against the brothers and, eventually, they stopped distributing the virus with the medical software. Nowadays, they’re running a company named Brain Telecommunication Limited providing Internet services at the same address as above.


Want to read more about Brain Virus?

You can read more about the virus here:


Final Words

If you want to support me, you can do the following things:

  1. Tip me some Cybytes (I would love that).
  2. Drop a mail at (I am always waiting).
  3. Provide your views in the comments section (I will be glad to read them).
  4. Share this knowledge as much as you can (You are a great person).

You can always mail me at for support, to share comments or just to say hello. Good luck and have a happy day.

Written by Malik Usman Aura

Share with Friends
Use Cybytes and
Tip the Author!
Share with Friends
Ready to share your knowledge and expertise?
  1. good article to read

  2. No, search for TV Solidarity incident,I’ve just found that the Wyoming Incident is fake,sorry.

  3. Great story :D, it reminds me of those cases of tv signal hijacking or so-called Broadcast Signal Intrusions,that happened in the 80’s and 90’s with one of them being “Captain Midnight” incident where the hijacker called Captain Midnight hijacked HBO signal and then put a message,just like those two did with the compuer virus from your story.Here’s the link for a full story:

    Search also for The Wyoming Incident

    P.S. Today those cases are acknowledged as some sort of first hackings that occurred.

  4. Love a bit of history, great read !

Page 3 of 3«123
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge


We recommend always using caution when following any link

Are you sure you want to continue?