Identity & Access

MacBooks Leak Disk Encryption Password

Apple recently addressed a vulnerability in its macOS operating system that can be exploited by an attacker to obtain a MacBook’s FileVault password using a $300 device.

<p><span style="font-size: medium; font-weight: bold;"><span>Apple recently addressed a vulnerability in its macOS operating system that can be exploited by an attacker to obtain a MacBook’s FileVault password using a $300 device.</span></span></p>

Apple recently addressed a vulnerability in its macOS operating system that can be exploited by an attacker to obtain a MacBook’s FileVault password using a $300 device.

The issue was discovered by Sweden-based researcher Ulf Frisk at the end of July. Apple was notified about the flaw in mid-August and patched it earlier this month with the release of macOS 10.12.2.

FileVault 2 is a full-disk encryption program that uses XTS-AES-128 encryption with a 256-bit key to prevent unauthorized access to the information on the startup disk. Frisk has demonstrated that an attacker with physical access to a locked or sleeping MacBook can retrieve the FileVault 2 password in clear text by connecting a special device to the targeted system’s Thunderbolt port.

According to the expert, these attacks are possible due to two vulnerabilities. One of them is related to the fact that while direct memory access (DMA) attack protections are enabled by default once macOS has started, these protections are not active before the operating system has booted. This allows an attacker to read and write memory from a MacBook by connecting a Thunderbolt device.

Since the FileVault 2 password is stored in clear text in memory at predictable locations, software running on the Thunderbolt device can retrieve the password from memory before it is overwritten. The attacker must gain access to a locked or sleeping MacBook, connect the Thunderbolt device and reboot the computer. The attack does not work if the targeted MacBook has been shut down as the password is no longer available in memory.

 

The device that can be used to carry out such an attack has been dubbed PCILeech, and its source code and hardware requirements have been made available by Frisk. The expert said he tested the attack on multiple MacBook and MacBook Air computers with Thunderbolt 2 ports. The attack has not been verified on devices with USB-C.

Advertisement. Scroll to continue reading.

“The solution Apple decided upon and rolled out is a complete one. At least to the extent that I have been able to confirm. It is no longer possible to access memory prior to macOS boot. The mac is now one of the most secure platforms with regards to this specific attack vector,” Frisk said in a blog post.

The expert has been analyzing the impact of DMA attacks on Linux, Windows and OS X kernels. He detailed his findings earlier this year at the DEF CON conference, including the PCILeech device, but the FileVault issues were not mentioned in his presentation.

Related: “PoisonTap” Device Can Hack Password-Protected Computers

Related: Apple Confirms Weakened Security in Local iOS 10 Backups

Related: Attackers Can Hack Apple Devices Using Image Files

Related Content

Copyright © 2024 SecurityWeek ®, a Wired Business Media Publication. All Rights Reserved.

Exit mobile version