multi- tenan t access control for collaborative cloud services

42
Institute for Cyber Security Multi-Tenant Access Control for Collaborative Cloud Services CS6393 Spring 2014 PhD Seminar Bo Tang April 11, 2014 © ICS at UTSA World-Leading Research with Real- World Impact! 1

Upload: xenon

Post on 24-Feb-2016

64 views

Category:

Documents


0 download

DESCRIPTION

Multi- Tenan t Access Control for Collaborative Cloud Services. CS6393 Spring 2014 PhD Seminar Bo Tang April 11, 2014. What is Multi-Tenancy?. Cloud & Multi-Tenancy. Shared infrastructure [ $$$] -----> [ $ | $|$ ] Multi-Tenancy Virtually dedicated resources E.g.: rent-a-car - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Multi- Tenan t  Access Control for Collaborative  Cloud Services

World-Leading Research with Real-World Impact! 1

Institute for Cyber Security

Multi-Tenant Access Controlfor Collaborative Cloud Services

CS6393 Spring 2014PhD Seminar

Bo Tang

April 11, 2014

© ICS at UTSA

Page 2: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Institute for Cyber Security

What is Multi-Tenancy?

© ICS at UTSA World-Leading Research with Real-World Impact! 2

Page 3: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Cloud & Multi-Tenancy

Shared infrastructure [$$$] -----> [$|$|$]

Multi-Tenancy Virtually dedicated resources

o E.g.: rent-a-carProblems:

Who owns the data? How to collaborate across tenants?

o Even if across my own tenants?

© ICS at UTSA World-Leading Research with Real-World Impact! 3

Source: http://blog.box.com/2011/06/box-and-google-docs-accelerating-the-cloud-workforce/

Page 4: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Characteristics of Cloud

Distributed Authority Each tenant manages its own authorization

Centralized Facility Resource pooling

AgilityTenants, users and resources are temporary

Homogeneity Identical or similar architecture and system settings

Out-Sourcing Trust Built-in collaboration spirit

© ICS at UTSA World-Leading Research with Real-World Impact! 4

Page 5: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Define Tenant

All deployment models are multi-tenantE.g.: public cloud, private cloud and community cloud.

From Cloud Service Provider (CSP) perspectiveA billing customerManages its own users and cloud resources

From consumer perspectiveAn individual, an organization or a department in an

organization, etc.virtually dedicated space with on-demand self-service

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

Page 6: Multi- Tenan t  Access Control for Collaborative  Cloud Services

DevOps in the Cloud

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

Page 7: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Multi-org/dom A/C Literature

RBAC CBAC, GB-RBAC, ROBACNo cross-organization interactionRequire central authority managing collaborations

Delegation Models dRBAC and PBDM (e.g.: allowing subleasing) Lacks agility (which the cloud requires)

Grids CAS, VOMS, PERMIS Heavy authorization overhead due to the absence of

homogeneous infrastructure (which the cloud has)

© ICS at UTSA World-Leading Research with Real-World Impact! 8

Page 8: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Literature (Contd.)

Role-based Trust RT, Traust, RMTN AND RAMARS_TM Calero et al: towards a multi-tenancy authorization

system for cloud serviceso Implementation level PoCoOpen for extensions in trust models

Suits the cloud (out-sourcing trust)

© ICS at UTSA World-Leading Research with Real-World Impact! 9

Challenge:• Trust relation• Finer-grained models• Administration

Page 9: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Scope and Assumptions

Standardized APIsCross-tenant accesses are functionally available

Proper authentication of usersRemovable assumptions:

One Cloud ServiceoOf a kind: IaaS, PaaS or SaaS etc.

Two-Tenant Trust (rather than community trust)Unidirectional Trust Relations (like follow in Twitter)Unilateral Trust Relations (trustor or trustee)

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

Page 10: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Multi-Tenant Access Control

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

Page 11: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Tenant Trust

Tenant Trust (TT) relation is not partial orderIt is

