Apple battery firmware open to attack, researcher finds

Attacker could cause cells to overheat

The microcontroller used to control the charging of Apple's laptop batteries could be attacked by malware in a way that might damage the cells, a researcher has reported in advance of a presentation at the forthcoming Black Hat security conference.

In an interview given to Forbes magazine, Charlie Miller of consultancy Accuvant describes his discovery after analysing an Apple software update from 2009 that he could access the firmware and controller chip built into the battery used by all current Apple laptops using only one of two default passwords.

Armed with this information, he claims he was able to modify the firmware in a way that caused seven test batteries to overheat and malfunction, or 'brick', after which they couldn't be used again.

According to Miller - who will explain his reverse engineering feat in more detail at Black Hat - the attack points to a large issue with battery firmware, namely that it could also hide more significant malware capable of bypassing PC security that currently assumes malware will be resident on a hard drive.

"You could put a whole hard drive in, reinstall the software, flash the BIOS, and every time it would re-attack and screw you over. There would be no way to eradicate or detect it other than removing the battery." Miller told Forbes.

Could it be used to cause a battery to malfunction in order to cause an explosion or fire. In principle, yes, though sensational headlines about exploding laptops would perhaps be a dangerous exaggeration - as with all sensitive electronic equipment laptops also come with circuit-breakers designed to guard against such malfunctions when they occur by accident.

"I work out of my home, so I wasn't super inclined to cause an explosion there," Miller said.

Miller will release his own software tool, 'Caulkgun', designed to randomise the passwords used to access the battery firmware for anyone who wishes to use it although this would also block Apple from updating the firmware in future.

Not every security expert is convinced. If malware writers start attacking the firmware controlling laptop batteries why not any of the other types of firmware and controllers also used in computers?

"That includes the motherboard itself, your wireless card, your 3G modem, network card, graphics device, storage devices and much more," said Paul Ducklin, Asia Pacific head of technology for security company Sophos.

He might also have added the same interfaces built into set-top boxes, TV sets and any complex device that can connect to the Internet and can be updated. Malware writers have occasionally toyed with such attacks but no significant threat has ever emerged using this approach.

The main problem is that each device class and manufacturer will be using a different proprietary interface to get at the firmware, some of which might be easy to get around, some less so. The kind of attack that might consider this route would likely be targeted and aimed at a system used by one organisation.

It's also worth making clear that there is nothing especially vulnerable about Apple's battery firmware. All laptops monitor the state of batteries using such systems, but each will have its own proprietary interface.

Join the CSO newsletter!

Error: Please check your email address.

Tags ApplePersonal Techmac laptopssecurityhardware systemslaptopsmalware

More about AppleetworkSophos

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by John E Dunn

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts