nexus: an operating system for trustworthy computing · secure memory regions protect movie data...
TRANSCRIPT
![Page 1: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/1.jpg)
Nexus: An Operating System for
Trustworthy Computing
Alan Shieh Dan Williams Kevin WalshEmin Gün Sirer Fred B. Schneider
Department of Computer ScienceCornell University
1
![Page 2: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/2.jpg)
Trustworthy Computing
New hardware for trustworthy computingis emerging
How best to exploit this new hardware?
2
![Page 3: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/3.jpg)
Project Overview
Nexus OSBuilds on Trusted Platform Module (TPM)
Industry-standard secure coprocessorSimple and pervasive
Provides new trustworthy computingabstractionsProvides assurance through a small TCBEnables new trustworthy applications
3
![Page 4: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/4.jpg)
TPM primitives
Hardware root of trustFunctionality:
Data integrityKey storageAttestation (expects hashes)
Reasonable starting point...
4
![Page 5: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/5.jpg)
TPM limitations
Mismatch between TPM and applicationneeds
Holds only a few secrets & keysAttests to a system snapshotSupports only hash-based authenticationand authorization
5
![Page 6: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/6.jpg)
Extant OS limitations
Existing OSes are not suited fortrustworthy computing
Linux and Windows simply too bigMonolithic architecture→ violates principleof least privilegeNo strong isolation between components
6
![Page 7: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/7.jpg)
Nexus: A New OS
Nexus OS bridges the gapGeneralizes and virtualizes the TPMEnables authorization from semanticproperties
7
![Page 8: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/8.jpg)
Nexus: A New OS
Supports new abstractions withcomparable level of assurance relative toTPM
Small TCBExclude drivers and services (user-level)Exclude secondary storage
Fine-grain components→ restricted policiesStrong isolation of components
... Respectable performance too!
8
![Page 9: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/9.jpg)
New abstractions
Secure memory regions with mandatoryaccess control and persistenceActive attestation attests to acomponent’s properties and environment.
Assigns a descriptive label to component
9
![Page 10: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/10.jpg)
New Nexus OS abstraction:
Active attestation labelsLabeling functions generate meaningful,flexible labels from:
Result of analysis / PCCUse of reference monitorsRun in execution environment
Unlike hash, captures only property ofinterestUsed pervasively in the Nexus
E.g., IPC binding & invocation, access tosecure memory regions, etc.
10
![Page 11: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/11.jpg)
New Nexus OS abstraction:
Secure memory regions
Secure memory regions are used tostore sensitive application dataGuarantees:
IntegrityConfidentialityPersistence
11
![Page 12: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/12.jpg)
Secure memory regions
Admit application-specific optimizationsUse knowledge of access patterns tocompute optimal block size for hash-trees[Williams & Sirer, TNC2004]
Invaluable for user-level servicesE.g. Linear capability manager... or any history-dependent policies (viasecurity automata)
12
![Page 13: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/13.jpg)
Status of the Nexus OS
Working prototype of kernel and newabstractions
13
![Page 14: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/14.jpg)
Applications
Working applicationsDRM-compliant media playerSpam-proof e-mail systemTamper-evident system logAttested MACEDON application
Real applications provide insights thatdrive investigation into active attestation
14
![Page 15: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/15.jpg)
Media player example
Secure memory regions protect moviedata and policy metadataLinear capabilities restrict media to alimited number of playsActive attestation attests to futurebehavior of media player
Media player does not write to disk→ This property describes a family of mediaplayers
15
![Page 16: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/16.jpg)
Media player example
16
![Page 17: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/17.jpg)
Media player example
16
![Page 18: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/18.jpg)
Media player example
16
![Page 19: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/19.jpg)
Media player example
16
![Page 20: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/20.jpg)
Media player example
16
![Page 21: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/21.jpg)
Media player example
16
![Page 22: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/22.jpg)
Media player example
16
![Page 23: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/23.jpg)
Media player example
16
![Page 24: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/24.jpg)
Media player example
16
![Page 25: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/25.jpg)
Media player example
16
![Page 26: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/26.jpg)
Media player example
16
![Page 27: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/27.jpg)
Media player example
16
![Page 28: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/28.jpg)
Media player example
16
![Page 29: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/29.jpg)
Spam-proof e-mail
Only “non-spam” e-mail clients can signmessage with special key
“Non-spam” clients:Client binary is approvedUser has typed in text during this execution
17
![Page 30: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/30.jpg)
Nexus lessons
Active attestation captures applicationpropertiesAttesting to properties enablesmeaningful authorizationThird-parties can provide tools forextracting and enforcing properties
18
![Page 31: Nexus: An Operating System for Trustworthy Computing · Secure memory regions protect movie data and policy metadata Linear capabilities restrict media to a limited number of plays](https://reader033.vdocuments.site/reader033/viewer/2022052105/6040c8a5ae29ed6101698ad4/html5/thumbnails/31.jpg)
Summary
Trustworthy computing requires newproperties from OSThe Nexus is a new OS for trustedcomputing
Capture the semantic properties of programsProvide assurance about future behavior
There are many opportunities for futureresearch
New tools for capturing propertiesNew applications that require additional trust
19