Jump to content
Hak5 Forums
--nick--

[Tutorial] Re-Flashing/Upgrading the Ducky WINXP 32bit

Recommended Posts


C:\Program Files (x86)\Atmel\Flip 3.4.2\bin>

C:\Program Files (x86)\Atmel\Flip 3.4.2\bin>program.bat c_duck_v2.1.hex

____________________________________________

[#] RubberDucky Programming Script

[-] Programming File: [c_duck_v2.1.hex]

[!] Please provide valid input (.hex) file!


C:\Program Files (x86)\Atmel\Flip 3.4.2\bin>


Thats the problem Im having c_duck_v2.1.hex ...Not a hex file What the hell Is going wrong?

Share this post


Link to post
Share on other sites

check your spelling

compare the file names with the command strings. then play the sesamae street game " one of these things"

Share this post


Link to post
Share on other sites

Since then I have got this to work with the double payload caps lock for inject.bin and num lock for inject2.bin

All is working now

Share this post


Link to post
Share on other sites

Hello,

on the last step when i am using the command:

"program.bat firmware.hex"

i get the error:

"Could not find the flip.exe key in Registry;cannot continue"

 

How do i fix that?

 

Share this post


Link to post
Share on other sites

What color should the led be if properly in DFU mode?  When I insert the device without the SD card while holding the button, I get a solid red light.  When trying to then flash the device, the computer doesn't recognize it... stating check to be sure in DFU mode.  Could I have a faulty duck that won't enter DFU mode?

  • Upvote 1

Share this post


Link to post
Share on other sites
On 2016-09-14 at 9:21 PM, KennethS said:

What color should the led be if properly in DFU mode?  When I insert the device without the SD card while holding the button, I get a solid red light.  When trying to then flash the device, the computer doesn't recognize it... stating check to be sure in DFU mode.  Could I have a faulty duck that won't enter DFU mode?

Im having the same issue and havent found a solution in the forums. Please help!

Share this post


Link to post
Share on other sites
Posted (edited)

Followed this guide, and get this error:

[#] RubberDucky Programming Script
[-] Programming File: [duck_v2.1.hex]
Can't load jvm.dll

I have installed Java:

Directory of C:\Program Files (x86)\Java\jre1.8.0_141\bin\client

20/07/2017  11:49    <DIR>          .
20/07/2017  11:49    <DIR>          ..
20/07/2017  11:49        12,713,984 classes.jsa
20/07/2017  11:49         3,866,176 jvm.dll
20/07/2017  11:49             1,423 Xusage.txt
               3 File(s)     16,581,583 bytes

Browser check:

Verified Java Version

Completion checkmark

Congratulations!

You have the recommended Java installed (Version 8 Update 141).

Any ideas?

Edited by sawks

Share this post


Link to post
Share on other sites
On 12/17/2012 at 5:38 AM, --nick-- said:

This guide is for re-flashing/upgrading the rubberducky firmware using WINDOWS XP x86 (should be the same for Vista, Windows 7+)

Installation Media
http://code.google.com/p/ducky-decode/source/browse/trunk/Flash/Duck%20Programming.zip

Flip download link: http://www.atmel.com/tools/FLIP.aspx
- also download the preferred firmware.hex from the duck wiki site before hand.
in here http://code.google.com/p/ducky-decode/

You may also need Microsoft Visual C++ Redistributable:
x86 - http://www.microsoft.com/en-gb/download/deails.aspx?id=5555
x64 - http://www.microsoft.com/en-gb/download/details.aspx?id=14632

Installation

  • Install MS Visual C++ Redistributable
  • Unzip DuckProgramming.zip
  • Install Flip
  • Install Atmel signed Driver

Atmel Driver Problems
You will have to install this manually! Windows installs the wrong driver!
So to install manually use the add hardware wizard and select have disk and scroll down to at32ucb.

Alternatively, make sure the Duck is in DFU-mode (keep pushing the button upon insertion), and goto Device Manager.

  • Then look for a DFU-xxx under USB Devices
  • Right Click
  • Update Driver
  • Then Manually specify driver.
  • And point the program to the Atmel Signed Drivers from the unzipped DuckProgramming.zip


Running Program.bat to Re-flash Ducky

  • open dos cmd prompt
  • in cmd prompt type in cd C:\Program Files\Atmel\Flip 3.4.2\bin
  • in the same cmd prompt type in

program.bat YourNewFirmware.hex

Its a sucess if it all says pass
Dont worry about the overlap warning!

Check out this device. A new product similar to the Rubber Ducky, but has WiFi capabilities. Hack on the Go with this. 

link: https://igg.me/p/2165733/x/17027489

Share this post


Link to post
Share on other sites

When this update/install is done correctly, will the RD LED flash green and red? Is it safe to remove now?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×