An Information Flow Security Property for CCS (Extended Abstract) Riccardo Focardi Roberto Gorrieri Technical Report UBLCS-93-20 October 1993 Laboratory for Computer Science University of Bologna Piazza di Porta S. Donato, 540127 Bologna (Italy) The University of Bologna Laboratory for Computer Science Research Technical Reports are availablevia anonymous FTP from the area ftp.cs.unibo.it:/pub/TR/UBLCS in compressed PostScriptformat. Abstracts are available from the same host in the directory /pub/TR/UBLCS/ABSTRACTS inplain text format. All local authors can be reached via e-mail at the address last-name @cs.unibo.it. UBLCS Technical Report Series 93-1 Consistent Global States of Distributed Systems: Fundamental Concepts and Mechanism, by "O.Babao *glu and K. Marzullo, January 1993. 93-2 Understanding Non-Blocking Atomic Commitment, by "O. Babao *glu and S. Toueg, January 1993.93-3 Anchors and Paths in a Hypertext Publishing System, by C. Maioli and F. Vitali, February 1993. 93-4 A Formalization of Priority Inversion, by "O. Babao *glu, K. Marzullo and F. Schneider, March 1993.93-5 Some Modifications to the Dexter Model for the Formal Description of Hypertexts, by S. Lamberti, C. Maioli and F. Vitali, April 1993.93-6 Versioning Issues in a Collaborative Distributed Hypertext System, by C. Maioli, S. Sola and F. Vitali, April 1993.93-7 Distributed Programming with Logic Tuple Spaces, by P. Ciancarini, April 1993. 93-8 Coordinating Rule-Based Software Processes with ESP, by P. Ciancarini, April 1993.93-9 What is Logic Programming good for in Software Engineering?, by P. Ciancarini and G. Levi, April 1993.93-10 Scheduling Real Time Tasks: A Performance Study, by F. Panzieri, L. Donatiello and L. Poretti, May 1993.93-11 Specification and Detection of Behavioral Patterns in Distributed Computations, by "O. Babao *glu and M. Raynal, May 1993.93-12 Interaction Systems II: The Practice of Optimal Reductions, by A. Asperti and C. Laneve, May 1993. 93-13 Reliability Analysis of Tree-Based Structures and its Application to Fault-Tolerant VLSI Systems, byMarco Roccetti, June 1993. 93-14 Guard Compilation in Logic Shared Dataspace Languages, by M. Garpari, June 1993.93-15 Data Algorithm: A Numerical Method to Extract Shape Information from Gray Scale Images, by R. Davoli and F. Tamburini, June 1993.93-16 Towards Performance Evaluation in Process Algebras, by R. Gorrieri and M. Roccetti, July 1993. 93-17 Split and ST Bisimulation Semantics, by R. Gorrieri and C. Laneve, July 1993.93-18 Multilanguage Interoperability, by G. Attardi and M. Gaspari, July 1993. 93-19 HERMES: an Expert System for the Prognosis of Hepatic Diseases, by I. Bonf`a, C. Maioli, F. Sarti,G.L. Milandri and P.R. Dal Monte, September 1993. 93-20 An Information Flow Security Property for CCS, by R. Focardi and R. Gorrieri, October 1993.93-21 A Classification of Security Properties, by R. Focardi and R. Gorrieri, October 1993. 93-22 Real Time Systems: A Tutorial, by F. Panzieri and R. Davoli, October 1993.93-23 A Scalable Architecture for Reliable Distributed Multimedia Applications, by F. Panzieri and M. Roccetti, October 1993.93-24 Wide-Area Distribution Issues in Hypertext Systems, by C. Maioli, S. Sola and F. Vitali, October 1993. An Information Flow Security Property for CCS1 (Extended Abstract) Riccardo Focardi2 Roberto Gorrieri2 Technical Report UBLCS-93-20 October 1993 Abstract Multilevel security has been introduced to limit the activity of Trojan Horses - malicious programswhich try to broadcast secret information. Every information is classified with a security level and the multilevel secure system must guarantee that information cannot flow from a level to a lower one.So a Trojan Horse, which operates at a certain level, has no way to downgrade information and theeffect of its execution is restricted into such a level. In this paper, a formal property of security, called Non Deducibility on Compositions (NDC),is proposed and defined on CCS agents. For the sake of simplicity, we assume to have two security levels only: high and low. In this context, a Trojan Horse is a high level process which tries to passinformation to the low level. NDC is based on the following intuition: a system is NDC secure if, when connected to all possible high level processes, the computations of the low level users are notaffected; hence, no information flow from the high level to the low one. An alternative formulation of NDC, exploiting local information only, is proposed, which has the merits of being algorithmicallytestable for finite-state systems. Moreover, it is useful for modular verification of secure systems as it is a composable w.r.t. the CCS operators of parallel composition and restriction.Finally, we show that NDC, based on trace semantics, may be insufficient in some cases. Hence,NDC is formulated also assuming the finer (weak) bisimulation as basic underlying semantics. This paper appeared in Proc. Second North-American Process Algebra Workshop, Cor-nell University, Ithaca (NY), August 1993. 1. This work has been partially supported by Esprit Basic Research project BROADCAST n. 6360 and by ItalianCNR, grant n. 92.00069.CT12.115.25585 2. Universit`a di Bologna, Dipartimento di Matematica, Piazza di Porta San Donato 5, I - 40127 Bologna, Italy 1 1 Introduction 1 Introduction Security is a crucial property of system behaviour. It requires that there is a strict control over the information flow among the components of a system. The main problem is to limit,and possibly avoid, the damages produced by malicious programs, usually called Trojan Horses, which try to broadcast secret information. There are several approaches to security,most of which based on some access control policy. In the Discretionary Access Control security (DAC for short), every subject (i.e., an activeagent such as a user), decides the access properties of its objects (i.e., passive agents such as files). An example of DAC is the file management in Unix where a user can decide the accesspossibilities of her/his files. So, if a user executes a Trojan Horse program, this can modify the security properties of user's objects (usually, a program inherits executor's capabilities).A solution to this problem is the security discipline called Mandatory Access Control (MAC for short), where access rules are imposed by the system. An example of MAC is MultilevelSecurity [1]: every object is bound to a security level, and so every subject is; information canflow from a certain object to a certain subject only if the level of the subject is greater than the level of the object. So a Trojan Horse, which operates at a certain level, has no way todowngrade information and its action is restricted inside such a level. There are two access rules (see figure 1):No Read Up : A subject cannot read data from an upper level object. No Write Down : A subject cannot write data to a lower level object.However these access rules do not guarantee an absence of information flow from upper levels to lower ones. It could be possible to indirectly transmit information using somesystem side effect. For example, if two levels - "high" and "low" - share some finite storage resource (e.g., a hard disk), it is possible to transmit data from level "high" to level "low" by using the "resource full" error message. It is sufficient, for a high level transmitter, to alter-natively fill or empty the resource in order to transmit a "1" or a "0" data. Simultaneously, the low level receiver tries to write on the resource, decoding every error message with a "1"and every succesfull write with a "0". It is clear that such indirect ways of transmission, called covert channels, do not violatethe two multilevel access rules. Therefore, to guarantee a correct information flow control, it is necessary to integrate a MAC discipline with a covert channel analysis [9, 16, 10, 14].An alternative, more general approach to security requires to control directly the whole flow of information, rather than the accesses of subjects to objects. To make this, it is necessaryto choose a formal model of system behaviour and to define what the flow of information is in such a model. By imposing some information flow rule, we can control any kind of transmission, be it direct or indirect.Our proposal is based on labelled transition systems [8] (lts for short), a very general and simple model, used to give semantics to many concurrent languages. In particular, (a variantof) Milner's Calculus of Communicating Systems (CCS, for short) [13] is used in this paper to specify the behaviour of concurrent systems.For the sake of simplicity, we assume to have two security levels3 only: high and low. Each action will be bound to a security level; hence, it will be sufficient to partition the CCSaction set in the sets ActL of low level actions and ActH of high level ones. Agents built with high (low) level actions only are often called high (low) level agents. In this context, aninformation flow from the high level to the low one takes place when the effects of high level 3. The generalization of the approach to n levels can be easily done. UBLCS-93-20 2 1 Introduction oe Write Read oe Write Read "!# "!# "!#"!# \Gamma \Gamma \Gamma \Gamma \Gamma \Gamma \Gamma \Gamma \Gamma \Gamma \Gamma ` @@ @@ @@ @@ @@ @I Level n+k Level n Write-upRead-down S1 O1 S2 O2 Figure 1. Legal accesses in Multilevel Security. Arrows represent information flow: a readoperation is an information flow from an object to a subject, whilst a write from a subject to an object. Information can flow towards higher levels only. actions are visible by low level users. So, a Trojan Horse is a high level agent which tries tomodify the low level executions. In the literature, there are already many different definitions of this kind, based on severalsystem models [4, 15, 11, 7, 17, 12]. In [3] we have reformulated them under the lts model, then compared, classified and "evaluated " according to their usefulness. This study led tothe discovery of the general security notion presented in this abstract: Non Deducibility on Compositions (NDC, for short).NDC may be seen as a transposition on lts's of the so-called Non Deducibility on Strategies (NDS) security property, which was originally defined in [17] over a very restrictive model. NDC assumes two security levels and is based on the following intuition: a system isNDC secure if, when connected to all possible high level agents (or Trojan Horses), the computations of the low level users are not affected. So, such a property guarantees that noinformation flow from the high level to the low one can take place. We also show that NDC is closed with respect to system composition. This property is very useful in verification andpermits to write a new system as a composition of subsystems satisfying NDC. This is the subject of Section 3.An example of application of the theory is reported in Section 4. It presents an acess monitor, which is proved to be NDC secure.It is then shown - Section 5 - that a system which satisfies the NDC property may show up a non secure behaviour. This is due to the fact that NDC has been defined exploiting a rather weak notion of system behaviour, namely the so-called Hoare's trace semantics, whichequates systems when they have the same set of execution traces. We extend NDC to the finer equivalence of weak bisimulation [13], hence obtaining a much finer security property which,in our opinion, seems to be a reasonable candidate to express formally security constraints in the area of process algebraic languages. UBLCS-93-20 3 2 Preliminary Definitions 2 Preliminary Definitions We assume the reader familiar with the CCS language and the lts model, shortly presented in the following (see [13] for a comprehensive treatment). Definition 2.1 A labelled transition system (lts) is a triple (S; T; !) such that: ffl S is a set of states ffl T is a set of labels (actions) ffl ! ` S \Theta T \Theta S is a set of labelled transitions (S1; ff; S2) 2 ! (or equivalently S1 ff! S2) means that the system can move from the state S1to the state S2 through the action ff. CCS syntax is based on the following elements: ffl A set I = fa; b; : : :g of input actions, a set O = f_a; _b; : : :g of output actions, and a set L = I [ O of visible actions. ffl A function _\Delta : L ! L such that 8a 2 A, _a 2 _A and 8_a 2 _A, __a = a; a 2 A. ffl A set Act = L [ fo/ g (o/ is the internal action) of actions or signals. ffl A set K of constants The syntax of CCS agents is defined as follows: E ::= 0 j _:E j E + E j EjE j E n L j E[f ] j Z where _ 2 Act, L ` I, Z 2 K and f : Act ! Act is such that f ( _ff) = f (ff); f (o/ ) = o/ . Moreover, for every constant Z 2 K there must be the corresponding definition: Z def= E,where Z may occur in E olny if guarded, i.e., only if it occurs in a prefix context. Intuitively, 0is the empty process, which cannot do any action; _:E can perform action _ and then behaves like E; E1 + E2 is a process which can nondeterministically choose to behave like E1 or E2; E1jE2 is the parallel composition of E1 and E2, where the executions of the two systems are interleaved, possibly synchronised on complementary input/output actions; E n L canexecute all the actions E is able to do, provided that they do not belong to L [ _L; finally, if E can execute action _, then E[f ] performs f (_). In the following, when we say "a certainsystem E" we mean the CCS agent E. Let E be the set of all CCS agents, ranged over by E, F (possibly indexed). Let L(E)denote the sort of process E, i.e., the set of actions executable by E. Then, the operational semantics of CCS is the lts (E; Act; !) where the transition relation ! can be found in [13].A widely used system composition operator requires that two systems are composed in parallel by forcing the synchronisation on their common (complementary) actions. This can be implemented in CCS by means of parallel composition (which permits synchronizations)and restriction (which forbids asynchronous moves, hence forcing synchronizations): Definition 2.2 The system composition of two agents E and F is (EjF ) n (L(E) " L(F )). Now we firstly introduce execution traces and trace equivalence on CCS process terms; then, we report the definition of the standard notion of equivalence on CCS agents: obser-vational equivalence, based on weak bisimulation. Definition 2.3 Let t = ff1 : : : ffn 2 Act\Lambda be a sequence of actions; then E t=) E0 if and only if E( o/!)\Lambda ff1! ( o/!)\Lambda : : : ( o/!)\Lambda ff n! ( o/!)\Lambda E0. For all E 2 E the set TE ` (I [ O)\Lambda of traces associated UBLCS-93-20 4 2 Preliminary Definitions with E is defined as follows: given a sequence fl = ff1: : : : :ffn, fl 2 (I [ O)\Lambda , fl 2 TE () 9E1; : : : ; En 2 E such that E ff1=) E1 ff2=) \Delta \Delta \Delta ff n=) En Two systems are trace equivalent if they have the same set of traces: E ssT F , TE = TF . Definition 2.4 If t 2 Act\Lambda , then ^t 2 (I [ O)\Lambda is the sequence obtained by deleting all occurences of o/ from t. 4 A binary relation B ` E \Theta E over agents is a weak bisimulation if (P; Q) 2 B implies,for all ff 2 Act, (i) If P ff! P 0 then, 9Q0 : Q ^ff=) Q0 ^ (P 0; Q0) 2 B (ii) If Q ff! Q0 then, 9P 0 : P ^ff=) P 0 ^ (P 0; Q0) 2 BWe say that P is observation equivalent to Q, denoted P ssB Q, if there exists a weak bisimulation B such that (P; Q) 2 B. A few auxiliary definitions will be useful in the following. Definition 2.5 Let A be a set. Let fl; fl0 2 A\Lambda be two sequences of elements in A. fl0 is a subsequenceof fl (fl0 OE fl) if and only if fl and fl0 are in the form: fl = ff1 : : : ffn; fl0 = ffk(1) : : : ffk(m) with m ^ n where k : [1; m] ! [1; n], is an increasing monotone function. Notation: With abuse of notation ffi 2 fl stands for ffi is an element of the sequence fl. Let fl; fl0 be two sequences such that fl0 OE fl, then kfl0;fl denotes the subsequence function in definition2.5. A set C of observable actions is complete iff for every input i 2 I in C, the corresponding output _i 2 O is still in C. The set of all the complete sets of actions is denoted with U def= fU ` (I [ O) j U is completeg:The following functions will be used to define NDC. They are connected to the idea of security levels and assume that the set of actions Act has been partitioned in two completesets ActH ; ActL 2 U which represent the sets of high and low level actions, respectively. The first function, low, extracts from a sequence of actions the subsequence composedof low level actions only. The second function, lowviews, returns the set of low traces of a certain system. Definition 2.6 Let ActH ; ActL 2 U . The functions low and lowviews are defined as follows: ffl low : Act\Lambda ! Act\Lambda L; for every fl 2 Act\Lambda , fl0 2 Act\Lambda L; fl0 = low(fl) is such that: fl0 OE fl ^ 8ffi 2 fl; ffi 2 ActL ) 9j : i = kfl0;fl(j) ffl lowviews : E ! P(Act\Lambda L). For every agent E 2 E: lowviews(E) def= ffl 2 Act\Lambda L j 9fl0 2 TE; fl = low(fl0)g 4. In particular, ^o/ is the empty sequence ffl. By the definition above, E ffl=) E for any agent E. UBLCS-93-20 5 3 Non Deducibility on Compositions 3 Non Deducibility on Compositions Non Deducilibity on Compositions (NDC) may be seen as a transposition on the lts model ofNon Deducibility on Strategies (NDS) [17]. The basic idea of NDS is the following: A TrojanHorse is viewed as a high level input "strategy" [17] (or high level process) \Pi which chooses a new input for the system depending on the sequence of previous input/output actions.Therefore, a system is NDS if, for a certain strategy \Pi , all the low level views are still possible, i.e, if \Pi does not restrict the executions of low level agents. This is often summarised bysaying that \Pi does not "interfere" with the low level. The original definition [17] is based on a very restrictive system model in which, at everyclock signal, a system takes an input from every input channel and emits an output to every output one. In such a model, a strategy is simply a function which at time n computes a newinput using a n \Gamma 1 long sequence of previous input/output actions. In a CCS-like setting, astrategy cannot be represented as a function. In fact, when a system emits an output, it must wait for a corresponding external input which could never arrive: a deadlock may arise on asystem output, because of the synchronous nature of CCS communication. A strategy can be represented as a function of previous input/output signals only if all such outputs havebeen accepted by the external user (in particular by a Trojan Horse). In our framework, a strategy may be seen as a process \Pi which uses only high levelactions. To fix a certain strategy on a system E, it is sufficient to consider the system (Ej\Pi ) n ActH . So a system E is NDC if for every high level process \Pi the low level view setsof E and (Ej\Pi ) n ActH are the same. In other words, a system E is NDC if the composition of E with all possible Trojan Horses does not change its set of low level views. Definition 3.1 NDCH (Non Deducible on Compositions for actions in H).Let H ` ActH . Then, E 2 NDCH () lowviews(E) = lowviews((Ej\Pi ) n H); 8\Pi 2 E; L(\Pi ) ` ActH [ fo/ g NDC is defined as NDCH where H = ActH : NDC def= NDCActH . This definition states that there is no way of altering the low level executions of a system E by composing with it a high level agent \Pi which communicates with E only through actionsin H. Of course, this definition is difficult to use in practice: it is not possible to verify thesecurity of a system connecting to it all Trojan Horses and observing their effect on low level computations (it is an exhaustive procedure which does not terminate, in general). We needan alternative formulation of NDC, which exploits local information, only. It is based on the following theorem, which asserts that the property of `transparence with respect to allTrojan Horse attacks' corresponds to a static property of an agent E, namely, to a property that can be verified by examinating the traces of system E only. Theorem 3.1 (Static characterization of NDCH) E 2 NDCH () lowviews(E) = lowviews(E n H) This characterisation of NDCH has the merits of being algorithmically testable (at least, for finite state systems) and useful for modular verification of secure systems. Indeed, NDC is UBLCS-93-20 6 4 An Example: Access Monitor -oe oe -oe MonitorObjects User 1 User k Figure 2. Access monitor a composable property w.r.t. the CCS operators of parallel composition and restriction; hence,a new NDC secure system may be described as a composition of NDC secure subsystems. Theorem 3.2 Let E and E0 be two NDCH agents, S ` H and S0 ` ActL. The following hold: i) E j E0 2 NDCH, ii) E n S 2 NDCH , iii) E n S0 2 NDCH , (iv) (E j E0) n (L(E) " L(E0)) 2 NDCH , if (L(E) " L(E0) " ActH) ` H. Finally, the following theorem states that the NDCH sets are partially ordered w.r.t. set-theoretic (reversed) inclusion over the sets H. Proposition 3.1 H; H0 ` ActH : H0 ` H =) NDCH ` NDCH0 4 An Example: Access Monitor In this section, the NDC property is illustrated through an example: an Access Monitor (AM for short, see figure 2), which is a process managing accesses to a certain resource. As aresource can be viewed as a set of objects containing information, then an AM is a very important element in the implementation of a multilevel security policy (it is sufficient toknow all security levels of all subjects and objects to correctly manage every access). Let us consider the usual multilevel policy (Read-down, Write-up). Let SL be the set of security levels and `^' ` SL \Theta SL be a total order relation. Let ID, ranged over by id, be theset of user identifiers; let also O, ranged over by x, be the set of object identifiers. Finally, let lvl : ID [ O ! SL be a function which returns the security level of a certain user id or object x. If objects are variables (every object contains a value), then AM can be implemented as follows: Monitor def=X id2ID access rid(x): (if lvl(x) ^ lvl(id) then readx(y):(valueid(y) j Monitor) else (valueid(ERROR) j Monitor)) + X id2ID access wid(x; z):(if lvl(x) * lvl(id) then writex(z)):Monitor UBLCS-93-20 7 4 An Example: Access Monitor Signals read and write are used by the Monitor for accesses to objects. They are parametrizedw.r.t. the names of the objects. Signal access rid(x) represents a request for a read operation to object x made by the user with identifier id. The request is always accepted and a valueis always returned to the user. However, the value stored in the object x is returned only if the security level of x is less than, or equal to, the security level of the user id; otherwise,an error message is transmitted.5 Note that the Monitor is ready to accept new signals before delivering the value to the user, because of the (inner) parallel composition. Signal access wid(x; z) represents a request, made by a user id, to write the value z into object x.This request is always accepted, but the write operation is really performed only if the level of x is greater than the level of id.The objects can be implemented as follows: Objx(y) def= readx(y):Objx(y) + writex(z):Objx(z) If there are n variables then the system is: Access monitor def= (Monitor j Obj1(0) j : : : j Objn(0)) n L where L = [ x2[1;n] Acs (Objx) Acs(Objx) def= freadx; writexg By restricting the executions on set L, we make objects not directly accessible by a user, butfiltered through the interactions with the Monitor. So the user id which interacts with the Monitor can execute this set of actions: Acsid(Access monitor) = faccess rid; access wid; valueidg The set of all the actions accepted by the monitor is: Acs(Access monitor) = [ id2ID Acs id(Access monitor) Since NDC is closed with respect to composition of systems then there are two differentapproaches to verify if Access monitor is NDC secure: (i) Verify if the whole system is NDC, or (ii) decompose system in subsystems and verify if everyone is NDC (a possible decomposition is suggested by system definition itself: Monitor and Objx's).In the full paper (and in [2]), we prove that AM is NDC (following the first approach), while Monitor is not secure for every kind of object. In particular, we report an example offinite storage device management in which a user can transmit information using the resource full error message. However, the compositionality property of NDC is important when themonitor is used: as a user is an agent which executes only actions of the same level, then it is NDC. So, by connecting to AM any number of users, we obtain an enlarged system whichis still NDC secure. 5. Obviously, a user must get the replay to a certain read request before asking monitor for another read: arestriction we consider for the sake of simplicity. UBLCS-93-20 8 5 Extending the Approach to Bisimulation Semantics 5 Extending the Approach to Bisimulation Semantics NDC is based on trace semantics: it requires that a system, to be secure, gives to a low user the same low trace sets for every high execution. More precisely, this statement is formalizedthrough the following theorem. Theorem 5.1 E 2 N DC () E n ActH ssT (E j \Pi ) n ActH ; 8\Pi 2 E; L(\Pi ) ` ActH [ fo/ g Unfortunately, trace semantics is rather weak; it is unable to distinguish systems whichgive different observations to a user. For instance, systems A = ab + a and B = ab are trace equivalent but the first can deadlock after a signal a. Hence, a low user could distinguishtwo low trace equivalent systems and so have information about high level users. As a simple example, let us implement the monitor as follows: Monitor def= (X id2ID access rid(x): (if lvl(x) ^ lvl(id) then readx(y):valueid(y) else valueid(ERROR)) + X id2ID access wid(x; z):(if lvl(x) * lvl(id) then writex(z)) ):Monitor Surprisingly enough, it still satisfies the NDC property, but, of course, it is not multilevel secure. Indeed, a high level user can block the monitor - and so interfere with low levelusers - by making a read request and then refusing to accept the corresponding answer. Trace equivalence does not detect this kind of "attacks" and so it is necessary to substituteit with a stronger one. One possibility is weak bisimulation [13] which is the "standard" CCS equivalence and implies other important equivalences such as testing [5] and failure [6]. We denote it with ssB (see section 2). The new security notion is called BNDC. Definition 5.1 E 2 BN DC () E n ActH ssB (E j \Pi ) n ActH; 8\Pi 2 E; L(\Pi ) ` ActH [ fo/ g One can easily verify that the second version of Monitor does not enjoy the BNDC property. A static characterization of BNDC - which does not involve composition with everyprocesses \Pi - is not immediate. A first idea could be to elaborate on the same condition we proposed for NDC. The resulting proposal is the following: E=ActH ssB E n ActH where `/' denotes a hiding operator which transforms all high actions in internal o/ 's. Unfortunately, it is easy to see that it is only a necessary condition for E to be BNDC. At present,we have not yet found a static characterization of BNDC. We think this is a very interesting problem, left for future research.To conclude this paper we propose a sufficient condition to BNDC, which is static and compositional (with E ) E0 we denote that E0 is reachable from E, that is 9fl such that E fl=) E0): UBLCS-93-20 9 6 Conclusions Definition 5.2 Static Bisimulation NDC (SBNDC): E 2 SBNDC () 8E0 : E ) E0; 8E00 : 9h 2 ActH ; E0 h! E00 then E0 n ActH ssB E00 n ActH Proposition 5.1 The following hold: (i) SBNDC ` BNDC, (ii) E; F 2 SBNDC =) (EjF ) 2 SBNDC, (iii) E 2 SBNDC ) E n S 2 SBNDC, if S ` I. 6 Conclusions This paper presents a formal approach to information flow security, in the framework of process algebraic languages like CCS. NDC is a security property which guarantees thatno information flow from high level to low level can occur (hence, ensuring the absence of covert channels). NDC is closed with respect to system composition and can be used toverify if a CCS agent represents a multilevel secure system. It has been observed that such a property may be too weak in some cases, essentially because it is related to trace equivalence; hence, a stronger property, based on bisimulation[13], has been proposed. Future research is concerned with a static characterization of BNDC and further extensions to other well-known equivalences (e.g., testing [5], failure [6], : : : ).The final goal of the present research is the implementation of a verification tool, in order to test such extensions on a number of significative examples. References [1] D. E. Bell and L. J. La Padula. "Secure Computer Systems: Unified Exposition and MulticsInterpretation". ESD-TR-75-306, MITRE MTR-2997, March 1976. [2] R. Focardi. "Metodi Formali per la Descrizione di Sistemi Sicuri". Master's thesis, Universit`adegli Studi di Bologna, March 1993. [3] R. Focardi and R. Gorrieri. "A Classification of Security Properties". Submitted for publication.[4] J. A. Goguen and J. Meseguer. "Security Policy and Security Models". In Proceedings of the 1982 Symposium on Security and Privacy, pages 11-20. IEEE Computer Society, 82CH1753-3, April 1982.[5] M. Hennessy. Algebraic Theory of Processes. The MIT Press, 1988. [6] C. A. R. Hoare. Communicating Sequential Processes. Prentice-Hall.[7] D. M. Johnson and F. J. Thayer. "Security and the Composition of Machines". In Proceedings of the Computer Security Foundations Workshop, pages 72-89. The MITRE Corporation, M88-37, June1988. [8] R. Keller. "Formal Verification of Parallel Programs". Communications of the ACM, 19 (7):561-572,1976. [9] R. A. Kemmerer and P. A. Porras. "Covert Flow Trees: A Visual Approach to Analyzing CovertStorage Channels". IEEE Transactions on Software Engineering, pages 1166-1185, November 1991. [10] T. F. Lunt, D. E. Denning, R. R. Schell, M. Heckman, and W. R. Shockley. "The Sea View SecurityModel". IEEE Transactions on Software Engineering, pages 593-607, June 1990. [11] D. McCullough. "A Hookup Theorem for Multilevel Security". IEEE Transactions on SoftwareEngineering, pages 563-568, June 1990. [12] J.K. Millen. "Hookup Security for Synchronous Machines". In Proceedings of The Computer SecurityFoundation Workshop III. The MITRE Corporation, IEEE Computer Society, 90TH0315-2, 1990. UBLCS-93-20 10 REFERENCES [13] R. Milner. Communication and Concurrency. Prentice-Hall.[14] N.E. Proctor and P.G. Neumann. "Architectural Implications of Covert Channels". In Proc. 15th National Computer Security Conference, Baltimore, Maryland, pages 28-43, 13-16 October 1992.[15] D. Sutherland. "A Model of Information". In Proceedings of the 9th National Computer Security Conference, pages 175-183. National Bureau of Standards and National Computer Security Center,September 1986. [16] C. R. Tsai, V. D. Gligor, and C. S. Chandersekaran. "On the Identification of Covert StorageChannels in Secure Systems". IEEE Transactions on Software Engineering, pages 569-580, June 1990.[17] J. T. Wittbold and D. M. Johnson. "Information Flow in Nondeterministic Systems". In Proceedings of the 1990 IEEE Symposium on Research in Security and Privacy, pages 144-161. IEEE ComputerSociety, 90CH2884-5, 1990. UBLCS-93-20 11