Annoy your Friend/Victim with your own Folder Blaster Worm.
What Is A Folder Blaster Worm?
Folder Blaster Worm is a batch file that opens up the bunch of applications all at once but it doesn’t allow you to close them.
How Does The Folder Blaster Worm Work?
The logic behind Folder Blaster is to create and open a lot of folders with an infinite loop and the best part of this folder blaster is that it disallow the victims from closing the generated folders.
How Do You Create A Folder Blaster Worm?
- Begin with opening up a new text file and turning off echo by typing “@echo off”.
- Then change the directory to Desktop by typing “cd ./Desktop”.
- Now create 10 folders with names 0-9 by typing “md 0”, “md 1” and so on.
- Now type anything after a colon, for example, :confirm. You then set up a label.
- Now start opening up all the 10 folders by typing “start 0”, “start 1” and so on. Now the final statement causes an infinite loop by typing “goto” and the words you typed in earlier, for example, goto confirm.
What Countermeasures Should We Take?
Unfortunately, there aren’t any countermeasures that someone can take to prevent this from happening to them but luckily this isn’t a deadly worm, it won’t cause your computer to crash, it’s merely an annoying trick. On the upside, it is an easy fix if it happens to you. All that needs to be done is for you to go to your task manager and end the task of the CMD file.
Most of the commands we use to make batch files are actually the same commands first implemented in MS-DOS (An ancient Microsoft OS). These DOS (Disk Operating System) commands can also be used in the command prompt window. Whatever your batch file does, you can do it through the command line interface (CLI).
Start “Run”, or simply hit [Windows key + R]. Type “cmd”, and you’re presented with the CLI. You can type “help” to get a list of commonly used commands and their functions. I recommend you try out each and every single command you can find. Hacking is getting more and more user-friendly every day, CLIs are being replaced by GUIs (Graphical User Interfaces) – meaning in most places you won’t have to actually type in the commands, you can just select an option and press a button. But as of now, this is a work in progress. With more advanced hacking techniques, especially the ones that involve using BackTrack tools, you will find that majority of the hacks are still done through the CLI. So, Before getting to the code, let’s take a look at a couple of commands.
md / mkdir: Make Directory, This command is used to create a directory (a folder).
cd: Change Directory, This command is used to change the current directory.
Here we’ve got the Folder Blaster Worm. Again, this one’s fairly easy to understand. What we’re doing below is creating a bunch of folders, opening them all at once and keeping them open, effectively hogging a big portion of the screen and memory causing the windows to lag, freeze up and sometimes crash.
So, we beginning with turning off echo. Then we changed the directory to Desktop. Now we created ten folders with names 0-9. We set up the label and start opening up all the 10 folders. Now the final statement causes an infinite loop. Of course, if the folder is already opened it will not be opened again. But the use of this infinite loop is if the user attempts to close the folder, the loop is still going on and it will send a message to open that folder again. So the victim will be stuck as every time s/he closes a folder it opens up again, eventually making them give up and restart the system.
The above code can be made much shorter with the use of LOOPs, as discussed below. We’ll start by creating a variable and setting its value to 0. We are going to use this variable as a check to let the computer know when to come out of the loop. Take a look at the code first:
set /a i=0
if %i%==10 goto end
echo This is iteration %i%.
set /a i=%i%+1
Where “set” is used to define and initialize a variable. Here we create a variable called “i” and set it’s value to zero. After setting up a label, we check if the value of the variable “i” (given by %i%) is equal to 10, and if it is we “goto” the label end (the program ends when this happens). Now we “echo” (send a message) to notify the user which iteration is currently running. In the next step, we increment the value of “i” by one and then go back to the “if” statement.
So the loop runs ten times (0-9) and then stops. The above was not a worm, but a simple program. Earlier, I told you that the above Folder Blaster worm code can be made shorter by using loops. You know how to make the worm, and now you know how to use loops. Combining the two of them, I leave as an exercise for the wannabe hacker.
(HINT: See the folder names up top going from 0-9 ? You can just replace them with %i% in the above loop & in the end don’t forget to save the file in .bat extension. )
Note: – This guide is only for knowledge purpose and shouldn’t be used for any illegal activities as we are not responsible for anything happens with this.
So, Hope HACKAGON have provided one of the best worm/virus to have fun with your Friend’s/Victim. And if you like this article then don’t forget to share it with your friends and always feel free to drop a comment below if you have any query or feedback.