For those who’d by no means heard the cybersecurity jargon phrase “juicejacking” till the previous couple of days (or, certainly, for those who’d by no means heard it in any respect till you opened this text), don’t get right into a panic about it.
You’re not out of contact.
Right here at Bare Safety, we knew what it meant, not a lot as a result of it’s a transparent and public hazard, however that we remembered the word from some time in the past… near 12 years in the past, actually, once we first wrote up a sequence of tips on it:
Again in 2011, the time period was (so far as we are able to inform) model new, written variously as juice jacking, juice-jacking, and, accurately, in our opinion, merely as juicejacking, and was coined to explain a cyberattack method that had simply been demonstrated on the Black Hat 2011 convention in Las Vegas.
Juicejacking defined
The thought is straightforward: folks on the highway, particularly at airports, the place their very own telephone charger is both squashed away deep of their carry-on baggage and too troublesome to extract, or packed into the cargo maintain of a airplane the place it cant’t be accessed, usually get struck by cost nervousness.
Cellphone cost nervousness, which first turned a factor within the Nineteen Nineties and 2000s, is the equal of electrical automobile vary nervousness as we speak, the place you possibly can’t resist squeezing in only a bit extra juice proper now, even for those who’ve solely acquired a couple of minutes to spare, in case you hit a snag in a while in your journey.
However telephones cost over USB cables, that are particularly designed to allow them to carry each energy and knowledge.
So, for those who plug your telephone right into a USB outlet that’s supplied by another person, how will you make certain that it’s solely offering charging energy, and never secretly attempting to barter an information connection together with your machine on the similar time?
What’s if there’s a pc on the different finish that’s not solely supplying 5 volts DC, but additionally sneakily attempting to work together together with your telephone behind your again?
The straightforward reply is you can’t make sure, particularly if its 2011, and also you’re on the Black Hat convention attending a chat entitled Mactans: Injecting malware into iOS devices via malicious chargers.
The phrase Mactans was meant to be a BWAIN, or Bug With An Spectacular Identify (it’s derived from latrodectus mactans, the small however poisonous black widow spider), however “juicejacking” was the nickname that caught.
Apparently, Apple responded to the juicejacking demo with a simple but effective change in iOS, which is fairly near how iOS reacts as we speak when it’s connected over USB to an as-yet-unknown machine:

Android, too, doesn’t enable beforehand unseen computer systems to trade information together with your telephone till you may have tapped in your approval by yourself telephone, after unlocking it.
Is juicejacking nonetheless a factor?
In concept, then, you possibly can’t simply get juicejacked any extra, as a result of each Apple and Google have adopted defaults that take the factor of shock out of the equation.
You might get tricked, or suckered, or cajoled, or no matter, into agreeing to belief a tool you later want you hadn’t…
…however, in concept at the very least, knowledge grabbing can’t occur behind your again with out you first seeing a visual request, after which replying to it your self by tapping a button or selecting a menu choice to allow it.
We have been subsequently a bit stunned to see each the US FCC (the Federal Communications Fee) and the FBI (the Federal Bureau of Investigation) publicly warning folks in the previous couple of days in regards to the dangers of juicejacking.
Within the words of the FCC:
In case your battery is operating low, bear in mind that juicing up your digital machine at free USB port charging stations, comparable to these present in airports and lodge lobbies, might need unlucky penalties. You might turn out to be a sufferer of “juice jacking,” yet one more cyber-theft tactic.
Cybersecurity consultants warn that unhealthy actors can load malware onto public USB charging stations to maliciously entry digital gadgets whereas they’re being charged. Malware put in by way of a corrupted USB port can lock a tool or export private knowledge and passwords on to the perpetrator. Criminals can then use that info to entry on-line accounts or promote it to different unhealthy actors.
And according to the FBI in Denver, Colorado:
Unhealthy actors have found out methods to make use of public USB ports to introduce malware and monitoring software program onto gadgets.
How protected is the facility provide?
Make no mistake, we’d advise you to make use of your individual charger at any time when you possibly can, and to not depend on unknown USB connectors or cables, not least as a result of you don’t have any thought how protected or dependable the voltage converter within the charging circuit is perhaps.
You don’t know whether or not you’ll get a well-regulated 5V DC, or a voltage spike that harms your machine.
A damaging voltage might arrive by chance, for instance because of a cheap-and-cheerful, non-safety-compliant charging circuit that saved a number of cents on manufacturing prices by illegally failing to follow proper standards for conserving the mains components and the low-voltage components of the circuitry aside.
Or a rogue voltage spike might arrive on goal: long-term Bare Safety readers will keep in mind a tool that appeared like a USB storage stick however was dubbed the USB Killer, which we wrote about again in 2017:
Through the use of the modest USB voltage and present to cost a financial institution of capacitors hidden contained in the machine, it shortly reached the purpose at which it might launch a 240V spike again into your laptop computer or telephone, most likely frying it (and maybe supplying you with a nasty shock for those who have been holding or touching it on the time).
How protected is your knowledge?
However what in regards to the dangers of getting your knowledge slurped surreptitiously by a charger that additionally acted as a bunch laptop and tried to take over management of your machine with out permission?
Do the safety enhancements launched within the wake of the Mactans juicejacking instrument again in 2011 nonetheless maintain up?
We predict they do, based mostly on plugging an iPhone (iOS 16) and a Google Pixel (Android 13) right into a Mac (macOS 13 Ventura) and a Home windows 11 laptop computer (2022H2 construct).
Firstly, neither telephone would join routinely to macOS or Home windows when plugged in for the primary time, whether or not locked or unlocked.
When plugging the iPhone into Home windows 11, we have been requested to approve the connection each time earlier than we might view content material by way of the laptop computer, which required the telephone to be unlocked to get on the approval popup:

Plugging the iPhone into our Mac for the primary time required us to conform to belief the pc on the different finish, which clearly required unlocking the telephone (although as soon as we’d agreed to belief the Mac, the telephone would instantly present up within the Mac’s Finder app when linked in future, even when it was locked on the time):

Our Google telephone wanted to be advised to change its USB connection out of No knowledge mode each time we plugged it in, which meant opening the Settings app, which required the machine to be unlocked first:

The host computer systems might see that the telephones have been linked at any time when they have been plugged in, thus giving them entry to the title of the machine and varied {hardware} identifiers, which is a small quantity of information leakage you have to be conscious of, however the knowledge on the telephone itself was apparently off limits.
Our Google telephone behaved the identical method when plugged in for the second, third or subsequent time, figuring out that there was a tool linked, however routinely setting it into No knowledge mode as proven above, making your information invisible by default each to macOS and to Home windows.
Untrusting computer systems in your iPhone
By the way in which, one annoying misfeature of iOS (we think about it a bug, however that’s an opinion relatively than a reality) is there isn’t any menu within the iOS Settings app the place you possibly can view an inventory of computer systems you’ve beforehand trusted, and revoke belief for particular person gadgets.
You’re anticipated to recollect which computer systems you’ve trusted, and you may solely revoke that belief in an all-or-nothing method.
To untrust any particular person laptop, it’s important to untrust all of them, by way of the not-in-any-way-obvious and deeply nested Settings > Common > Switch or Reset iPhone > Reset Location & Privateness display screen, below a deceptive heading that implies these choices are solely helpful once you purchase a brand new iPhone:

What to do?
- Keep away from unknown charging connectors or cables for those who can. Even a charging station arrange in good religion won’t have {the electrical} high quality and voltage regulation you desire to. Keep away from low-cost mains chargers, too, for those who can. Deliver a model you belief together with you, or cost from your individual laptop computer.
- Lock or flip off your telephone earlier than connecting it to a charger or laptop. This minimises the danger of by accident opening up information to a rogue charging station, and ensures that the machine is locked if it will get grabbed and stolen at a multi-user charging unit.
- Think about untrusting all gadgets in your iPhone earlier than risking an unknown laptop or charger. This ensures there are not any forgotten trusted gadgets you will have arrange by mistake on a earlier journey.
- Think about buying a power-only USB cable or adapter socket. “Dataless” USB-A plugs are simple to identify as a result of they’ve solely two metallic electrical connectors of their housing, on the outer edges of the socket, relatively than 4 connectors throughout the width. Observe that the interior connectors aren’t all the time instantly apparent as a result of they don’t come proper to the sting of the socket – that’s so the facility connectors make contact first.

The pink rectangles point out roughly the place the information connectors can be.