How to Make an Auto-Hacking USB Drive

 by Crazy Leprecaun
Autorun sample.bmp
I will teach you how to make a basic Auto-Hacking USB Drive. There are probably many different variationsof this. I will be showing you the most basic.

You need two things:
1) A USB Drive devoted to this
2) The programs and files that I will show you how to make or where to get. If you have trouble making the two files that I show you how to create, they can be downloaded at the end of the Instructable.

OK PEOPLE!!!!!
THIS AUTO-HACKING USB DRIVE SIMPLY CONTAINS APPLICATIONS THAT RECOVER PASSWORDS AND SUCH. STOP LEAVING POSTS ABOUT HOW YOU DON'T UNDERSTAND WHAT GETS HACKED.

Step 1: A Brief Explanation

Autorun files.bmp
OK. If you are looking for an Instructable that will teach you how to hack the Pentagon with a 2GB USB Drive, look somewhere else. This Instructable uses a batch file, an autorun file, and downloaded programs.

Step 2: The Autorun File

Autorun text 1.bmp
Autorun save.bmp
Autorun with icon saved.bmp
So. Here we go. We will start with the Autorun file.

This file is the one that makes the pop-up window when you plug in the USB Drive. You can use this on any USB Drive, even if it has U3 on it.

Open Notepad (I'm using Notepad++) and type the following:

(autorun)
label=(Name you want the drive to have)
icon=(Icon file).ico
open=(Batch file we will make later).bat
action=(What you want the action to be)

MAKE SURE YOU DO NOT TYPE THE ()'s! Where it says (autorun), replace the parentheses with brackets (the buttons to the right of the "p" key on the keyboard. USE THE BOTTOM BRACKETS, NOT THE TWISTY FRENCH BRACKETS!)

Save this file as Autorun.inf

Make sure that you save it immediately inside your USB Drive, not inside any sub-folders (My Computer, Autohax0r).

Also, I have used an icon (an .ico file), so the USB Drive will have a different picture than the boring standard picture. To get one of these, I advise going to http://www.iconarchive.com/ to get an .ico file (you have to specifically download it as .ico). If you do this, save the icon in the same place as the Autorun file.

Step 3: The Batch File

KTX code.bmp
KTX save.bmp
KTX saved.bmp
We will now make the batch file that starts all the "hacking programs." MAKE SURE YOU NAME IT THE SAME AS WHAT YOU CALLED IT IN THE AUTORUN FILE!

Type this into Notepad:

@echo off
title KTX
start .\Applications\FOLDER\APPLICATION.exe
start .\CommandLine\Process.exe -k TermX.exe
start .\CommandLine\Process.exe -k WinVNC.exe
pause
goto eof

I will explain the commands used:
@echo off: Makes it so the file pops-up without showing the commands. Makes it look more professional.

title: Makes a title at the top of the batch file.

start: If you can't figure this one out, you should not be reading this Instructable.

pause: Pauses the file, waits for you to press any button.

goto: Sends the file to a different part of the script.

eof: End of file.

Also, TermX.exe is a program that my school uses to keep us out of certain websites. IT IS NOT THE FIREWALL. For info on WinVNC.exe, go to http://www.processlibrary.com/directory/files/winvnc.

Where it says \FOLDER\APPLICATION, you will change this in two steps.

Save this as KTX.bat, and place it in the same place (directory) as the Autorun.inf file.

Step 4: The "Hacking" Programs

Nirsoft.bmp
CommandLine.bmp
Ok. We are now going on to the actual hacking programs. Go to http://www.nirsoft.net/, and browse the programs. If you have any different websites or programs, feel free to use them. I am using SniffPass, LSASecretsView, and WirelessKeyView. Install them, and place them and the folders they create in the same directory as all the other stuff.

Your computer might identify some as viruses, but don't worry. It only does this because some programs can find certain passwords.

Also, you might notice that I have a folder called "CommandLine." This is a VERY usefull program, and can be downloaded at http://www.beyondlogic.org/solutions/processutil/processutil.htm. There is also a hearty description at this page.

Step 5: Modifying KTX.bat

KTX mod.bmp
programs in app folder.bmp
It is now time to go back to KTX.bat (by the way, remember that TermX.exe thing I mentioned? Well, KTX stands for "Kill TermX". Feel free to change the batch file name to whatever you want, just MAKE SURE TO ADJUST THE AUTORUN FILE, TOO!).

Go to the part of the Autorun file where it says "start .\Applications\FOLDER\APPLICATION.exe". You are going to change this. Also, add or subtract as many of this line as you need. If you have three programs to run, you need three lines of this code.

First, create a folder in the same place as the Autorun and KTX files, and name it Applications. Drag all the folders that contain the hacking programs into the Applications folder. You should come up with a directory like this:
"My Computer\AutoHax0r\Applications\HACKING FOLDERS HERE (with programs inside the folders)"

Also, you do not have to have the CommandLine in the KTX file. I just use it for my school.

I will include pictures.

Step 6: All Finished!

Autohax0r unpluged.bmp
Begin Hax0r.bmp
Ok. This is the end of the tutorial. You should have the Autorun.inf file, the KTX.bat file, and some hacking files of your choice. To work the magic of the Auto-Hacking USB Drive, just unplug the drive in question and plug it back in. If it doesn't work, you did something wrong, because I told you how to do it right. Either that, or you have strange computer settings.

If you are confused as to how to make the batch file or the Autorun file, download them here.
1-40 of 162Next »
HiPoweredHacker says: Dec 11, 2012. 7:17 AM
thank you i am now a more powerful hacker yet
kwebber321 says: Mar 8, 2011. 8:50 AM
so can i play half life 1 at school with this method?
bliu1 in reply to kwebber321May 5, 2011. 3:02 PM
HAHAHA lol i was thinking the same thing just that mine was hacking the school internet to play games or something. But i guess not
bowmaster in reply to bliu1Jun 1, 2011. 3:48 AM
You can get the internet passwords then change the settings so you can play games.
MyNameXsh in reply to bowmasterAug 7, 2012. 3:59 PM
to play games at school, type httpS::// before the website. it will most of the time bypass the server and goto the site if the site is supported .
MyNameXsh says: Aug 7, 2012. 3:57 PM
If youhave Anitivirus software that wont let you download from Nirsoft, click on its icon on the bottom right of your computer and it shuld have controlls where you can turn off antivirus and antispyware to download it.
PoisonedLeaf says: May 3, 2012. 7:17 PM
So if I plug this into my computer my computer. Will my computer be unlocked if it has just the basic security?
shadow wave rider says: Dec 18, 2011. 2:51 PM
what gets hacked??? im confused. and does it work for windows 7?????
extremeseeker says: Nov 25, 2011. 3:26 PM
My Computer says it can't download stuff from nirsoft
ctopher2 says: Nov 18, 2011. 11:34 PM
hmm... the only problem with this is that these programs, or at least SniffPass since thats all iv tried so far.. will load on the screen, instead in the background for the victim not to see... so thats lame, but still a cool post

thanks
zillikai says: Nov 9, 2011. 7:01 AM
where can i download autohax0r?
TH1010 says: Aug 14, 2011. 1:25 PM
when i plug in the usb drive auto play comes up but i dont have an option to run autohax0r. only a option to view files. please help
Computothought says: Jul 3, 2011. 2:48 AM
See if I still have an MSWindows machine to try this on, It probably would not as is work on linux.
nwilliamson says: May 18, 2011. 8:26 PM
so if we do not have TermX on the computers we will be using, we do not need that command line?
bliu1 says: May 5, 2011. 3:28 PM
does it need to be word for word? and also do we need to install termx or winvnc?
rockpig57 says: Apr 26, 2011. 9:35 AM
I just get the import photos thing and open folders and speed up your system and im on vista, please help
HoodedHound says: Jun 8, 2010. 10:53 AM
If I plug the usb back again the screen that pops up only says things about "import pictures" and "Open folders to view". I can't get an option to let the programs do their work. Maybe because I have a Windows 7 computer. Please help me
sage.welte in reply to HoodedHoundApr 16, 2011. 6:13 PM
I have a windows 7 computer and mine works. you have to open up the folder and run the auto run.
Crazy Leprecaun (author) in reply to HoodedHoundJun 8, 2010. 3:11 PM
I'm not totally sure, but I think that Microsoft may have disabled the autorun feature for Windows 7. I wrote this for XP and Vista, and I use Ubuntu Linux now, so I don't know much about Windows 7. Sorry.
HoodedHound in reply to Crazy LeprecaunJun 22, 2010. 1:29 PM
I see. It runs just fine on my Vista computer. :) Anyway, thanks for the awesome tutorial!
sleighbypower in reply to Crazy LeprecaunJun 22, 2010. 3:39 AM
yeah i use ubuntu linux now as well. it's great. ow and by the way great tutorial
scohn says: Mar 26, 2011. 1:10 PM
It would be dope if you could put up the exact files you used. So that people could just download it and put it on a USB. Other than that, awesome instructable.
B.F.L.M says: Feb 6, 2011. 8:43 AM
In order to stop antivirus programs from deleting the files, could you archive them and then modify the code to something like:
@echo off
title {insert title}
start ./commandline/processes.exe -k {antivirus process title}
pause
{extraction code}
pause
{program start lines}
pause
goto eof

