News for hackers. Stuff that matters.
Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by antihipocrat on Tuesday April 11, 2023 @05:06AM (#35522603)
Why can't the device being charged provide an option, such as charge only by default - and the user can turn on data transfer the same way we turn flight mode on and off?
Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by ChuckNorris89 on Tuesday April 11, 2023 @05:08AM (#35522613)
Android allows that in settings. But AFAIK it's just a software setting, the data lines are still physically connected.

The reason why there's no physical hard disconnect available in settings comes back to what I said earlier, cost and convenience from the manufactures' perspective.

They don't want to spend 2 cents on some mosfets for HW disconnects, and they don't want to nag the user every time they plug in the phone to charge as that would hurt the UX. They want the device to sync up automagically to whatever device you're pugging it into. That's what USB was designed for, convenience.

Plus, if you nag the user every single time they plug in the USB with a security prompt, they will just get desensitized and instinctively click 'YES' all the time.

Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by olabyne on Tuesday April 11, 2023 @05:22AM (#35522707)
You also need to have the USB connected on boot, for update/flash purpose.
Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by rjh29 on Tuesday April 11, 2023 @05:43AM (#35522826)
That is what my android phone does, I have to toggle it to allow data every time.
Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by NavinF on Tuesday April 11, 2023 @09:13AM (#35524647)
Funny you mention that when literally all flagship phones (both iOS and Android) have a "Do you trust this computer?" popup that does exactly what you described. By default, phones don't do any data transfer over USB.
Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by iavael on Wednesday April 12, 2023 @05:16AM (#35536902)
That only works if other endpoint tries to act as usb host. While if it mimics usb device (classic BadUSB), then AFAIK any phone would accept without any questions.
Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by NavinF on Thursday April 13, 2023 @06:25AM (#35553367)
Classic BadUSB acts as a keyboard and opens a terminal on your PC. What exactly can a bad usb device do to a phone?

This whole thread is bizarre. A whole lot of fretting over an attack that nobody bothered to describe.

Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by iavael on Sunday April 16, 2023 @07:03PM (#35595011)
It can act like keyboard an mouse that are valid input devices on phones too. With control of user input badusb device can download and install malware on the phone.
Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by NavinF on Wednesday April 19, 2023 @02:10AM (#35624801)
Now we're just taking in circles. What exactly can a malicious USB device do to a phone? On Windows it can press Win+R, but there's no equivalent on mobile.

Which keystrokes are you talking about and on which OS does that attack work? I can't think of anything that would work on my iPhone.

Re:FBI Warns Against Using Public USB Ports Due to Malware Risk by iavael on Sunday April 23, 2023 @06:08PM (#35681166)
Open chrome (swipe up with virtual mouse, type chrome, click first entry), focus on address bar, input url of malicious apk, download it, open, confirm installation from unknown source.