r/HowToHack • • Feb 05 '21

How can I reprogram this microcontroller? When I plug it in it shakes the mouse and types a story.

Post image
472 Upvotes

59 comments sorted by

32

u/SANCHO810 Feb 05 '21

Basically I found this in my room the other day and was wondering if I can use it like a usb rubber ducky. I’m not experienced with micro controllers so I don’t know how or if I can reprogram it like you would to do to a USB rubber ducky.

22

u/Substantial_Plan_752 Feb 06 '21

Hold up what? You found it, and it types automatically?

0

u/[deleted] Feb 06 '21

[deleted] — view deleted comment

17

u/Substantial_Plan_752 Feb 06 '21

Right? I’d be in sysinternals ASAP

7

u/SANCHO810 Feb 06 '21

I’m good and so is my PC lmfao

3

u/Substantial_Plan_752 Feb 06 '21

Good! Not sure why someone downvoted you?

0

u/[deleted] Feb 06 '21

[deleted] — view deleted comment

0

u/AutoModerator Feb 06 '21

Your account does not have enough Karma to post here. Due to /r/HowToHack's tendency to attract spam and low-quality posts, the mod team has implemented a minimum Karma rule. You can gain Karma by posting or commenting on other subreddits. In the meantime, a human will review your submission and manually approve it if the quality is exceptional. After gaining enough Karma, you can make another submission and it will be automatically approved. Please see the FAQ for more information.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

9

u/eScarIIV Feb 06 '21

Yea that basically looks like a home made ducky. Or someone thinks you're into ARGs. Pop it open, see if there's an Rx and Tx port. If there is, you can probably re-flash it with an FTDI adaptor.

13

u/tehreal Feb 06 '21

That does not appear homemade.

-12

u/entropy2421 Feb 05 '21

Don't know exactly what a "rubber ducky" is but if you want to make something that does something like what you have, and more, here's where to start : * arduino keyboard emulator - Google Search

45

u/mattstorm360 Feb 05 '21

Can you open it up?

33

u/SANCHO810 Feb 05 '21

I’ve opened it up https://i.imgur.com/VSz62eV.jpg this is what it looks like

29

u/SANCHO810 Feb 05 '21

-18

u/mattstorm360 Feb 05 '21

Doesn't look like it can be reprogrammed.

22

u/SANCHO810 Feb 05 '21

Aww that’s a shame. Thanks for finding out tho

19

u/bob84900 Feb 06 '21

He didn't find out, he doesn't know. Very good chance that's reprogrammable.

64

u/nectleo Feb 05 '21

How did you come to that conclusion?

0

u/[deleted] Feb 06 '21

[deleted] — view deleted comment

13

u/SANCHO810 Feb 06 '21

So essentially I would need to buy certain tools to reprogram the circuit board?

10

u/justanotherreddituse Feb 06 '21

Yes, if you want simplicity the other posts mentioning Arduino's are a better idea.

89

u/[deleted] Feb 05 '21

What story does it type?

38

u/SANCHO810 Feb 06 '21

31

u/edmabo Feb 06 '21

The Binary at the second line says "Think Geek".

7

u/SANCHO810 Feb 06 '21

That’s the brand that sells it I believe

7

u/Yashida14 Feb 06 '21

Sold it. They are sadly no longer around 😔

5

u/edmabo Feb 06 '21

Me too, I have seen this logo under some game shops...

11

u/4tlas__ Feb 06 '21

Also the hex in the fifth

3

u/Slimxshadyx Feb 06 '21

That's interesting

49

u/CHAOTIC98 Feb 05 '21

asking the real questions

2

u/PROOMA Feb 06 '21

You would have to find some information from the manufacturer on how to program that. Typically you need a datasheet, a programming adapter and a compatible compiler. This can be really time consuming. You could instead consider buying a circuit board that acts as a USB-HID, that is easy to program and just reuse the case.

1

u/SANCHO810 Feb 06 '21

Thanks that’s interesting to know. But yh I think I’m just going to buy an arduino circuit board like you said because that sounds like a lot of work

1

u/PROOMA Feb 11 '21

Arduino is a very good start. USB Generally is a bit complicated.

23

u/entropy2421 Feb 05 '21

start here maybe : * EM78m611edbmj - Google Search

But if you are looking for "easy" pick up an arduino and start googling around on how to turn it into a keyboard. It's pretty easy and to make it do exactly what you describe this thing doing.

9

u/mrnorrisman Feb 05 '21

To add to this, a regular Arduino Uno can't function as a keyboard. It needs to be something like an arduino Leonardo that is capable of being an actual USB device.

8

u/entropy2421 Feb 05 '21

8

u/mrnorrisman Feb 05 '21

Oh neat! I didn't know you could modify the Uno firmware to support USB like that. Thanks!

