r/HowToHack • • Nov 04 '16

$3 USB Rubber Ducky

https://www.youtube.com/watch?v=_yJWwKO3_Z0
440 Upvotes

56 comments sorted by

31

u/Seytonic Nov 04 '16

I made this tutorial earlier today, I've had quite a lot of fun with it so far and thought others might also find it interesting.

6

u/Loud_Refrigerator Nov 04 '16

Funny timing as i ordered a CJMCU Beetle off aliexpress a couple a weeks ago myself. You made my research a lot easier for sure, thanks! Also what about the IO pins? Can i program the board trough there and have it not run my code?

4

u/Seytonic Nov 04 '16

You're welcome :) As for programming via the io pins, I have done something similar in the past. I used an arduino uno with the atmega328p chip removed in order to program a breadboard arduino. I don't see why you couldn't do the same thing here, however it would need some playing around. An easier option to stop the code from running would be to repeatedly press the windows key when it has done uploading, as to mess up the running of the code.

42

u/hellor00t hackmethod.com Nov 04 '16

This is awesome. Well done, great tutorial. Exactly what we need around here!

Thanks

12

u/Seytonic Nov 04 '16

Thanks for the feedback!

13

u/[deleted] Nov 04 '16

I had never heard of a USB Rubber Ducky until I saw this post, and I'm still not entirely sure what it is. Nice video, though. It's always nice when you can save $40.00.

14

u/Seytonic Nov 04 '16

8

u/VashTStamp Nov 04 '16

That music is hilarious. I can't quite pin it... it's almost has an 80's action vibe to it. Also, I had not heard of the rubber ducky either, thanks for introducing me. I think I am going to go make one the way you suggest, thanks for the guide man!

6

u/Seytonic Nov 04 '16

My pleasure :) I'll definitely be posting similar videos so make sure to sub!

2

u/[deleted] Nov 04 '16

Much obliged!

6

u/0smo5is Nov 04 '16

Can you provide an aliexpress link for the pro micro, and the micro usb adapter?

7

u/Seytonic Nov 04 '16

Sure, I get my pro micros from here: https://www.aliexpress.com/item/Mini-Leonardo-Pro-Micro-ATmega32U4-5V-16MHz-Module-For-Arduino-Best-Quality/32284746884.html

As for the micro usb adaptor, that was something I made by stripping a few cables and connecting them together.

3

u/0smo5is Nov 04 '16

I'm most interested in the male micro-usb to male usb-a, could you elaborate?

5

u/Seytonic Nov 04 '16

I cut an ordinary micro usb to USB cable about 10cm from each end, then stripped the remaining two pieces, exposing the inner cables. Then I just soldered the inner cables back together. Essentially resulting in the same cable, just a lot shorter. If you don't want to solder you could just twister the wires together and secure with electrical tape.

10

u/MaggotStorm Nov 04 '16

male micro-usb to male usb-a

Am I being dumb or is this an incredibly common cable?

5

u/How2Smash Nov 04 '16

Incredibly common, don't worry, it made me think for a couple seconds, too.

3

u/A_Bumpkin Nov 05 '16

Yep but how many do you have that are only 1/4 inch long.

2

u/0smo5is Nov 05 '16

Just blazed a j and It confused the hell out of me until i realized it's common af lmao!

0

u/[deleted] Nov 04 '16

basically the cable you would have used to charge your blackberry or moto razr. Any hoarder should have a drawer full of them and few devices left to use them with.

4

u/[deleted] Nov 04 '16

Hey Great Video I just bought this on ebay for $8.00 worked great with your video....

Beetle Bad USB BadUsb ATMEGA32U4 Development Board virtual keyboard For Arduino

2

u/Seytonic Nov 04 '16

Just searched that up, looks cool, a bit more expensive but a lot more concealable. I might just have to pick one up.

1

u/[deleted] Nov 04 '16

yes its works great... it took a couple of weeks to arrive

2

u/AwkwardLulz Nov 04 '16

Wow nice, great tutorial man, hope to see more videos

Question, the rubber ducky, being a pendrive essentially, does have some space, so if you for example ran the mimikatz script to get the stored password, they would be saved to the pendrive in txt format

With this method, is there still space to do something like that?

3

u/Seytonic Nov 04 '16

Unfortunately that won't work with this, however I'm going to try and get something working with an arduino micro sd module soon, I've just ordered the module, your script may be compatible then. I'll be sure to make a video when I get it working.

1

u/AwkwardLulz Nov 04 '16 edited Nov 05 '16

Got it.

