sHype doesnt attempt to control all covert channels
Processor usage error messages memory allocation
8 Foundation
Implemented for Xen hypervisor IBM rHype and IBM PHYP
Controls all inter-VM communications
Only added 2600 lines of code to Xen
3 hooks required
Adds about 1 overhead
Achieves EAL4 medium assurance
9 EAL4 10 EAL4 Highlights
Fully-defined external interfaces
Must specify all the ways the system can be affected by users and other software
Security enforcing high-level design
Descriptive low-level design
Informal correspondence demonstration
Independent testing
Independent vulnerability analysis
Linux and Win2k are EAL4
11 Controlled Access Protection Profile
Based on the Controlled Access Protection Profile
http//niap.nist.gov/cc-scheme/pp/PP_CAPP_V1.d.pdf
12 Xen VM Separation
Virtual machines run within domains
Special domain Dom0 (domain zero)
Manages other VMs
Create destroy migrate save restore
Assigns I/O devices to VMs
DomUs (user domains)
Can run any para-virtualized OS
Two shared resources between DomUs
Event channels
Shared memory
13 VM Coalitions
Some VMs will cooperate with each other
Groups of cooperating VMs should be separated from other coalitions
Two VMs both processing orders
May need to share a single virtual disk
Sharing controlled by MAC policy
14 Sample Coalitions 15 Information Flows 16 Type of Flow
Through Shared or Exclusive Resources
Through non-isolated virtual resources
Through non-isolated real system resources
Through Covert Channels
17 Dom0 Device Domain
Device domain hosts device drivers
Hypervisor controls connections to device domain from other VMs
Device domain is trusted to isolate virtual disks and their data
Thus part of trusted computing base
18 sHype Architecture 19 Design Basics
sHype uses built-in VM separation
TPM attestation allows hypervisor and VMs to prove their integrity at runtime to remote systems
Authorizes access to resources only upon initial access and after policy changes
Low performance overhead
Enforces formal policies
Basis for defenses against DoS through resource policies
Supports service level agreements (SLA)
20 Chinese Wall Policy
Based on concept of Conflict-of-Interest (COI)
Cosider an investment firm that serves three companies
ExxonMobil
Shell Oil
General Steel
It is not desirable to run workloads for Exxon and Shell on the same machine simultaneously
It is acceptable to run General Steel tasks with either Exxon or Shell tasks since they do not compete
21 Chinese Wall Policy (cont.) Shell Oil General Steel ExxonMobil Oil Companies Steel Companies 22 Type Enforcement
VMs can only share resources if they share at least one type
Each type represents a coalition
Can be implemented in vector form
-------- Types -------- Orders Shipping Ads Customers VM A 1 0 0 1 VM B 0 1 0 1 VM C 1 1 1 0 23 Reference Monitor Basics
Reference monitor enforces policies
Mediates all security-critical operations
Can protect itself from modification
Already provided by VM properties
Is as simple as possible to enable software validation
Thin software layer
24 Security-Critical Operations
Any operation that is regulated by the policy
Example memory sharing between VMs
If memory sharing prohibited between VMs hypercalls to map memory must fail
Example establishing event channel between VMs
25 MAC Bridging Trusted vLAN MAC Domain V M MAC Domain MAC Domain V M MAC Domain XEN XEN Sys. Hardware Sys. Hardware Network 26 Policy Enforcement
Policy enforcement separated from access control policy as in Flask (SELinux architecture)
Security hooks embedded in core hypervisor
Hooks query access control module (ACM) and enforce decisions
Decisions cached until policy changes
Trusted policy management VM manages ACM
27 Reference Monitor 28 Policy Changes
Updates ACM caches
Revokes event channels and shared memory regions that are currently in use and are no longer authorized
Users of event channels receive errors which must be handled anyway
Users of shared memory (e.g. device drivers) receive memory error
sHype may soon inform VM when memory is revoked to allow graceful shutdown
29 Performance
10 transfers of 108 disk blocks from Dom0 to DomU
dd if/dev/hda7 of/dev/null count10000000
No perceivable overhead took 1196-1198 seconds
Grant-table (shared memory permissions) hook invoked 12106 times
30 References/Related Work
Terra
PHYP
Vax VMM Security Kernel
31 Terra
Trusted VMM
Requires trusted platform support including hardware and software attestation
T. Garfinkel et. al. Terra A Virtual Machine-Based Platform for Trusted Computing http//delivery.acm.org/10.1145/950000/945464/p193 -garfinkel.pdfkey1945464key24071529311collGU IDEdlACMCFID67774667CFTOKEN76212332
32 Terra (cont.)
Supports open- and closed-box VMs
Open-box current general purpose systems
Closed-box not controlled by machine operator controlled by software distributor. Can prove to remote systems that software is well-behaved.
access control enforcement using enforcement hooks
access control policy is referenced by hooks to retrieve access control decisions
46 Reference Monitor Architecture
Formal Security Policy defines
access rules
security labels for partitions and logical resources
47 Reference Monitor Architecture
High performance ( lt 1 security related overhead on the critical path)
ability to enforce policy autonomously (system administration)
allow for flexible enforcement of various policies (hypervisor and ACM module are independent allowing separation of system security and administration)
48 Access Control Enforcement Security Hook Function
gathers access control information
partition label
virtual resource label
access operation type
determines access decision by calling to ACM
enforces access control decision
49 Access Control Enforcement 50 Access Control Enforcement
to keep overhead near-zero
bind-time authorization for access control decisions
works for vLAN vSCSI shared memory vTTY
the binding must be revoked if the policy changes
explicit caching of access control decisions for other resources locally in LPAR0
51 Access Control Module
stores policies
allows flexible policy management
makes policy decisions
triggers call-back functions to re-evacuate access control decisions when the policy changes
52 Access Control Module
exports several functions
H_security policy management
acm_init initial labeling inserted in hyperviser core whenever the resource or partition is created
acm_authorize takes labels and returns true or false
53 Security Policy
For each virtual object defines the requirements to access it
For each partition subject defines the authorization to access resources
Access rules that decide whether a logical partitions rights suffice to apply certain operation to an object
54 Security Policy
Each object and subject gets a label
To get access of partitions to virtual resources the partitions label should dominate the resources security label with regards to the access type
Dominate predicate is specific to the policy
55 Caernarvon Security Policy
A static security policy (resources are not relabeled during operation)
Decisions change only if the underlying policy changes
Good for moving the decisions to the binding phase of virtual resources
56 Security Labels
organizational access classes (OACs)
type
secrecy (unclassified secret top secret)
integrity (low medium high)
organization ID (orgID)
universal access classes (UACs)
aggregate multiple OACs with the same OAC type
57 Security Labels 58 Security Labels
virtual resource
one integrity UAC and one confidentiality UAC
partition
range of from and to UACs
59 Security Labels
single-level partitions
when from and to UACs are the same
multi-level partitions
when the range includes more than one UAC
60 Policy Change
re-evaluation call-back function
invoked by ACM
re-evaluates the original access control decision
revokes shared resources in case the authorization is no longer granted
61 Security Evaluation of sHype
layered approach to security
small security apparatus which is easy to validate
62 Security Evaluation of sHype
Assumptions
correct identification of partitions and resources for initial labeling
correct security policies
fault-tolerant hardware and physical components
no covert channeling
no malicious behavior or corruption of hyperviser or any of the privileged partitions (policy or I/O partitions)
About PowerShow.com
PowerShow.com is a leading presentation/slideshow sharing website. Whether your application is business, how-to, education, medicine, school, church, sales, marketing, online training or just for fun, PowerShow.com is a great resource. And, best of all, most of its cool features are free and easy to use.
You can use PowerShow.com to find and download example online PowerPoint ppt presentations on just about any topic you can imagine so you can learn how to improve your own slides and presentations for free. Or use it to find and download high-quality how-to PowerPoint ppt presentations with illustrated or animated slides that will teach you how to do something new, also for free. Or use it to upload your own PowerPoint slides so you can share them with your teachers, class, students, bosses, employees, customers, potential investors or the world. Or use it to create really cool photo slideshows - with 2D and 3D transitions, animation, and your choice of music - that you can share with your Facebook friends or Google+ circles. That's all free as well!
For a small fee you can get the industry's best online privacy or publicly promote your presentations and slide shows with top rankings. But aside from that it's free. We'll even convert your presentations and slide shows into the universal Flash format with all their original multimedia glory, including animation, 2D and 3D transition effects, embedded music or other audio, or even video embedded in slides. All for free. Most of the presentations and slideshows on PowerShow.com are free to view, many are even free to download. (You can choose whether to allow people to download your original PowerPoint presentations and photo slideshows for a fee or free or not at all.) Check out PowerShow.com today - for FREE. There is truly something for everyone!