Hackers Can Guess Your PIN by Using Smartphone Sensor Data: Report

Advertisement
By Press Trust of India | Updated: 27 December 2017 18:23 IST
Highlights
  • The latest study shows the highest accuracy for guessing PINs
  • Gyroscopes and proximity sensors can be tapped for motion details
  • Using these sensors requires to permission from users

Data from your smartphone sensors can reveal PINs and passwords to hackers and allow them to unlock your mobile devices, according to a study led by an Indian-origin scientist.

Instruments in smartphones such as the gyroscope and proximity sensors represent a potential security vulnerability, said researchers from Nanyang Technological University (NTU) in Singapore.

Advertisement

Smartphone Motion Sensors Could Reveal User's PIN, Passwords: Report

Using machine learning algorithms and a combination of information gathered from six different sensors found in smartphones, researchers succeeded in unlocking Android smartphones with a 99.5 percent accuracy within only three tries, when tackling a phone that had one of the 50 most common PIN numbers.

Advertisement

The previous best phone-cracking success rate was 74 percent for the 50 most common PIN numbers, but NTU's technique can be used to guess all 10,000 possible combinations of four-digit PINs.

Led by Shivam Bhasin, NTU Senior Research Scientist, researchers used sensors in a smartphone to model which number had been pressed by its users, based on how the phone was tilted and how much light is blocked by the thumb or fingers.

Advertisement

The researchers believe their work highlights a significant flaw in smartphone security, as using the sensors within the phones require no permissions to be given by the phone user and are openly available for all apps to access.

The team of researchers took Android phones and installed a custom application which collected data from six sensors: accelerometer, gyroscope, magnetometer, proximity sensor, barometer, and ambient light sensor. "When you hold your phone and key in the PIN, the way the phone moves when you press 1, 5, or 9, is very different.

Advertisement

Likewise, pressing 1 with your right thumb will block more light than if you pressed 9," said Bhasin. The classification algorithm was trained with data collected from three people, who each entered a random set of 70 four-digit pin numbers on a phone.

At the same time, it recorded the relevant sensor reactions.

Known as deep learning, the classification algorithm was able to give different weightings of importance to each of the sensors, depending on how sensitive each was to different numbers being pressed.

This helps eliminate factors which it judges to be less important and increases the success rate for PIN retrieval.

Although each individual enters the security PIN on their phone differently, the scientists showed that as data from more people is fed to the algorithm over time, success rates improved.

So while a malicious application may not be able to correctly guess a PIN immediately after installation, using machine learning, it could collect data from thousands of users over time from each of their phones to learn their PIN entry pattern and then launch an attack later when the success rate is much higher.

The study shows how devices with seemingly strong security can be attacked using a side-channel, as sensor data could be diverted by malicious applications to spy on user behaviour and help to access PIN and password information, said Professor Gan Chee Lip from NTU.

To keep mobile devices secure, Bhasin advises users to have PINs with more than four digits, coupled with other authentication methods like one-time passwords, two-factor authentications, and fingerprint or facial recognition.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement

Related Stories

Popular Mobile Brands
  1. Boltt's First-Ever Smartphone to Launch in India on This Day
  2. Samsung Galaxy S27 Ultra, S27 Pro Rear Camera Configuration Leaked Online
  3. Vivo S2 Key Specifications Teased Ahead of August 6 India Launch
  4. Apple's First Foldable iPhone Could Start Above $2,000, Says Mark Gurman
  5. Oppo A7 Pro Max Rear Camera Features Revealed
  6. OnePlus Independence Day Sale Brings Offers on OnePlus 15, Nord Series, More
  7. iQOO Neo 11S Specifications Leaked Online Ahead of Launch
  8. JioTag 2 Launched in India With Google Find Hub and Apple Find My Support
  9. Google Pixel 11 Series Could Start at $899; Specifications Surface Online
  10. Poco M8 Power Will Launch in India With This Rear Camera Setup
  1. Boltt Smartphone India Launch Date Announced; Flipkart Microsite Goes Live
  2. OnePlus Independence Day Sale 2026 Announced: Discounts on OnePlus 15, OnePlus 15R, Nord CE 6, More
  3. Oppo F35 Series India Launch Tipped for Early September; Find X9s Pro Could Follow
  4. Binance Announces Delisting of Six Tokens, Sets August 7 Futures Deadline
  5. Skullcandy Aviator 900 ANC Launched in India With Up to 60 Hours of Battery Life
  6. Dragon's Dogma 2 Is Getting a 60 FPS Update on Consoles and a Hard Mode Ahead of Dark Arisen Expansion
  7. ZeroStack Faces Survival Challenge After Posting $82.5 Million Loss
  8. Sony Bravia 9 II 115-inch True RGB TV Launched in India With Backlight Master Drive Pro Tech: Price, Specifications
  9. iQOO Neo 11S Leak Hints at Bigger Battery, Custom Dimensity 9500 SoC
  10. Oppo Find X10 Ultra Leak Hints at 200-Megapixel Camera Upgrade, Premium Price Tag
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.