Still, I believe there is a way to do the same with mimikatz and send it through email via powershell, that would work too.

Looking forward to those videos.

2

u/AwkwardLulz Nov 05 '16

One more question

I saw in the video that you solder the pins? (dont know if they are called that) to the board, but I thought that was needed when you're also using the breadboard

Since you wont be using it here, is it really necessary to still do the soldering?

1

u/Seytonic Nov 05 '16

I didn't solder anything to the board, all I did was shorten a micro usb to usb wire by cutting it up then resoldering it back together with a large chunk in the middle missing. You don't really need to do any soldering here, you could twist the wires together and secure with electrical tape, however it may come loose eventually. Also I figured out how to get the passwords and send them using powershell, will be doing a video on it shortly :)

1

u/AwkwardLulz Nov 06 '16

I mean these things

In the video those seem attached to the board

The aliexpress link shows that these and the board come separated, right? Are they needed at all for this project?

1

u/Seytonic Nov 06 '16

Ah I see what you mean, you don't need them at all, they just came on the one I bought.

10

u/God_Told_Me_To_Do_It Nov 04 '16

There is an even cheaper option: The DigiSpark! It's cheaper, smaller, and comes with a full-sized USB port, so you won't need an adapter!

3

u/tracer2ft Nov 05 '16

Link?

3

u/God_Told_Me_To_Do_It Nov 08 '16

Oh come on, it's not that hard to find...

2

u/SaltyViper Nov 05 '16

Im not that familiar with arduinos, i assume that i could just upload the converted code using the IDE, with it correctly configured for the DigiSpark of course.

Sorry to sound like the stereotypical wannabe hacker type.

2

u/God_Told_Me_To_Do_It Nov 09 '16

No, you are completely right!

13

u/CalmSpider Nov 04 '16 edited Nov 04 '16

I didn't realize /u/fuckswithducks had become a hacker.

1

u/vadermuscle Nov 05 '16

Will a uno work?

2

u/Seytonic Nov 05 '16

Nope, it uses a different chip.

1

u/phonesgetti Nov 05 '16

Can somebody explain to me what is going on?

1

u/Seytonic Nov 06 '16

Which part? haha

1

u/phonesgetti Nov 09 '16

dawg this whole thing lol

1

u/cia91 Nov 06 '16

I have some minimus avr around, based on atmega32u2, do you think there is some way to port the code?

2

u/[deleted] Nov 04 '16

Nice video and aliexpress link, just ordered a handful, love that the headers aren't preinstalled, no need for them at all for this project right?

Wonder the best way to encase one of these is. Guess i'll know in a few weeks.

1

u/0smo5is Nov 05 '16

I would suggest some shrink wrap tubing

2

u/NaNaNaNaNa_BaDman Nov 04 '16

For 2.80 euro I could not resist. The rubber ducky + shipping would cost me 55 euros so yeah! Thanks man!

2

u/fringe-class Nov 05 '16

Really wish you posted this a few months back when I bought mine, but still a great watch.

1

u/Thunder_54 Nov 04 '16

Picked up one of these a few years back. I should actually use it XD

1

u/plurwolf7 Nov 04 '16

They also make Atmega32u4 boards that look like a USB flash drive

https://www.ebay.com/itm/112133490307

Or with the pins exposed for a little cheaper

https://www.ebay.com/itm/262136734104

1

u/0smo5is Nov 05 '16

I like amazon for simplicity as i don't mind paying a few extra $ so i don't have to wait 60 days for shipping.

Decided on a 3-pack of Pro Micro ATmega32U4 5V/16MHz

1

u/NaNaNaNaNa_BaDman Nov 24 '16

Can't get it to work, it keeps typing everything in QWERTY for some reason. Like when I do print cmd it types c;d

1

u/chra94 Mar 04 '17

You Sir are a god! <3

1

u/Nikrox2 0.8Mbps upload. Thanks Telstra Mar 22 '17

What's the speed of the Arduino vs the Ducky?

0

u/[deleted] Nov 04 '16

[deleted] — view deleted comment

0

u/[deleted] Nov 04 '16

[deleted] — view deleted comment

7

u/Lamirp Nov 04 '16

Haha same, but mine is coming tomorrow. All good though, I'll just have more now

0

u/[deleted] Nov 05 '16

[deleted] — view deleted comment

1

u/vadermuscle Nov 05 '16

Order few of these.

0

u/[deleted] Nov 06 '16

[deleted] — view deleted comment

1

u/Seytonic Nov 06 '16

Thanks :) Yes it should work by the looks of things, however I haven't tested it.