The Tale of Two Brothers Unraveling the Creation of Pakistan's First Computer Virus

In 1986, Ahmed and Amjad created "Brain," a boot sector virus


In the ever-evolving world of technology, the creation and dissemination of computer viruses have become a pressing concern. In Pakistan's technological landscape, a dark chapter emerged when two brothers inadvertently made history by creating the country's first computer virus. This blog post delves into the fascinating yet cautionary tale of these two siblings, shedding light on the motivations behind their actions and the lessons we can learn from this event.


I. The Genesis of Curiosity:


1.1 Early Days of Technology in Pakistan:


In the late 1980s, Pakistan was just beginning to embrace the burgeoning field of computing and technology. Two young brothers, Ahmed and Amjad Farooq Alvi, both in their teenage years, found themselves captivated by the possibilities that computers held.


1.2 The Seeds of Mischief:


Driven by curiosity and a desire to explore the inner workings of computers, the brothers began experimenting with coding. What initially started as innocent exploration soon took a darker turn when they stumbled upon the concept of computer viruses.


II. The Birth of Brain: Pakistan's First Computer Virus:


2.1 Brain: The Ingenious Creation:


In 1986, Ahmed and Amjad created "Brain," a boot sector virus designed to infect IBM PCs. The virus, named after their computer shop, was intended as a security measure to protect their software from piracy. However, the code inadvertently spread beyond their shop, making history as Pakistan's first known computer virus.


2.2 The Unintended Consequences:


The Brain virus, unlike malicious viruses we see today, was relatively benign and harmless. It did not cause data loss or damage to the infected machines. Instead, it displayed a message to the user, indicating that the disk was infected and urging them to contact the brothers for a fix.


III. The Revelation and Aftermath:


3.1 The Worldwide Impact:


In an era where the internet was in its infancy, news of the Brain virus spread slowly across the globe through traditional media and technology forums. The unexpected fame surrounding the brothers' creation catapulted them into the limelight, though not in the way they had imagined.


3.2 Ethical Questions:


The brothers' creation sparked ethical debates within the tech community. While their intentions were not malicious, they inadvertently set a precedent for future virus creators, highlighting the importance of understanding the consequences of one's actions in the digital realm.


IV. A Lesson in Responsible Innovation:


4.1 Taking Responsibility:


In the aftermath of the Brain virus incident, Ahmed and Amjad took responsibility for their actions and acknowledged that the virus had spread further than they intended. They learned a valuable lesson about the potential repercussions of coding experiments, stressing the importance of responsible innovation.


4.2 Turning to the Light:


Instead of letting this episode define their legacy, the brothers redirected their energy towards positive contributions to Pakistan's technology landscape. They became advocates for responsible coding practices, cybersecurity, and ethical hacking, aiming to protect the nation's digital infrastructure.


V. The Legacy of the Alvi Brothers:


5.1 A Cautionary Tale:


The tale of the Alvi brothers serves as a cautionary reminder of the unintended consequences of digital experimentation. It highlights the importance of ethical coding practices and the responsibility that comes with harnessing the power of technology.


5.2 A Journey of Redemption:


Ahmed and Amjad's journey from accidental creators of Pakistan's first virus to advocates for responsible technology usage exemplifies the power of learning from mistakes and using knowledge for positive change.




The story of Ahmed and Amjad Farooq Alvi, the two brothers who inadvertently created Pakistan's first computer virus, is a reminder of the power and responsibility that comes with technological innovation. While their actions had unintended consequences, their subsequent journey towards responsible coding and advocacy for cybersecurity showcases their capacity for redemption and growth. This tale serves as a reminder to all technologists and aspiring coders to approach innovation with prudence, always mindful of the impact their creations may have on the digital world. By learning from the past, we can pave the way for a safer, more responsible technological future.

Post a Comment