Lord of the x86 Rings: A Portable User Mode Privilege Separation Architecture on x86

被引:12
|
作者
Lee, Hojoon [1 ]
Song, Chihyun [2 ]
Kang, Brent Byunghoon [2 ]
机构
[1] CISPA Helmholtz Ctr iG, Saarbrucken, Germany
[2] Korea Adv Inst Sci & Technol, GSIS, Sch Comp, Daejeon, South Korea
基金
新加坡国家研究基金会;
关键词
privilege separation; memory protection; operating system;
D O I
10.1145/3243734.3243748
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Modern applications often involve processing of sensitive information. However, the lack of privilege separation within the user space leaves sensitive application secret such as cryptographic keys just as unprotected as a "hello world" string. Cutting-edge hardware-supported security features are being introduced. However, the features are often vendor-specific or lack compatibility with older generations of the processors. The situation leaves developers with no portable solution to incorporate protection for the sensitive application component. We propose LOTRx86, a fundamental and portable approach for user-space privilege separation. Our approach creates a more privileged user execution layer called PrivUser by harnessing the underused intermediate privilege levels on the x86 architecture. The PrivUser memory space, a set of pages within process address space that are inaccessible to user mode, is a safe place for application secrets and routines that access them. We implement the LOTRx86 ABI that exports the privcall interface to users to invoke secret handling routines in PrivUser. This way, sensitive application operations that involve the secrets are performed in a strictly controlled manner. The memory access control in our architecture is privilege-based, accessing the protected application secret only requires a change in the privilege, eliminating the need for costly remote procedure calls or change in address space. We evaluated our platform by developing a proof-of-concept LOTRx86-enabled web server that employs our architecture to securely access its private key during an SSL connection. We conducted a set of experiments including a performance measurement on the PoC on both Intel and AMD PCs, and confirmed that LOTRx86 incurs only a limited performance overhead.
引用
收藏
页码:1441 / 1454
页数:14
相关论文
共 50 条
  • [31] Harnessing the x86 Intermediate Rings for Intra-Process Isolation
    Lee, Hojoon
    Song, Chihyun
    Kang, Brent Byunghoon
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2023, 20 (04) : 3251 - 3268
  • [32] Containing a Confused Deputy on x86: A Survey of Privilege Escalation Mitigation Techniques
    Brookes, Scott
    Taylor, Stephen
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2016, 7 (04) : 476 - 484
  • [33] x86 vendors unite against Intel
    Halfhill, TR
    BYTE, 1997, 22 (11): : 19 - +
  • [34] The evolution of an x86 virtual machine monitor
    Agesen O.
    Garthwaite A.
    Sheldon J.
    Subrahmanyam P.
    Operating Systems Review (ACM), 2010, 44 (04): : 3 - 18
  • [35] Analyzing memory accesses in x86 executables
    Balakrishnan, G
    Reps, T
    COMPILER CONSTRUCTION, PROCEEDINGS, 2004, 2985 : 5 - 23
  • [36] Programming Model for a Heterogeneous x86 Platform
    Saha, Bratin
    Zhou, Xiaocheng
    Chen, Hu
    Gao, Ying
    Yan, Shoumeng
    Rajagopalan, Mohan
    Fang, Jesse
    Zhang, Peinan
    Ronen, Ronny
    Mendelson, Avi
    PLDI'09 PROCEEDINGS OF THE 2009 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2009, : 431 - 440
  • [37] Image Processing on Multicore x86 Architectures
    Kim, Daehyun
    Lee, Victor W.
    Chen, Yen-Kuang
    IEEE SIGNAL PROCESSING MAGAZINE, 2010, 27 (02) : 97 - 107
  • [38] X86进入多媒体时代
    杨则正
    管理科学文摘, 1998, (12) : 18 - 18
  • [39] Fast Concurrent Queues for x86 Processors
    Morrison, Adam
    Afek, Yehuda
    ACM SIGPLAN NOTICES, 2013, 48 (08) : 103 - 112
  • [40] Equational Reasoning on x86 Assembly Code
    Coogan, Kevin
    Debray, Saumya
    11TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2011), 2011, : 75 - 84