sensepost / USaBUSe

Universal Serial aBUSe is a project to demonstrate the risks of hardware bypasses of software security by Rogan Dawes at SensePost.
Other
491 stars 86 forks source link

Ideas #13

Closed ETeissonniere closed 6 years ago

ETeissonniere commented 7 years ago

Hey sensepost,

I am here to make some suggestions regarding the typing process.

You are currently using a big VNC server running on the esp. I can see there some problems:

Here is my suggestions:

Feel free to contact me if you want to discuss on that, or close the issue if you do not want :smirk:

RoganDawes commented 7 years ago

I agree that there are potentially problems if the keyboard mapping is different to the actual mapping in use. I wonder if there is not a better way of approaching it, perhaps by uploading a key mapping to use when translating VNC keys to key presses. It certainly is possible to implement an additional server that simply receives mouse movements and keystrokes generated by the attacker (that's how I prototyped it initially!), but that then means an additional attacker-side component to generate these events.

ETeissonniere commented 7 years ago

@RoganDawes I fully agree with you. Uploading a new keymap is a nice idea! Actually, I think that having an other attacker-side component is better (essentially for performances and compatibilities issues). But since it is your project, you decide! By the way, I will consider shipping a cactus r2 micro for Christmas in order to (maybe) send some pull requests.