Computer Owners Beware: SmashEx Could Be Used to Take Control of Your System

  • By Dawna M. Roberts
  • Published: Oct 27, 2021
  • Last Updated: Mar 18, 2022

Threat researchers discover a new vulnerability with Intel processors potentially allowing bad actors to take control of users’ computers and execute malicious commands.

What is SmashEx?

Threat researchers from ETH Zurich, the National University of Singapore, and the Chinese National University of Defense Technology discovered the vulnerability (CVE-2021-0186, CVSS score: 8.2) in May and used it to experiment with a CPU attack called SmashEx. Researchers used it to “corrupt private data housed in the enclave and break its integrity,” The Hacker News stated.

The Hacker News explains the technical details of how the attack works,

“Introduced with Intel’s Skylake processors, SGX (short for Software Guard eXtensions) allows developers to run selected application modules in a completely isolated secure compartment of memory, called an enclave or a Trusted Execution Environment (TEE), which is designed to be protected from processes running at higher privilege levels like the operating system. SGX ensures that data is secure even if a computer’s operating system has been tampered with or is under attack.”

 

“For normal functioning, the SGX design allows the OS to interrupt the enclave execution through configurable hardware exceptions at any point,” the researchers outlined. “This feature enables enclave runtimes (e.g., Intel SGX SDK and Microsoft Open Enclave) to support in-enclave exception or signal handling, but it also opens up enclaves to reentrancy bugs. SmashEx is an attack which exploits enclave SDKs which do not carefully handle reentrancy in their exceptional handling safely.”

SmashEx Could Be Used to Take Control

Experts point out that an enclave may also contain Outside Calls or OCALLS that interact with functions outside the trusted zone and then return to the enclave. When this occurs, there is a tiny window of time during which a bad actor could potentially interrupt the flow of information and intercept it, taking control and entering the enclave to gain access to private information.

Using this method, the hacker could potentially corrupt enclave memory leaking sensitive or private data, including credentials, RSA private keys, or other critical information.

The Hacker News warns ‘Since SmashEx affects runtimes that support in-enclave exception handling, the researchers noted that “such OCALL return flow and the exception handling flow should be written with care to ensure that they interleave safely,” and that “when the OCALL return flow is interrupted, the enclave should be in a consistent state for the exception handling flow to progress correctly, and when the exception handling flow completes, the enclave state should also be ready for the enclave to resume.”’

The researchers commented that,

“Asynchronous exception handling is a commodity functionality for real-world applications today, which are increasingly utilizing enclaves. Their research highlights the importance of providing atomicity guarantees at the OS-enclave interface for such exceptions.”

 

How Has Intel Responded?

Tech companies never enjoy hearing about a vulnerability that some research group has exposed as critical. However, Intel did the right thing and released patches to fix the issue upon hearing about it.

Intel released software updates for SGX SDK versions 2.13 and 2.14 for Windows and Linux, respectively. Microsoft also addressed the issue (CVE-2021-33767) with its July 2021 Patch Tuesday.

How Can Intel Users Stay Safe?

The latest battery of techniques exploited by hackers includes hitting the hardware, which means processor manufacturers like Intel must dramatically improve their firmware making it more secure.

Intel users can stay safe by patching the firmware and keeping all operating systems and software always updated. Watching the news for potential vulnerabilities is also recommended. Other tips include:

  • Keep robust antivirus software running on all devices.
  • Secure your network and computers with long, strong passwords.
  • Never reuse passwords on multiple websites or devices.
About the Author
IDStrong Logo

Related Articles

Instagram Vulnerability Allowed Hackers Access to Control Your Phone

Security experts Check Point Research discovered a critical vulnerability while examining Instagra ... Read More

Alien Malware Infects More than 226 Mobile Apps and Steals Bank Data

As reported on September 24, 2020, by ZDNet and ThreatPost, a new strain of malware named “A ... Read More

Universal Health Systems Hit by Ransomware Attack

Universal Health Systems (UHS), a Fortune 500 company owning more than 400 hospitals across the co ... Read More

Exchange Server Bug Exposes a Big Risk to Hackers

Months after Microsoft released a patch to fix a serious flaw in MS Exchange Server, more than 61% ... Read More

Clients’ Bank Data Exposed in Blackbaud Ransomware Attack

Blackbaud software was victim to a ransomware attack last May, and new information suggests that c ... Read More

Latest Articles

What You Need to Know about the AT&T Data Breach

What You Need to Know about the AT&T Data Breach

AT&T, one of the largest telecommunications providers in the United States and the fourth-largest telecommunications company in the world by revenue, experienced a significant data leak, which became public in June 2025.

What You Need to Know about the Mainstreet Bank Data Breach

What You Need to Know about the Mainstreet Bank Data Breach

MainStreet is a community-oriented bank in Fairfax, Virginia. Established in 2004, it is under the MainStreet Bancshares Incorporated, a small-cap financial holding organization.

What You Need to Know about the Cartier Data Breach

What You Need to Know about the Cartier Data Breach

Swiss-owned luxury jeweler, Cartier, has had its website hacked and customer data compromised in the incident. Cartier, a subsidiary of Richemont, produces some of the world's finest watches, bracelets, and necklaces, which have been worn by Michelle Obama, Taylor Swift, and Angelina Jolie.

What You Need to Know about the Coinbase Data Breach

What You Need to Know about the Coinbase Data Breach

Coinbase is a digital currency platform that allows consumers to transact using digital currencies, including Ethereum and Bitcoin.

Why

Why "Card Testing Fraud" Is Becoming a Major Threat to E-Commerce Businesses

Credit card and banking information is one of the major targets for data breaches and other cyber attacks. These details are sold on the black market and cost businesses and consumers billions in losses every year.

BNPL Fraud Risks: Why 'Buy Now, Pay Later' Is a Target for Cybercriminals

BNPL Fraud Risks: Why 'Buy Now, Pay Later' Is a Target for Cybercriminals

Buy Now, Pay Later services offer a more flexible method for online purchases. Consumers aren't required to make an immediate, full payment; they can instead split the sum into a schedule that works for them.

Featured Articles

How to Buy a House with Bad Credit

How to Buy a House with Bad Credit

Buying your own home is the American Dream, but it might seem out of reach to those with bad credit. However, the good news is, if your credit is less than perfect, you do still have options and in most cases, can still buy a home.

How Secure Is Your Password? Tips to Improve Your Password Security

How Secure Is Your Password? Tips to Improve Your Password Security

Any good IT article on computers and network security will address the importance of strong, secure passwords. However, the challenge of good passwords is that most people have a hard time remembering them, so they use simple or obvious ones that pose a security risk.

Top 10 Senior Scams and How to Prevent Them

Top 10 Senior Scams and How to Prevent Them

Senior scams are becoming a major epidemic for two reasons. First, seniors often have a lot of money in the bank from a life of working hard and saving.

Notice

By proceeding with this scan, you agree to let IDStrong run a Free Scan of supplied parameters of your personal information and provide free preliminary findings in compliance with our Terms of Use and Privacy Notice. You consent to us using your provided information to complete the Free Scan and compare it against our records and breach databases or sources to provide your Free preliminary findings report.

Rest assured: IDStrong will not share your information with third parties or store your information beyond what is required to perform your scan and share your results.

Free Identity Threat Scan
Instantly Check if Your Personal Information is Exposed
All fields below are required
Please enter first name
Please enter last name
Please enter a city
Please select a state
Please enter an age
Please enter an email address
Close