[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2694344.2694366acmconferencesArticle/Chapter ViewAbstractPublication PagesasplosConference Proceedingsconference-collections
research-article
Open access

SPECS: A Lightweight Runtime Mechanism for Protecting Software from Security-Critical Processor Bugs

Published: 14 March 2015 Publication History

Abstract

Processor implementation errata remain a problem, and worse, a subset of these bugs are security-critical. We classified 7 years of errata from recent commercial processors to understand the magnitude and severity of this problem, and found that of 301 errata analyzed, 28 are security-critical. We propose the SECURITY-CRITICAL PROCESSOR ER- RATA CATCHING SYSTEM (SPECS) as a low-overhead solution to this problem. SPECS employs a dynamic verification strategy that is made lightweight by limiting protection to only security-critical processor state. As a proof-of- concept, we implement a hardware prototype of SPECS in an open source processor. Using this prototype, we evaluate SPECS against a set of 14 bugs inspired by the types of security-critical errata we discovered in the classification phase. The evaluation shows that SPECS is 86% effective as a defense when deployed using only ISA-level state; incurs less than 5% area and power overhead; and has no software run-time overhead.

References

[1]
T. M. Austin, "DIVA: a reliable substrate for deep submicron microarchitecture design," in International Symposium on Microarchitecture, 1999.
[2]
Beyond Semiconductor, "Beyond BA22 Embedded Processor," http://www.beyondsemi.com/25/beyond-ba22-embedded-processor.
[3]
E. Biham, Y. Carmeli, and A. Shamir, "Bug attacks," in Conference on Cryptology: Advances in Cryptology, 2008.
[4]
bjornstar. (2011) nacl cpuid.c uses vendor string in features check. NativeClient Bug Tracker. Google. {Online}. Available: https://code.google.com/p/nativeclient/issues/detail?id=2508
[5]
[email protected]. (2010) Nacl should accept x86 'int3' instruction or offer a plausible alternative. NativeClient Bug Tracker. Google. {Online}. Available:https://code.google.com/p/nativeclient/issues/detail?id=645
[6]
J. Chang, G. A. Reis, and D. I. August, "Automatic Instruction-Level Software-Only Recovery," in International Conference on Dependable Systems and Networks, 2006.
[7]
K. Constantinides, O. Mutlu, and T. Austin, "Online Design Bug Detection: RTL Analysis, Flexible Mechanisms, and Evaluation," in International Symposium on Microarchitecture, 2008.
[8]
K. Constantinides, O. Mutlu, T. Austin, and V. Bertacco, "Software-Based Online Detection of Hardware Defects: Mechanisms, Architectural Support, and Evaluation," in International Symposium on Microarchitecture, 2007.
[9]
M. L. Corliss, E. C. Lewis, and A. Roth, "DISE: a programmable macro engine for customizing applications," in International Symposium on Computer Architecture, 2003.
[10]
M. de Kruijf, S. Nomura, and K. Sankaralingam, "Relax: An Architectural Framework for Software Recovery of Hardware Faults," in International Symposium on Computer Architecture, 2010.
[11]
T. de Raadt. (2007) Intel Core 2. openbsd-misc mailing list. openbsd-misc mailing list. {Online}. Available: http://marc.info/?l-openbsd-isc&m=118296441702631
[12]
L. Duflot, "CPU Bugs, CPU Backdoors and Consequences on Security," in European Symposium on Research in Computer Security, 2008.
[13]
S. Feng, S. Gupta, A. Ansari, S. A. Mahlke, and D. I. August, "Encore: Low-cost, Fine-grained Transient Fault Recovery," in International Symposium on Microarchitecture, 2011.
[14]
H. Foster, K. Larsen, and M. Turpin, "Introduction to the new accellera open verification library," 2006.
[15]
M. R. Guthaus, J. S. Ringenberg, D. Ernst, T. M. Austin, T. Mudge, and R. B. Brown, "MiBench: A free, commercially representative embedded benchmark suite," in Workshop on Workload Characterization, 2001.
[16]
L. C. Heller and M. S. Farrell, "Millicode in an IBM zSeries processor," IBM Journal of Research and Development, vol. 48, pp. 425--434, 2004.
[17]
M. Hicks, "Practical systems for overcoming processor imperfections," Ph.D. dissertation, University of Illinois Urbana-Champaign, 2013.
[18]
M. Hicks, M. Finnicum, S. T. King, M. M. K. Martin, and J. M. Smith, "Overcoming an Untrusted Computing Base: Detecting and Removing Malicious Hardware Automatically," in Symposium on Security and Privacy, 2010.
[19]
M. Hicks, C. Sturton, S. T. King, and J. M. Smith. Specs public repository. {Online}. Available: https://github.com/impedimentToProgress/specs
[20]
Intel Corporation, "Intel Core 2 Extreme Processor X6800 and Intel Core 2 Duo Desktop Processor E6000 and E4000 Sequence -- Specification Update," 2008.
[21]
Jennic Limited, "JN5148 Wireless Microcontroller Modules."
[22]
Jon Stokes, "Two billion-transistor beasts: POWER7 and Niagara 3," http://arstechnica.com/business/2010/02/two-billion-transistor-beasts-power7-and-niagara-3/.
[23]
S. Lemon. (2008) Researcher to Demonstrate Attack Code for Intel Chips. PCWorld. {Online}. Available: http://www.pcworld.com/article/148353/security.html
[24]
Advanced Micro Devices, "Revision Guide for AMD Athlon 64 and AMD Opteron Processors," 2005.
[25]
ARM, "ARMv4 Instruction Set, Issue C," 1998.
[26]
MIPS Technologies, "MIPS R4000PC/SC errata, processor rev. 2.2 and 3.0," 1994.
[27]
A. Meixner, M. E. Bauer, and D. Sorin, "Argus: Low-Cost, Comprehensive Error Detection in Simple Cores," in International Symposium on Microarchitecture, 2007.
[28]
A. Meixner and D. J. Sorin, "Detouring: Translating Software to Circumvent Hard Faults in SimpleCores," in International Conference on Dependable Systems and Networks, 2008.
[29]
[email protected]. (2009) Check for trailing HLT in x86 is unnecessary. NativeClient Bug Tracker. Google. {Online}. Available: https://code.google.com/p/nativeclient/issues/detail?id=155
[30]
[email protected]. (2010) Dynamic loading syscall insists on a trailing HLT on x86-32. NativeClient Bug Tracker. Google. {Online}. Available: https://code.google.com/p/nativeclient/issues/detail?id=585
[31]
[email protected]. (2011) Escape from x86-64 inner sandbox using BSF instruction. NativeClient Bug Tracker. Google. {Online}. Available: https://code.google.com/p/nativeclient/issues/detail?id=2010
[32]
[email protected]. (2012) x86-64: DATA16 prefix on direct jumps allows sandbox escape on AMD CPUs. NativeClient Bug Tracker. Google. {Online}. Available: https://code.google.com/p/nativeclient/issues/detail?id=2578
[33]
S. Narayanasamy, B. Carneal, and B. Calder, "Patching Processor Design Errors," in International Conference on Computer Design, 2006.
[34]
OpenCores.org, "OpenRISC OR1200 processor," http://opencores.org/or1k/OR1200OpenRISCProcessor.
[35]
G. A. Reis, J. Chang, D. I. August, R. Cohn, and S. S. Mukherjee, "Configurable Transient Fault Detection via Dynamic Binary Translation," in Workshop on Architectural Reliability, 2006.
[36]
R. Rubenstein, "Open Source MCU core steps in to power third generation chip," 2014, http://www.newelectronics.co.uk/electronics-technology/open-source-mcu-core-steps-in-to-power-third-generation-chip/59110/.
[37]
S. R. Sarangi, A. Tiwari, and J. Torrellas, "Phoenix: Detecting and Recovering from Permanent Processor Design Bugs with Programmable Hardware," in International Symposium on Microarchitecture, 2006.
[38]
S. Shebs, "GDB tracepoints, redux," in GCC Developer's Summit, 2009.
[39]
A. L. Shimpi. (2008) AMD's B3 Stepping Phenom Previewed, TLB Hardware Fix Tested. AnandTech. AnandTech. {Online}. Available: http://anadtech.com/show/2477/2
[40]
S. Shyam, K. Constantinides, S. Phadke, V. Bertacco, and T. Austin, "Ultra Low-Cost Defect Protection for Microprocessor Pipelines," in International Conference on Architectural Support for Programming Languages and Operating Systems, 2006.
[41]
D. J. Sorin, M. M. K. Martin, M. D. Hill, and D. A. Wood, "SafetyNet: Improving the Availability of Shared Memory Multiprocessors with Global Checkpoint/Recovery," in International Symposium on Computer Architecture, 2002.
[42]
Sun, "OpenSPARC T2 Source Code," http://www.opensparc.net/opensparc-t2/download.html.
[43]
S. G. Tucker, "Microprogram control for System/360," IBM Syst. J., vol. 6, pp. 222--241, 1967.
[44]
I. Wagner and V. Bertacco, "Engineering Trust with Semantic Guardians," in Conference on Design, Automation and Test in Europe, 2007.
[45]
Xen.org security team. {Xen-announce} Xen Security Advisory 7 (CVE-2012-0217) - PV. {Online}. Available: http://lists.xen.org/archives/html/xen-announce/2012-06/msg00001.html

Cited By

View all
  • (2024)Processor Vulnerability Detection with the Aid of Assertions: RISC-V Case Study2024 IEEE Nordic Circuits and Systems Conference (NorCAS)10.1109/NorCAS64408.2024.10752460(1-7)Online publication date: 29-Oct-2024
  • (2024)Theoretical Patchability Quantification for IP-Level Hardware Patching Designs2024 29th Asia and South Pacific Design Automation Conference (ASP-DAC)10.1109/ASP-DAC58780.2024.10473895(951-956)Online publication date: 22-Jan-2024
  • (2023)Securing Network Information System Design: An Efficient Tool for DSP Undocumented Instruction MiningApplied Sciences10.3390/app1306393113:6(3931)Online publication date: 20-Mar-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
ASPLOS '15: Proceedings of the Twentieth International Conference on Architectural Support for Programming Languages and Operating Systems
March 2015
720 pages
ISBN:9781450328357
DOI:10.1145/2694344
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

Sponsors

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 14 March 2015

Check for updates

Author Tags

  1. hardware security exploits
  2. processor errata
  3. security-critical processor errata

Qualifiers

  • Research-article

Funding Sources

Conference

ASPLOS '15

Acceptance Rates

ASPLOS '15 Paper Acceptance Rate 48 of 287 submissions, 17%;
Overall Acceptance Rate 535 of 2,713 submissions, 20%

Upcoming Conference

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)260
  • Downloads (Last 6 weeks)27
