4 ms·
How? I've never seen a device, certainly not a PC, that will just randomly connect to any router it sees without some sort of user input.
by TylerE 8y ago
How? I've never seen a device, certainly not a PC, that will just randomly connect to any router it sees without some sort of user input.
- arcaneman92 8y agoIt looks like it could be a variant of this squashed down to fit in the connector of a cable. https://github.com/spacehuhn/wifi_ducky https://github.com/spacehuhn/wifi_ducky If it is, then the computer doesn't connect to a router at all. The USB cable could make itself available as a network that you remotely connect to then execute commands. The cable then types out your commands as it imitates a USB keyboard. Have you ever seen a device or PC that randomly trusts a USB keyboard you plug into it?
- pault 8y agoI can't tell if you're being sarcastic or not but yes, every device I own automatically accepts input from any keyboard I plug in.
- arcaneman92 8y agoSorry, I was trying to reply to the above comment by structuring it in the same way, but making one minor switch to show how severe the issue can be. Trusting a router may not happen, but trusting a keyboard (as you've pointed out) almost always does.
- snazz 8y agoMy understanding is that it allows an attacker connected to it via WiFi to mess with the plugged-in computer using USB (pretending to be a keyboard). See the Twitter video: https://mg.lol/blog/omg-cable/ https://mg.lol/blog/omg-cable/
- muthdra 8y agoA secretly-IoT keyboard that shares your key presses and may "type" malicious stuff when you're not looking at it; the OS wouldn't be able to tell it's not you doing the typing. Not scary at all, no sir.
- yipbub 8y agoIt can't read your keypresses (I think)
- blattimwind 8y agoIt can't (unless it's the keyboard cable).
- ngcc_hk 8y agoHid usually ok with systems and hence a wireless mouse and keyboard pretended. A windows hack may be - The “mouse” would ask to move to leftmost bottom corner then click. Type searching terms like Cmd<r>. Then if can get hold of the windows one is in ... Any better idea?
- int_19h 8y agoSo long as it can simulate them, installing a keylogger that can read them too is a matter of a few seconds (to "type" a PowerShell script that will download and execute the desired payload).
- blotter_paper 8y ago
- ndnxhs 8y agoUnless the attacker is able to view the screen somehow then this is pretty useless. Or at least no more useful than fake keyboards without WiFi.
- heavenlyblue 8y agoPrintScreen/Upload screenshot to web server/Wait for command Better than that is to just type a PowerShell script that gets all the info immediately and sends it to a server.
- ndnxhs 8y agoYou can do all of that without WiFi. How is an attacker with no vision of the screen any more useful than a script that can auto type a command to get remote access?
- muthdra 8y agoIt's more useful precisely because there's nothing running and no remote access on the OS. Traceless. Norton ain't catch that.
- ndnxhs 8y agoThat's the same as regular fake keyboard usbs. The WiFi has no advantage here
- michaelt 8y agoThe 'ESPloit v2' [1] appears on USB as both a keyboard and a serial port, and any data sent on the serial port can be exfiltrated by the ESP8266 over its own wifi connection. You can also imagine a loop where first you install a keyboard logger and exfiltrate the user's password, then later you want to update the exploit scripts to make use of the password. Or hell, maybe this is a prank product and having a wireless button to rickroll your victim on demand makes you laugh. With that said, the first person to make a fake USB keyboard had a much bigger and more exciting trick than this incremental change. [1] https://github.com/exploitagency/ESPloitV2 https://github.com/exploitagency/ESPloitV2 Edit: Or to put it another way, this is like the NSA's "Cottonmouth" bug, which "will provide air-gap bridging, software persistence capability, 'in-field' re-programmability, and covert communications with a host software implant over USB" [2] but 10 years later and without charging a million dollars for 50 units. [2] https://en.wikipedia.org/wiki/NSA_ANT_catalog#/media/File:NSA_COTTONMOUTH-I.jpg https://en.wikipedia.org/wiki/NSA_ANT_catalog#/media/File:NS...
- muthdra 8y agoAny PC may randomly connect to any router it sees if it firmly believes that is the same router the user allowed it to connect last time.
- blihp 8y agoVia the microcontroller embedded with the wifi adapter in the cable. It can effectively operate as a separate computer which uses the host PC parasitically for power and I/O.
- ecpottinger 8y agoWho needs access to a router, just sniffing for passwords this would work. Put in the right machine and you can see every company memo as it is written.
- m-p-3 8y agoDoable with an ESP chip, monitoring for open WiFi network and connects to whatever is available. Then you could have it await further instructions from a C&C. That wouldn't need further actions from the victim.
- emmelaich 8y ago'How' is DHCP. That's one. Apparently there are least 28 more ways to use usb to attack a machine. https://www.bleepingcomputer.com/news/security/heres-a-list-of-29-different-types-of-usb-attacks/ https://www.bleepingcomputer.com/news/security/heres-a-list-...
- gsich 8y ago>'How' is DHCP. Not without notice. Your computer won't connect to a wirless network automatically. So in order for this to work, the USB-device needs the same SSID and key. Then, in order to make it not suspicious (and get your data) you need to actually forward traffic to the internet. Not sure if those devices can repeat. Emulating an USB ethernet might help you, as those will connect, but without uplink it's still suspicious.
- jeroenhd 8y agoThe "cable" has WiFi, so it's probably possible to set up a hidden WiFi network around the premises of the target and have the implant connect with that. With the right type of antenna you can set up a WiFi connection to a specific device from quite a way away. Then tunnel the connection from your malicious AP and emulate ethernet on the USB side of the implant. Or, search for open/guest networks and use those as an uplink. There's plenty of possibilities for this to work as a malicious network adaptor. However, I think the network example is just a proof of concept and the remote connectivity is much more interesting to any real attacker.
- deathanatos 8y agoI think the device featured in the article "merely" appears as a keyboard to the victim machine. The attack can then transmit keystrokes over WiFi. (This is still sufficiently dangerous. Essentially, it's "open terminal, download evil.exe, execute evil.exe, minimize/close" and escalate from there. So, not something you want to happen.) That said, if you click the link next to BadUSB, they detail attacks whereby the device pretends to be a USB Ethernet adapter instead. And while you're right that stuff typically wants user input prior to connecting to WiFi networks, I don't think anything prompts before connecting to wired networks. The onboard WiFi could even make it appear to work, so as to not arouse suspicion (by simply bridging the pretend-ethernet to the WiFi), but now your attack has a MitM and a keyboard… Needless to say, you don't want random USB devices getting plugged into your machine.
- jon-wood 8y agoI’m sure there are some secure networks that require 802.1x authentication against a specific certificate authority, which would ensure devices only connect to a trusted network. That’s definitely an exception rather than the rule though - I’ve never worked anywhere that does anything more than limiting which device can connect to a particular switch port.
- deathanatos 8y agoI've also seen wired network authentication, but that's typically the network authenticating the devices that connect to it. This is more like the need for the device to authenticate the network that it's attached to, or really, to authenticate the USB devices attached to it. This is somewhat problematic: I feel like most employees/people want to go to a coffee shop and do work, or work at home, etc. How does one distinguish between those networks and the rouge ones? (I think ideally, you don't distinguish. Every network is equally untrusted, and you rely on good end-to-end encryption. That doesn't address the rouge HID attack, however.) I've also seen unauthenticated corporate networks where STP packets reach the end user ports, and AIUI, the right response packet would direct the network to start sending all traffic my way…