The iPhone's USB Restricted Mode is painfully easy to hack

Oops.
 By 
Stan Schroeder
 on 
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

USB Restricted Mode, a new iOS feature that protects unauthorized access of the data on your iOS device, has a glaring omission that would make it quite easy for someone to beat in many scenarios.

The feature, introduced in iOS 11.4.1 and iOS 12 beta 2, is supposed to make the data on your iPhone safe even if someone can physically access it. One hour after the phone's last been unlocked, it enters USB Restricted Mode, which disables data access to its Lightning port.

However, security firm ElcomSoft has discovered a way to disable the timer, and it's ridiculously easy -- you just need to plug an accessory into the iPhone's Lightning port, and the timer is disabled.

USB Restricted Mode is designed to protect against devices such as GrayKey, a hardware device that enables an attacker to extract data from an iOS device they don't have legitimate access to. While it doesn't offer full protection from GrayKey, it significantly hampers any would-be attacker by limiting the time to perform an attack to one hour or less.

However, ElcomSoft says that merely plugging in nearly any device (not just ones that have previously been connected to that phone), such as Apple's Lightning to USB 3 Camera Adapter, will disable the timer. This would give an attacker enough time to bring the device to a lab and then work on it for as much time as they'd like.

This trick works in iOS 11.4.1 and iOS 12 beta 2, both of which have the USB Restricted Mode feature, ElcomSoft claims.

According to ElcomSoft, the problem likely lies in Apple's Lightning communication protocol -- in other words, the way the iPhone "talks" to devices that are plugged into it. When you connect the iPhone to a computer, the two devices exchange cryptographic keys and establish trust. Many Lightning accessories, however, don't have the capability to do that, so the iPhone just trusts them by default.

If this is indeed a bug and not intended behavior, it might be hard for Apple to fix it. According to ElcomSoft, a fix could render numerous Lightning accessories useless -- though it might be possible to make sure the iOS device only communicates with devices that were previously plugged into it.

We've contacted Apple for comment and will update this post when we hear from them.

Stan Schroeder
Stan Schroeder
Senior Editor

Stan is a Senior Editor at Mashable, where he has worked since 2007. He's got more battery-powered gadgets and band t-shirts than you. He writes about the next groundbreaking thing. Typically, this is a phone, a coin, or a car. His ultimate goal is to know something about everything.

Mashable Potato

Recommended For You
Grok says it has restricted image generation to subscribers after deepfake concerns. But has it?
Social media apps on a smartphone - Bluesky, X (formerly Twitter), Truth Social.

OpenAI is delaying its 'adult mode' for ChatGPT
By Jack Dawes
ChatGPT Update Will Allow 'erotica' For Verified Adult Users

What is Lockdown Mode on iPhone and how do you enable it?
A person holding an iPhone showing the Lockdown Mode screen in settings.

Google is bringing Personal Intelligence to AI Mode in Google Search
Personal Intelligence in AI Mode in Google Search

Google puts AI Mode conversations directly in AI Overviews in Search
Google AI Overview

More in Tech
How to watch Chelsea vs. Port Vale online for free
Alejandro Garnacho of Chelsea reacts

How to watch 'Wuthering Heights' at home: Margot Robbie and Jacob Elordi's controversial romance now streaming
Margot Robbie and Jacob Elordi embracing in still from "Wuthering Heights"

How to watch New York Islanders vs. Philadelphia Flyers online for free
Matthew Schaefer of the New York Islanders warms up

How to watch Mexico vs. Belgium online for free
Israel Reyes of Mexico reacts

How to watch Brazil vs. Croatia online for free
Vinicius Junior #10 of Brazil leaves

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

What's new to streaming this week? (April 3, 2026)
A composite of images from film and TV streaming this week.

Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

NYT Connections hints today: Clues, answers for April 2, 2026
Connections game on a smartphone
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!