Docsity

Decentralized Information Flow Control in Flume System, Study notes of Computer Science

Partial preview of the text

Download Decentralized Information Flow Control in Flume System and more Study notes Computer Science in PDF only on Docsity!

Informa(on Flow Control for Standard OS Abstrac(ons Topics in Systems and Program Security

Information Flow Security - Motivation

 Protecting confidential data in computing environments  Access controls are insufficient to regulate the propagation of information after it has been released for processing by a program 2

Decentralized Information Flow Control

(DIFC)

 Share information with un-trusted code  Control how un-trusted code disseminates the shared information to others  Support for declassification of information in a decentralized way  Improves the security of complex applications even in the presence of potential exploits 4

Flume system

 Provides DIFC at the granularity of processes  Implements a user-level reference monitor  Integrates DIFC controls with standard communication channels like pipe, sockets, file descriptors  Simple label system 5

Best of both worlds

 Flumes DIFC rules are inspired by Jif  Flumes labels are influenced by Asbestos  Incorporates HiStar's requirement of threads must explicitly request label changes 7

Tags and Labels

 Each tag is associated with some category of secrecy or integrity  Labels are subsets of Tags  Form a lattice under partial order of subset relation  Used for tracking 8

Decentralized Priviledge

 Any process can create new tags  Gets the privilege to declassify and/or endorse information for those tags  Two capabilities per tag  t+ : Ability to add t to the label  t- : Ability to remove t from the label  Each process p owns a set of capabilities Op 10

Capabilities

 Dual privilege  Dp = {t | t+ Op and t- Op}  A process p allocating a new tag t  Op = Op Ս {t+, t-}  Global capability set O  System enforces that O Op for all p 11

Integrity - Guarantees

Process P Process Q High Integrity data Endorsed with tag ‘v’ Process R Process R cannot add v to Ir since v+ is not in O Only certifier has v+ to endorse data Write Read (Inputs to process P) Certifier Approved 13

Secrecy and Integrity Protections

 Export protection  secrecy tag t+ is added to O  Only process with t- can 'declassify'  Read protection  Controlling t+, thereby limiting the processes  Integrity protection  integrity tag v- is added to O  Only a certifier who has v+ can 'endorse' 14

Security – Safe Messages

 Restriction of process communication to prevent data leaks  p can send a message to q only if,  Sp ⊆ Sq (less secret to more secret  allow)  Iq ⊆ Ip (more integrity to less integrity  allow)  A message from p to q is safe iff,  Sp – Dp ⊆ Sq U Dq and  Iq – Dq ⊆ Ip U Dp 16

Endpoint abstraction

 Need to apply DIFC controls to existing APIs  Glue between flume and standard communication abstractions like sockets, file descriptors  Flume assigns an endpoint to each Unix file descriptor  A process can potentially adjust the labels on an endpoint  All IPC happens between two endpoints 17

Examples – IPC communication

 Se4 = {x}, Se5 = {x}  P is prohibited from dropping y- or y+  Q cannot drop x- or x+ 19

Examples – Shell and Editor

 Endpoints e1, e2, e3, e4 has secrecy labels {b}  Immutable endpoint e5 has secrecy label Se5 = {b} 20