--nick-- Posted December 17, 2012 Share Posted December 17, 2012 (edited) This guide is for re-flashing/upgrading the rubberducky firmware using WINDOWS XP x86 (should be the same for Vista, Windows 7+)Installation Mediahttp://code.google.com/p/ducky-decode/source/browse/trunk/Flash/Duck%20Programming.zipFlip 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=5555x64 - http://www.microsoft.com/en-gb/download/details.aspx?id=14632Installation Install MS Visual C++ Redistributable Unzip DuckProgramming.zip Install Flip Install Atmel signed Driver Atmel Driver ProblemsYou 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 passDont worry about the overlap warning! Edited February 7, 2013 by midnitesnake Tidied it up a little. 1 Quote Link to comment Share on other sites More sharing options...
no42 Posted December 17, 2012 Share Posted December 17, 2012 (edited) The overlap warning is to do with the boot loader - but that area of memory is protected and cant be overwritten.I was worried the first time I flashed my Ducky, I have since flashed the Ducky approx 80x with no adverse affects.From checking my system, I did the following steps:Install FlipInstall Atmel Driverput firmware.hex in same directory as program.batAtmel Driver----------I inserted the ducky in dfu mode (holding the Ducky's button down)When Windows couldnt find the driver, I did a maunal install (sometimes a wizard will pop up, sometimes it wont)Control-Panel ->Hardware & Sound -> Add a device -> select atmel-dfu -> manually search for driver -> point to unzipped atmel-driver folder -> ok ->doneIf windows has installed a gernic driver, you have to go through device manger -> update driver, and then manuall select the relevant inf file from the atmel-driver folder. Edited February 7, 2013 by midnitesnake Quote Link to comment Share on other sites More sharing options...
overwraith Posted December 18, 2012 Share Posted December 18, 2012 (edited) I have been following the tutorials here, and the one that midnightsnake made, and have been having some problems. I keep getting an error message(popup) that is titled "AtJniIsp Message", and has the error message "AtLibUsbDfu.dll not found. " I know that the specified dll file is located in the bin folder though. The following is the command prompt when the error occurs. C:\Program Files (x86)\Atmel\Flip 3.4.7\bin>program.bat USB.hex____________________________________________[#] RubberDucky Programming Script[-] Programming File: [USB.hex]Running batchisp 1.2.5 on Mon Dec 17 18:32:22 2012AT32UC3B0256 - USB - USB/DFUDevice selection....................... PASSHardware selection..................... PASSOpening port........................... FAIL ISP done.C:\Program Files (x86)\Atmel\Flip 3.4.7\bin>[/CODE]If anyone knows why the error is occurring, or how to fix it I would really appreciate some help. Edited December 18, 2012 by overwraith Quote Link to comment Share on other sites More sharing options...
--nick-- Posted December 18, 2012 Author Share Posted December 18, 2012 (edited) yea, what midnight said. try to put the downloaded batchisp into that /bin/ folder too i had that same problem , i am trying to think what i did. did you put the .dll and the .sys in the correct places and then? manually select driver from device managers harware manager (pick have disk) select the driver that is in the downloaded folder the . inf file select 32uc3b restart pc after its done installing the driver. Edited December 18, 2012 by --nick-- Quote Link to comment Share on other sites More sharing options...
overwraith Posted December 19, 2012 Share Posted December 19, 2012 (edited) Still not working, I'm not sure what is going wrong, I am going to uninstall and try again. May send an email to Hak 5 feedback asking for a segment on the ducky firmware install. I think it would be worth it. Edited December 19, 2012 by overwraith Quote Link to comment Share on other sites More sharing options...
--nick-- Posted December 20, 2012 Author Share Posted December 20, 2012 (edited) Still not working, I'm not sure what is going wrong, I am going to uninstall and try again. May send an email to Hak 5 feedback asking for a segment on the ducky firmware install. I think it would be worth it. did the driver install sucessfully when you manulay selected it ? maybe you are putting the .dll and the .sys in the wrong places ? also check the libusb_Readme.txt inside the atmel driver folder you downloaded, encase i forgot something. If I am leaving anything else out anyone can feel free to help out. I don't mind. Edited December 20, 2012 by --nick-- Quote Link to comment Share on other sites More sharing options...
no42 Posted December 20, 2012 Share Posted December 20, 2012 (edited) Did a clean install today on Windows7, XP should work in a similar manner. Installed Flip. Inserted Ducky (in dfu-mode, continually hold the ducky's button as you insert the ducky, if its not in dfu-mode - you were not pushing the button, and you can not flash the ducky) Performed Manual Driver install (see pics) Worked perfectly - I didnt have to modify/copy any additional binaries or environment variables If this doesnt work, you might have a dead-duck. My advise would be to contact the hak5 shop (shop@hak5.org) for an exchange. Edited December 20, 2012 by midnitesnake Quote Link to comment Share on other sites More sharing options...
loco870 Posted April 10, 2013 Share Posted April 10, 2013 Great Tutorial! I installed on Windows 7! Works fine! Quote Link to comment Share on other sites More sharing options...
mahorelee Posted June 7, 2013 Share Posted June 7, 2013 I want to buy a Ducky but have a question about this first. If I flash my Ducky can I still run playloads? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
no42 Posted June 7, 2013 Share Posted June 7, 2013 I want to buy a Ducky but have a question about this first. If I flash my Ducky can I still run playloads? Thanks in advance! Depends on the payload: HID - Yes USB(FAT Duck) No! Multi/Detour Duck - Yes Composite/Twin Duck - Yes. Multi-Composite PoC - Yes 1 Quote Link to comment Share on other sites More sharing options...
odnorazovaya Posted June 26, 2013 Share Posted June 26, 2013 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! hi everyone, first time flashing in here. though it seems like an easy noob friendly guide, i'm still a bit confused about one part. Duck Programming.zip contained a file JRE_Flip_Installer_3.4.2.exe. And you also posted a link for a Flip installer download , which i followed and downloaded a version Flip Installer - 3.4.7.112.exe since i already have JRE installed. so when you say Install Flip, which file were you referring to, the one from download link, or the one from the zip? would you please clarify this for me. I'm running win 7 ultimate 64. thanks Quote Link to comment Share on other sites More sharing options...
odnorazovaya Posted June 27, 2013 Share Posted June 27, 2013 i would really appreciate your answers guys. Quote Link to comment Share on other sites More sharing options...
odnorazovaya Posted June 27, 2013 Share Posted June 27, 2013 Did a clean install today on Windows7, XP should work in a similar manner. Installed Flip. Inserted Ducky (in dfu-mode, continually hold the ducky's button as you insert the ducky, if its not in dfu-mode - you were not pushing the button, and you can not flash the ducky) Performed Manual Driver install (see pics) Worked perfectly - I didnt have to modify/copy any additional binaries or environment variables 1-device_manager.png 2-update-driver.png 3-select-driver.png 4-install-driver.png 5-done.png If this doesnt work, you might have a dead-duck. My advise would be to contact the hak5 shop (shop@hak5.org) for an exchange. hi, would you please help me with my question bove? thanks. Quote Link to comment Share on other sites More sharing options...
no42 Posted June 27, 2013 Share Posted June 27, 2013 hi everyone, first time flashing in here. though it seems like an easy noob friendly guide, i'm still a bit confused about one part. Duck Programming.zip contained a file JRE_Flip_Installer_3.4.2.exe. And you also posted a link for a Flip installer download , which i followed and downloaded a version Flip Installer - 3.4.7.112.exe since i already have JRE installed. so when you say Install Flip, which file were you referring to, the one from download link, or the one from the zip? would you please clarify this for me. I'm running win 7 ultimate 64. thanks Should not really matter, are you having problems? Duck Programming vanished with usbrubberducky.com, people were asking so I made the original available. Quote Link to comment Share on other sites More sharing options...
odnorazovaya Posted June 27, 2013 Share Posted June 27, 2013 Should not really matter, are you having problems? Duck Programming vanished with usbrubberducky.com, people were asking so I made the original available. i wanted to make surei am doing the right thing before facing ones(problems). what do you mean by:" Duck Programming vanished with usbrubberducky.com"? thanks for your response btw Quote Link to comment Share on other sites More sharing options...
odnorazovaya Posted June 28, 2013 Share Posted June 28, 2013 thanks for your answer, i got it working without a single issue. Quote Link to comment Share on other sites More sharing options...
no42 Posted June 28, 2013 Share Posted June 28, 2013 i wanted to make surei am doing the right thing before facing ones(problems). what do you mean by:" Duck Programming vanished with usbrubberducky.com"? thanks for your response btw Yes your doing the right thing. There used to be a website called www.usbrubberducky.com (full of ducky resources) - it got owned, now the URL redirects to these forums. Quote Link to comment Share on other sites More sharing options...
odnorazovaya Posted June 28, 2013 Share Posted June 28, 2013 Yes your doing the right thing. There used to be a website called www.usbrubberducky.com (full of ducky resources) - it got owned, now the URL redirects to these forums. oh, ok, got it. Quote Link to comment Share on other sites More sharing options...
factgasm Posted December 2, 2013 Share Posted December 2, 2013 I've just completed my first successful flash - thanks to everyone that has contributed to this thread! :) Quote Link to comment Share on other sites More sharing options...
lirvux Posted May 17, 2014 Share Posted May 17, 2014 Hello! I try to flashing in Linux debian 7 Use this manual - https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Flashing-ducky ./dfu-programmer at32uc3b1256 dump >dump.bin dfu-programmer: no device present. I use dfu-util -l: (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc. (C) 2010-2011 Tormod Volden (DfuSe support) This program is Free Software and has ABSOLUTELY NO WARRANTY dfu-util does currently only support DFU version 1.0 Found Runtime: [0a5c:201e] devnum=0, cfg=1, intf=3, alt=0, name="UNDEFINED" found device - is my blueetooth.. where my usb rubber ducky? :'( lsusb: Bus 003 Device 013: ID 03eb:2401 Atmel Corp. - this ducky Help me flashing, please. Thanks! Quote Link to comment Share on other sites More sharing options...
no42 Posted May 28, 2014 Share Posted May 28, 2014 have you put the ducky in DFU mode, my constantly pushing the little black button while inserting it into the computer? Quote Link to comment Share on other sites More sharing options...
zardoz Posted August 24, 2014 Share Posted August 24, 2014 Hello, i have a problem. i don't have the program.bat in my atmel directory :( any suggestion ? thank you ! "C:\Program Files (x86)\Atmel\Flip 3.4.2\bin>program.bat c_duck_v2.1.hex 'program.bat' is not recognized as an internal or external command, operable program or batch file. Quote Link to comment Share on other sites More sharing options...
no42 Posted August 24, 2014 Share Posted August 24, 2014 Hello, i have a problem. i don't have the program.bat in my atmel directory :( any suggestion ? thank you ! "C:\Program Files (x86)\Atmel\Flip 3.4.2\bin>program.bat c_duck_v2.1.hex 'program.bat' is not recognized as an internal or external command, operable program or batch file. check, it should be in this zip file: Duck Programming.zip Quote Link to comment Share on other sites More sharing options...
BeNe Posted September 29, 2014 Share Posted September 29, 2014 Flashed "c_duck_v2.1.hex" successfully under Windows 8.1 x64! Quote Link to comment Share on other sites More sharing options...
BigDaddy Posted January 2, 2015 Share Posted January 2, 2015 So I flashed successfully, but now my ducky does not show up as a drive when I insert it back into the computer... Did I miss something? I flashed Twin Duck with no errors. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.