Introduction: Batch Fake Virus/Hack Code

This is a tutorial on how to make a Batch Fake Virus/Hacking Code to scare your friends!

Step 1: Copy and Paste If You Are Too Lazy.

If you just want the code to scare your friends and do not want to learn how it works, you can go ahead and copy it here and paste it into a New Text Document. (make sure to save the code as .bat NOT .txt)

How to make a Batch File (for windows):

  • Go to your desktop.
  • Right click the empty space.
  • Click/Hover over New.
  • Click Text Document.
  • Copy/Type in coding.
  • Click File.
  • Click Save As.
  • Change the file from .txt to .bat (ex. New Text Document ===> New Text Document.bat)
  • Click Save.

The code is here (copy all of it as it is, there is no changing required, the password in the initial asking is fakehack, which i will teach you how to change):

@echo off
title SecurityGuard v1.03
color C
echo SecurityGuard v1.03 enabled!
echo This program has been...
ping -n 2 127.0.0.1>nul
echo.
echo     _####_
echo    #      #
echo   #        #
echo   #        #
echo   #        #
echo  ############ 
echo #   LOCKED   #
echo #     ##     #
echo #    ####    #
echo #    ####    #
echo #     ##     #
echo #     ##     #
echo ##############
echo.
ping -n 2 127.0.0.1>nul
echo Enter password to activate the program...
set/p "pass=>"
if NOT %pass%== fakehack goto :incorrect_pass
if %pass%== fakehack goto :correct_pass</p><p>:correct_pass</p><p>cls
echo Password hidden...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo PASSWORD CORRECT
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
color 97
cls
title svr_hack_var_aggressive.exe
echo Initializing svr_hack_var_aggressive.exe
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
tree C:/Windows/System32
echo Initializing Complete! Are you ready to continue enable Proxy Servers?
@echo off
:choice
set /P c=Are you sure you want to continue[Y/N]?
if /I "%c%" EQU "Y" goto :somewhere
if /I "%c%" EQU "N" goto :somewhere_else
goto :choice</p><p>:somewhere</p><p>cls
echo Proxy Servers enabling...
ping -n 2 127.0.0.1>nul
echo Proxy Servers 27%% enabled...
ping -n 2 127.0.0.1>nul
echo Proxy Servers 56%% enabled...
ping -n 2 127.0.0.1>nul
echo Proxy Servers 89%% enabled...
ping -n 2 127.0.0.1>nul
echo Proxy Servers have been enabled. Are you ready to enable software rooting?
@echo off
:choice
set /P c=Are you sure you want to continue[Y/N]?
if /I "%c%" EQU "Y" goto :somewhere2
if /I "%c%" EQU "N" goto :somewhere_else2
goto :choice</p><p>:somewhere_else</p><p>echo svr_hack_var_aggressive.exe had been closed, exiting out of cmd...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
exit</p><p>:somewhere2</p><p>echo Collecting files to root... (Warning, this process may take several minutes!)
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
@echo off
tree C:\
@echo off
:choice
set /P c=Are you sure you want to root all of the selected files?[Y/N]?
if /I "%c%" EQU "Y" goto :somewhere3
if /I "%c%" EQU "N" goto :somewhere_else3
goto :choice</p><p>:somewhere_else2</p><p>echo svr_hack_var_aggressive.exe had been closed, exiting out of cmd...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
exit</p><p>:somewhere_else3</p><p>echo svr_hack_var_aggressive.exe had been closed, exiting out of cmd...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
exit</p><p>:somewhere3</p><p>@echo off
cls
echo Rooting files... (Warning this process may take several minutes!)
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo File rooting has been completed.
goto :hardcore</p><p>:incorrect_pass</p><p>cls
echo Password hidden...
ping -n 2 127.0.0.1>nul
echo PASSWORD INCORRECT: svr_hack_var_aggressive.exe has been closed, exiting out of cmd...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
exit</p><p>:hardcore</p><p>@echo off
cls
echo Transfering user to passive mode...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
title Passive
color B
echo svr_hack_var_aggressive.exe has been enabled...
ping -n 2 127.0.0.1>nul
echo Checking if svr_hack_var_aggressive.exe is running correctly...
ping -n 2 127.0.0.1>nul 
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
cls
echo svr_hack_var_aggressive.exe has initialized 
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo svr_hack_var_aggressive.exe has enabled Proxy servers 
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo svr_hack_var_aggressive.exe has rooted files 
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
cls
echo Removing traces of svr_hack_var_aggressive.exe in files...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
tree C:/Windows/ADFS
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
cls
echo svr_hack_var_aggressive.exe has been removed...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo cmd will be replaced in 3...
ping -n 2 127.0.0.1>nul
echo 2...
ping -n 2 127.0.0.1>nul
echo 1...
ping -n 2 127.0.0.1>nul
cls
echo ...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
cls
start cmd
exit</p>

