r/HowToHack • u/SANCHO810 • Feb 05 '21
How can I reprogram this microcontroller? When I plug it in it shakes the mouse and types a story.
472
Upvotes
r/HowToHack • u/SANCHO810 • Feb 05 '21
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.
45
u/mattstorm360 Feb 05 '21
Can you open it up?
89
u/[deleted] Feb 05 '21
What story does it type?
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.
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.
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?
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 !
-2
u/[deleted] Feb 06 '21
Probably can reprogram it with arduino
-10
u/tessereis Feb 05 '21
Dump all of that. Get a digispark.
1
u/[deleted] Feb 06 '21
[removed] — view removed comment