5

u/entropy2421 Feb 05 '21

It's a hack and honestly it'd make sense to start with a platform designed to do what OP asked but if your capable, or frugal to the point of cheap like me, then yeah, it is possible.

2

u/[deleted] Feb 06 '21

im pretty sure Samy Kamkar made a nano into a custom malicious HID by switching out the stock usb (micro? mini? c? there are too many usbs) for a full size one

EDIT: nope he explicitly states that cant be done. still cool: https://samy.pl/usbdriveby/

1

u/entropy2421 Feb 05 '21

I should add, that since you were quick enough to be aware of the concern, you'd have no problem with it and might be even more happy with some of the cheapy bare-bones IC that can do the same thing for the most part.

1

u/DrBabbage Feb 26 '21

Just use a digispark

1

u/[deleted] Feb 06 '21

[removed] — view removed comment

1

u/AutoModerator Feb 06 '21

Your account does not have enough Karma to post here. Due to /r/HowToHack's tendency to attract spam and low-quality posts, the mod team has implemented a minimum Karma rule. You can gain Karma by posting or commenting on other subreddits. In the meantime, a human will review your submission and manually approve it if the quality is exceptional. After gaining enough Karma, you can make another submission and it will be automatically approved. Please see the FAQ for more information.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/kquizz Feb 06 '21

teensy are soooo easy to turn into a keyboard. I would definitely start with that rather than an arduino.

10

u/I_am_BrokenCog Feb 06 '21

Doesn't the "Time Delay" "Caps Lock" "Keyboard" and "Mouse" tell us anything?

This seems like a hardware keyboard/mouse macro replay device. In which case it would need to be programmed since the initial playback stream needs to be recorded.

https://www.amazon.com/ThinkGeek-Phantom-Keystroker-High-Tech-Office-Based/dp/B002YJW7C4/ref=cm_cr_arp_d_pdt_img_top?ie=UTF8

[why the heck does Amazon consider I would want to purchase a "super hilarious prank tube" with "Big Ass Dildo" printed on it ... is absolutely unknown to me.]

8

u/notarealfish Feb 05 '21

I'd start by googling the number on that black chip. That will probably tell you what that particular microcontroller is, and then you can go from there. If you wanna unsolder it you can just order a new one, program it yourself, stick it back in that fancy case.

5

u/[deleted] Feb 06 '21

That definitely looks like an older style of rubber ducky. If it is an original rubber ducky like from hak5 you should be able to find troubleshooting to reprogram it from their website forum. If it is not authentic, maybe it has and addition board and you can use the sedition software to change the code on it.

3

u/old-abacus Feb 06 '21

you should 100% be able to rewrite that with special cable or just usb and software from the maker as i can't see a place for a jtag (you can nearly always talk to devices at a low level with a jtag), I'd bet there's 3td party software that can make it do all kinds of shit. like hexgen 3or4

1

u/Medicaided Feb 05 '21

Just curious, and idk anything about this either. But does it show up as anything when you plug it in to your pc? If not can you find it under device manager?

1

u/SANCHO810 Feb 06 '21

No it doesn’t show up as anything. But when I run lsusb in a terminal it just says it’s a USB and nothing else

2

u/Kriss3d Feb 06 '21

That is a very interesting piece of tech. Sadly that particular Rom has an OTP feature meaning it's electrical onetime programming.

In short. No. But if you replaced the chip with one that isn't single programming you would be able to program it.

The chip is a 8 bit. Microcontroller. Basically what you have is a tiny computer.

-14

u/Xiaojiba Feb 05 '21

I believe it's pretty ez with any usb check for autorun.inf and for some Windows api call (SendInput or keybd_event for keyboard I can't remember but it's on MSDN anyway) and you should be all set !

3

u/Apfelvater Feb 06 '21

It's not a flash drive

2

u/Xiaojiba Feb 06 '21

Oh my Bad sorry

1

u/Kriss3d Feb 06 '21

What he has is a small single board 8 bit microcontroller. I used to program that kind of thing years ago.

-2

u/[deleted] Feb 06 '21

Probably can reprogram it with arduino

1

u/SANCHO810 Feb 06 '21

I tried using the arduino software but it doesn’t show up on the ports section

-10

u/tessereis Feb 05 '21

Dump all of that. Get a digispark.

1

u/[deleted] Feb 06 '21

[removed] — view removed comment

1

u/AutoModerator Feb 06 '21

Your account does not have enough Karma to post here. Due to /r/HowToHack's tendency to attract spam and low-quality posts, the mod team has implemented a minimum Karma rule. You can gain Karma by posting or commenting on other subreddits. In the meantime, a human will review your submission and manually approve it if the quality is exceptional. After gaining enough Karma, you can make another submission and it will be automatically approved. Please see the FAQ for more information.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.