
Dell - Computers of the 21st Century
|
|
|
There are many different types of Dos viruses that can be created by making a simple batch file. First off, I should explain to you how to create a batch file. Batch files can be created by choosing 'save as' in a .txt document. Type the name of the file, adding '.bat' to the end of it. If this doesn't seem to do the trick, just right-click the file and chose 'rename'. Then name it adding '.bat' to the end of it.
After creating your batch file, you should then right-click it and choose 'edit'. It should open up Notepad. This is where you type what you want Dos to execute upon opening the batch file. Here's a list of Dos commands that can be used:
|
@ECHO ON/OFF
|
|
This will turn ECHO on or off. ECHO literally is what the computer is typing from the batch file. If ECHO is off, the victem of a DOS virus will not be able to see the commands the virus is executing, but they will see any error messages, etc...
|
|
@ECHO text goes here
|
|
This will display to the viewer, 'text goes here'. Replace 'text goes here' with what you want the viewer to see.
|
|
START
|
|
START is a very useful command, because it starts anything. Simply type what you want to start after typing 'START', and that application will be started. If you typed START moses.exe, it would start moses.exe.
|
|
DEL
|
|
DEL is another useful command; it deletes a single application, program, etc. This can't delete a whole folder, but is useful at the end of your virus for deleting the evidence... If you typed: DEL moses.exe, it would delete moses.exe.
|
|
DELTREE
|
|
This is what deletes a whole folder, without any confirmation afterwards. If you typed: DELTREE moses, it would delete a folder called 'moses'.
|
|
MD
|
|
MD stands for 'make directory'. If you typed: MD moses, it would make a directory called 'moses'.
|
|
CHOICE
|
|
This is the command that can make or break your virus. If you use it to play with your victem's head, then it gives them the opportunity to stop the virus. If you want to use it, just type what you want to ask after 'CHOICE'. There are many more options, but I will get to those later.
|
|
GOTO
|
|
GOTO is a useful command for making things repeat, and setting up IF statements. To define an area to go to, type :name on its own line, right above where you want to go to. Replace 'name' with whatever you want to. Then type: GOTO name, again replacing 'name' with what you named it previously.
|
|
IF
|
|
Similar to JavaScript IF statements, you can tell the computer what to do if a statement is true/false. Very useful in all viruses.
|
|
CLS
|
|
CLS clears the screen of all contents.
|
Many of the previous commands have attributes to them that were not mentioned in the explanation. To see these attributes, type the root of the command (ie: START) and add '/?' to the end of it, with no spaces inbetween the command and the '/?'. Dos then displays the attributes and explains each.
I will add more commands and tell you as much as possible about Dos viruses when I get the time to add more to this site. Thanks for waiting.
|
|