Theoremcore
Basic security theorem
Also called Bell-LaPadula 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.
The basic security theorem of the Bell-LaPadula model says that a system is secure if and only if it starts in a secure state and each transition that it makes produces a state with the simple security property, the *-property and the discretionary security property. Its value is that it is local: to show that a system keeps a property in every reachable state, it is enough to check each transition by itself, and in practice each rule by itself. Bell and LaPadula proved it in their reports of 1973 to 1976. McLean showed in 1985 and 1987 that the same theorem holds for any property of states, so the theorem is sound but it does not by itself show that the property means security.
Statement
The notation is that of the Bell-LaPadula model. A state is with current access set , matrix , level functions and hierarchy . The set of subjects bound by the *-property is fixed. An action is a tuple : request in state gives decision and next state . The system has a set of allowed actions and an initial state . A run is a finite sequence of states such that for each some ; this action occurs in the run. The system is secure if every state of every run, included, has the three properties.
For a triple with access attribute and a state , call the triple
- ss-good in if implies ;
- *-good in if , or , or and , or and , or and ;
- ds-good in if .
For each of the three kinds, an action satisfies the conditions of that kind if
- every triple in is good in , and
- every triple in that is not good in is not in .
Theorem (basic security theorem; Bell and LaPadula 1976, Corollary A1). is secure if and only if is secure and every action that occurs in a run of satisfies the ss-conditions, the *-conditions and the ds-conditions.
This is Corollary A1 of the 1976 report, with the initial state counted as part of each run. The ss-, *- and ds-conditions are those of Theorems A1, A2 and A3 of the report. The report states the conditions for every action of . The "if" direction holds in that form as well. The "only if" direction needs them only for the actions that occur, and it fails for an action of that starts in a state no run reaches.
In plain words
A secure system is one that never enters a bad state. Checking every state that the system could ever reach is hard, because there can be very many of them. The theorem says that it is enough to check two smaller things. First, the system must start in a good state. Second, each single step must not produce a bad access: any new access that a step adds must obey the rules, and any old access that the rules no longer allow after the step must be removed by that step. If both checks pass, then every state that the system reaches is good, and if one of them fails, some reachable state is bad. A designer can therefore check each operation of the system alone, one at a time, and need not think about long chains of operations.
Proof
Lemma. For each of the three kinds, an action satisfies the conditions of that kind if and only if every triple of is good in .
Proof of the lemma. Split into two disjoint parts: . Suppose the conditions hold. A triple in is good by condition 1. A triple in is in and in , so by condition 2 it cannot be bad, and it is good. So every triple of is good. Conversely, suppose every triple of is good. Then every triple of is good, which is condition 1. A triple of that is not good in cannot be in , because every triple of is good, which is condition 2.
Each of the three properties of a state is a statement about each triple of the access set separately: a state has the ss-property if and only if every triple of is ss-good in , and the same holds for the *-property and the ds-property. So by the lemma, an action satisfies all three kinds of conditions if and only if its next state is secure. Call this fact (L).
If. Assume that is secure and that every action that occurs in a run satisfies the three kinds of conditions. Take any run and any with . If , then is secure by assumption. If , the action occurs in the run, so it satisfies the conditions, and by (L) its next state is secure. So every state of every run is secure, and is secure.
Only if. Assume that is secure. The sequence alone is a run, so is secure. Let be an action that occurs in a run , at step , so . Since is secure, is secure, and by (L) the action satisfies the three kinds of conditions.
Example. Let a subject hold with . An action raises the level of to and leaves . The triple is in , it is not ss-good in if is below top secret, and it is still in , so condition 2 fails and the theorem says that the action breaks security. A correct rule that changes a level must also remove the read access, in the same step.
Consequences
- Rule by rule checking (Bell and LaPadula 1976, Theorem A4 and its companions; theorem). Let the system be built from rules , each a function from a request and a state to a decision and a next state. If each rule maps every secure state to a secure state, then is secure for every secure initial state. The proof is the same induction. This is how Section III of the report checks its Multics rules: each rule, such as get-read or change-subject-current-security-level, is shown to keep the three properties alone.
- Induction for invariants (theorem). The theorem is an instance of the induction rule for invariants of a transition system: a property that holds initially and is preserved by each step holds in every reachable state. Security in this sense is a safety property: a bad state is a finite witness of failure.
- Enforcement. A reference monitor that checks the conditions before it commits each transition keeps the system secure. The adversary is any program that runs as an untrusted subject and issues any requests; it cannot change the rules or bypass the monitor.
Tightness
- The initial state is needed. Take a system whose only rule releases all accesses, so . Every action satisfies the conditions, since is empty. If holds a read-up access, the run shows that the system is not secure. So the condition on cannot be dropped.
- The new state must be used. The conditions test the triples against and , the levels and matrix after the step. A test against and would accept the action of the example above, which leaves a read access in place after the object is raised to a higher level.
- The theorem holds for any property (McLean 1985; theorem). The proof uses only that each property is a statement about each triple separately, and the same induction works for any property of states. McLean's System Z has one rule: on any request, it lowers every subject and every object to the lowest level and then grants the access. Every state is secure in the Bell-LaPadula sense, so System Z satisfies the theorem, yet a subject can read all data that was high before. The theorem is correct, but the definition of a secure state does not capture what users mean by security when levels can change. The usual fixes are the tranquility principles, which restrict changes of level, and definitions on the behavior of the whole system such as noninterference.
- Covert channels. The theorem is about the access set only. A system whose transitions keep the three properties can still leak through a covert channel, for example through which requests get the answer "no".
History
Bell and LaPadula built the model at MITRE in a series of reports from 1973 on, for the US Air Force, with the aim of a secure kernel for Multics. The Unified Exposition and Multics Interpretation of 1976 gives the final form: Theorems A1, A2 and A3 for the three properties separately, and Corollary A1 for all three together, which is the basic security theorem. The report calls the result the "inductive nature" of security. In 1985 McLean pointed out that the theorem holds for any property of states, and in 1987 he gave System Z. Bell answered in 1988 and defended the model as a tool to be used with a careful choice of rules. The exchange is a standard lesson on the difference between a correct proof and a correct definition, and it is one reason that later work moved to noninterference.
References
- D. Elliott Bell and Leonard J. LaPadula, Secure Computer System: Unified Exposition and Multics Interpretation, MITRE MTR-2997 Rev. 1 (ESD-TR-75-306), March 1976, Section II, p. 20 (the basic security theorem and the inductive nature of security); Appendix, pp. 86 to 94 (definitions, Theorems A1, A2 and A3, Corollary A1 and Theorem A4)
- John McLean, A comment on the 'basic security theorem' of Bell and LaPadula, Information Processing Letters 20(2), 1985, pages 67 to 70, the theorem holds for any property of states, and System Z
- John McLean, Reasoning about security models, Proceedings of the 1987 IEEE Symposium on Security and Privacy, System Z and the limits of a definition of security based on states
- Matt Bishop, Computer Security: Art and Science, second edition, Addison-Wesley, 2018, Chapter 5, Confidentiality Policies (the Bell-LaPadula model, the basic security theorem and the controversy over it)
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 MPW94V Edit this page History Report an error Markdown