Step 2: Explanation of Code.

I will be explaining what each and every bit of this code does, if you do not want to know how the code works and just want the code, go to Step 1, copy the code, and paste it into a batch file (which I explained how to make in Step 1).

@echo off stops the display of the commands

title changes the title of the command prompt

color changes the color of the text and/or the color of the background

echo displays a line of text

ping sends a amount of data to a IP and tests the response time (I use it for a delay in the coding)

set/p "pass=>" makes the next lines of coding password protected

if/if NOT %pass%== password goto :correct_pass sends the user to different paths of coding depending on if the user uses the correct password (you can change the "password" to any text for your password)

:correct_pass/:incorrect_pass/:somewhere etc... the paths of coding that the user takes depending on if the user chooses the correct/incorrect choice

set /p c= creates a yes or no question

if /I "%c%" EQU "Y/N" goto :example the paths of coding that the user takes depending on if the user chooses the correct/incorrect choice

exit closes the CMD

tree shows a directory map of certain drives/paths

goto :example goes to the path :example

cls clears all displayed text on the CMD

start/start CMD open a new CMD

>nul disables that line of code from showing in the CMD

Comments

author
seamster (author)2015-03-23

Interesting. Will this cause any longterm damage to one's computer? I'm completely unfamiliar with this sort of stuff.

author
yoyobebo (author)seamster2015-03-23

Here's the simple answer, no. This batch code will not harm your computer or others computers in any way. I did explain what all of the parts did in the second step if you want to know what each section does.

author
seamster (author)yoyobebo2015-03-23

Cool, thanks!

author
JerryP57 (author)2016-08-15

whats the password

author
royal killer. (author)2016-08-15

Batch Fake Virus/Hack Code
This is a tutorial on how to make a Batch Fake Virus/Hacking Code to scare your friends!

STEP 1: COPY AND PASTE IF YOU ARE TOO LAZY.

Copy and paste if you are too lazy.
If you just want the code to scare your friends and do not want to learn how it works, you can go ahead and copy it here and paste it into a New Text Document. (make sure to save the code as .bat NOT .txt)

How to make a Batch File (for windows):

Go to your desktop.
Right click the empty space.
Click/Hover over New.
Click Text Document.
Copy/Type in coding.
Click File.
Click Save As.
Change the file from .txt to .bat (ex. New Text Document ===> New Text Document.bat)
Click Save.
The code is here (copy all of it as it is, there is no changing required, the password in the initial asking is fakehack, which i will teach you how to change):

@echo off
title SecurityGuard v1.03
color C
echo SecurityGuard v1.03 enabled!
echo This program has been...
ping -n 2 127.0.0.1>nul
echo.
echo _####_
echo # #
echo # #
echo # #
echo # #
echo ############
echo # LOCKED #
echo # ## #
echo # #### #
echo # #### #
echo # ## #
echo # ## #
echo ##############
echo.
ping -n 2 127.0.0.1>nul
echo Enter password to activate the program...
set/p "pass=>"
if NOT %pass%== fakehack goto :incorrect_pass
if %pass%== fakehack goto :correct_pass

