ERIC: An Efficient and Practical Software Obfuscation Framework

Alperen Bolat, Seyyid Hikmet Çelik, Ataberk Olgun, Oğuz Ergin, Marco Ottavi
7/15/2022
cs.CRcs.AR

Official code: kasirgalabs/ERIC (13 stars, C++, Apache-2.0, last commit 2023-01-19).

Abstract

Modern cloud computing systems distribute software executables over a network to keep the software sources, which are typically compiled in a security-critical cluster, secret. We develop ERIC, a new, efficient, and general software obfuscation framework.

Show full abstract

ERIC protects software against (i) static analysis, by making only an encrypted version of software executables available to the human eye, no matter how the software is distributed, and (ii) dynamic analysis, by guaranteeing that an encrypted executable can only be correctly decrypted and executed by a single authenticated device. ERIC comprises key hardware and software components to provide efficient software obfuscation support: (i) a hardware decryption engine (HDE) enables efficient decryption of encrypted hardware in the target device, (ii) the compiler can seamlessly encrypt software executables given only a unique device identifier. Both the hardware and software components are ISA-independent, making ERIC general. The key idea of ERIC is to use physical unclonable functions (PUFs), unique device identifiers, as secret keys in encrypting software executables. Malicious parties that cannot access the PUF in the target device cannot perform static or dynamic analyses on the encrypted binary. We develop ERIC's prototype on an FPGA to evaluate it end-to-end. Our prototype extends RISC-V Rocket Chip with the hardware decryption engine (HDE) to minimize the overheads of software decryption. We augment the custom LLVM-based compiler to enable partial/full encryption of RISC-V executables. The HDE incurs minor FPGA resource overheads, it requires 2.63% more LUTs and 3.83% more flip-flops compared to the Rocket Chip baseline. LLVM-based software encryption increases compile time by 15.22% and the executable size by 1.59%. ERIC is publicly available and can be downloaded from https://github.com/kasirgalabs/ERIC

View on arXivView PDF

Code Implementations(1)

kasirgalabs/ERICOfficial100%
Apache-2.0

Compiler Level RISC-V Encryption Tool https://ieeexplore.ieee.org/document/9833625

132C++, CMakeOct 14, 20213 years agoApache-2.0
clangencryption-toolllvmriscv

Similar Papers

Cite this paper

@article{bolat2022eric,
  title  = {ERIC: An Efficient and Practical Software Obfuscation Framework},
  author = {Alperen Bolat and Seyyid Hikmet Çelik and Ataberk Olgun and Oğuz Ergin and Marco Ottavi},
  year   = {2022},
  eprint = {2207.07407},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.07407}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.07407.svg)](https://codeofpaper.com/paper/2207.07407)

Discussion