3 ms·
Or in software (Linux): # cd /sys/bus/usb/devices # for n in usb* ; do echo 0 >$n/authorized_default ; done ...so that no drivers or userspace program
by cnvogel 12y ago
Or in software (Linux):
# cd /sys/bus/usb/devices
# for n in usb* ; do echo 0 >$n/authorized_default ; done
...so that no drivers or userspace programs are allowed to communicate with any newly connected devices.
https://www.kernel.org/doc/Documentation/usb/authorization.txt https://www.kernel.org/doc/Documentation/usb/authorization.t...
Of course this only prevents the USB host, you'd have to disable all USB-gadget daemons on your android phone to not have the charger tinker with the phones's data.
NOTE/added: I just realized that the main purpose this is marketed is to protect the phone's data. I'd me more worried about the computer if someone asks me to lend some juice...
- mindstab 12y agoyeah but then there is badusb http://www.wired.com/2014/07/usb-security/ http://www.wired.com/2014/07/usb-security/ which attacks the usb firmware on devices. ANY data communication and your usb device/port itself can get hacked the usb condom might actually prevent that,
- Dylan16807 12y agoAre you sure? As far as I could tell that thing was about messing with the firmware after you've already gotten control through normal communication.