Enhancing Microcontroller Security Through Volatile Memory-Resident Encrypted Code

Minjung Kim, Daejin Park

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

This paper presents a novel approach to enhancing microcontroller security by storing code in an encrypted format within flash memory and executing it from volatile memory. This method addresses critical vulnerabilities associated with executing code directly from non-volatile flash memory, such as susceptibility to reverse engineering and bit-level manipulation attacks. By decrypting sensitive code only during execution and performing cyclic redundancy checks to verify integrity before execution, the proposed approach significantly reduces the risk of unauthorized access and tampering. Additionally, the implementation of address space layout randomization during execution further enhances security by dynamically allocating memory for decrypted code. This study demonstrates the effectiveness of the proposed method in mitigating common security threats in embedded systems, with potential applications in automotive electronics, IoT devices, and other critical infrastructures. Future work may explore the integration of various encryption techniques and advanced security measures to further strengthen microcontroller security.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE Conference on Dependable and Secure Computing, DSC 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages78-79
Number of pages2
ISBN (Electronic)9798331540289
DOIs
StatePublished - 2024
Event7th IEEE Conference on Dependable and Secure Computing, DSC 2024 - Virtual, Tokyo, Japan
Duration: 6 Nov 20248 Nov 2024

Publication series

NameProceedings - 2024 IEEE Conference on Dependable and Secure Computing, DSC 2024

Conference

Conference7th IEEE Conference on Dependable and Secure Computing, DSC 2024
Country/TerritoryJapan
CityVirtual, Tokyo
Period6/11/248/11/24

Keywords

  • embedded system
  • encryption
  • firmware
  • linker
  • security

Fingerprint

Dive into the research topics of 'Enhancing Microcontroller Security Through Volatile Memory-Resident Encrypted Code'. Together they form a unique fingerprint.

Cite this