Computer Quarries And Virus Creation

Virus Source Code : Restart Virus

This is the virus writing basic section. Today i will show you how to create a shutdown/ restart virus for both Windows and Linux



First we will create the windows version.




Lets see how it works. Just close all windows . Now go to command prompt(Start >>>"RUN" now trpe "cmd"). Now you have entered MS-DOS/ Command prompt. Here You need to type "shutdown -s" or "restart -s". This will shutdown or restart your comp. We are making use of this DOS command to create this virus.

  • Just open a notepad

  • In that type "shutdown -s" or "restart -s".

  • Now save it as virus.bat or yourname.bat.

  • Now when you run it your system gets turned off.
Note if .bat extension doesnt work try .exe extension

To make this more powerful just force your victim to copy this into "START>>>ALL PROGRAM>>> STARTUP". Now this program will load every time the computer starts.

Only way out for him is to go in safe mode and delete it from startup. So go ahead and try them out.

Now the linux version.

In Linux we will create a shell script with the text "poweroff". Now go to the file where script is located and right click on it. Change the permission to allow all. Job done.

This is post is not intended to create a havoc and is just for educational purpose.

1 comment: