Modelcore
Biba integrity model
Also called Biba model, no read down no write up.
The dual of Bell-LaPadula for integrity, in which a subject may not read less trusted data nor write to more trusted objects.
The Biba integrity model is a mandatory model of integrity, the dual of the Bell-LaPadula model for confidentiality. Each subject and object has an integrity level that says how much it is trusted. A subject may not observe an object that is less trusted than itself ("no read down"), and it may not modify an object that is more trusted than itself ("no write up"). Together the two rules stop data from a low-integrity source, such as a file from the network, from reaching a high-integrity object, such as a system program, through any chain of reads and writes. K. J. Biba wrote the model at MITRE in 1975 to 1977. His report gives several policies, of which the strict integrity policy is the one usually called the Biba model.
The machine
Levels. A finite lattice of integrity levels, for example a total order of trust and a set of categories, as in Bell-LaPadula. Each subject has a level and each object a level .
Order used on this page. This page writes the order in the direction of allowed flow, as the other information flow pages do: means that data may flow from to , so is at least as trusted as . The most trusted level is the bottom. Biba writes the order the other way, with from less to more trusted; read each here as in the report. The join is then the most trusted level that is no more trusted than either, which Biba calls the minimum (the "low-water mark").
Access modes. There are three:
- observe: reads , a flow from to ;
- modify: writes , a flow from to ;
- invoke: calls , a flow from to .
State and steps. A state gives the levels and the current accesses. A step is a request for one access, which the policy allows or denies. In some policies a step also changes a level.
Cost. In the word RAM model, a test on a total order of trust and a bit set of categories costs for word size , and so does a join. Every rule below is one or two such tests.
What it counts
The model decides whether each requested access is allowed. A run is integrity-safe if no information moves from an object to an object unless , along the chains of observe, modify and invoke steps that the model sees. The adversary is an untrusted subject, or untrusted data, that tries to change a trusted object: directly, by writing it, or indirectly, by feeding data to a trusted subject that then writes it.
Strict integrity policy (Biba 1977). In the order of this page:
- Simple integrity property. may observe only if : no read down in trust.
- Integrity *-property. may modify only if : no write up in trust.
- Invocation property. may invoke only if .
Levels never change under the strict policy.
Low-water mark policy for subjects. may observe any object, and then its level becomes : a subject that reads untrusted data becomes untrusted. Modify and invoke follow the strict rules for the current level. Levels of subjects only move up in the order of this page, so a long session can end at the least trusted level, after which it can modify almost nothing.
Low-water mark policy for objects. may modify any object, and then the level of the object becomes . The data is not protected, but its label never claims more trust than its history earns.
Ring policy. may observe any object, and the modify and invoke rules are the strict ones. Indirect flows through a subject are not stopped: the subject itself is trusted to check what it reads.
Example. Take the levels system user web, with system the most trusted. A user process may observe system files, since system user, but under the strict policy it may not observe a web download. It may modify user files and web-level files, but not system files. An installer at level system that wants to read a web download is denied under the strict policy. Under the low-water mark policy it may read it, but its level becomes web, and from then on it can no longer modify system files.
Relation to other models
- Bell-LaPadula. The strict integrity policy is the simple security property and the *-property of Bell-LaPadula with the order of the lattice reversed and with no trusted subjects. Bell-LaPadula keeps secret data from flowing down; Biba keeps untrusted data from flowing up in trust.
- Lattice flow models. In the order of this page both models are the rule "information flows only up the lattice" of the Denning lattice model. The low-water mark policies compute the label of a subject as a join, which is the same as the label of a program variable in Denning's model. The levels form a join-semilattice under .
- Clark-Wilson. The Clark-Wilson model treats integrity as correct, well-formed change by certified programs and separation of duty, not as a level. Clark and Wilson argued that commercial integrity does not fit a lattice of trust.
- Mandatory access control. Biba is a mandatory policy: the levels are set by the system, not by owners. Operating systems use integrity levels with a no-write-up rule, close to the ring policy, to keep low-trust processes from changing system files.
- Noninterference. Integrity is the dual of confidentiality also in the sense of noninterference: the low-integrity inputs must not affect the high-integrity outputs.
Known results in the model
- Transitivity (theorem). Under the strict policy, if a chain of observe, modify and invoke steps moves information from object to object , then . Each step of the chain is a flow from one entity to the next that the rules allow only up the order, and is transitive. The same holds for the low-water mark policy for subjects, with the level of each subject taken at the time of the step.
- Duality (theorem). Map each integrity level to the same element of the dual lattice. Then a request is allowed by the strict integrity policy if and only if Bell-LaPadula with the reversed order and no trusted subjects allows the matching read or write. So the basic security theorem and its proof carry over.
- One label for both (theorem). If a system uses one label as both the confidentiality level and the integrity level, with "higher" meaning both more secret and more trusted, then reading needs the object level to be at most and at least the subject level, so reading is allowed only at equal levels, and the same holds for writing. This is why systems that need both use two separate labels, as in the integrity matrix model of Lipner (1982), treated in Bishop, Chapter 6.
- Label creep (heuristic). Under the low-water mark policies, levels only move toward the least trusted level, so in long runs most subjects or objects end there. This is the main reason that the strict and ring policies are used more in practice.
- What the model does not cover. A label says how much a source is trusted, not that the data is correct. A trusted subject that computes a wrong value writes it with full trust. Covert flows of the kind discussed for Bell-LaPadula are also outside the model.
References
- K. J. Biba, Integrity Considerations for Secure Computer Systems, MITRE MTR-3153 Rev. 1 (ESD-TR-76-372), April 1977, the access modes observe, modify and invoke; the mandatory integrity policies: the low-water mark policy, the ring policy and the strict integrity policy (p. 32)
- Matt Bishop, Computer Security: Art and Science, second edition, Addison-Wesley, 2018, Chapter 6, Integrity Policies (the Biba integrity model and Lipner's integrity matrix model)
- Ross Anderson, Security Engineering, third edition, Wiley, 2020, Chapter 9, Multilevel Security
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag CA2FF8 Edit this page History Report an error Markdown