:correct_pass

cls
echo Password hidden...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo PASSWORD CORRECT
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
color 97
cls
title svr_hack_var_aggressive.exe
echo Initializing svr_hack_var_aggressive.exe
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
tree C:/Windows/System32
echo Initializing Complete! Are you ready to continue enable Proxy Servers?
@echo off
:choice
set /P c=Are you sure you want to continue[Y/N]?
if /I "%c%" EQU "Y" goto :somewhere
if /I "%c%" EQU "N" goto :somewhere_else
goto :choice

:somewhere

cls
echo Proxy Servers enabling...
ping -n 2 127.0.0.1>nul
echo Proxy Servers 27%% enabled...
ping -n 2 127.0.0.1>nul
echo Proxy Servers 56%% enabled...
ping -n 2 127.0.0.1>nul
echo Proxy Servers 89%% enabled...
ping -n 2 127.0.0.1>nul
echo Proxy Servers have been enabled. Are you ready to enable software rooting?
@echo off
:choice
set /P c=Are you sure you want to continue[Y/N]?
if /I "%c%" EQU "Y" goto :somewhere2
if /I "%c%" EQU "N" goto :somewhere_else2
goto :choice

:somewhere_else

echo svr_hack_var_aggressive.exe had been closed, exiting out of cmd...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
exit

:somewhere2

echo Collecting files to root... (Warning, this process may take several minutes!)
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
@echo off
tree C:\
@echo off
:choice
set /P c=Are you sure you want to root all of the selected files?[Y/N]?
if /I "%c%" EQU "Y" goto :somewhere3
if /I "%c%" EQU "N" goto :somewhere_else3
goto :choice

:somewhere_else2

echo svr_hack_var_aggressive.exe had been closed, exiting out of cmd...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
exit

:somewhere_else3

echo svr_hack_var_aggressive.exe had been closed, exiting out of cmd...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
exit

:somewhere3

@echo off
cls
echo Rooting files... (Warning this process may take several minutes!)
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo File rooting has been completed.
goto :hardcore

:incorrect_pass

cls
echo Password hidden...
ping -n 2 127.0.0.1>nul
echo PASSWORD INCORRECT: svr_hack_var_aggressive.exe has been closed, exiting out of cmd...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
exit

:hardcore

@echo off
cls
echo Transfering user to passive mode...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
title Passive
color B
echo svr_hack_var_aggressive.exe has been enabled...
ping -n 2 127.0.0.1>nul
echo Checking if svr_hack_var_aggressive.exe is running correctly...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
cls
echo svr_hack_var_aggressive.exe has initialized
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo svr_hack_var_aggressive.exe has enabled Proxy servers
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo svr_hack_var_aggressive.exe has rooted files
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
cls
echo Removing traces of svr_hack_var_aggressive.exe in files...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
tree C:/Windows/ADFS
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
cls
echo svr_hack_var_aggressive.exe has been removed...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
echo cmd will be replaced in 3...
ping -n 2 127.0.0.1>nul
echo 2...
ping -n 2 127.0.0.1>nul
echo 1...
ping -n 2 127.0.0.1>nul
cls
echo ...
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
ping -n 2 127.0.0.1>nul
cls
start cmd
exit

author
RickV34 (author)2016-08-13

@echo off

title SecurityGuard v1.03

color C

echo SecurityGuard v1.03 enabled!

echo This program has been...

ping -n 2 127.0.0.1>nul

echo.

echo _####_

echo # #

echo # #

echo # #

echo # #

echo ############

echo # LOCKED #

echo # ## #

echo # #### #

echo # #### #

echo # ## #

echo # ## #

echo ##############

echo.

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

echo PASSWORD CORRECT

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

color 97

cls

title svr_hack_var_aggressive.exe

echo Initializing svr_hack_var_aggressive.exe

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

tree C:/Windows/System32

