brandonlw / Psychson

Phison 2251-03 (2303) Custom Firmware & Existing Firmware Patches (BadUSB)
MIT License
4.12k stars 1.28k forks source link

Building DriveCom etc #87

Open Arvandor opened 9 years ago

Arvandor commented 9 years ago

I'm trying to make a BadUSB for use in testing our users against that kind of social engineering. The repository contains a bunch of Visual Studio solutions, but no built executables? I tried loading DriveCOM into my version of VS2012, but it didn't seem to like it.

How does one go about compiling or running these tools?

sardoc commented 9 years ago

Opening the Psychson-master\DriveCom\DriveCom.sln file in Visual Studio 2012 (Ultimate) works fine over here - can you be more specific than "doesn't seem to like it"?

Once opened in VS2012, all you need to do is build it in order to get the DriveCom.exe. You'll also probably want to build the EmbedPayload solution as well.

Arvandor commented 9 years ago

Aha, I think I just opened it wrong... I did new solution and opened the top level folder for that project, and it complained about something (I don't remember what.) Opening the .sln file seems to have worked. I've done a little bit of C# and ASP.NET coding in Visual Studio, but I've never tried to build out to an .exe, so just a bit noobish there haha.

I now can't find any documentation on how to use it to check the chip type of the flash drive... It kicks me into console, and I've tried h, help, ?, trying to figure out if there's any kind of built in documentation for what is possible, but I don't see anything. The command is DriveCom.exe /drive=G /action=?????

Thanks for the help.

On Wed, Mar 25, 2015 at 2:48 PM, sardoc notifications@github.com wrote:

Opening the Psychson-master\DriveCom\DriveCom.sln file in Visual Studio 2012 (Ultimate) works fine over here - can you be more specific than "doesn't seem to like it"?

Once opened in VS2012, all you need to do is build it in order to get the DriveCom.exe. You'll also probably want to build the EmbedPayload solution as well.

— Reply to this email directly or view it on GitHub https://github.com/adamcaudill/Psychson/issues/87#issuecomment-86210620.

sardoc commented 9 years ago

You'll want to refer to this wiki page initially: https://github.com/adamcaudill/Psychson/wiki/Setting-Up-the-Environment

Once you've compiled the DriveCom.exe, you can just call it directly from a cmd window, rather than messing with it in VS2012. You'll want to run the GetInfo action initially to make sure you have the right type of chip (2303).

Once you found a USB you can use, you'll need a burner image - https://github.com/adamcaudill/Psychson/wiki/Obtaining-a-Burner-Image has information on this, and you can find links to locations where these images can be found.

Arvandor commented 9 years ago

Yeah, I was running it in a command line, I just couldn't find the GeInfo action. Thanks for the links, I'll follow those and see if I can harass you as little as possible ;)

On Wed, Mar 25, 2015 at 3:42 PM, sardoc notifications@github.com wrote:

You'll want to refer to this wiki page initially: https://github.com/adamcaudill/Psychson/wiki/Setting-Up-the-Environment

Once you've compiled the DriveCom.exe, you can just call it directly from a cmd window, rather than messing with it in VS2012. You'll want to run the GetInfo action initially to make sure you have the right type of chip (2303).

Once you found a USB you can use, you'll need a burner image - https://github.com/adamcaudill/Psychson/wiki/Obtaining-a-Burner-Image has information on this, and you can find links to locations where these images can be found.

— Reply to this email directly or view it on GitHub https://github.com/adamcaudill/Psychson/issues/87#issuecomment-86227587.

0x48piraj commented 9 years ago

Hey Arvandor,sardoc, can u both plz send mee the compiled tools in zip format bcause my VB2012 iso file is permanently deleted so can u plz send me the compiled tool i will be very Thankful to u .... plz post soon

dansimko commented 9 years ago

Hi, I have just now compiled the tools, heres the link: http://wikisend.com/download/695466/tools.zip

ykarli commented 7 years ago

Hi I just tried to make a usb hacker and I do not understand how to make drivecom.exe may I ask you to send another folder tools?