Reflexive: A ⊴ ABut not transitive: A ⊴ B ∧ B ⊴ C ⇏ A ⊴ CNeither symmetric: A ⊴ B ⇏ B ⊴ A Nor anti-symmetric: A ⊴ B ∧ B ⊴ A ⇏ A ≡ B

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

Page 12: Multi- Tenan t  Access Control for Collaborative  Cloud Services

CTTM Trust Types

Four potential trust types:Type-α: trustor can give access to trustee. Type-β: trustee can give access to trustor. Type-γ: trustee can take access from trustor. Type-δ: trustor can take access from trustee.

oNo meaningful use case, since the trustor holds all the control of the cross-tenant assignments of the trustee’s permissions.

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

Page 13: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Cross-Tenant Trust in DevOps

Example: Temporary DevOps access[$]: grant Dennis@DEV access to HR.PRDTrust-α:

oPRD trusts DEV so that PRD can say [$].Trust-β:

oDEV trusts PRD so that PRD can say [$].Trust-γ:

oPRD trusts DEV so that DEV can say [$].

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

DEV PRD

HRDennis

Page 14: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Formalized CTTM Model

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

Page 15: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Role-Based CTTM

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

Page 16: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Role-Based CTTM

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

OpenStack Identity + RH v2.0

Page 17: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Multi-Tenant Authz. as a Service (MTAaaS)

© ICS at UTSA World-Leading Research with Real-World Impact! 18

MTAaaS

Tenant 1 Tenant 2 Tenant n

Page 18: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Cross-Tenant Trust in DevOps

Example: Temporary DevOps access[$]: grant Dennis@DEV access to HR.PRDTrust-α (RT):

oPRD trusts DEV so that PRD can say [$].Trust-β (MTAS):

oDEV trusts PRD so that PRD can say [$].Trust-γ (MT-RBAC):

oPRD trusts DEV so that DEV can say [$].

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

DEV PRD

HRDennis

Page 19: Multi- Tenan t  Access Control for Collaborative  Cloud Services

MTAS

© ICS at UTSA World-Leading Research with Real-World Impact! 20

Tenants: issuers

Page 20: Multi- Tenan t  Access Control for Collaborative  Cloud Services

AMTAS

Issuers are administered by the CSPEach issuer administer:

trust relations with other issuers entity components: users, roles and permissions UA, PA and RH assignments

o Cross-tenant assignments are issued by the trustee UA: trustor users to trustee roles PA: trustee permissions to trustor roles RH: trustee roles junior to trustor roles

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

Page 21: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Finer-grained Trust Models

Problem of MTAS trust model Over exposure of trustor’s authorization information

Trustor-Centric Public Role (TCPR) Expose only the trustor’s public roles

Relation-Centric Public Role (RCPR) Expose public roles specific for each trust relation

© ICS at UTSA World-Leading Research with Real-World Impact! 22

Page 22: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Example MTAS policy structure

© ICS at UTSA World-Leading Research with Real-World Impact! 23

i1 trust-β i2

Page 23: Multi- Tenan t  Access Control for Collaborative  Cloud Services

MTAaaS Platform Prototype

Experiment SettingsCloudStorage: an open source web based cloud storage

and sharing system.Joyent, FlexCloud

Authorization ServiceCentralized PDPDistributed PEP

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

Page 24: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Evaluation

MTAS introduces ≈12 ms overhead in average. Scalable

Capability proportional to throughput

World-Leading Research with Real-World Impact! 25

Performance Scalability

© ICS at UTSA

Page 25: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Cross-Tenant Trust in DevOps

Example: Temporary DevOps access[$]: grant Dennis@DEV access to HR.PRDTrust-α (RT):

oPRD trusts DEV so that PRD can say [$].Trust-β (MTAS):

oDEV trusts PRD so that PRD can say [$].Trust-γ (MT-RBAC):

oPRD trusts DEV so that DEV can say [$].

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

DEV PRD

HRDennis

Page 26: Multi- Tenan t  Access Control for Collaborative  Cloud Services

MT-RBAC

World-Leading Research with Real-World Impact! 27© ICS at UTSA

Issuers: Real-world admins