Reflects downloads up to 11 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Processor Vulnerability Detection with the Aid of Assertions: RISC-V Case Study2024 IEEE Nordic Circuits and Systems Conference (NorCAS)10.1109/NorCAS64408.2024.10752460(1-7)Online publication date: 29-Oct-2024
  • (2024)Theoretical Patchability Quantification for IP-Level Hardware Patching Designs2024 29th Asia and South Pacific Design Automation Conference (ASP-DAC)10.1109/ASP-DAC58780.2024.10473895(951-956)Online publication date: 22-Jan-2024
  • (2023)Securing Network Information System Design: An Efficient Tool for DSP Undocumented Instruction MiningApplied Sciences10.3390/app1306393113:6(3931)Online publication date: 20-Mar-2023
  • (2023)SEIF: Augmented Symbolic Execution for Information Flow in Hardware DesignsProceedings of the 12th International Workshop on Hardware and Architectural Support for Security and Privacy10.1145/3623652.3623666(1-9)Online publication date: 29-Oct-2023
  • (2023)Formal Verification of Security Properties on RISC-V ProcessorsProceedings of the 21st ACM-IEEE International Conference on Formal Methods and Models for System Design10.1145/3610579.3611085(159-168)Online publication date: 21-Sep-2023
  • (2023)T-TER: Defeating A2 Trojans with Targeted Tamper-Evident RoutingProceedings of the 2023 ACM Asia Conference on Computer and Communications Security10.1145/3579856.3582837(746-759)Online publication date: 10-Jul-2023
  • (2023)SeVNoC: Security Validation of System-on-Chip Designs With NoC FabricsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2022.317930742:2(672-682)Online publication date: Feb-2023
  • (2023)Hardware-Supported Patching of Security Bugs in Hardware IP BlocksIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2022.316851342:1(54-67)Online publication date: Jan-2023
  • (2022)Don't CWEAT ItProceedings of the 41st IEEE/ACM International Conference on Computer-Aided Design10.1145/3508352.3549369(1-9)Online publication date: 30-Oct-2022
  • (2022)RTL-ConTest: Concolic Testing on RTL for Detecting Security VulnerabilitiesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10.1109/TCAD.2021.306656041:3(466-477)Online publication date: Mar-2022
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media