• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia
Techcracking

Apple iOS Passcode Crack Revealed by Security Researcher. Watch the Exploit in Action

By
Glenn Fleishman
Glenn Fleishman
Down Arrow Button Icon
By
Glenn Fleishman
Glenn Fleishman
Down Arrow Button Icon
June 22, 2018, 7:47 PM ET

An iPhone can be unlocked with a virtual keyboard pretending to type lots of passcodes, a security researcher revealed Friday. By sending all possible four-digit PIN combinations as if they came from a USB keyboard, the cracking method bypasses Apple’s protections against incorrect passcode entry, ultimately unlocking the phone once the correct combination is entered.

In a video posted mid-day Friday, security researcher Matthew Hickey demonstrates sending a continuous stream of keyboard input—the equivalent of typing keys very very fast—as all the possible combinations of passcodes doesn’t get blocked by Apple’s security features.

Apple IOS <= 12 Erase Data bypass, tested heavily with iOS11, brute force 4/6digit PIN's without limits (complex passwords YMMV) https://t.co/1wBZOEsBJl – demo of the exploit in action.

— hackerfantastic.x (@hackerfantastic) June 22, 2018

Apple has not yet responded to a request for comment. Hickey told ZDNet he reported the flaw to the company.

Apple’s protections against incorrect passcode entry include longer and longer delays between the entry of each wrong code as well as erasing the phone after 10 incorrect password attempts.

But Hickey shows that even with the erasing option enabled on his phone, his crack inputs code after code on an iPhone without that safeguard enabling.

Hickey’s technique may be the method—or one of them—allegedly employed by security firms Cellebrite and Grayshift to crack phones via brute force methods for governments and law enforcement agencies.

Apple recently confirmed an upcoming version of its iOS operating system for iPhones and iPads would have a USB timeout feature enabled by default. After an hour had passed since a user had unlocked their phone (via passcode, Touch ID, or Face ID), the iPhone Lightning port used for USB connections would no longer accept data. This would lock out current cracking tools.

The company also said it has made changes in the low-level software used to allow interaction with peripherals via USB, like keyboards, to fix security exploits and weaknesses it had found. Hickey’s demonstration only showed it in action against a recent release of iOS, version 11.3, while the current version is 11.4, and version 12 will be out later this fall.

In Hickey’s demo, the phone processes codes at a rate of about three to five seconds each. For a four-digit code and 10,000 possibilities, that would take days to iterate through every combination. For years, Apple’s iOS recommended that users employ six-digit security codes, which would take weeks to hack via Hickey’s method. But security researchers and malicious parties alike have tables of the most likely codes employed by most people, and prioritize their entry for faster cracking.

About the Author
By Glenn Fleishman
See full bioRight Arrow Button Icon

Latest in Tech

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • Future 50
  • World’s Most Admired Companies
  • See All Rankings
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
  • Group Subscriptions
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

NewslettersFortune Tech
AI plot twist: Why did OpenAI kill its Sora video star?
By Alexei OreskovicMarch 25, 2026
59 minutes ago
MagazineSoftware
Wall Street is convinced AI will kill SaaS. History and economics say something else
By Jeremy KahnMarch 25, 2026
3 hours ago
AsiaChina
China could be the ‘big winner’ in the AI race, thanks to abundant power, cheap manufacturing, and an open-source craze
By Nicholas GordonMarch 25, 2026
4 hours ago
Magazinechief executive officer (CEO)
The AI era has a message for every CEO: Adapt or die
By Beatrice NolanMarch 25, 2026
4 hours ago
Origin cofounders Chris Bruce (left) and Pete Craghill.
Startups & VentureVenture Capital
Exclusive: AI-powered benefits platform Origin raises $30 million in fresh funding to bring CHROs visibility into benefits usage and spend
By Jeremy KahnMarch 25, 2026
4 hours ago
Man with glasses wearing a black collared shirt
LawDonald Trump
‘Attempted corporate murder’: Judge calls on Anthropic and Department of War to explain dispute over supply chain risk 
By Amanda GerutMarch 24, 2026
10 hours ago

Most Popular

Commentary
The Treasury just declared the U.S. insolvent. The media missed it
By Fortune EditorsMarch 23, 2026
2 days ago
Magazine
The youngest-ever female CEO of a Fortune 500 company is fighting Trump's cuts to keep Medicaid strong
By Fortune EditorsMarch 24, 2026
1 day ago
Economy
It took 200 years for national debt to hit $1 trillion. Annual interest alone now exceeds that—a 'crushing legacy we must reverse,' says budget chair
By Fortune EditorsMarch 23, 2026
2 days ago
Energy
Nobel laureate Paul Krugman calls it 'treason': $580 million in suspicious oil futures traded minutes before Trump's Iran reversal
By Fortune EditorsMarch 24, 2026
16 hours ago
Success
Palantir’s billionaire CEO says only two kinds of people will succeed in the AI era: trade workers — ‘or you’re neurodivergent’
By Fortune EditorsMarch 24, 2026
19 hours ago
Personal Finance
Current price of oil as of March 24, 2026
By Fortune EditorsMarch 24, 2026
23 hours ago

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.