Access control and information flow
Problems
- Confinement problem
Run a borrowed program so that it cannot pass the data it reads to anyone but its caller, through storage, timing or any other channel.
core - Role mining problem
Given a user-permission matrix, find the fewest roles whose Boolean product with a user-role matrix gives it exactly. Its decision version is NP-complete.
advanced
Algorithms
- Volpano-Smith-Irvine type system
A type system that labels variables with security levels and the program counter with a level, and whose well-typed programs are termination-insensitive noninterferent.
1 languagescore - No-sensitive-upgrade check
A dynamic information flow monitor that stops a run when it assigns to a public variable under a secret branch, which gives termination-insensitive noninterference.
1 languagesadvanced - Shared resource matrix method
Finds potential covert channels by tabulating which operations reference and modify each shared attribute, closing the table under indirect references, and keeping the rows with both.
1 languagesadvanced - Faceted execution
Runs one program on values with a secret and a public facet, so that each observer sees the result computed from what it may know. This gives termination-insensitive noninterference.
1 languagesresearch - Secure multi-execution
Runs a program once per security level and gives each run only the inputs it may see. This gives termination-sensitive noninterference and keeps each ending run of a TSNI program.
1 languagesresearch
Data structures
- Access control list
Stores the access matrix by column, so that each object keeps the list of subjects that may use it and the rights of each.
1 languagesintro - Capability list
Stores the access matrix by row, so that each subject holds unforgeable tokens that name an object and the rights on it.
1 languagesintro
Techniques
- Inline reference monitor
Enforces a security automaton by rewriting the program so that the checks run inside it before each relevant instruction.
advanced
Concepts
- Covert channel
A path that carries information between processes through a resource not meant for communication, such as a lock, a file name or a delay.
intro - Principle of least privilege
The design rule that each program and user gets only the rights it needs for its task, so that a fault or a compromise does the least harm.
intro - Reference monitor
A component that mediates every access of a subject to an object, cannot be tampered with, and is small enough to be verified.
intro - Separation of duty
The rule that a critical task needs more than one person, so that no single user can complete it alone; RBAC states it on role assignment or per session.
core - Declassification
A controlled release of some secret information, such as a password check result, stated by what, who, where and when it may be released.
advanced - Quantitative information flow
Measures how much a program leaks about its secret in bits, as the drop in an attacker's uncertainty after seeing the output.
advanced - Trust management
Authorization by checking that signed credentials and local policy together prove that a key may perform an action, without a central user list.
advanced
Definitions
- Implicit flow
Flow of information from a secret condition to a variable assigned in a branch, even when the secret value is never copied.
core - Hyperproperty
A property of sets of execution traces rather than single traces, which can state noninterference and other policies that relate runs.
advanced - Min-entropy leakage
The leakage of a channel as the log of the ratio of an attacker's chance to guess the secret in one try after and before seeing the output.
1 languagesadvanced - Noninterference
A program is noninterfering if its public outputs do not depend on its secret inputs, a property checked by type systems or analysis.
advanced - Termination-insensitive noninterference
Noninterference that only compares runs that both terminate, so a program may leak secrets through whether it halts.
advanced - g-leakage
Generalizes min-entropy leakage with a gain function that scores each guess, to model attackers who profit from partial or several guesses.
1 languagesresearch
Theorems
- Basic security theorem
A Bell-LaPadula system is secure if and only if its initial state is secure and every transition keeps the simple security, star and discretionary properties.
core - Undecidability of safety in the HRU model
Whether some command sequence can enter a given right into a cell of the access matrix that lacked it is undecidable for HRU systems, and NP-complete for mono-operational ones.
core - Execution monitors enforce only safety properties
Every policy that an execution monitor can enforce is a safety property. The converse fails, and policies such as availability or noninterference need other mechanisms.
advanced - Min-capacity bound on leakage
The min-entropy leakage of a deterministic program is at most the log of its number of distinct outputs, with equality for a uniform prior.
advanced
Models
- Access control matrix
A model of protection state as a matrix whose rows are subjects, whose columns are objects, and whose cells list the rights a subject holds on an object.
intro - Discretionary access control
An access control model in which a subject that holds a right, usually the owner of the object, decides who else may access the object and may pass rights on.
intro - Mandatory access control
An access control model in which a system-wide policy on labels of subjects and objects decides access, and users cannot override it.
intro - Role-based access control
Assigns permissions to roles and roles to users, with role hierarchies and constraints, so that access follows job functions.
1 languagesintro - Attribute-based access control
Decides access by evaluating rules over attributes of the subject, the object, the action and the environment.
core - Bell-LaPadula model
A confidentiality model with security levels in which a subject may not read an object above its level nor write to an object below it.
core - Biba integrity model
The dual of Bell-LaPadula for integrity, in which a subject may not read less trusted data nor write to more trusted objects.
core - Chinese Wall model
A policy for conflicts of interest in which a subject who has read data of one company may not then read data of a competitor.
core - Clark-Wilson model
A commercial integrity model in which constrained data items change only through certified transformation procedures run by authorized users.
core - Harrison-Ruzzo-Ullman model
Models a protection system as an access matrix changed by commands made of conditions on rights and primitive operations such as enter, delete, create and destroy.
core - Lattice model of information flow
Puts security classes in a lattice and allows information to flow from one class to another only when the first is below the second.
core - Authorization logic
A modal logic of principals, says and speaks for, used to reason about who authorized a request in a distributed system.
advanced - Decentralized label model
Labels data with policies of several owners, each naming its allowed readers, so that each owner can declassify only its own policy.
advanced - Relationship-based access control
Decides access by the paths of relations between the requester and the resource or its owner in a social or organizational graph.
advanced - Security automaton
An automaton that watches the actions of a program and halts it on the first action that would break the policy.
1 languagesadvanced - Take-Grant protection model
A graph model of protection in which subjects take and grant rights along edges, built so that the safety question is decidable in linear time.
advanced