- #cybersecurity
- #programming
- #webdev
Brain.A turns 40 ๐ฅณ - A Bedtime Story
In January 1986, the Brain virus spread via floppy disks and became the first widely known IBM PC...

In January 1986, the Brain virus spread via floppy disks and became the first widely known IBM PC virus. Forty years later, its story still feels strangely familiar.
Settle in.
๐
Itโs January 19th, 1986. A beige box of a computer sits on a desk, quietly warming the room the way old machines do. The screen glows. The keyboard waits. Thereโs no internet humming in the walls, no cloud floating overhead, no phone buzzing with notifications. Just a person doing something completely normal: reaching for a floppy disk.
๐
The floppy is thin and square and ordinary-looking, the kind youโd trade with a friend or carry to the office in a jacket pocket. It holds a program, maybe a game, maybe something useful, maybe something copied from someone else becauseโwellโsoftware was easy to copy, and people did. The disk slides into the drive with a soft push. The latch clicks. And deep inside that disk, right at the very beginning where the computer looks first when it tries to start, something is waiting.
๐
Not a file you can see in a directory. Not a name you can point at and delete. This is the boot sectorโthe tiny first chapter the computer reads before anything else. When the machine boots from that floppy, the code wakes up and does what it was written to do: it copies itself into that trusted beginning. It doesnโt announce itself with fireworks. It doesnโt shout. It simply settles in, like a bookmark that shouldnโt be there.
๐
From that moment, the room doesnโt feel any different. The person doesnโt feel any different. The computer mostly behaves like a computer. But the next time another floppy is insertedโanother perfectly normal disk used for perfectly normal workโthe virus is ready. It slips from memory onto the newcomerโs boot sector, quietly rewriting the first lines the machine would read. Then it waits again. And when that disk travelsโpassed to a colleague, swapped between friends, carried across townโit carries the same hidden bookmark along with it.
๐
This is how Brain moved through the world: not at internet speed, but at human speed. Hand to hand. Desk to desk. One floppy at a time.
๐
Sometimes it left hints, not to scare you, but because early viruses often came with signatures like graffiti in a place most people never visited. If someone inspected the right spot with the right tools, they might find a message tucked into the boot code. One line that became famous in retellings went, โWelcome to the Dungeon.โ Not exactly a lullaby, but not a scream eitherโmore like a mischievous note pinned behind the wallpaper.
๐
And if you kept looking, you might find something even stranger: contact information. Names. A location. Phone numbers. An address in Lahore, Pakistan. Because Brain wasnโt just anonymous sabotage drifting out of nowhere; most accounts trace it back to two brothers, Basit and Amjad Farooq Alvi, who ran a computer business there. The story goes that they were frustrated about people copying their medical software without permission, and they wrote Brain as a kind of anti-piracy markerโsomething that would tag disks and nudge users to contact them for โvaccination.โ In their minds, it would stay close to the problem. In reality, software doesnโt stay put, and disks donโt stay loyal. They move. They get shared. They get reused. And a program that copies itself doesnโt politely stop at the border of your intentions.
๐
So Brain wandered.
๐
In practical terms, it didnโt always ruin peopleโs lives. It wasnโt a modern ransomware crew locking hospitals. It was often more of a creeping inconvenience: disks behaving oddly, the drive running slower, weird โbad sectorsโ appearing where you didnโt expect them, memory in DOS feeling a little tighter than it should. Brain even tried to protect the original boot information by moving it and marking the new hiding place as โbadโ so normal tools wouldnโt overwrite itโclever in a very 1980s, low-level way. But clever doesnโt mean harmless, and โmostly worksโ is not comfort when your only copy of something important lives on a piece of plastic you can drop on the floor.
๐
Back then, the effect on people was less about dramatic catastrophe and more about a new kind of doubt. The floppy disk had been a simple object: you put it in, you ran your program, you got on with your day. Now it had a second identity, a hidden passenger. And because there was no internet needed for any of it, the idea landed differently: your computer could catch something from ordinary sharing, even in a world of disconnected machines.
๐
If you fast-forward to today, the same idea plays out with different props. The floppy disk has been replaced by email attachments, links, cracked installers, compromised updates, poisoned dependencies, and stolen credentials. The quiet โboot sectorโ hiding place has been replaced by an entire universe of persistence tricksโsome so polished they look like legitimate software until theyโre not. The speed has changed too: Brain walked; modern malware teleports. Brain spread as fast as people could pass disks around; modern malware spreads as fast as people can click.
๐
And yet, in the soft glow of that 1986 monitor, the story remains simple. A person does a normal thing. A computer trusts what it reads first. A little piece of code takes advantage of that trust. And somewhere far awayโacross oceans, across offices, across timeโa virus named Brain keeps turning pages, moving its bookmark from one disk to the next, traveling not through wires, but through everyday life.
๐
The latch clicks again.
The drive light flickers.
And the room stays quiet.
Resources
- Brain: Searching for the first PC virus in Pakistan https://www.youtube.com/watch?v=lnedOWfPKT0
- The History and the Evolution of Computer Viruses https://archive.org/details/DEFCON_19_The_History_and_the_Evolution_of_Computer_Viruses
- Brain (computer virus) https://en.wikipedia.org/wiki/Brain_(computer_virus)

