Jump to content

[Firmware] Introducing "Twin Duck"


no42

Recommended Posts

Introducing the latest Composite Firmware - Codename : The Twin Duck

The Ducky primarily acts as a USB Mass Storage Device, and on a click of the button will start emulating a Keyboard.

Its multi-OS, multi-lingual and comes in three flavours:

  • c_duck_v2.hex - Supports DuckyScript as HID payload, triggered automatically and on GPIO (limited instructions)
  • c_duck_v2_S001.hex - Triggered on CAPS/NUM/SCROLL LOCK
  • c_duck_v2_S002.hex - Triggered on Ducky's GPIO only!

Depending on your circumstances, you may want to use either one of these available firmwares.

Downloads
http://code.google.c.../downloads/list

Please test and post feedback here.

Snake

Edited by midnitesnake
Recent Developments
  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...

Hi Guys, I tought I would share some of my experience with the USB rubber ducky with the twinduck firmware.

It can come very handy but it come with some disavantage;

-SD card get corupted from time to time so it need a format once in a while (but I never clean eject mass storage so maybe I'm to blame for this one ;)

-SD card access is very slow, about 70Kbps so executing large file take a while

-The payload stored on the SD card will execute faster is the SD card is smaller, count about 1sec to initialise for every GB of total storage on the card, so keep it as small as you need

You can easily write a shell script that will locate the SD card by its volume name and execute more complex payload from there so your duck script can be shorter.

I also created a folder with script to move the desired payload from a library of .bin file to the root of the card. also after each payload, I call a script that will put the hello world payload back in the root so I can plug it safely on my computer to select the desired payload.

Keep up the good work, I was hoping there is something to do to make the mass storage part a bit faster, at least to spec with usb 1.0?

Thanks

Link to comment
Share on other sites

Speed is limited to the open source spi protocol, the connection interface to the sdcard. Sd has its own proprietary interface/protocol which is faster but costs $$$. This would affect licensing and cost of ducky. Trying to keep software as freeware & open source as much as possible.

I'm afraid you'll have to live with slow speed.

Corruption - never had problem, 1st sdcard was faulty , replacement still working fine.

Sdcard loading times, your right smaller the quicker. I get by with cheap 256/512mb.

Edited by midnitesnake
  • Upvote 1
Link to comment
Share on other sites

  • 10 months later...
  • 2 years later...
  • 4 months later...

Hi, I need the source of c_duck_v2_S001.hex to recompile, where are?

Introducing the latest Composite Firmware - Codename : The Twin Duck

The Ducky primarily acts as a USB Mass Storage Device, and on a click of the button will start emulating a Keyboard.

Its multi-OS, multi-lingual and comes in three flavours:

  • c_duck_v2.hex - Supports DuckyScript as HID payload, triggered automatically and on GPIO (limited instructions)
  • c_duck_v2_S001.hex - Triggered on CAPS/NUM/SCROLL LOCK
  • c_duck_v2_S002.hex - Triggered on Ducky's GPIO only!

Depending on your circumstances, you may want to use either one of these available firmwares.

Downloads
http://code.google.c.../downloads/list

Please test and post feedback here.

Snake

Link to comment
Share on other sites

  • 8 months later...
  • 4 weeks later...

The Twin Duck firmware is nothing short of amazing. It makes the USB Rubber Ducky show up as both a HID Keyboard and Mass Storage - just like a regular USB drive. There are a few limitations, but nothing that hinders this payload. Specifically the Twin Duck is only capable of executing payloads of 2048 keystrokes (4K inject.bin files). It also only supports a transfer speed of about 150 KB/s - which is about 9 megabytes per minute. That said it is a fantastic firmware perfect for this situation.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Hey guys i hope you can help me...

i'm trying to use firmware : c_duck_v2.1.hex  

everything was successful and i get green-red light which says that i'm using the Rucbber Ducky as Twin Rubber Ducky.

But after i insert the SD card and plug the USB in my PC the payload does not start to run it just blinks green and red and nothing happens..

Any idea what i'm doing wrong?

Link to comment
Share on other sites

  • 4 months later...
On 03/03/2017 at 1:36 PM, S:D said:

Hey guys i hope you can help me...

i'm trying to use firmware : c_duck_v2.1.hex  

everything was successful and i get green-red light which says that i'm using the Rucbber Ducky as Twin Rubber Ducky.

But after i insert the SD card and plug the USB in my PC the payload does not start to run it just blinks green and red and nothing happens..

Any idea what i'm doing wrong?

You probably need - like me - using this firmware version (c_duck_v2.hex). The c_duck_v2.1.hex  doesn't seems to work for me too.

Link to comment
Share on other sites

  • 4 months later...
On ‎06‎/‎12‎/‎2012 at 5:49 PM, no42 said:

Introducing the latest Composite Firmware - Codename : The Twin Duck

The Ducky primarily acts as a USB Mass Storage Device, and on a click of the button will start emulating a Keyboard.

Its multi-OS, multi-lingual and comes in three flavours:

  • c_duck_v2.hex - Supports DuckyScript as HID payload, triggered automatically and on GPIO (limited instructions)
  • c_duck_v2_S001.hex - Triggered on CAPS/NUM/SCROLL LOCK
  • c_duck_v2_S002.hex - Triggered on Ducky's GPIO only!

Depending on your circumstances, you may want to use either one of these available firmwares.

Downloads
http://code.google.c.../downloads/list

Please test and post feedback here.

Snake

The link is now broken. Can anyone provide a new link to the firmware?

Thanks.

Link to comment
Share on other sites

DANGER WILL ROBINSON I've tried with two different ducks flashing them to this firmware (and also changed sd card format) and after trying to flash to the twin duck for file exfiltration, BOTH ducks died. Tried flashing to standard after and only got solid red light. Got the solid red light on Twin FW too. So DANGER when flashing to twin duck! Thankfully the customer service there rocks and they're sending me two brand new ones. I'm gonna send these back to them so they can do some testing on them. I literally tried everything I could think of doing. Flashing, reflashing, flashing manually, flashing with ducky-flasher, reinstalling the proper Atmel processor driver manually the proper way and no fixing it. Dead ducks. But again thank to the awesome customer service with Hak5 they're replacing them. GO HAK5! :)
 

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
  • 1 year later...

This thing has been probably covered in a couple of forums, but since those solutions are few years old I wanted to check if there is any update.

Is there a way to bypass or avoid 'Device Driver Installation' process in Windows and make the payload execution process sneaky?

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
  • 5 months later...

So I managed to fix the flashing red and green thing by programming it on a my kali box using the "Ducky Flasher" instructions found here:

https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Flashing-ducky#Windows

I was NOT able to prevent the red and green flashing on my windows 10 box with program.bat

 

Feel free to check out my projects!
www.HughMungis.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...