echo Initializing Complete! Are you ready to continue enable Proxy Servers?

@echo off

:choice

set /P c=Are you sure you want to continue[Y/N]?

if /I "%c%" EQU "Y" goto :somewhere

if /I "%c%" EQU "N" goto :somewhere_else

goto :choice</p><p>:somewhere</p><p>cls

echo Proxy Servers enabling...

ping -n 2 127.0.0.1>nul

echo Proxy Servers 27%% enabled...

ping -n 2 127.0.0.1>nul

echo Proxy Servers 56%% enabled...

ping -n 2 127.0.0.1>nul

echo Proxy Servers 89%% enabled...

ping -n 2 127.0.0.1>nul

echo Proxy Servers have been enabled. Are you ready to enable software rooting?

@echo off

:choice

set /P c=Are you sure you want to continue[Y/N]?

if /I "%c%" EQU "Y" goto :somewhere2

if /I "%c%" EQU "N" goto :somewhere_else2

goto :choice</p><p>:somewhere_else</p><p>echo svr_hack_var_aggressive.exe had been closed, exiting out of cmd...

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

exit</p><p>:somewhere2</p><p>echo Collecting files to root... (Warning, this process may take several minutes!)

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

@echo off

tree C:\

@echo off

:choice

set /P c=Are you sure you want to root all of the selected files?[Y/N]?

if /I "%c%" EQU "Y" goto :somewhere3

if /I "%c%" EQU "N" goto :somewhere_else3

goto :choice</p><p>:somewhere_else2</p><p>echo svr_hack_var_aggressive.exe had been closed, exiting out of cmd...

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

exit</p><p>:somewhere_else3</p><p>echo svr_hack_var_aggressive.exe had been closed, exiting out of cmd...

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

exit</p><p>:somewhere3</p><p>@echo off

cls

echo Rooting files... (Warning this process may take several minutes!)

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

echo File rooting has been completed.

goto :hardcore</p><p>:incorrect_pass</p><p>cls

echo Password hidden...

ping -n 2 127.0.0.1>nul

echo PASSWORD INCORRECT: svr_hack_var_aggressive.exe has been closed, exiting out of cmd...

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

exit</p><p>:hardcore</p><p>@echo off

cls

echo Transfering user to passive mode...

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

title Passive

color B

echo svr_hack_var_aggressive.exe has been enabled...

ping -n 2 127.0.0.1>nul

echo Checking if svr_hack_var_aggressive.exe is running correctly...

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

cls

echo svr_hack_var_aggressive.exe has initialized

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

echo svr_hack_var_aggressive.exe has enabled Proxy servers

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

echo svr_hack_var_aggressive.exe has rooted files

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

cls

echo Removing traces of svr_hack_var_aggressive.exe in files...

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

tree C:/Windows/ADFS

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

cls

echo svr_hack_var_aggressive.exe has been removed...

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

echo cmd will be replaced in 3...

ping -n 2 127.0.0.1>nul

echo 2...

ping -n 2 127.0.0.1>nul

echo 1...

ping -n 2 127.0.0.1>nul

cls

echo ...

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

ping -n 2 127.0.0.1>nul

cls

start cmd

exit</p>

This is without the password, working on it to fix pw!

author
RandallH10 (author)2016-07-23

help me what is the password

author
Ary_Mrlz (author)2016-03-23

when i enter the password it closes automatically, why is this?

author
yoyobebo (author)Ary_Mrlz2016-03-27

You must have typed in the password incorrectly, make sure the password that you type in is "falsehack" with no quotes (unless you have changed the password). Also the password in caps sensitive so you have to type it exactly how it is.

author
BeatLyax (author)yoyobebo2016-07-02

this password didn't work for me

author
BeatLyax (author)2016-07-02

check out the screenshot and help me please

cee99692c3b046c8af2b8667990313ef.png
author
lllenderdudelllt (author)2016-06-12

Please can you make me a password software in this style,

Thx

Email me@ lllenderdudelll@gmail.com