extending openstack access control with domain trust

24
Institute for Cyber Security Extending OpenStack Access Control with Domain Trust World-Leading Research with Real- World Impact! 1 Bo Tang and Ravi Sandhu NSS 2014 © Bo Tang

Upload: thaddeus-oneill

Post on 31-Dec-2015

21 views

Category:

Documents


1 download

DESCRIPTION

Extending OpenStack Access Control with Domain Trust. Bo Tang and Ravi Sandhu NSS 2014. The Cloud. Anytime Anywhere. Moving to the Cloud. Driving force: Anytime, Anywhere (Centralized infrastructure) [ $$$] -----> [$ | $|$ ] (Shared resources) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Extending  OpenStack  Access Control with Domain Trust

World-Leading Research with Real-World Impact! 1

Institute for Cyber Security

Extending OpenStack Access Control with Domain Trust

Bo Tang and Ravi Sandhu

NSS 2014

© Bo Tang

Page 2: Extending  OpenStack  Access Control with Domain Trust

The Cloud

World-Leading Research with Real-World Impact! 2

Anytime Anywhere

© Bo Tang

Page 3: Extending  OpenStack  Access Control with Domain Trust

Moving to the Cloud

Driving force:Anytime, Anywhere (Centralized infrastructure)[$$$] -----> [$|$|$] (Shared resources)Pay-on-the-go (On-demand services)Scalable and flexible

Resistance:

© Bo Tang World-Leading Research with Real-World Impact! 3

Security & PrivacyoData governanceoAccess control

Other problemsoData Locked-ino Lack Standard APIs

Page 4: Extending  OpenStack  Access Control with Domain Trust

What is OpenStack?

Open source Cloud platform12,000 individual members260 supporting organizations130 countries

Havana ReleaseNov. 2013 - Hong Kong Summit

Keystone (IAM)Identity API v3Introduction of Domain concept

© Bo Tang World-Leading Research with Real-World Impact! 4

Source: http://www.openstack.org/software/havana/press-release

Page 5: Extending  OpenStack  Access Control with Domain Trust

Multi-Tenancy

Multi-tenancyFrom Cloud Service Provider (CSP) perspective

oA billing customer, isolated with each otheroManages its own users and cloud resources

The owner of a tenant can beoAn individual, an organization or a department in an

organization, etc.

Domain in OpenStackEach domain manages its own users and projects

World-Leading Research with Real-World Impact! 5© Bo Tang

Page 6: Extending  OpenStack  Access Control with Domain Trust

Motivation

© Bo Tang World-Leading Research with Real-World Impact! 6

Page 7: Extending  OpenStack  Access Control with Domain Trust

Existing Approaches

Trust Active Directory Federation Service (AD FS)

oMultiple types of federation trust among domainsCross-account trust in AWS

oUnilateral trust with another account or external credentialsTrust in OpenStack

oUser to user delegation via roles

© Bo Tang World-Leading Research with Real-World Impact! 7

Page 8: Extending  OpenStack  Access Control with Domain Trust

Scope and Assumptions

Standardized APIsCross-tenant accesses are functionally available

Properly authenticated usersOne Cloud Service

Of a kind: IaaS, PaaS or SaaS.Multi-tenancy collaboration on a single cloud

World-Leading Research with Real-World Impact! 8© Bo Tang

Page 9: Extending  OpenStack  Access Control with Domain Trust

Core OSAC

World-Leading Research with Real-World Impact! 9© Bo Tang

Page 10: Extending  OpenStack  Access Control with Domain Trust

Definitions of OSAC

RolesGlobally availableNot owned by domains or projects

TokensCredentials issued to authenticated usersWill expire, similar to session concept in RBAC

ServicesExamples: Nova, Glance, NeutronDifferent services have different policies based on the

role-permission assignments

© Bo Tang World-Leading Research with Real-World Impact! 10

Page 11: Extending  OpenStack  Access Control with Domain Trust

Administration (AOSAC)

World-Leading Research with Real-World Impact! 11

Cloud Admin

Domain A Admin

Project A1 Admin Project A2 Admin

Domain B Admin

Project B1 Admin Project B2 Admin

Source: https://wiki.openstack.org/wiki/Domains

rule:add_user_to_project -> (role:keystone_admin || (role:project_admin && project_id:%(target_project_id)s) || (domain_role:domain_admin && domain_id:%(target_domain_id)s))

