Hacking Prevention – Fork Bomb and Folder Blaster

Hacking Prevention – USB stealer and Zip Bomb
January 7, 2016
Hacking Prevention – DDoS Attack and R.A.T’s
January 8, 2016
Show all

Hacking Prevention – Fork Bomb and Folder Blaster

Fork Bomb

What is a Fork Bomb?

A fork bomb is the equivalent of a DOS attack on your own system. DOS is short for Denial of Service and this type of attack is an attempt to make a machine or network resource unavailable.

How do you create a Fork Bomb?

Start off by opening a new text file and type 0%|0% and save it as Anyname.bat. These 5 characters are shortened code for:
:s
start %0
goto s
Here “s” acts as a checkpoint and “goto s” states that once it reaches this point it must go back to “s”. All that is left to do now is for you or the victim to launch the batch file and soon enough the computer will crash.

How does the Fork Bomb work?

The coding inside the Fork Bomb file launchs the Fork Bomb again but once the first Fork Bomb file completes its task it goes back to the top of the code (hence “goto s”) and repeats the task. This means that the Fork Bomb file will exponentially open itself. For example, on the 10th cycle there will be 1024 Fork Bomb files open and on the 20th cycle there are 1,048,576 Fork Bomb files open.

What countermeasures should I take?

Luckily in this case there is a very simple way to prevent a Fork Bomb from taking full action. All you have to do make a limit for how many processes that can be running.

Folder Blaster

What is a Folder Blaster?

This is a batch file that opens a bunch of applications all at once but it doesn’t allow you to close them.




How do you create a Folder Blaster?

You begin by opening up a new text file and turning off echo by typing “@echo off”. Then you change the directory to Desktop by typing “cd ./Desktop”. Now you create ten folders with names 0-9 by typing “md 0”, “mb 1” and so on. Now you can type anything after a colon for example, :confirm. You then setup a label and 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.

How does the Folder Blaster work?

The Folder Blaster is a file that is used to create folders and once they have been created they get opened. Obviously it’s more than just making and opening folders because it has an infinite loop which means if the person tries to close the folders, they’ll just open again. In basic terms, the Folder Blaster creates and opens folder and doesn’t allow the folders to be closed.

What countermeasures should I take?

Unfortunately there aren’t any countermeasures that someone can take to prevent this from happening to them but luckily this isn’t deadly virus, it won’t cause your computer to crash, it’s merely an annoying trick. On the up side 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.

Comments are closed.