could something like this work? its alittle vague, sorry. (the extra pauses are to insure that the command completes (especially the extration code))
HackerzAdmin says: Feb 4, 2011. 7:39 AM
i download auto typer for gaming...
justinsandstrom33 says: Jan 17, 2011. 3:35 PM
it shows for me what do you want to open it with what do i do
notaro1997 says: Dec 10, 2010. 6:20 PM
this is cool
account3r2 says: Nov 13, 2010. 7:04 PM
u can remove goto eof or change it to end because goto eof creates an error but u cant see it because then it closes
Crazy Leprecaun (author) in reply to account3r2Nov 14, 2010. 6:44 PM
Yes, you can. I think you can just put "exit" there, but it's been a while since I've messed with BATCH.

By the way, "eof" means "end of file".
drewski135 says: Oct 26, 2010. 8:41 AM
Can this be done for an ipad?
lockpick says: Aug 26, 2010. 4:43 PM
Does anyone know how to do this on a mac
messmaker in reply to lockpickAug 30, 2010. 11:59 PM
hahahahaha, mac's are useless for this sought of thing, sorry bro =]
lockpick in reply to messmakerSep 4, 2010. 2:31 PM
dam i really wanted to hack the school admin account
Crazy Leprecaun (author) in reply to lockpickSep 5, 2010. 8:46 PM
Been there, done that (on Windows, not a Mac). Word of advice, the admins get a little mad when you hack their network.
messmaker in reply to lockpickSep 5, 2010. 12:02 AM
yea, doubt thats gonna happen. you could still try though.
lockpick in reply to messmakerSep 17, 2010. 8:58 PM
Sweet I'm in. Idid it by running a keylogger on the computer while the teacher typed in the admin password so I could hook up the printer
messmaker in reply to lockpickSep 20, 2010. 3:46 AM
the keylogger worked even after you had logged out of your account?
lockpick in reply to messmakerOct 10, 2010. 6:43 PM
No, i mean partially. The computer allows us to switch directly to another account without logging off. So the teacher logged in the admin without logging out of my account
messmaker in reply to lockpickOct 22, 2010. 9:18 PM
well your system administrator sucks xD

lockpick in reply to messmakerOct 22, 2010. 9:38 PM
Bad for him Good for me ;-)
messmaker in reply to lockpickOct 23, 2010. 11:17 AM
i want ur admin xD
1-40 of 162Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!