Cited by 8Security and Verification in ComputingCryptographic Implementations and SecurityReal-Time Systems Scheduling

Return-to-Non-Secure Vulnerabilities on ARM Cortex-M TrustZone: Attack and Defense

Ma, Zheyuan, Tan, Xi, Ziarek, Lukasz, Zhang, Ning, Hu, Hongxin, Zhao, Ziming·2023·2023 60th ACM/IEEE Design Automation Conference (DAC)

Abstract

ARM Cortex-M is one of the most popular microcontroller architectures designed for embedded and Internet of Things (IoT) applications. To facilitate efficient execution, it has some unique hardware optimization. In particular, Cortex-M TrustZone has a fast state switch mechanism that allows direct control-flow transfer from the secure state program to the non-secure state userspace program. In this paper, we demonstrate how this fast state switch mechanism can be exploited for arbitrary code execution with escalated privilege in the non-secure state by introducing a new exploitation technique, namely return-to-non-secure (ret2ns). We experimentally confirmed the feasibility of four variants of ret2ns attacks on two Cortex-M hardware systems. To defend against ret2ns attacks, we design two address sanitizing mechanisms that have negligible performance overhead.

Integrity signals

Registry

Crossref · 10.1109/dac56929.2023.10247972

Cites

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Address masking places non-secure user-space and kernel-space programs within predefined memory regions, providing an additional layer of security by limiting exploitable address spaces.

    “Address masking involves placing non-secure user-space and kernel-space programs within predefined memory regions, providing an additional layer of security via limiting the exploitable address spaces.”
  • Recent research studies have proposed address sanitizing and address masking to overcome several vulnerabilities of TEEs.

    “Recent research studies [148, 149] have proposed several methods, such as address sanitizing and address masking to overcome several vulnerabilities of TEEs.”
  • Address sanitizing leverages the Memory Protection Unit in non-secure states to verify privilege levels during state transitions, thereby preventing unauthorized access.

    “Address sanitizing leverages the Memory Protection Unit (MPU) in non-secure states to verify privilege levels during state transitions, thereby preventing unauthorized access.”

The citation lists haven’t been fetched yet

References 16 · Cited by 8

Authors
Ma, Z., Tan, X., Ziarek, L., Zhang, N., Hu, H., & Zhao, Z.
Affiliations
  • University at Buffalo, State University of New York (US)
  • Washington University in St. Louis (US)
Venue
2023 60th ACM/IEEE Design Automation Conference (DAC)
Publisher
IEEE
Published
2023-07-09
Pages
1-6
ISSN
0738-100X (ISSN-L)
OpenAlex
W4386763927
Cited by
8
References
16
Citations by year
2026: 2 · 2025: 4 · 2024: 2
FWCI
1.42
Type
conference paper
Language
en
Open access
closed
Locations
ACM/IEEE Design Automation Conference (DAC) (publishedVersion)
Funders
National Science Foundation
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Security and Verification in Computing
  • Physical Sciences › Computer Science › Artificial Intelligence › Cryptographic Implementations and Security
  • Physical Sciences › Computer Science › Hardware and Architecture › Real-Time Systems Scheduling
Keywords
privilege escalation, arbitrary code execution, microcontroller security, Internet of Things security

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review