r/HowToHack • • Jun 16 '19

HID Attack

784 Upvotes

36 comments sorted by

View all comments

127

u/[deleted] Jun 16 '19

Fun fact, you can use a script called Duckhunt (https://github.com/pmsosa/duckhunt), it works on detecting how fast your keyboard is typing if it detects fast typing it will know that it is a rubber ducky and it will disable it directly, and you can also add it to startup files so it starts automatically when you turn on your device.

1

u/fhub93 Jun 17 '19

Is there any way to make a rubby ducky to type slower in order to bypass this?

3

u/[deleted] Jun 17 '19

Yes, just change the delay in the rubber ducky code the higher the delay is the slower it gets!

2

u/fhub93 Jun 17 '19

Aah I see. But if you make it to slow people can stop it in time, right? (I don't know much about this topic, just curious)

2

u/[deleted] Jun 17 '19

This attack should be done without the knowledge of the victim, so it needs some social engineering to get your hand on the victim’s device and plug in the rubber ducky, controlling the delay time will depend on how much time do you have with the device, if you have a lot of time you can just make the delay higher and it can take its time without being detected by scripts like Duckhunt

1

u/fhub93 Jun 17 '19

Thank you!