Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unidentified Device" in Windows 7 for HID #46

Open
jeroen-80 opened this issue Oct 27, 2014 · 3 comments
Open

"Unidentified Device" in Windows 7 for HID #46

jeroen-80 opened this issue Oct 27, 2014 · 3 comments

Comments

@jeroen-80
Copy link

Hi,

Windows 7 x64 reports an "Unidentified Device" when I tried to run the HID example. I'm connecting to an USB 2.0 port. Steps I've followed:

1 - compiled /firmware/bin/fw.bin.
2 - created keys.txt:

  GUI r
  DELAY 50
  STRING notepad.exe
  ENTER
  DELAY 100
  STRING Hello World!

3 - java -jar encoder.jar -i keys.txt -o inject.bin

  Hak5 Duck Encoder 2.6.3
  Loading File .....              [ OK ]
  Loading Keyboard File .....     [ OK ]
  Loading Language File .....     [ OK ]
  Loading DuckyScript .....       [ OK ]
  DuckyScript Complete.....       [ OK ]

4- copy fw.bin (step 1) to hid.bin and embed inject.bin, EmbedPayload.exe inject.bin hid.bin:

  File updated.

5 - flash the updated hid.bin to the USB stick:

  C:\tmp>tools\DriveCom.exe /drive=D /action=SendFirmware /burner=BN03V104M.BIN /firmware=hid.bin
  Action specified: SendFirmware
  Gathering information...
  Reported chip type: 2303
  Reported chip ID: 98-DE-92-72-14-14
  Reported firmware version: 1.01.10
  Mode: BootMode
  Rebooting...
  Sending firmware...
  Executing...
  Mode: Firmware

  C:\tmp>tools\DriveCom.exe /drive=D /action=GetInfo
  Action specified: GetInfo
  Gathering information...
  Reported chip type: 2303
  Reported chip ID: 98-DE-98-92-72-D7
  Reported firmware version: 0.99.53
  Mode: Firmware

5 - remove and plugin the USB stick, waiting for a notepad, magically typing Hello World!

However, instead of a notepad, a new hardware found windows pops up, telling me that an "Unidentified Device" is found. The result after looking for a driver: "No driver found". So no HID and no notepad :(

I've tried sending hid.bin with all burner images (BN03V1*.BIN). In some cases the uploading fails. In all successful cases the "Unidentified Device" is found.

Am I doing something wrong? Any clues about what the problem is? Thanks!
unidentified

@llamasoft
Copy link

What USB drive are you using? At least one device is using the correct 2303 chip but isn't compatible.

@jeroen-80
Copy link
Author

I'm using two - physically completely different - noname 8 GB devices:
no 1:

  Reported chip type: 2303
  Reported chip ID: 98-DE-98-92-72-D7
  Reported firmware version: 1.10.53
  Mode: Firmware

no 2:

  Reported chip type: 2303
  Reported chip ID: 98-DE-84-93-72-D7
  Reported firmware version: 1.09.10
  Mode: Firmware

I opened up no 1, which contains a Phison PS2251-03. Pictures are attached.
dsc00296
dsc00297

@x64x6a
Copy link

x64x6a commented Nov 19, 2014

I was having similar problems as you, and I plugged the usb into a usb 2.0 slot and then it worked. Maybe that will work for you aswell?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants