The USB Port You Trusted Might Be Talking Behind Your Back
You know the feeling: you’re at an airport gate, coffee shop counter, or hotel lobby and your phone is blinking its last 5%. You spot a USB port built into the table or a charging kiosk with dangling cables. It’s a relief—until you remember that the same cable delivering power can also siphon data. This isn’t a new worry, but the threat landscape just shifted in ways that make the old advice—”just don’t connect to strange USB ports”—less reliable than it used to be.
Remote Work Security
Public Charging Risks
Mobile Device Safety
Juice Jacking: The Original Public Charging Threat
Back in 2011, security researchers demonstrated that a compromised USB port—often called a “juice jacking” station—could copy files, steal passwords, or install malware while your phone charged. The attack works because USB cables carry data and power on separate pins, and a device connected to a USB port will automatically negotiate a data connection unless you intervene. Law enforcement agencies have warned travelers about tampered kiosks at airports and hotels. In 2023, the Los Angeles County District Attorney’s Office specifically advised against using public USB charging stations after reports of compromised airport kiosks. DEF CON hackers have shown that a malicious charging station can clone a phone’s contents or inject malware within seconds.
Both Apple and Google responded by adding safeguards: when a phone detects a data connection over USB, it prompts you to approve or deny data transfer. That protection worked well for years—but it assumed the attacker couldn’t bypass the prompt.
How ChoiceJacking Broke the Assumption
In 2025, researchers at Graz University of Technology in Austria published a set of attacks they call ChoiceJacking. According to Kaspersky’s reporting on the research, these methods exploit a fundamental USB limitation: a device can’t operate as both host and peripheral at the same time. The attackers found ways to trick the phone into confirming the data-transfer prompt on its own—without you touching the screen.
The earlier advice—”just tap ‘charge only’ when the prompt appears”—assumed you’d see the prompt and have control. ChoiceJacking turns that assumption upside down. You might plug in, see nothing unusual, and walk away thinking you’re safe. Meanwhile, the cable has already talked your phone into granting data access.
The first variant works on both iOS and Android. A malicious microcomputer inside the charging station emulates a USB keyboard, then silently enables Bluetooth on your phone, pairs as a Bluetooth keyboard, and reconnects as a USB host. When the data-transfer prompt appears, it confirms via a Bluetooth keystroke—you never see it happen.
The second and third variants are Android-specific. One floods the phone with keystrokes as a USB keyboard, overwhelming the input buffer long enough for the tail-end keystrokes to land on the confirmation prompt and approve MTP, PTP, or even ADB debug mode. The other exploits a flaw in Android’s implementation of the Open Access Protocol (AOAP), sending keystroke events through AOAP when the confirmation screen appears, even though the protocol is supposed to prevent that combination.
Android Open Access Protocol (AOAP) lets a device act as both an accessory and a keyboard at the same time—something the USB spec normally forbids. The Graz researchers found that some Android implementations don’t properly restrict AOAP devices from sending keystrokes when a data-transfer prompt is active. That oversight creates a silent bypass.
Device Patches Exist—But Not Everywhere
Apple blocked ChoiceJacking in iOS and iPadOS 18.4 by requiring biometric authentication or a password to confirm USB data transfers. Google did the same in Android 15, mandating fingerprint, face unlock, or PIN before the phone accepts a data connection. But there’s a catch: Samsung devices running One UI 7 (their custom Android shell) do not request authentication even after updating to Android 15. The research summary advises anyone with a Samsung phone on One UI 7 to test with a known safe computer—if no password or biometric confirmation appears when connecting, avoid public charging stations entirely.
Even if your phone is on the latest OS version, the manufacturer’s software layer might skip the authentication step. Samsung’s One UI 7 is the documented example. If your device doesn’t ask for your fingerprint or passcode when you plug it into a trusted computer, it won’t ask at a public charging station either—and ChoiceJacking can exploit that silence.
No real-world ChoiceJacking attacks have been publicly documented yet, according to the research summary. But the academic paper shows the techniques are viable, and the hardware required is cheap and widely available. It’s not a matter of if, but when this moves from lab to lobby.
What Actually Works Right Now
The most reliable protection hasn’t changed: separate power from data. A power-only USB cable (sometimes called a charge-only cable) physically omits the data wires, so no data negotiation can happen. A USB data blocker—a small inline adapter that connects only the power pins—does the same thing. Both are inexpensive and small enough to live in your laptop bag. The trade-off is that both can disable fast charging on phones that use Quick Charge or similar protocols, because those protocols rely on data-line communication to negotiate higher voltage. You’ll charge slower, but you’ll charge safely.
If you don’t have a data blocker or charge-only cable, your next best option is a wall outlet with your own AC adapter. Plugging into a wall socket instead of a USB port means the charging station never gets a data line to your phone. This is the approach VPN.blue’s privacy guide recommends as the “safest” for public charging. Carry your own charger and cable—a branded wall adapter from a reputable manufacturer—and you remove the unknown hardware from the equation entirely.
A portable power bank is another strong option. It gives you power without relying on any public infrastructure, and it doesn’t expose your phone to a data connection at all. Just make sure you charge the power bank from a wall outlet at home or a trusted location.
- Use a power-only USB cable or inline data blocker.
- Prefer a wall outlet with your own charger over a USB port.
- Keep your phone locked while charging—strong passcode or biometric.
- If you see a “trust this computer” or “allow data access” prompt, decline it immediately. If you’re not sure, unplug.
- Test your phone: plug into a known safe computer. If no authentication prompt appears, your device may not be fully protected against ChoiceJacking.
The EV Charging Parallel—Another Overlooked Data Port
It’s not just phone charging cables that deserve scrutiny. Electric vehicle charging stations are also network interfaces. Researcher Brandon Perry demonstrated that plugging an EV into a public charger establishes an unencrypted data link between the car and the charging station, using powerline communication protocols similar to Ethernet-over-powerline adapters. The charger and vehicle automatically assign IPv6 addresses and exchange identifiers like the EVCCID (Electric Vehicle Communication Controller ID) and the current state of charge. This data exchange is typically unencrypted and often relies on self-signed certificates, leaving it vulnerable to man-in-the-middle attacks. An attacker could spoof a vehicle’s identifier to steal electricity or manipulate the charging process. Perry also found that many public chargers have SSH ports left open and listening on any IP address—including one coming from the car itself. A compromised vehicle could theoretically initiate an SSH brute-force attack on the charger’s operating system.
Most of what’s documented here comes from Perry’s security research and the broader EV cybersecurity literature. The ResearchGate preprint by Brighente et al. (2023) provides a comprehensive overview of EV security threats, emphasizing that the charging infrastructure is often treated as a utility rather than a network endpoint. For remote workers who also drive EVs, that charging cable at the office parking lot or roadside station is another data port to think about.
Building a Privacy Routine Around Charging
Public charging is a convenience we rely on, but it doesn’t have to be a gamble. The core principle is simple: keep power and data separate. If you’re using a public USB port, assume data is trying to flow until you prove otherwise. A charge-only cable or data blocker removes that uncertainty entirely. If you don’t have one, a wall outlet with your own adapter is the next best thing. And if you must use a shared USB port, watch your screen—if you see a prompt asking for connection type, select “Charging only” and stay near your device until it’s done.
The ChoiceJacking research shows that even the prompt isn’t a guaranteed safety net on every device. That makes the hardware-level separation—data blocker or charge-only cable—more valuable than ever. It’s a small addition to your bag that eliminates an entire class of attack.
Most of the specific research on ChoiceJacking comes from Kaspersky’s reporting on the Graz University of Technology paper. The EV charging risks are documented by researcher Brandon Perry and the broader academic literature. These aren’t hypothetical scenarios cooked up for a blog post—they’re published vulnerabilities with known exploit paths. The question is whether we adjust our charging habits before they become common attack vectors.
There’s no way to make every public USB port trustworthy. But you can make your connection to that port untrusting by design. A power-only cable costs less than a coffee and takes up less space than a charging brick. It’s the kind of friction that saves you from a much larger problem later.