Don't let TEEs break your MPC
A malicious host can roll back a trusted execution environment's filesystem to reuse deleted pre-signatures in threshold signature schemes.
Overview
A security research firm published a report warning that combining threshold signatureA known byte pattern or hash that antivirus tools match against files, or a cryptographic proof of origin schemes with trusted execution environmentsA hardware-isolated area inside a processor that shields sensitive code and keys from the rest of the system can create vulnerabilities if the underlying host system is not trusted. Threshold signature schemes allow multiple parties to sign data together without any single party holding the full keyThe secret value that locks or opens a message, while trusted execution environments rely on hardware to protect computations. The report explains that a malicious host can manipulate the file system to force a signer to reuse a nonceA random or non-repeating value used only once in a cryptographic protocol or login challenge share, which would reveal their private keyThe key only its owner holds share. This issue arises because the hardware environment does not automatically prevent the host from interfering with the protocolAn agreed set of rules and message formats that computers follow to exchange data over a network state. The authors advise treating the hardware as an additional layer of defense rather than a replacement for a secure protocol design. Organizations using these systems must ensure their hardware attestationCryptographic proof from hardware or a build server that a device or package was not tampered with processes are bound to the identities of the participating parties to prevent such attacks.
Terms in this story
- signature
- A known byte pattern or hash that antivirus tools match against files, or a cryptographic proof of origin. In security news, a signature means either a pattern that scanners use to recognize known malware or a cryptographic signature that proves a software update was not altered.
- trusted execution environments
- A hardware-isolated area inside a processor that shields sensitive code and keys from the rest of the system. Many phones and confidential cloud servers run key checks inside a Trusted Execution Environment so even an attacker who gains root access on the operating system cannot read the secrets.
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- nonce
- A random or non-repeating value used only once in a cryptographic protocol or login challenge. Encryption schemes and login handshakes include a fresh nonce on every message so an attacker cannot record a valid encrypted request and replay it later.
- private key
- The key only its owner holds. When attackers steal a company's private key in a breach, they can sign malware so computers trust it or impersonate the company's website to intercept customer traffic. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- protocol
- An agreed set of rules and message formats that computers follow to exchange data over a network. Every internet service relies on a network protocol such as HTTP for web pages or DNS for domain lookups, and a logic flaw in a protocol's design affects every vendor that implements it.
- attestation
- Cryptographic proof from hardware or a build server that a device or package was not tampered with. Before granting access to sensitive data, a server can require hardware attestation from a laptop or confidential cloud machine to verify that its boot code was not altered. Security+ objective 4.6 lists the term
- root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- audits
- A formal, systematic review of an organization's code, configurations, logs, and policies against security standards. Companies hire outside specialists to conduct a security audit before launching a major product or to prove to customers and regulators that their controls work. Security+ objective 4.3 lists the term
- operating systems
- The core software on a computer or phone that manages hardware, files, memory, and running apps. Because every application relies on the operating system, a security flaw in the operating system itself affects millions of devices until users install a system update.
- hypervisors
- The control software that divides one physical server into multiple isolated virtual machines. Rather than encrypting dozens of virtual servers one by one, ransomware gangs now target the underlying hypervisor so they can lock every virtual machine on the host at once. Security+ objective 3.1 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Trail of Bits website. Cite the article, not this page.
Read the full article on Trail of Bits (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"...this blog post discusses what tee attestation can and cant fix in mpc deployments..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Design, develop, integrate, and update system security measures that provide confidentiality, integrity, availability, authentication, and non-repudiation.
"MPC: Security that depends on participant behavior..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role