Page 27: Multi- Tenan t  Access Control for Collaborative  Cloud Services

AMT-RBAC

Issuers administer tenantsEach issuer administer:

Trust relations from owned tenantsEntity components: tenants, users, roles and

permissionsUA, PA and RH assignments

o Cross-tenant assignments are issued by the trustee’s owning issuer

UA: trustee users to trustor roles PA: trustor permissions to trustee roles RH: trustor roles junior to trustee roles

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

Page 28: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Finer-grained Trust Models

Trustee-Independent Public Role (TIPR) Expose only the trustor’s public roles

Trustee-Dependent Public Role (TDPR) Expose public roles specific for each trustee

© ICS at UTSA World-Leading Research with Real-World Impact! 29

Page 29: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Constraints

Cyclic Role Hierarchy: lead to implicit role upgrades in the role hierarchy

SoD: conflict of dutiesTenant-level

o E.g.: SOX compliance companies may not hire the same company for both consulting and auditing.

Role-levelo across tenants

Chinese Wall: conflict of interests among tenantso E.g.: do not share infrastructure with competitors.

© ICS at UTSA World-Leading Research with Real-World Impact! 30

Tenant 2

M1 M2

Tenant 1

E1 E2

Page 30: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Policy Specification of MT-RBAC

© ICS at UTSA World-Leading Research with Real-World Impact! 31

Page 31: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Evaluation: Performance

MT-RBAC vs RBACMore policy references incur more decision time

MT-RBAC2 introduces 16 ms overhead in average.

World-Leading Research with Real-World Impact! 32

PDP Performance Client-End Performance

© ICS at UTSA

Page 32: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Evaluation: Scalability

Scalable by eitherEnhancing PDP capability; orIncreasing PEP amount.

World-Leading Research with Real-World Impact! 34

PDP Scalability PEP Scalability

© ICS at UTSA

Page 33: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Cross-Tenant Trust in DevOps

Example: Temporary DevOps access[$]: grant Dennis@DEV access to HR.PRDTrust-α (RT):

oPRD trusts DEV so that PRD can say [$].Trust-β (MTAS):

oDEV trusts PRD so that PRD can say [$].Trust-γ (MT-RBAC):

oPRD trusts DEV so that DEV can say [$].

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

DEV PRD

HRDennis

Page 34: Multi- Tenan t  Access Control for Collaborative  Cloud Services

MT-RT

MT-RT: “P” layer model of RT with MT features No certificate is required (centralized facility) Trust (delegation) in OpenStack identity?

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

TBR

Page 35: Multi- Tenan t  Access Control for Collaborative  Cloud Services

DevOps in OpenStack

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

Page 36: Multi- Tenan t  Access Control for Collaborative  Cloud Services

OSAC

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

Page 37: Multi- Tenan t  Access Control for Collaborative  Cloud Services

AOSAC

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

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

Page 38: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Domain Trust in OpenStack

Enhanced securityLimit visibility in the specific domainPrevent malicious / dumb assignments

Better management with DtrustSpecified by domain admin available for project adminAutomatic revocation of cross-domain assignmentsFiner-grained control enabled

oOnly expose users with certain rolesoMay specify collaborating users and projects

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

Page 39: Multi- Tenan t  Access Control for Collaborative  Cloud Services

MT-ABAC

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

Trustee: {t1,t2}TrustType: γ

TID: t1

UID: u1TID: t1

UID: u1TID: t2

OID: o1TID: t1

UID: u1TID: t1

Page 40: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Conclusion

Completed WorkCTTMMTAaaSMTASMT-RBAC

On-going researchMT-RTMT-ABACDomain Trust in OpenStack

© ICS at UTSA World-Leading Research with Real-World Impact! 42

Page 41: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Institute for Cyber Security

Q & A

© ICS at UTSA World-Leading Research with Real-World Impact! 43

Page 42: Multi- Tenan t  Access Control for Collaborative  Cloud Services

Institute for Cyber Security

Thank You!

© ICS at UTSA World-Leading Research with Real-World Impact! 44