rule:add_project_to_domain -> (role:keystone_admin || (domain_role:domain_admin && domain_id:%(target_domain_id)s))

© Bo Tang

Page 12: Extending  OpenStack  Access Control with Domain Trust

Domain-Level Collaboration

Basic scenarioUser: u1 from Domain: d1Project: p2 from Domain: d2

Cross-domain actionsAdministrative

oAssign u1 to roles in p2Operational

oAllowing u1 to access p2 with the assigned rolesRequire proper trust relation between d1 and d2

© Bo Tang World-Leading Research with Real-World Impact! 12

Page 13: Extending  OpenStack  Access Control with Domain Trust

Trust Framework

World-Leading Research with Real-World Impact! 13© Bo Tang

Page 14: Extending  OpenStack  Access Control with Domain Trust

Domain Trust

World-Leading Research with Real-World Impact! 14© Bo Tang

Page 15: Extending  OpenStack  Access Control with Domain Trust

Trust Types

Two-party unilateral unidirectional non-transitiveType-α, requires visibility of the trustee’s user

information for the trustor to assign trustee’s users to roles in trustor’s projects, written as “⊴α”.

Type-β, requires the trustor to expose its user information for the trustee to assign trustor’s users to roles in trustee’s projects, written as “⊴β”.

Type-γ, requires the trustor to expose its project information for the trustee to assign trustee’s users to roles in trustor’s projects, written as “⊴γ”.

© Bo Tang World-Leading Research with Real-World Impact! 15

Page 16: Extending  OpenStack  Access Control with Domain Trust

OSAC-DT

World-Leading Research with Real-World Impact! 16© Bo Tang

Page 17: Extending  OpenStack  Access Control with Domain Trust

Constraints & Administration

ConstraintsSeparation of Duties (SoD)

oMutually exclusive domain listMinimum Exposure

o Limit exposure of project and user to other domainsCardinality

o Limit the number of domains to be trusted

Domain Trust AdministrationThe trustor manages the trust relation and constraints

© Bo Tang World-Leading Research with Real-World Impact! 17

Page 18: Extending  OpenStack  Access Control with Domain Trust

Implementation

Type-γ trustTrustee manages cross-domain assignmentsImplemented as a extension module in Keystone

Experiment Environment1 unit = 1 CPU/1GBVMs with 1, 2, 4, 8 units of capabilityDevstack deployed in cloud environmentStand-alone Keystone serviceTest with REST API calls through curl commands

© Bo Tang World-Leading Research with Real-World Impact! 18

Page 19: Extending  OpenStack  Access Control with Domain Trust

Prototype & Evaluation

Sequential request handling (Queuing)Domain trust introduces 0.7% authz. OverheadScalability changes little with domain trust

World-Leading Research with Real-World Impact! 19

Performance Scalability

© Bo Tang

Page 20: Extending  OpenStack  Access Control with Domain Trust

Related Work

RBAC extensionsCentralized authority is usually required

oROBAC, collaboration not supportedoGB-RBAC, group does not own users

Role-Based Delegation modelsDelegation chain lacks support of agile entities

Multi-Domain InteroperationRole-mapping requires PA to be domain-specific

Multi-Tenant Access Control modelsMTAS, MT-RBAC, CTTM

© Bo Tang World-Leading Research with Real-World Impact! 20

Page 21: Extending  OpenStack  Access Control with Domain Trust

Conclusion & Future Work

Formalized OSAC modelAdministrative model (AOSAC)

Trust Framework & Trust TypesFormalized OSAC-DT model

Administrative model (AOSAC-DT) & Constraints Implementation & Experiments in OpenStack

Acceptable performance & scalability changeFuture work

Hierarchical Multi-tenancy modelAttribute-based modelsImplementation in future OpenStack

World-Leading Research with Real-World Impact! 21© Bo Tang

Page 22: Extending  OpenStack  Access Control with Domain Trust

Acknowledgements

Dolph MathewsPTL of Keystone

Farhan PatwaDirector of ICS

Jaehone ParkResearch Associate Profession in ICS

© Bo Tang World-Leading Research with Real-World Impact! 22

Page 23: Extending  OpenStack  Access Control with Domain Trust

Institute for Cyber Security

Q & A

World-Leading Research with Real-World Impact! 23© Bo Tang

Page 24: Extending  OpenStack  Access Control with Domain Trust

Institute for Cyber Security

Thank You!

World-Leading Research with Real-World Impact! 24© Bo Tang