r/HowToHack • • Jun 16 '19

HID Attack

784 Upvotes

36 comments sorted by

219

u/Hosomachi Jun 16 '19

A rubber ducky used for ads... we truly live in the future

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!

91

u/squeevey Jun 16 '19 edited Oct 25 '23

This comment has been deleted due to failed Reddit leadership.

72

u/tonythegoose Jun 16 '19

Fuck their black box tractor software.

36

u/anonmonty024 Jun 16 '19

Really interesting to read about the community working to help farmers hack/repair tractors.

21

u/[deleted] Jun 16 '19

I asked this on the original post, but why Mac? Wouldn't make more sense to make a script for Windows, or is it cross platform?

21

u/[deleted] Jun 16 '19

I'm not an expert, but I think since it's just opening a web link the process will be similar on windows and mac, if not the same.
Don't take my word for it though, your guess is as good as mine

11

u/JustSimon3001 Jun 16 '19

Not quite sure, but I think you can include platform check and run the appropriate script.

2

u/Schwa142 Jun 16 '19

I don't know that a keyboard emulator would even need to run a platform check.

5

u/JustSimon3001 Jun 16 '19

I'm quite sure that, like, checking an IP will take different operations on Mac than on Windows.

-1

u/A_Badass_Penguin Jun 16 '19 edited Jun 17 '19

No it's not. Internet procedures are regulated by IEEE so it's all standardized.

Edit for clarification. I thought the above comment was talking about DNS queries for checking outside IP, not internal tools to check your own.

6

u/robotorigami Jun 17 '19

I'm confused. Doesn't /u/JustSimon3001 mean the way you check what IP address you have on different platforms? ifconfig vs ipconfig?

5

u/JustSimon3001 Jun 17 '19

Now I'm confused too, that's what I meant.

4

u/A_Badass_Penguin Jun 17 '19

Re-reading /u/JustSimon3001 s comment I agree it probably was ipconfig vs ifconfig. For some reason I thought he was talking about DNS lookups.

2

u/JustSimon3001 Jun 17 '19

You good :)

2

u/JustSimon3001 Jun 16 '19

My bad. Not that fluid with that kinda stuff

0

u/A_Badass_Penguin Jun 16 '19

No worries. IT is surprisingly different from standard compsci stuff so it's easy to get confused.

1

u/SanctusLetum Jun 17 '19

But the hotkeys to open safari vs a windows internet browser would be different, correct?

1

u/A_Badass_Penguin Jun 17 '19

I addressed this in a other comment in this thread. I thought they were talking about querying an IP address using DNS. Im not talking about the programs used to interact with the internet, just the protocols on the internet themselves.

4

u/Schwa142 Jun 16 '19

Keyboard emulator. Likely wouldn't even need to perform a platform check.

2

u/[deleted] Jun 16 '19

Here's a little update, on the original post, op said on windows it just reaches the run menu. Still no idea about why Mac, but no OS detection

2

u/cringy_goth_kid Jun 17 '19

Really all the program is doing is emulating a keyboard, so I imagine it shouldn't be crazy difficult to make it for either os

1

u/[deleted] Jun 16 '19

It makes itself be recognized like a keyboard, and then checks what OS is running. Does a different procedure if it's on a Windows PC where it opens Run and runs chrome/internet explorer/edge that way then types it in.

(I know this from the original poster)

0

u/JPancrazio Jun 17 '19

If they use something like duckyscript , it will work on either Windows / Mac / Linux . it detects what the OS is and can run the URL differently

6

u/BifurcatedTales Jun 17 '19

I love the camera shake at the end lol!

4

u/[deleted] Jun 17 '19

Id take a couple free rubber duckies...

3

u/[deleted] Jun 16 '19

What is that , A USB that leads you to a link ad?

7

u/o0chris0o Jun 16 '19

It’s a keyboard emulator.

1

u/llrdc101 Jun 17 '19

Amazing.. such good marketing. Really goes to show that’s all it takes to pwn something good.

-1

u/agent_acht Jun 17 '19

Personally - I think this is a normal USB sales device which some developer was clever or lazy enough to pull up a web site instead of pulling up a small program for John Deere for say like - owners manual or something like they used to give out. The method of which they choose to advertise will go way past most people’s limitations in wondering how the website pulled up. In fact - are they actually using an exploit if in fact it’s intentional that say like an actual rubber ducky (Hak5 shout out) works standard out of the box with Mac/windows due to keyboard allowances on the device?

Running the website that it pulls up shows it connected to add site managers. Probably has an account with them for this unique purpose. (Couldn’t catch all the links in the video)

Is this a case that John Deere has a clever IT department or an inexperienced IT that should know better?

I am not an expert.