Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Researcher to Demonstrate Attack on Apple EFI Firmware

An attacker can make malicious modifications to the firmware of Apple MacBooks and keep the devices under his control even after the operating system has been reinstalled, according to a researcher.

An attacker can make malicious modifications to the firmware of Apple MacBooks and keep the devices under his control even after the operating system has been reinstalled, according to a researcher.

Next week, at the Chaos Communication Congress (CCC) in Germany, Trammell Hudson will demonstrate that an individual with physical access to a device can install a highly persistent bootkit on the EFI (Extensible Firmware Interface) boot read-only memory (ROM) through Thunderbolt, a port that is standard on all Mac computers.

Because the malicious code is written to the serial peripheral interface (SPI) flash ROM, the attacker can not only control the targeted system right from the first instruction, but he can also ensure that the bootkit remains on the device even if OSX is reinstalled or if the hard drive is replaced.

The bootkit can spread through other Thunderbolt devices connected to the initially infected machine. The infected Thunderbolt devices, which might be connected even to air-gapped networks, would continue to operate properly, making the threat difficult to detect. The bootkit can also rely on system management mode (SMM), virtualization and other methods to stay hidden, the expert said.

One of the problems is that there are no software or hardware cryptographic checks to verify the validity of the firmware at boot time.

“Our proof of concept bootkit also replaces Apple’s public RSA key in the ROM and prevents software attempts to replace it that are not signed by the attacker’s private key,” Hudson wrote in the abstract of his presentation. “A hardware in-system-programming device is the only way to restore the stock firmware.”

The attack described by Hudson leverages a Thunderbolt Option ROM vulnerability disclosed two years ago at Black Hat by Australia-based researcher Loukas K (snare). According to Hudson, a Thunderbolt Option ROM can be leveraged to bypass the cryptographic signature checks in Apple EFI firmware update routines.

The security hole, which according to the researcher is not difficult to patch, remains unfixed. Apple could not immediately be reached for comment. However, as users have pointed out on Hacker News, the vulnerability doesn’t affect only Thunderbolt ports found on Apple devices.

Advertisement. Scroll to continue reading.

“[The vulnerability] affects all badly implemented Thunderbolt ports,” the user ‘georgyo’ said. “Apple’s growing popularity and strong hardware standardization makes them especially susceptible to the wormificaiton of this attack.”

Attacks that rely on modified firmware can be very dangerous. Another recent example is BadUSB, an attack which shows that malware can be planted directly into the firmware of USB devices.

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

Vulnerabilities

The latest Chrome update brings patches for eight vulnerabilities, including seven reported by external researchers.