Subscribe to our RSS FeedFollow Us on TwitterBe our fan on Facebook

Tech News WEB

Get the latest technology news from social network to gadgets to mobile and desktop apps.


  • Home
  • Social Media
    • Facebook
    • Twitter
    • Google+
    • Youtube
  • CMS
    • Joomla
    • Wordpress
    • Drupal
  • Gadgets
    • iPhones
    • iPads
    • Android
    • Tablet Products
  • Mobile Apps
  • Internet Security
  • Government
  • Movies Trailers

Tuesday, July 26, 2011

How a Security Researcher Discovered the Apple Battery ‘Hack’

3:40 PM  TechNewsWEBPH  

Tweet
chokens86
A security “noob” mistake has left the batteries in Apple’s laptops open to hacking, which could result in a bricked battery or, in a worst case scenario, fire or explosion. This was revealed Friday after Accuvant Labs security researcher Charlie Miller disclosed that he plans to detail the hack at the annual Black Hat security conference in early August.


We were curious as to how Miller, known for repeated hacks of Apple’s Safari Web browser at the annual Pwn2Own hacking competition, stumbled upon this hack in the first place—after all, it is somewhat obscure and doesn’t fall into what most people consider to be his typical focus area (browsers). Miller took time to answer our questions about what the hack is and how he found it, as well as what he plans to do when Black Hat rolls around.

The vulnerability

Laptop batteries include microcontrollers which constantly monitor charging voltage, current, and thermal characteristics, among other properties. These microcontrollers are part of a system called the Smart Battery System, designed to improve the safety of Li-Ion and Li-Poly cells used in these batteries.

According to Miller, these controllers can be hacked in a fairly straightforward manner. By reprogramming the microcontroller’s firmware, a battery could report a much lower internal voltage or current, causing the charger to overcharge the battery. In Miller’s testing, he was only successfully able to turn a series of seven $130 MacBook Pro batteries into expensive bricks, but he told Ars that it may be possible to cause fire or even an explosion.


“Lithium-ion batteries are potentially dangerous, and it’s possible that futzing with the parameters could cause the battery to fail at best, or explode at worst,” Miller said. “I know there are internal fuses and other safeguards to prevent that from happening, and I never did it myself, but there’s certainly potential to get some malware to rewrite the smart battery firmware and cause some catastrophic failure.”

As Miller noted, Smart Battery Systems include fuses which can disable cells if they reach dangerous internal voltages. But even these safeguards occasionally fail, resulting in toasted laptops.

Miller also told Ars that the battery firmware hack could be used to create a sort of “permanent” malware infection. Such malware, or a least a portion of it, could be installed in the micorcontroller’s flash memory. Even if an infected computer’s drive were replaced and the operating system re-installed, it’s possible that an exploit could allow the malware to be reloaded from a laptop’s Smart Battery System firmware.

The discovery

While the threat of un-installable viruses that cause laptop batteries to explode is highly unlikely, the truth is that the vulnerability exists in the first place because of a blunder on Apple’s part. While researching potential vulnerabilities in the MacBook Pro’s power management system, Miller inadvertently discovered that Apple used default passwords described in publicly available documentation on the Smart Battery System, which allows rewriting the firmware itself.

Miller began by trying to determine if it was possible to manipulate or control the battery charging system. He downloaded a battery firmware update that Apple released a couple years ago, and dug through its code to see how the system communicates with the Smart Battery System. Inside the firmware updater, he found a password and a command to “unseal” the microcontroller, which allowed the firmware updater to change some of the battery’s parameters.

This particular updater, according to Miller, merely told the battery to always keep a slightly higher minimum charge in order to keep the battery from becoming unable to hold a charge after being unused for an extended period of time. But searching for the unseal command led Miller to the Smart Battery Charger Specifications. Digging through the documentation, Miller learned that the password Apple used to unseal the microcontroller was the default used in the specifications.

On a whim, Miller tried the default password to switch the microcontroller into “full access mode,” sort of like an administrator account on your Mac. “Unlike the unsealed mode, in full access mode, I could change anything: recalibrate the battery, access the controller at a really low level, including getting the firmware or changing it,” Miller said.

Miller downloaded the firmware and reverse engineered the microcontroller’s machine code, bricking several batteries in the process. Eventually he was able to change the firmware to “always lie, like to say it wasn’t fully charged even when it was.”

The fact that Apple never bothered to change the default password is disconcerting, especially considering the effort Apple has made to beef up security in Mac OS X Lion. Lion’s implementation of address space layout randomization (ASLR) is now “complete,” according to Miller, making it impossible to know where the OS has loaded system functions into memory. Furthermore, Safari—Miller’s preferred exploit vector—is now divided into two sandboxed processes, one for the GUI and one for rendering Web content.

“That second process is sandboxed; it can’t access your files and other stuff,” Miller explained. “Even if you have browser exploits, the only way to do anything [useful] is to get out of the sandbox.” Miller said that would mean finding a bug in the kernel itself. “That’s not impossible… but it’s definitely much harder with a sandbox than without.

“It’s certainly going to be a lot harder to own a Mac at Pwn2Own next year,” Miller admitted.

Miller speculated that Apple assumed that the battery would never be a target for hackers, and so kept the default passwords described in the documentation as a convenience. Unfortunately, that convenience has resulted in a potential headache for Apple laptop users.

Miller handed his research over to Apple a few weeks ago to give the company time to come up with its own workaround before he presents his findings at the Black Hat conference on August 4. Miller has also written a Mac OS X tool that will generate a random password and store it in a battery’s firmware, preventing future hacks—but also preventing future firmware updates, which will be released when he gives his talk at Black Hat.

Photo illustration by Aurich Lawson


more at Wired

Posted in: Gadgets,Internet Security
Newer Post Older Post Home

Earn Money Online

Visitor's Recommendations

RSS FeedSubscribe
Follow Us on Twitter!Follow Us!
Find Us on FacebookBe Our Fan

Categories

  • Android (9)
  • Apple (9)
  • Browser (5)
  • CMS (11)
  • Drupal (3)
  • Facebook (35)
  • Firefox (2)
  • Gadgets (34)
  • Gmail (1)
  • Google (20)
  • Google+ (26)
  • Government (20)
  • IE (2)
  • Internet Security (17)
  • Internetworking (1)
  • iPad (10)
  • iPhone (18)
  • Joomla (9)
  • Microsoft (4)
  • Mobile Apps (6)
  • Movie Trailers (15)
  • Skype (2)
  • Social Media (58)
  • Tablet (4)
  • Twitter (11)
  • Wordpress (5)
  • Youtube (4)

Blog Archive

  • November (1)
  • September (27)
  • August (51)
  • July (107)

Affiliates

  • Captions in LIFE
  • Nulled Shared Directory
  • Shuswap BC Online Community
  • Today in Mindanao
  • Unlock Your Creativity

MGSD News Feeds

Loading...

Followers

Reciprocals

Web Link Directory

FreeWebSubmission.com

Free SEO Tools

All About Cell Phone
Add blog to our blog directory.

Pageviews

Follow this blog
Technology & Computers - Top Blogs Philippines

Sponsors

Philippines Blog Directory
Follow @TechNewsWEBPH

Latest Post

Loading...

Popular Posts

  • Pentagon’s Mach 20 Missile Lost Over Pacific — Again
    For the second time in a row, the Pentagon has lost contact with an experimental hypersonic vehicle over the Pacific, just minutes after it...
  • The 10 Most Expensive Google Acquisitions
    Global search corporation Google, Inc. added to its already hefty empire when it announced its planned acquisition of Motorola Mobility th...
  • Apple, Microsoft Leading Non-Android Group to Bully Android
    In an allegedly unholy coalition, Apple, Microsoft and Research in Motion have joined hands to demote Android's position in the smartpho...
  • Facebook To Launch Music Platform With Spotify, MOG & Rdio
    Facebook intends to launch its long-rumored music service next month with Spotify, MOG and Rdio as three of the company’s launch partners....
  • 34% of iPhone Users Think They Have 4G
    “How many bloody Gs are there?,” asked a bewildered Ozzy Osbourne in one of the funniest Super Bowl commercials this year. You laugh, but ...
  • Facebook Made Big Privacy Changes
    Facebook has announced major changes to privacy on Tuesday. This is one of the largest revisions of privacy in company history, which inclu...
  • How to Authenticate your Facebook Account using your Mobile Phone
    Facebook Timeline is still on developers test so ordinary user can't preview this until it is open to public. You need to be a develope...
  • Rumored Apple iPhone 5 Pico Projector Patent Channels the SixthSense Concept Device
    A rendering of an iPhone 6 concept that is quite similar to the SixthSense device. The tech community is raising its eyebrows over a re...
  • Not Google Plus [Video]
    Not Google Plus By Dan Gurewitch By now you've probably heard about Google+, a new social networking platform. But there are already...
  • Anonymous hacks SF’s myBART website. Thousands of names, addresses & numbers released.
    Anonymous , the online hacktivist group, has released thousands of names, email addresses, home addresses and phone numbers believed to be f...

 
© 2011 Tech News WEB | Powered by Tech News WEB
Social Media | Gadgets | CMS | Internet Security | Government
Get Social with Tech News Web and share with your friends
Follow @TechNewsWEBPH
x