Non-interference (security)

From HandWiki
Revision as of 09:15, 24 October 2022 by LinuxGuru (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Noninterference is a strict multilevel security policy model, first described by Goguen and Meseguer in 1982, and amplified further in 1984.

Introduction

In simple terms, a computer is modeled as a machine with inputs and outputs. Inputs and outputs are classified as either low (low sensitivity, not highly classified) or high (sensitive, not to be viewed by uncleared individuals). A computer has the noninterference property if and only if any sequence of low inputs will produce the same low outputs, regardless of what the high level inputs are.

That is, if a low (uncleared) user is working on the machine, it will respond in exactly the same manner (on the low outputs) whether or not a high (cleared) user is working with sensitive data. The low user will not be able to acquire any information about the activities (if any) of the high user.

Formal expression

Let [math]\displaystyle{ M }[/math] be a memory configuration, and let [math]\displaystyle{ M_\text{L} }[/math] and [math]\displaystyle{ M_H }[/math] be the projection of the memory [math]\displaystyle{ M }[/math] to the low and high parts, respectively. Let [math]\displaystyle{ {=_\text{L}} }[/math] be the function that compares the low parts of the memory configurations, i.e., [math]\displaystyle{ M\ {=_\text{L}}\ M^\prime }[/math] iff [math]\displaystyle{ M_\text{L} = M_\text{L}^\prime }[/math]. Let [math]\displaystyle{ (P,M) \rightarrow^* M^\prime }[/math] be the execution of the program [math]\displaystyle{ P }[/math] starting with memory configuration [math]\displaystyle{ M }[/math] and terminating with the memory configuration [math]\displaystyle{ M^\prime }[/math].

The definition of noninterference for a deterministic program [math]\displaystyle{ P }[/math] is the following:[1]

[math]\displaystyle{ \begin{array}{rrl}\forall M_1, M_2 :\; & M_1\ {=_\text{L}}\ M_2 & \land\\ & (P,M_1) \rightarrow^* M_1^\prime & \land\\ &(P,M_2) \rightarrow^* M_2^\prime &\Rightarrow\\ &M_1^\prime\ {=_\text{L}}\ M_2^\prime\end{array} }[/math]

Limitations

Strictness

This is a very strict policy, in that a computer system with covert channels may comply with, say, the Bell–LaPadula model, but will not comply with noninterference. The reverse could be true (under reasonable conditions, being that the system should have labelled files, etc.) except for the "No classified information at startup" exceptions noted below. However, noninterference has been shown to be stronger than nondeducibility.

This strictness comes with a price. It is very difficult to make a computer system with this property. There may be only one or two commercially available products that have been verified to comply with this policy, and these would essentially be as simple as switches and one-way information filters (although these could be arranged to provide useful behaviour).

No classified information at startup

If the computer has (at time = 0) any high (i.e., classified) information within it, or low users create high information subsequent to time=0 (so-called "write-up", which is allowed by many computer security policies), then the computer can legally leak all that high information to the low user, and can still be said to comply with the noninterference policy. The low user will not be able to learn anything about high user activities, but can learn about any high information that was created through means other than the actions of high users. (von Oheimb 2004)

Computer systems that comply with the Bell–LaPadula Model do not suffer from this problem since they explicitly forbid "read-up". Consequently, a computer system that complies with noninterference will not necessarily comply with the Bell–LaPadula Model. Thus, the Bell–LaPadula model and the noninterference model are incomparable: the Bell–LaPadula Model is stricter regarding read-up, and the noninterference model is stricter with respect to covert channels.

No summarisation

Some legitimate multilevel security activities treat individual data records (e.g., personal details) as sensitive, but allow statistical functions of the data (e.g., the mean, the total number) to be released more widely. This cannot be achieved with a noninterference machine.

Generalizations

The noninterference property requires that the system should not reveal any information about the high inputs from the observable output for various low inputs. However, one can argue that achieving noninterference is oftentimes not possible for a large class of practical systems, and moreover, it may not be desirable: programs need to reveal information that depends on the secret inputs, e.g. the output must be different when a user enters a correct credential vs. when she enters incorrect credentials. Shannon entropy, guessing entropy, and min-entropy are prevalent notions of quantitative information leakage that generalize noninterference.[2]

References

  1. Smith, Geoffrey (2007). "Principles of Secure Information Flow Analysis". Advances in Information Security. 27. Springer US. pp. 291–307.
  2. Boris Köpf and David Basin. 2007. An Information-theoretic Model for Adaptive Side-channel Attacks. In Proceedings of the 14th ACM Conference on Computer and Communications Security (CCS '07). ACM, New York, NY, USA, 286–296.

Further reading

  • McLean, John (1994). "Security Models". Encyclopedia of Software Engineering. 2. New York: John Wiley & Sons, Inc. pp. 1136–1145. 
  • von Oheimb, David (2004). "Information Flow Control Revisited: Noninfluence = Noninterference + Nonleakage". Sophia Antipolis, France: LNCS, Springer-Verlag. pp. 225–243.