Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Show HN: Nobody blocks a keyboard – Rooted Android as a physical USB Deck (https://github.com)

56 points by mr-anjaneyam 4 days ago | 57 comments | View on ycombinator

jasode 1 day ago |

>, so it works in every locked down OS as well, BIOS, GRUB, etc.

Fyi... Apple MacBook laptops and iPhones block USB peripherals (including keyboards) unless the password is first entered on the real builtin keyboard or touchscreen to approve it.

Supposedly, Apple does this to prevent gadgets like yours from brute-forcing passwords.

arde 1 day ago |

Now, if it could also use the camera to forward video it would turn into a full KVM-over-IP. Or it could parse the camera input for text output or automation. Or it could use STT for its input, so it would enable easy verbal interaction with any device.

GuB-42 1 day ago |

So, it essentially turns the phone into a "BadUSB" device.

I wanted to do this with a Flipper Zero on a locked-down system but I refrained, a keyboard firing a script at 1000 WPM really looks like an attack, and I don't want to do something that looks like an attack on a system that is not mine.

It doesn't mean it is not useful, in fact, it may be too useful, that's the problem...

rootsudo 1 day ago |

atmanactive 4 days ago |

While we're on the subject, for non-rooted phones, I can recommend InputStick.

_Microft 3 days ago |

And is that really a good idea? These systems might be airgapped for good reason.

yjftsjthsd-h 1 day ago |

> Out of band bridge : we don't store passwords or authenticators on rooted phone. Emittr exposes a web UI on LAN, so we can send keystrokes from our main phones.

Depending on threat model (do you trust the network?), that seems less secure than keeping credentials on-device.

gunalx 1 day ago |

Dosent this defeat the entire point of the airgap? I know the pain but still.

lefra 1 day ago |

If I went to the extreme of air-gapping a machine, I'd make sure that anyone trying to plug a phone to it gets fired on the spot.

mzajc 1 day ago |

> Nobody blocks a keyboard

Some of us do: https://usbguard.github.io/

pritambaral 1 day ago |

Non-slop, pre-existing alternative: https://github.com/Arian04/android-hid-client

minekaz3333 3 days ago |

Except Qubes OS. It of course blocks USB keyboards by default. You can enable USB devices (filtered by device ID, USB controller/port, ...) if you want.

Even better: USB controllers are PCI-passed-through to dedicated (disposable) VM(s), so Linux kernel bugs don't expose your system to untrusted USB devices. Same with network devices, etc.

Fe2O3 1 day ago |

> Placeholder. Actual demo soon

That's all I needed to see.

undefined 1 day ago |

undefined

luxuryballs 1 day ago |

hey don't tell! I opted against sharing my fun versions of this approach for a reason :)

alhadrad 1 day ago |

I take issue with this project unapologetically condoning and promoting wildly unethical use.