Homer.bat

Homer.bat was part of a fun spamming script I made for my friend Chris (just to annoy him). The final edition could be seen as a form of virus/worm as it would procreate itself into a system folder, add registry files to help keep persistence and replace the original file with a non damaging version so the user had no idea what it had done.

Once the computer reboots the script will automatically load with a persistence script so if the user closed the spamming Homer.bat script it would automatically load up again until 1 of 3 outcomes occurred (by random):

  1. Forces a Windows reboot
  2. Starts a spamming script, causing Windows to crash
  3. Completely removes itself and all registry entries
Homer.bat (stripped down version)

@echo off
set NUM=0 1 2 3 4 5 6 7 8 9 A B C D E F
mode con cols=50 lines=25
:homer
set rnd=%random%
for %%x in (%NUM%) do (
for %%y in (%NUM%) do (
color %%x%%y
title %rnd%
)
)
cls
echo              _ _,---._          
echo           ,-','       `-.___  
echo          /-;'               `._  
echo         /\/          ._   _,'o \  
echo        ( /\       _,--'\,','"`. )  
echo         ^|\      ,'o     \'    //\  
echo         ^|      \        /   ,--'""`-.  
echo         :       \_    _/ ,-'         `-._  
echo          \        `--'  /                )  
echo           `.  \`._    ,'     ________,','  
echo             .--`     ,'  ,--` __\___,;'  
echo              \`.,-- ,' ,`_)--'  /`.,'  
echo               \^( ;  ^| ^| )      ^(`-/  
echo                 `--'^| ^|^)       ^|-/  
echo                   ^| ^| ^|        ^| ^|  
echo                   ^| ^| ^|,.,-.   ^| ^|_  
echo                   ^| `./ /   )---`  )  
echo                  _^|  /    ,',   ,-'  
echo                 ^|    `--'---.     \/ \  
echo                 ^|          / \    /\  \  
echo               ,-^---._     ^|  \  /  \  \  
echo            ,-'        \----'   \/    \--`.  
echo           /            \              \   \   
goto homer

homer

Chris: God And, what have you done to my compu…….
Andy: Hahahaha :)

One thought on “Homer.bat

Leave a Reply