insecurityofthings / jackit

JackIt - Exploit Code for Mousejack
811 stars 145 forks source link

STRING not running properly #39

Open akiffzafarudeen opened 6 years ago

akiffzafarudeen commented 6 years ago

Hi. The injection on Logitech M325 always stuck on STRING command. For example, i'm injecting command that open up the Run Dialog Box to open up the notepad and type 'Hello World'. Then it will stuck either when typing at Run Dialog Box or at notepad. it goes like; notepaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa or hello woooooooooooooooooooooooooooooooooo and it goes on typing like that for quite some time repeating the last letter it get stuck on. what could be the issue?

elnerd commented 6 years ago

I experience this when I run the tool inside an VM. For me, the issue is that USB is unreliable in virtual machines. How is your setup?

akiffzafarudeen commented 6 years ago

I see. That explain a lot. I am running the tools inside a virtualbox. Can i do anything to fix this?

NotMedic commented 6 years ago

I'm running into this issue with ucMouseJack (https://github.com/insecurityofthings/uC_mousejack) on an ESP8266. The repeating characters are coming from the Logitech dongle in the attacked host, leading me to think it's a radio power issue, corrupt packet in flight, ACK issue, or "something". It's not directly related to this project, but it's same GH account and same symptoms. I'll let you know what i figure out. :)

elnerd commented 5 years ago

My theory is that a "keyup" packet is lost, leaving the character on repeat, just as you would if you held down a character on your keyboard. If I am correct, then this is not an issue in jackit.

Make sure you have a good antenna pointing in the correct direction, and keep your payload small.