12 comments

  • jasode 1 hour 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.

    • mr-anjaneyam 21 minutes ago
      Yes, absolutely. Apple has these protections for a good reason. But Emittr is primarly intended for systems we own/authorized to manage. I see it more as a feature-rich, programmable super keyboard than a bypass tool
  • arde 1 hour 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.
    • mr-anjaneyam 31 minutes ago
      Interesting directions! Camera + HID would be really an exciting combination. imagine having both visual feedback and input control without installing anything on the target machine. STT idea is also worth exploring!
  • rootsudo 1 hour ago
    • mr-anjaneyam 19 minutes ago
      Yes, same underlying concept. Emittr is more about interactive input and repurposing your phone into a feature-rich programmable keyboard. The difference is more in the approach and intended use.
  • GuB-42 1 hour 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...

  • atmanactive 2 days ago
    While we're on the subject, for non-rooted phones, I can recommend InputStick.
    • mr-anjaneyam 1 day ago
      Yes. Thanks for the suggestion. It is a readymade hardware, pretty easy to use. My app's motive is to repurpose.
  • _Microft 23 hours ago
    And is that really a good idea? These systems might be airgapped for good reason.
    • mr-anjaneyam 8 hours ago
      This doesn't break the containment. This comes handy when it's needed to type some complex scripts chatgpt gives to debug. once our work is done, we can plug out to respect the airgap
      • thereader12 1 hour ago
        I mean entering a complex script from an ai very well may introduce a virus that otherwise wouldn't be possible. And if the android can connect to the internet, then hasn't containment been broken?
        • mr-anjaneyam 1 hour ago
          This can type script to the machine, if the machine is offline then any curl type commands will definitely fail. By complex scripts - i meant lengthy or not typing friendly scripts
      • exe34 1 hour ago
        • mr-anjaneyam 34 minutes ago
          curl: (6) Could not resolve host. Guess you will have to type the virus manually ¯\_(ツ)_/¯
  • mzajc 27 minutes ago
    > Nobody blocks a keyboard

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

    • mr-anjaneyam 15 minutes ago
      True. USBGuard is linux specific. I was thinking more broadly about systems that don't have restrictions turned on by default. BIOS/UEFI and other OS have their own mechanisms though
  • lefra 1 hour 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.
    • leonidasrup 1 hour ago
      I have seen computers in some air-gapped high security areas where all USB ports were physically disabled - filled with glue. Of course there were very strict rules about not bringing in any kind of unregistered electronic devices (also any dangerous objects, knives or even screwdrivers) and entries to this facilities were controlled by security personnel with metal detectors.
      • mr-anjaneyam 53 minutes ago
        These scenarios can be an exception. air-gapped can either be for system safety (like in internal server rooms) or high security areas where it's reasonable
      • 0cf8612b2e1e 45 minutes ago
        Does anyone still make PS/2 peripherals just for high security areas?
        • mr-anjaneyam 38 minutes ago
          Would be funny if PS/2 ended up being the last trusted interface in these environments :)
    • mr-anjaneyam 1 hour ago
      Some like me feel using their own mechanical keyboard. Our phone can wear a mask of keyboard if connected :) I wonder how can you classify a legitimate keyboard vs a legitimated keyboard.
    • recursive-call 1 hour ago
      This. One of the main selling points being that a security audit won't catch your usage of the device really makes this whole thing feel shady. I'm sure spies will love it.
      • djriley 1 hour ago
        That sort of felt like the whole purpose to me. First thing I did after reading the README is looked up how to lock USB down completely. Looks like USBGuard is the best way to do this on Linux, it allows you to inspect attributes and pin devices to a specific port.

        This is shady. It's also an issue a lot of people may not be aware of. It's best to call attention to holes lest someone fall in one. Anyone maintaining a serious air-gapped system should already be strictly controlling who has physical access to the machine. But there are a lot of less serious but very vulnerable targets that admins would be wise to consider this sort of thing. Retail displays, road signs, kiosks, etc.

        Just because trespassing is a crime doesn't mean it's still not wise to lock your doors.

      • mr-anjaneyam 46 minutes ago
        If they are already collecting data from input devices somehow, from laptop's keyboard or attached one, they can see keystrokes from this USB device too. (I tried a software keylogger to test, but it prioritized internal keyboard only)
  • Fe2O3 1 hour ago
    > Placeholder. Actual demo soon

    That's all I needed to see.

    • mr-anjaneyam 49 minutes ago
      I recorded only a few scenarios. Didn't get enough time to edit. I'm planning to add by end of this week :)
  • minekaz3333 1 day 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.

    • mr-anjaneyam 1 day ago
      Cool, I haven't heard of this default in Qubes. Plus, Emittr exposes itself as legitimate dell keyboard(configurable). So most of the non-paranoid devices can accept.
  • luxuryballs 1 hour ago
    hey don't tell! I opted against sharing my fun versions of this approach for a reason :)
    • mr-anjaneyam 1 hour ago
      Haha! Now you made me more curious. I'll take the hint though :)