+ All Categories
Home > Documents > RBAC-Capability Project

RBAC-Capability Project

Date post: 06-Jan-2016
Category:
Upload: saki
View: 34 times
Download: 0 times
Share this document with a friend
Description:
RBAC-Capability Project. Design Session I Zutao Zhu 10/23/2009 Derived from Karthick Jayaraman ’s ppt. Agenda. Self - status check Summary of requirements Design questions Privileged user operations Representing role and capabilities Session representation Delegation - PowerPoint PPT Presentation
16
RBAC-Capability RBAC-Capability Project Project Design Session I Zutao Zhu 10/23/2009 Derived from Karthick Jayaraman’s ppt
Transcript
Page 1: RBAC-Capability Project

RBAC-Capability ProjectRBAC-Capability Project

Design Session IZutao Zhu10/23/2009

Derived from Karthick Jayaraman’s ppt

Page 2: RBAC-Capability Project

AgendaAgendaSelf - status checkSummary of requirementsDesign questions

◦Privileged user operations◦Representing role and capabilities◦Session representation◦Delegation◦Separation of duty◦Setuid

Page 3: RBAC-Capability Project

SELF STATUS CHECKSELF STATUS CHECK

Page 4: RBAC-Capability Project

Self Status CheckSelf Status CheckExpectations

◦Understood requirements◦Comfortable with making changes to

Minix3 Compiling the kernel Adding a new system call Familiar with important portions of the

source code.

Exceeding expectations◦Finished preliminary design and

started coding.

Page 5: RBAC-Capability Project

SUMMARY OF SUMMARY OF REQUIREMENTSREQUIREMENTS

Page 6: RBAC-Capability Project

RequirementsRequirementsRBAC-Capability should co-exist ACL.UA : User – role mappingPA : Role – capability mappingA privileged user controls (UA) and (PA)

assignment..A login session is a RBAC session. All

processes in an login session belong to the same RBAC session.

Page 7: RBAC-Capability Project

Requirements - continuedRequirements - continuedThe CAP_ROLE_DELEGATE role should entitle a

user to delegate his/her roles to others temporarily, and also revoke them at a later time.

Enable, disable, and drop roles.Separation of duty:

◦ SSD and DSD rules. Supporting SETUID

◦ Traditional setuid programs should work◦ Should also support an equivalent of setuid in the

RBAC capability model.

Page 8: RBAC-Capability Project

DESIGN QUESTIONSDESIGN QUESTIONS

Page 9: RBAC-Capability Project

Privileged User OperationsPrivileged User OperationsWho is the Privileged user ?How to maintain UA and PA

assignment?◦Where to store ?◦Who will update ?

Privileged user operations◦Role_Adduser, Role_Removeuser,

Role_Addpermission, Role_Removepermission, Add_Role_to_Program.

Page 10: RBAC-Capability Project

Representing Roles and Representing Roles and CapabilitiesCapabilitiesObserve file-descriptor managementHow to represent a role ?

◦ What information should each role contain ?How to represent a capability ?

◦ What information should each capability contain ?

Should a process reference role / capability ?

Information depends on role-operations◦ ActivateRole, DeactivateRole, DropRole,

DelegateRole, RevokeRole

Page 11: RBAC-Capability Project

Session RepresentationSession Representation• RBAC Session : Each login session.• A subset of user-roles is active for each

session.• A user may have multiple sessions.• Each session may have different roles

active.• All processes in a login session

should have the same set of roles. • How to represent a session ?• What does the process carry ?

Page 12: RBAC-Capability Project

DelegationDelegationCAP_ROLE_DELEGATE Delegated roles are available to

users immediately.User should explicitly activate

delegated roles.The delegated roles should be

available to all user-sessions.

Page 13: RBAC-Capability Project

Separation of DutySeparation of DutyStatic Separation of Duty (SSD)Dynamic separation of Duty

(DSD)When to check each?How to represent the rules?Who can update the rules?

Page 14: RBAC-Capability Project

Setuid MechanismSetuid MechanismSetuid programsTraditional setuid programs

should work.How could a RBAC-aware support

a setuid equivalent mechanism ?What is the meaning of these

system calls in the RBAC model:◦Setuid()◦Seteuid()

Page 15: RBAC-Capability Project

Next milestoneNext milestoneSetup all kernel data-structures

required for supporting RBAC-capability.

Implement all role operations.◦Should have a facility to printout all

role / capabilities for the process.◦Should be able to show the

correctness of all role operations.

Page 16: RBAC-Capability Project

Thank youThank you


Recommended