Risk

9/13/2018
04:15 PM
Connect Directly
Twitter
LinkedIn
Google+
RSS
E-Mail
50%
50%

New Cold Boot Attack Gives Hackers the Keys to PCs, Macs

Researchers bypass a Trusted Computing Group security measure to manipulate the firmware and steal data in memory.

An updated version of the Cold Boot Attack lets threat actors bypass security mechanisms and access data that remain in memory after a machine shuts down. Modern machines from Apple, Dell, Lenovo, and other major tech firms are affected, researchers report.

The Cold Boot Attack itself is not new. Known since 2008, it lets attackers with physical access to a machine steal its encryption keys, which briefly remain in memory after a hard reboot. Most devices now protect against this with a Trusted Computing Group (TCG) mitigation that overwrites data when the machine is rebooted and protects it from third parties.

But Olle Segerdahl, principal security researcher with F-Secure, along with fellow security consultant Pasi Saarinen, found this mechanism can be broken if they manipulate the firmware. The duo found a way to bypass TCG's protection and exploit a weakness in the computer's firmware to steal encryption keys and other data in a successful cold boot attack.

Several types of data could potentially be at risk, says Segerdahl. "Our primary target was hard drive encryption keys stored in memory," he explains, but attackers could also access passwords, network credentials, and any information on the machine that its user can access.

"In one case, we used the machine to connect to corporate networks," says Segerdahl. The duo detected VPN credentials that let them connect to internal networks and plant a backdoor. They could extract passwords for wireless networks and data that wasn't on the hard drive, but was present in memory when they had the machine; for example, online passwords.

How it Works

Here's how the TCG protection is intended to work: "Modern machines have a mitigation against the [cold boot] attack, where the firmware of the machine tries to detect if the machine has been properly shut down or not," explains Segerdahl. A "flag" is set when the operating system boots up, telling firmware to protect data in memory if the device isn't properly shut down. If it isn't, the OS is supposed to clear that sensitive data.

The researchers broke this mitigation by removing the flag themselves and connecting a small device to the Flash memory chip on the motherboard that stores firmware settings.

"We can override the flag by accessing the memory chip directly," says Segerdahl. Just as with the original cold boot attack, the actor needs physical access to a machine. They also need a tool to rewrite the non-volatile memory chip containing the firmware settings, disable memory overwriting, and enable booting from external devices. Cold boot attacks can be carried out with a special program on a USB stick, according to the researchers.

This manipulation gives them access to data that briefly remains in memory after a computer is shut off. How brief? It partly depends on temperature: the colder a memory card, the longer the information will last. Segerdahl says they had five- to ten seconds in their experiments.

The amount of time an attacker has to perform the operation depends on the machine they steal, he explains. If a threat actor finds a machine in sleep mode, or doesn't have pre-boot authentication, "then the attacker has unlimited time," says Segerdahl. If no password is required to boot the machine, they can try multiple times to gain access.

He and Saarinen advise IT departments to configure machines to either shut down or hibernate – not enter sleep mode – and require users to enter a BitLocker PIN when they power up their machines. An attacker can perform a successful cold boot attack, but encryption keys aren't stored in RAM when a machine hibernates or shuts down, so there's no data to steal.

Apple, Microsoft Respond

F-Secure alerted Apple, Microsoft, and Intel to their findings. Microsoft published updated guidance on BitLocker countermeasures and responded to this research with the following:

"This technique requires physical access," says Jeff Jones, senior director at Microsoft, in a statement to Dark Reading. "To protect sensitive info, at a minimum, we recommend using a device with a discreet Trusted Platform Module (TPM), disabling sleep/hibernation and configuring BitLocker with a Personal Identification Number (PIN)."

Apple says Macs equipped with an Apple T2 chip come with security measures designed to protect devices from attacks like this one, the researchers report. The company also advises users to set a firmware password to secure Macs without a T2 chip.

Related Content:

 

Black Hat Europe returns to London Dec 3-6 2018  with hands-on technical Trainings, cutting-edge Briefings, Arsenal open-source tool demonstrations, top-tier security solutions and service providers in the Business Hall. Click for information on the conference and to register.

Kelly Sheridan is the Staff Editor at Dark Reading, where she focuses on cybersecurity news and analysis. She is a business technology journalist who previously reported for InformationWeek, where she covered Microsoft, and Insurance & Technology, where she covered financial ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
REISEN1955
50%
50%
REISEN1955,
User Rank: Ninja
9/18/2018 | 3:27:49 PM
Re: On Firmwarenice
Upgrade to DOS 6.22 - no malware for that at least - MenuWorks, and Word Perfect 4.2 plus Lotus 1-2-3
WillieBennett
50%
50%
WillieBennett,
User Rank: Apprentice
9/18/2018 | 5:12:39 AM
Re: On Firmwarenice
nice

 
REISEN1955
50%
50%
REISEN1955,
User Rank: Ninja
9/14/2018 | 7:48:41 AM
On Firmware
About a year ago I advised my manager that it is possible that BIOS - firmware - can be hacked for entry into data.  I hate being an I TOLD YOU SO ..........
High Stress Levels Impacting CISOs Physically, Mentally
Jai Vijayan, Freelance writer,  2/14/2019
Valentine's Emails Laced with Gandcrab Ransomware
Kelly Sheridan, Staff Editor, Dark Reading,  2/14/2019
Making the Case for a Cybersecurity Moon Shot
Adam Shostack, Consultant, Entrepreneur, Technologist, Game Designer,  2/19/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
5 Emerging Cyber Threats to Watch for in 2019
Online attackers are constantly developing new, innovative ways to break into the enterprise. This Dark Reading Tech Digest gives an in-depth look at five emerging attack trends and exploits your security team should look out for, along with helpful recommendations on how you can prevent your organization from falling victim.
Flash Poll
How Enterprises Are Attacking the Cybersecurity Problem
How Enterprises Are Attacking the Cybersecurity Problem
Data breach fears and the need to comply with regulations such as GDPR are two major drivers increased spending on security products and technologies. But other factors are contributing to the trend as well. Find out more about how enterprises are attacking the cybersecurity problem by reading our report today.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-8980
PUBLISHED: 2019-02-21
A memory leak in the kernel_read_file function in fs/exec.c in the Linux kernel through 4.20.11 allows attackers to cause a denial of service (memory consumption) by triggering vfs_read failures.
CVE-2019-8979
PUBLISHED: 2019-02-21
Koseven through 3.3.9, and Kohana through 3.3.6, has SQL Injection when the order_by() parameter can be controlled.
CVE-2013-7469
PUBLISHED: 2019-02-21
Seafile through 6.2.11 always uses the same Initialization Vector (IV) with Cipher Block Chaining (CBC) Mode to encrypt private data, making it easier to conduct chosen-plaintext attacks or dictionary attacks.
CVE-2018-20146
PUBLISHED: 2019-02-21
An issue was discovered in Liquidware ProfileUnity before 6.8.0 with Liquidware FlexApp before 6.8.0. A local user could obtain administrator rights, as demonstrated by use of PowerShell.
CVE-2019-5727
PUBLISHED: 2019-02-21
Splunk Web in Splunk Enterprise 6.5.x before 6.5.5, 6.4.x before 6.4.9, 6.3.x before 6.3.12, 6.2.x before 6.2.14, 6.1.x before 6.1.14, and 6.0.x before 6.0.15 and Splunk Light before 6.6.0 has Persistent XSS, aka SPL-138827.