Abstract
Where did the working vocabulary of security engineering come from, what was each term a response to, and what do the cited papers still support? Ware and Anderson treated users with different clearances sharing one machine as a central problem. The reference monitor and the trusted computing base were proposed for it, and the Orange Book documents their adoption as requirements. Saltzer and Schroeder’s eight principles are general design rules for protection mechanisms, drawn from experience, which the case accounts here illustrate. Lampson accepted bounded leakage for the channels he modeled, because shared mechanism is a potential channel. Hardy showed a program misusing its own authority, and Thompson showed that reviewing source alone cannot show that a binary corresponds to it. Anderson’s 1993 case survey of banking failures and Whitten and Tygar’s 1999 laboratory study of PGP 5.0 bear on the operators and users the design papers took for granted, which Saltzer and Schroeder had anticipated in two of their principles.
Where the vocabulary came from
Security engineering has a small, durable vocabulary. Each term in this reader is tied to the paper that proposed or discussed it, and none is claimed as a first coinage. Ware and Anderson put one problem at the center of their reports: users with different clearances sharing one machine. A computer that ran one job at a time for people who were all cleared to see everything inside it could be defended, as far as clearance went, with a fence and a guard. James Anderson’s 1972 planning study for the US Air Force calls such machines closed use systems, and observes that by adopting a uniform clearance “the threat of internal penetration is eliminated by definition”.1 That is a threat model for clearance, not a complete account of insider risk. The Defense Science Board task force report of 1970 describes what was coming instead: “a population of users ranging from uncleared to those with the highest clearance levels will interact with the system simultaneously.”2
Once users with different clearances share a processor, memory and disk, the question changes from who may enter the room to what each running program may touch.
| Year | Paper | The problem it answered |
|---|---|---|
| 1883 | Kerckhoffs, military cryptography.3 | What must a field cipher need kept secret? |
| 1970 | Ware and the Defense Science Board task force.2 | How can one machine serve users with different clearances? |
| 1972 | Anderson, planning study.1 | What mechanism could a secure system be built around? |
| 1973 | Lampson, confinement note.4 | How can a borrowed program be stopped from leaking its input? |
| 1974 | Karger and Schell, Multics evaluation.5 | How did Multics, whose security design principles the evaluators judged “significantly better than other contemporary” systems, stand up to deliberate attack? |
| 1975 | Saltzer and Schroeder.6 | What design rules have experience produced? |
| 1984 | Thompson, trusting trust.7 | Can inspecting source code establish trust? |
| 1985 | Department of Defense evaluation criteria.8 | How should a government buy and grade such systems? |
| 1988 | Hardy, the confused deputy.9 | Why do access lists misjudge a program acting for two parties? |
| 1993 | Anderson, why cryptosystems fail.10 | How do fielded systems actually fail? |
| 1999 | Whitten and Tygar.11 | Can ordinary people operate the security that was designed? |
Three questions run through the papers. What must a protection mechanism guarantee? The reference monitor. What design rules make the guarantee believable? Saltzer and Schroeder’s eight principles. What can still go wrong when it holds? Lampson, Hardy, Thompson, Anderson and Whitten and Tygar, each from a different side.
Kerckhoffs in 1883: what must be secret
The six desiderata
Auguste Kerckhoffs published “La cryptographie militaire” in the Journal des sciences militaires, volume IX, in the January and February 1883 issues, in two parts running to about 65 pages.12 His second section, “Desiderata de la cryptographie militaire”, separates a cipher improvised for a few isolated correspondents from a method meant to govern, for an unlimited time, the correspondence between army commanders. Commanders, he says, cannot change their conventions whenever they like, and must never carry any object or writing that could inform the enemy about the meaning of dispatches that might fall into enemy hands. For that second case he lists six conditions.3
- The system must be materially, if not mathematically, undecipherable.
- It must not require secrecy and must be able to fall into the enemy’s hands without inconvenience.
- Its key must be communicable and retainable without written notes, and changeable at the correspondents’ will.
- It must be applicable to telegraphic correspondence.
- It must be portable, and operating it must not need several people.
- Given the circumstances of use, it must be easy to use, needing neither mental strain nor knowledge of a long series of rules.
The English above is a translation made for this article. The second condition reads in the original:
« 2° Il faut qu’il n’exige pas le secret, et qu’il puisse sans inconvénient tomber entre les mains de l’ennemi ; »
Petitcolas, who obtained a copy of the journal from the British Library in 1998 and put both parts online, adds a caution to his own approximate English version: the condition “does not necessarily implies that the method should be public, but only considered as public during its creation.”12
What he meant by secret
The condition is about logistics before it is about mathematics. Kerckhoffs distinguishes the key from “ce qui constitue la partie matérielle du système : tableaux, dictionnaires ou appareils mécaniques quelconques”, the tables, dictionaries or mechanical devices needed to apply it. His objection to a system that must keep those secret is practical: if such a system is in the hands of too many people, “il pourrait être compromis à chaque engagement auquel l’un ou l’autre d’entre eux prendrait part”, it could be compromised at every engagement in which one of them took part.3
His recommendation is blunt. The administration should give up secret methods and accept only a procedure “qui puisse être enseigné au grand jour dans nos écoles militaires”, one that could be taught openly in military schools and that neighboring countries could copy if they liked.3 He also rejects the argument that a dispatch needs to stay secret only three or four hours: once a cryptogram is solved, every later dispatch under the same key is readable at once, and changing keys at will is an essential condition but a deceptive advantage over a long campaign.3
Shannon’s restatement
Claude Shannon’s 1949 paper on secrecy systems makes the same assumption explicit, for a different reason: “To make the problem mathematically tractable we shall assume that the enemy knows the system being used.”13 He adds that the restriction is weaker than it looks. If a cryptographer does not know whether a substitution, transposition or Vigenère cipher was used, he can treat the choice of type as part of the key, with probabilities assigned by his best estimates.13 Under that model a hidden design is part of the key, weighted by the probabilities the cryptographer assigns. Shannon gives no general estimate of how much entropy a hidden design carries. Kerckhoffs’s practical point was different: what must stay secret should be a key the correspondents can change at will, since secrecy of the apparatus is exposed whenever one of many holders is compromised.3
Key-space arithmetic
Take a simple substitution cipher over 26 letters, a random key and normal English plaintext, the case Shannon works. The key is a permutation of the alphabet, so there are 26! of them.13 Computed out, 26! is about 4.03 x 10^26, or 2^88.4. At a trillion keys per second an exhaustive search would take about 13 million years. By that count the cipher looks safe.
The count leaves out the structure of the plaintext. Shannon’s figures for this case illustrate statistical ambiguity: with about 15 letters of ciphertext there are usually many messages and keys of comparable probability, with about 50 letters usually a single message of probability nearly one, and his unicity distance is about 30 letters.13 Unicity is a statistical estimate of when a typical cryptogram becomes effectively unambiguous under the model. It is not a running time, and it does not say that letter counts alone solve a message. It does show that the redundancy of English, and not the size of the key space, limits the security of this cipher.
Kerckhoffs’s rule says to do the sum under the assumption that the enemy knows everything except the key. For a cipher with a 128-bit key and no known structural shortcut, what remains is key search over 2^128, about 3.4 x 10^38 keys. As an illustrative exhaustive sweep at the same trillion keys per second, that takes about 1.1 x 10^19 years. The clause “no known structural shortcut” is the part that matters, and public scrutiny gives others the opportunity to discover a shortcut if one exists. Both figures assume a search rate chosen for round arithmetic, not a measured one.
His sixth condition, ease of use, anticipates the last of Saltzer and Schroeder’s principles by ninety-two years.6
The reference monitor and the trusted computing base
Ware and the task force, 1970
In October 1967 the Advanced Research Projects Agency organized a task force under the Defense Science Board to study safeguards for classified information in multi-access, resource-sharing computer systems. Willis Ware of the RAND Corporation chaired it. Its report was published in February 1970, classified Confidential overall, and declassified by the Defense Advanced Research Projects Agency on 10 October 1975. RAND’s catalog entry for the reissue, R-609-1, is dated 1979.2
The report states the isolation requirement: “A secure system must be based on the concept of isolating any given individual from all elements of the system to which he has no need for access.” It then says what the machine owes the organization: “The machine system must be designed to apply these user access restrictions reliably.”2 On the state of the art it was cautious: for the most capable systems, where a user can write new programs from a console, “it is unwise at the present time to attempt to accommodate both classes of users simultaneously”, although it recognized that “many installations have an operational need to serve both uncleared and cleared users”, for which it gave recommendations in Parts B through D.2
Anderson and the reference monitor, 1972
Anderson’s Computer Security Technology Planning Study was prepared for the Electronic Systems Division of the Air Force under contract in October 1972 (report ESD-TR-73-51, Volume II).1 It separates accidents from what it calls the malicious threat. Contemporary systems, it says, provide limited protection against accidental violation, and “virtually none of them provide any protection against deliberate attempts to penetrate the nominal security controls provided”.1
Its answer is the reference monitor: “The function of the reference monitor is to validate all references (to programs, data, peripherals, etc.) made by programs in execution against those authorized for the subject (user, etc.).” The monitor also checks that “the reference is the right kind (i.e., read, or read and write, etc.)”. The implementation is the reference validation mechanism, “a combination of hardware and software that implements the reference monitor concept”, subject to three conditions, quoted exactly:1
A) The reference validation mechanism must be tamper proof. B) The reference validation mechanism must always be invoked. C) The reference validation mechanism must be small enough to be subject to analysis and tests to assure that it is correct.
The report explains each. If the mechanism can be altered, its integrity cannot be guaranteed and no certification could be derived. Continuous invocation means it applies to all programs including the operating system itself. The size condition is “the same as saying that it must be capable of being proved to be correct”. In the development plan the third condition appears as “small enough to be tested (exhaustively if necessary)”. Anderson hedges the whole proposal: “It is hypothesized that a system secure against internal malicious threat from a programmer can result from employing a reference monitor.”1
A monitor mediating three requests
A reference monitor is easiest to understand when it is small enough to run by hand. Let three users and three files have this access matrix, one row per subject and one column per object. An empty cell means no access.
| payroll | memo | log | |
|---|---|---|---|
| Ann | read | read, write | |
| Ben | read | append | |
| Cal | read, write | read |
The monitor receives requests of the form (subject, operation, object) and answers allow or deny.
- (Ann, write, memo). Ann’s memo cell contains “read, write”. Allow.
- (Ben, read, payroll). Ben’s payroll cell is empty. Deny.
- (Cal, append, log). Cal’s log cell contains “read” only. Deny. This is Anderson’s “right kind” check: Cal may touch the log, but not in this way.
Now test the three conditions against this toy. If any code path lets a program read payroll without asking the monitor, such as a debugging call or a disk utility, the matrix is decoration, and condition B has failed. If Ben can write to the matrix, he can give himself a payroll cell, and condition A has failed. Condition C is easy to meet for a table lookup, but the monitor is only as trustworthy as the code that loads the matrix, authenticates Ben as Ben and carries the bits to and from disk. All of that belongs to what a later document calls the trusted computing base. A TCB is defined relative to a stated policy: here the matrix is the policy, and the runtime enforcement path is the TCB. Whether the code that runs is the code that was reviewed is a separate dependency, on build and provenance assurance, which the Thompson section below shows can sit outside that path.
The design does not ask the monitor to predict what a program will do. It checks each actual access when it happens. The library’s reader on computability and complexity covers what is and is not decidable about programs. The motive for condition C, in this author’s reading, is practical: the effort of verifying a program against a specification tends to grow with its size, so keeping the part that must be right small is how assurance is bought. That is a design motivation, not a theorem.
Karger and Schell on Multics, 1974
The Air Force’s vulnerability analysis of Multics, by Paul Karger and Roger Schell, is Volume II of report ESD-TR-74-193, June 1974. Its abstract concludes that Multics as then implemented was not certifiably secure and could not be used in an open use multi-level system, yet that its security design principles were “significantly better than other contemporary” systems and it could be the base for a certifiably secure one.5
One finding is a complete-mediation failure. The system validated arguments passed to a more privileged ring, but what it validated was not what it later used, which gave the caller access it was not authorized to have. The authors call it an ad hoc implementation that “overlooked a class of argument pointers”, and a violation of a basic rule of the Multics design, that all arguments to a more privileged ring be validated.5
To show “the feasibility of inserting and distributing trap doors”, they planted one that gave unauthorized privilege and altered the recorded modification dates that are checked for unauthorized modification.5 The findings bear on complete mediation, on the integrity of audit records and on build provenance.
The report anticipates the countermeasure and its defeat. Object code trap doors are vulnerable to recompilation, so maintainers might recompile everything from source, which “could play directly into the hands of the penetrator who has also made changes in the source code”. And a trap door can survive recompilation: a penetrator could modify the PL/I compiler to notice when it is compiling a ring 0 module and insert an unlisted object-code trap door. Then: “Since the PL/I compiler is itself written in PL/I, the trap door can maintain itself, even when the compiler is recompiled.”5
Karger and Schell revisited the work in 2002. They record that this compiler trap door was the basis, several years later, of the Class A1 requirement in the Department of Defense evaluation criteria that new versions be generated from source using a compiler under strict configuration control, and that Ken Thompson later implemented the idea.14
The Orange Book, 1985
The Department of Defense Trusted Computer System Evaluation Criteria, DoD 5200.28-STD, dated 26 December 1985 and called the Orange Book, turned Anderson’s vocabulary into a procurement standard. It defines the trusted computing base, or TCB, as “The totality of protection mechanisms within a computer system – including hardware, firmware, and software – the combination of which is responsible for enforcing a security policy.” Its bounds correspond to what some literature calls the security perimeter, and a TCB “should be as simple as possible consistent with the functions it has to perform”.8 The document supersedes an August 1983 edition, CSC-STD-001-83.8
Section 6.1 quotes Anderson’s three requirements. The criteria define four divisions and seven classes: D (minimal protection), C1 and C2 (discretionary), B1, B2 and B3 (mandatory) and A1 (verified). Class B3 requires that the TCB “mediate all accesses of subjects to objects, be tamperproof, and be small enough to be subjected to analysis and tests”. What distinguishes A1 is “the analysis derived from formal design specification and verification techniques”.8 Tools for comparing a newly generated TCB version with the previous one already appear in the configuration management requirements for class B2 (section 3.2.3.2.3). Class A1 (4.1.3.2.3) adds that those tools be “maintained under strict configuration control” and requires technical, physical and procedural safeguards for the master copies used to generate the TCB.8 These are change-management assurances for the TCB’s own build, and they do not independently verify the compiler. Karger and Schell’s retrospective, not the standard, connects the A1 requirement to the compiler trap door finding.14
Saltzer and Schroeder, 1975
Jerome Saltzer and Michael Schroeder published “The Protection of Information in Computer Systems” in the Proceedings of the IEEE, volume 63, number 9, September 1975, pages 1278 to 1308 (DOI 10.1109/PROC.1975.9939).6 The paper is a tutorial on protection architecture. Its section on design principles begins with an admission: penetration exercises on many general-purpose systems “all have shown that users can construct programs that can obtain unauthorized access to information stored within”, and no complete method of building large systems without such flaws exists. The difficulty, they write, “is related to the negative quality of the requirement to prevent all unauthorized actions”.6 A positive requirement can be tested by trying it. A negative one cannot be tested into existence, because the unwanted paths are exactly the ones nobody tries in normal use. In place of a method they offer eight principles drawn from experience, and say plainly that these “do not represent absolute rules--they serve best as warnings”.6
Economy of mechanism
“Keep the design as simple and small as possible.” The authors give a reason specific to protection. Errors that create unwanted access paths “will not be noticed during normal use”, so ordinary testing misses them. They conclude that “techniques such as line-by-line inspection of software and physical examination of hardware” are necessary, and that such techniques need a small and simple design to succeed.6 This is Anderson’s third condition stated as a general rule. Hardy’s account of a file-opening rule that grew to fourteen boolean operators, described below, shows the failure it guards against.
Fail-safe defaults
“Base access decisions on permission rather than exclusion.” They credit E. Glaser, 1965. The default is no access, and the scheme names the conditions under which access is allowed. The reasoning concerns how mistakes surface: a flaw in a mechanism that grants permission “tends to fail by refusing permission, a safe situation, since it will be quickly detected”, whereas a flaw in a mechanism that lists exclusions “tends to fail by allowing access, a failure which may go unnoticed in normal use”.6 The empty cells in the access matrix above are the principle at work. A counterexample appears in Anderson’s 1993 survey: one make of ATM left a privileged test function exposed in service, and losses followed once its activation sequence became known. Reading that as a fail-safe-defaults failure is this article’s interpretation.10
Complete mediation
“Every access to every object must be checked for authority.” The authors say this forces a system-wide view that includes “initialization, recovery, shutdown, and maintenance”, requires a reliable way of identifying the source of every request, and means that proposals to gain speed “by remembering the result of an authority check” must be examined skeptically, with remembered results updated whenever authority changes.6 The Multics argument validator is the textbook failure: the check and the use followed different paths. Cached decisions that survive a revocation are the same failure in slower motion.
Open design
“The design should not be secret.” Mechanisms should depend on “the possession of specific, more easily protected, keys or passwords”, which decouples the mechanism from the key so that many reviewers can examine it without the review compromising anything. They add that “it is simply not realistic to attempt to maintain secrecy for any system which receives wide distribution.”6 This is Kerckhoffs’s second condition applied to operating systems. The authors attach a footnote conceding the point is “not universally accepted, especially by those accustomed to dealing with military security”: the notion that the mechanism not depend on ignorance is generally accepted, but some argue a secret design has the added advantage of raising the price of penetration, especially the risk of detection.6 The principle forbids relying on secrecy of design. Whether concealment adds some cost for an attacker on top of that is the point the footnote leaves open, and it is a different question from whether the mechanism can be trusted without the secret.
Separation of privilege
“Where feasible, a protection mechanism that requires two keys to unlock it is more robust and flexible than one that allows access to the presenter of only a single key.” They credit R. Needham, 1973. The point is that once the mechanism is locked, the two keys can be held by different programs, organizations or individuals, so that “no single accident, deception, or breach of trust is sufficient to compromise the protected information”. Their examples are bank safe-deposit boxes and the weapon that fires only if two people give the correct command.6 Anderson’s 1993 paper gives the converse: a bank with tight dual control over unissued cards and PINs, maintained jointly by information systems, electronic banking and internal audit, saw annual theft losses stay low until a circular abolished the control to cut costs, after which losses increased tenfold.10
Least privilege
“Every program and every user of the system should operate using the least set of privileges necessary to complete the job.” It limits the damage from an accident or error, reduces the number of interactions among privileged programs, and, if misuse is suspected, minimizes the number of programs that must be audited. It also tells you where to put the “firewalls”, and the military need-to-know rule is an example.6 Capability systems, discussed below, can support it when the authority granted and propagated is scoped to the job; the authors also note that copyable capabilities make propagation and accountability harder to control.
Least common mechanism
“Minimize the amount of mechanism common to more than one user and depended on by all users.” Every shared mechanism, “especially one involving shared variables”, is a potential information path between users, and any mechanism serving all users must be certified to the satisfaction of every user. Where a function can be a supervisor procedure shared by all or a library procedure treated as the user’s own, they advise the latter, so that a user unhappy with its certification can substitute another.6 Lampson’s file-lock and system-load channels, in the next section, are cases: both run through mechanism that two users share.
Psychological acceptability
“It is essential that the human interface be designed for ease of use, so that users routinely and automatically apply the protection mechanisms correctly.” They add: “If he must translate his image of his protection needs into a radically different specification language, he will make errors.”6 It was the last of the eight. Whitten and Tygar’s 1999 study of PGP 5.0 illustrates it.
Work factor and compromise recording
The authors list two more principles from the analysts of physical security, “which, unfortunately, apply only imperfectly to computer systems”.6
Work factor compares the cost of circumventing a mechanism with the resources of a potential attacker. Their example is the number of experiments needed to try all four-letter alphabetic passwords, 26^4 = 456,976. If each guess must be typed at a terminal, that may be adequate. If the attacker has a computer that can try a million passwords per second, “a four-letter password would be a minor barrier”: the whole space falls in about 0.46 seconds. The difficulty they identify is that most protection mechanisms resist this calculation, since defeating them “by systematic attack may be logically impossible” and happens instead through “indirect strategies, such as waiting for an accidental hardware failure or searching for an error in implementation”.6
Compromise recording proposes mechanisms that reliably record that a compromise occurred instead of preventing it, in the manner of an unbreakable padlock on a flimsy file cabinet. They note that it “is used rarely, since it is difficult to guarantee discovery once security is broken”, because “logical damage (and internally stored records of tampering) can be undone by a clever attacker”.6 The Multics penetrators supply an example: they reset the recorded modification dates after patching.5 Karger and Schell conclude that “auditing does not guarantee victory in the ‘battle of wits’ between the implementor and the penetrator” and “cannot be used to make up for fundamental security weaknesses”.5 Lampson later made auditing one of three pillars of security and argued that detection and punishment carry more of practical security than prevention does, as a later section describes.15
Capabilities and access lists
Saltzer and Schroeder also draw the distinction that Hardy’s story turns on. In a list-oriented implementation, “the guard holds a list of identifiers of authorized users, and the user carries a unique unforgeable identifier that must appear on the guard’s list”. In a ticket-oriented implementation, the guard holds the description of a single identifier, and each user holds a collection of unforgeable identifiers, or tickets, one for each object he is authorized to access.6 A capability, in their glossary, is “an unforgeable ticket, which when presented can be taken as incontestable proof that the presenter is authorized to have access to the object named in the ticket.”16
The two are the columns and the rows of the same access matrix. Using the matrix above:
| Object | Access control list (the column) |
|---|---|
| payroll | Ann: read; Cal: read, write |
| memo | Ann: read, write; Ben: read |
| log | Ben: append; Cal: read |
| Subject | Capability list (the row) |
|---|---|
| Ann | payroll: read; memo: read, write |
| Ben | memo: read; log: append |
| Cal | payroll: read, write; log: read |
In these toy representations, with unindexed lists and directly copied tickets, each form answers one question cheaply. Asking who can read payroll is one look at the payroll list, but with capabilities it means scanning every subject’s list. Asking what Ben can touch is one look at his row, but with lists it means scanning every object. Revoking Ann’s payroll access is one edit to the list. With a ticket she has copied it is hard, which is why the authors observe that “revocation requires indirection” and describe Redell’s indirect objects, which let a capability reach its target through an object that can be destroyed.6 They add that copyable tickets weaken accountability for their use and control of propagation. The ticket-oriented guard only compares the presented ticket with its expectation and leaves the user “the burden of choosing which ticket to present, a task he can combine with deciding which information to access.”6 The authors also warn that accountability in ticket-oriented systems “can be difficult to pinpoint”.6 Hardy’s confused deputy is a case where the difference decided the outcome.
Lampson on confinement, 1973
Butler Lampson’s “A Note on the Confinement Problem” appeared in Communications of the ACM 16, 10 (October 1973), pages 613 to 615 (DOI 10.1145/362375.362389), received July 1972 and revised January 1973.4 It asks how to confine a program during its execution “so that it cannot transmit information to any other program except its caller”.17
The customer and the service
Lampson calls the borrowing program a customer and the borrowed one a service. Protection systems already know how to let a customer give a possibly untrustworthy service access to only the items it needs. Even then, he says, the customer can be injured in two ways: the service may not perform as advertised, or it may leak, transmitting to its owner the input data the customer gave it. The first problem “does not seem to have any general technical solution short of program certification”, though the customer at least has evidence in the form of wrong outputs. If the service leaks, “there will generally be no indication that the security of the data has been compromised.”17 A tax-preparation program that quietly sent your return to its vendor would be a plain case.
Confinement means that “any program, if confined, will be unable to leak data.” It does not mean every program still works under confinement, and a misbehaving one may be trapped when it tries to escape.17
The leak list
He lists seven routes, numbered from 0. A service with memory can hand collected data over when its owner next calls, write a permanent file in its owner’s directory, or message a process its owner controls. It can create a temporary file, a legitimate action that cannot be forbidden, and grant its owner access: “If he tests for its existence at suitable intervals, he can read out the data before the service completes its work and the file is destroyed.” It can encode information in the bill, which its owner must receive; a restricted format reduces that to “a few bits or tens of bits”. It can exploit file interlocks that forbid reading and writing a file at the same time, which let a file simulate a shared Boolean variable that one program sets and another tests. And it can modulate its ratio of computing to input and output, or its paging rate, so that a concurrent process reads the performance of the system, a noisy channel for which “the techniques of information theory can be used to devise an encoding which will allow the information to get through reliably no matter how small the effects the service on system performance are, provided they are not zero.”17 The library’s reader on information theory covers the channel-coding result behind that sentence and its modern descendant, the side channel.
Rules and a worked channel
A confined program must first be memoryless. Lampson’s first rule, total isolation, is “A confined program shall make no calls on any other program”, which he calls impractical because even innocent-looking supervisor calls leak. Transitivity says a confined program’s callees must be confined unless trusted. Masking says the program “must allow its caller to determine all its inputs into legitimate and covert channels”, and enforcement says the supervisor must keep those inputs within the caller’s specification. A cheaper alternative, if the customer accepts some leakage, is to bound the capacity of the covert channels.17 He sorts channels into storage, legitimate channels such as the bill, and covert channels, “those not intended for information transfer at all, such as the service program’s effect on the system load”. He is frank about the limit: “There is not likely to be any rigorous way of identifying every channel in any system of even moderate complexity.”17
His file-interlock example works in outline like this. Sender and receiver share a few files whose open or closed state acts as a signal, and each bit needs a handshake so that each side knows the other has seen the signal.17 Suppose, as an illustrative delay model that leaves out scheduling, contention and overhead, that the handshake needs four signal changes per bit and each waits one polling interval. At a 10 millisecond interval that is a nominal 40 ms per bit, or 25 bits per second. At a one second interval it is a nominal 4 seconds per bit, a quarter of a bit per second.
The Orange Book’s covert channel guideline calls a bandwidth above 100 bits per second “high”, because that is about the rate of many terminals, and says channels with maximum bandwidths below one bit per second “are acceptable in most application environments”; separately, it observes that use of channels at one bit per second or more can be audited, and recommends auditing, where possible, mechanisms that may exceed one bit in ten seconds.8 The comparison below is illustrative and does not establish maxima for the modeled channel. On the illustrative figures, the fast channel falls between the thresholds and the slow one is below one bit per second.
The thresholds should be read against the size of what leaks. At the nominal rates, a 128-bit key crosses the fast channel in about 5 seconds and the slow one in about 8.5 minutes. At exactly one bit per second it would take 128 seconds, a boundary illustration, since the guideline speaks of maxima below one. A gigabyte would need about ten years at 25 bits per second. A bandwidth bound is therefore a statement about the value of the data and the exposure window, and a small secret such as a key can be worth the wait. These are arithmetic on the stated model, not measurements.
Lampson both closes specific channels and accepts bounded leakage where the customer will tolerate it. For the interlock channel his cure is that if someone else tries to write a file a confined program is reading, the supervisor gives the program a copy to continue reading, and the writer proceeds without any indication.17 That hides the reader from the writer on this interlock path; it does not show that all shared state is removed. It is least common mechanism applied: the leak was in the mechanism, not in the program.
Hardy and the confused deputy, 1988
Norm Hardy’s “The Confused Deputy (or why capabilities might have been invented)” appeared in Operating Systems Review 22, 4 (1988). He calls it “a nearly true story (inessential details have been changed)” from about eleven years earlier at Tymshare, a commercial time-sharing company. Hardy was by then senior architect at Key Logic, whose KeyKOS system was built on capabilities and, he says, includes patented facilities to aid deputies, so he is an advocate telling the story.9
The story, step by step
The operating system was, in his words, “much like Unix” in its protection structures. The compiler lived in a directory called SYSX, and a user ran it with RUN (SYSX)FORT, optionally naming a file to receive debugging output.9
- The compiler had been instrumented to collect statistics on language feature usage. The statistics file was
(SYSX)STAT, a name assembled into the compiler. - To let the compiler write
(SYSX)STAT, the file holding the compiler,(SYSX)FORT, was marked with “home files license”. The operating system let a program with that license write files in its home directory, here SYSX. - The billing information file,
(SYSX)BILL, was also in SYSX. - Some user learned the name
(SYSX)BILLand supplied it as the name of the file to receive debugging output. - The compiler passed the name to the operating system in a request to open the file for output. The operating system saw that the compiler had home files license and allowed it. The debugging output went over
(SYSX)BILL, and “the billing information was lost.”9
Nobody in this sequence broke a rule. Hardy rules out each candidate for blame: the compiler cannot reject names in other directories, because writing there is useful; it cannot check for SYSX, since “the name ‘SYSX’ had not been invented when this code was written”; and (SYSX)BILL is not the only sensitive file. The code “was correct” when written and “became wrong when we added home files license to (SYSX)FORT”, and finding that out would have required examining every situation in which the compiler wrote a file.9
The rules for opening a file kept growing; the last time Hardy wrote the requirements down, “it required fourteen boolean operators”. Each clause that enabled a category of opens endangered programs that had been secure, and each restriction broke legitimate ones. A system call to “switch hats” between the compiler’s own authority and its invoker’s added complexity, and it soon became clear that more than two authorities were needed.9
Diagnosis and capability fix
His diagnosis: “The fundamental problem is that the compiler runs with authority stemming from two sources”, the invoker and its home files license. “The compiler serves two masters and carries some authority from each to perform its respective duties. It has no way to keep them apart.” When it writes statistics it intends to use its own license, and when it writes debugging output it intends to use its invoker’s. In Hardy’s words, “The compiler had no way of expressing these intents!”9
The capability design gives the compiler a direct capability to the statistics file, and for debugging output it designates a capability the invoker passed with the request. “The capability both identifies the file and authorizes the compiler to write there.” The same mechanism serves both cases, and the compiler need never know a textual file name.9
In Hardy’s system, which was access-list based with a home-directory license, the decision was whether the principal making the request, here the compiler, may open (SYSX)BILL. The operating system accepted the compiler’s home-files grant for a request that should have used the invoker’s authority, because the request could not designate which grant it meant. It is one design, and Hardy’s exercise for the reader does not establish the point for every access-list system. In the capability design the invoker’s request carries a ticket for the output place, so a user with no ticket for (SYSX)BILL cannot make the compiler write there by supplying its name. Explicit designation matters here because the compiler holds two grants and must pick one for each use.9 The capability still conveys authority, and the system must recognize it as valid; Hardy’s phrase “no authority checking mechanisms are executed” refers to the identity-based lookup in his example.9
This article calls authority that a program holds regardless of which object it is serving, and applies to whatever name it is given, ambient authority. In Hardy’s example, designating a specific capability for each use makes the choice of authority explicit. Hardy ends with an exercise for the reader, “Show that access lists do not solve this problem”, and with the observation that “our capability-based systems were usually smaller than equivalent access-list based systems”, because capabilities replaced several ad hoc mechanisms.9 That claim is the proponent’s own experience, with no measurement in the source.
Thompson and trusting trust, 1984
Ken Thompson gave “Reflections on Trusting Trust” as his Turing Award lecture, printed in Communications of the ACM 27, 8 (August 1984), pages 761 to 763 (DOI 10.1145/358198.358210). He says he will present “the cutest program I ever wrote” in three stages.7
Stage I: a program that prints itself
The first stage is the old exercise of writing a source program that, when compiled and executed, outputs an exact copy of its source. Thompson’s Figure 1 is such a program in C and, he notes, it has two properties his story needs: it “can be easily written by another program”, and “can contain an arbitrary amount of excess baggage that will be reproduced along with the main algorithm”.7
A reader can check the idea in a few characters. In Python, the line s='s=%r;print(s%%s)';print(s%s) prints exactly itself. The string s is a template for the whole program, with a hole where the string itself belongs. The expression s%s fills the hole with the quoted text of s, and the %% in the template collapses to a single %. The output is s=, then the quoted template, then ;print(s%s), which is the program. It contains a description of itself and the means to expand the description.
Stage II: a compiler that learns
The C compiler is written in C, a “chicken and egg” problem that Thompson illustrates with the escape sequence \n. The compiler’s code for reading a string literal turns the two characters \n into a newline by returning '\n', the very form it is compiling. It “knows” in a completely portable way what character code is compiled for a new line, and “the act of knowing then allows it to recompile itself, thus perpetuating the knowledge.”7
Now add \v for vertical tab. The obvious source change, returning '\v' for v, is rejected by the existing binary compiler because that binary does not know \v: “the source is not legal C. We must ‘train’ the compiler.” So the programmer first writes the decimal ASCII code, 11, into the source (his Figure 2.3), compiles with the old binary, and installs the result as the official compiler. Now the source can be changed back to the portable form of Figure 2.2. The knowledge that vertical tab is 11 lives in the installed binary, not in the source. Thompson calls it “as close to a ‘learning’ program as I have seen.”7
Stage III: a Trojan horse in the compiler
Figure 3.2 shows a modification to the compiler’s compile routine that “will deliberately miscompile source whenever a particular pattern is matched”, and being deliberate it is a Trojan horse. The one Thompson planted matched code in the UNIX login command and replaced it with code that accepts either the intended encrypted password or a particular known one, so that “I could log into that system as any user.”7
That alone is detectable: “Even the most casual perusal of the source of the C compiler would raise suspicions.” A second Trojan horse aimed at the compiler itself makes the compromise persist without appearing in source: “the new binary will reinsert the bugs whenever it is compiled. Of course, the login command will remain bugged with no trace in source anywhere.”7 The effect is unauthorized login access, and the implication is for build provenance.
The reasoning can be checked on a small ledger of what a reviewer can see.
| Artifact | What the source shows | What the installed binary does |
|---|---|---|
login.c | Clean password check | Compiled by the bugged compiler, accepts the known password |
cc.c (compiler source) | Clean, bugs removed | Recompiled by the bugged binary, reproduces the bugged binary |
cc (installed binary) | Not source | Contains both Trojan horses |
A reviewer who reads both source files with perfect care finds nothing, because the bugs were removed from the source. Rebuilding the compiler with the installed binary reproduces them, and compiling login.c yields a bugged login. Source review alone therefore misses the discrepancy, and trust in the binary needs independent evidence about the binary.
The moral and its provenance
Thompson’s moral, in two sentences: “You can’t trust code that you did not totally create yourself.” And: “No amount of source-level verification or scrutiny will protect you from using untrusted code.” He says he could have attacked any program-handling program, “such as an assembler, a loader, or even hardware microcode”.7
He acknowledges first reading of the possibility “in an Air Force critique [4] of the security of an early implementation of Multics”, and says he cannot find a more specific reference.7 Karger and Schell’s 2002 retrospective says the document is the 1974 Multics evaluation, that they gave Thompson a new copy of the report after his paper was published, and that he corrected the citation in a reprint.14 In Thompson’s account he planted the Trojan horse in the C compiler, and Karger and Schell’s retrospective says he implemented the self-inserting trap door in an early version of UNIX.14
Later answers
David Wheeler’s 2009 PhD dissertation, accepted by his committee on 26 October 2009 and preceded by a 2005 ACSAC paper, proposed “Diverse Double-Compiling”. In the abstract’s general form, the source code of the compiler’s parent is compiled using a trusted compiler, and then the putative source of the compiler under test is compiled with that result. If the outcome is bit-for-bit identical with the compiler under test’s executable, “and certain other assumptions hold”, that executable corresponds with its putative source.18 The trees can coincide when a compiler is its own parent. The match is evidence of correspondence only under the stated assumptions, which include trust in the second compiler and the environment that ran the comparison. Wheeler’s page reports a formal proof and demonstrations with four compilers including GCC.19
The Reproducible Builds project defines a build as reproducible if, “given the same source code, build environment and build instructions, any party can recreate bit-by-bit identical copies of all specified artifacts”.20 That verifies repeatability under fixed inputs and instructions, and the definition is the basis for that inference. If an independent rebuilder uses the same compromised tools, it can reproduce a compromised artifact, which follows from the definition and makes the guarantee narrower than Thompson’s problem.21 The two techniques give different guarantees: diverse double-compiling gives a conditional correspondence result through its two-stage construction and assumptions, and reproducible builds give repeatability. For the dependency side of the software supply chain, see the library’s article on Log4Shell at five.
Field evidence and tradeoffs
Saltzer and Schroeder already named human error, in psychological acceptability, and erased evidence, in compromise recording. Three later papers follow: Anderson’s field case survey of banking systems, Whitten and Tygar’s laboratory study of one program, and Lampson’s tradeoff argument.
Anderson on how systems fail, 1993
Ross Anderson’s “Why Cryptosystems Fail” appeared at the first ACM Conference on Computer and Communications Security in November 1993, pages 215 to 227 (DOI 10.1145/168588.168615). Its source is a survey of retail banking failures, gathered in 1992 while advising plaintiffs in a High Court class action in London, by interviewing former bank employees and criminals, analyzing statements from plaintiffs and victims and searching the literature. The finding: “most frauds were not caused by cryptanalysis or other technical attacks, but by implementation errors and management failures.”10 It rests on a collection of cases and a rough estimate, not on failure rates across systems.
He ties the result to missing feedback: “In the crypto community, on the other hand, there is no such learning mechanism”, and in Britain bankers “simply deny that their systems are ever at fault”.10
One case, as told, shows the pattern. A housewife in Hastings had money stolen from her account by a bank clerk who issued an extra card for it. A feature of the bank’s systems meant the items on a statement obtained at an ATM did not later appear on the full statements sent to her address, so the clerk could see to it that she never received a statement showing the thefts. He made 43 withdrawals of £200 each, £8,600 in all. When she complained she was not believed. The thief was discovered “because he suffered an attack of conscience and owned up”.10
Two further cases: an exposed privileged test function on one make of ATM, and most networks’ failure to authenticate the bank’s authorization response, which allowed replay. Mapping these to fail-safe defaults and complete mediation is this article’s interpretation, not Anderson’s.10
Anderson also gives a rough insider-risk estimate. Banks in the English speaking world dismiss about one percent of their staff every year for disciplinary reasons, and a bank with 50,000 staff issuing cards and PINs through branches “might expect” about two incidents per business day of staff stealing cards and PINs.10 In one reported case, a bank abolished dual control over unissued cards and PINs to cut costs and, by the paper’s account, losses increased tenfold. That is one case and not a measured general effect.10
He then turns to evaluation. The ITSEC program, he says, rests on assumptions “that implementation and operation will be essentially error-free, and that attackers will possess the technical skills which are available in a government signals security agency.” He reports a survey of Department of Defense organizations by Price, finding that availability of trusted components “has had a negative effect, by fostering complacency”, and concludes that “component-level certification, as embodied in both the ITSEC and TCSEC programs, is unlikely to achieve its stated goals.”10 He argues that the threat model used for the systems he examined was miscalibrated: designers “focussed on what could possibly go wrong, rather than on what was likely to”.10
Whitten and Tygar on usability, 1999
Alma Whitten and J. D. Tygar presented “Why Johnny Can’t Encrypt: A Usability Evaluation of PGP 5.0” at the 8th USENIX Security Symposium, Washington, D.C., in August 1999. They argue that “effective security requires a different usability standard” than consumer software, and test PGP 5.0 by cognitive walkthrough and a laboratory test.11
They call security software usable if its users are made aware of the tasks they must perform, can figure out how to perform them, do not make dangerous errors, and are comfortable enough to keep using it. Five properties make this hard: security is a secondary goal, policies are abstract, feedback is poor, a secret once exposed may already have been read (the “barn door” property), and security is only as strong as its weakest component.22
The test had twelve participants, all experienced email users, none able to describe the difference between public and private key cryptography, aged 20 to 49, with at least some college. The scenario was a political campaign: as coordinator, send a secret itinerary to five team members in a signed and encrypted email, using PGP 5.0 and Eudora, in 90 minutes, with manuals available.22 The test monitor, posing as team members, also sent prompting email when a participant had not made progress, for example asking for a public key or complaining that a message could not be decrypted. The results as reported:
- Three of twelve emailed the secret without encryption, one of whom appeared to believe the security was transparent and that encryption had happened.
- Of eleven who found how to encrypt, seven used only their own public keys, and of those seven only two later succeeded, after fairly explicit prompting. One generated key pairs for each team member instead of himself.
- Four of twelve eventually sent correctly encrypted email to the team.
- The paper summarizes: “only one third of them were able to use PGP 5.0 to correctly sign and encrypt an email message”, and “one quarter of them accidentally exposed the secret”.22
Neither the abstract nor the text of the paper cites Saltzer and Schroeder or the phrase psychological acceptability. The connection is this article’s reading: Saltzer and Schroeder wanted the user’s “mental image of his protection goals” to match the mechanisms he must use,6 and several participants’ behavior, such as one who generated keys for each team member, shows they lacked a working model of public-key encryption. The study is one laboratory protocol with twelve participants and some prompting. It illustrates the principle and does not test the design rule directly or establish the usability of PGP in general. The authors’ own conclusion is that user-interface polish does not make security usable for people who do not already understand it. Three of the twelve sent the secret unencrypted while exploring; one appeared to believe encryption had happened. Each of those is a failure to do what the task asked.22
Lampson on tradeoffs, 2000
Butler Lampson’s “Computer Security in the Real World”, presented at the Annual Computer Security Applications Conference in December 2000, asks why systems remain vulnerable. His answer: “security is expensive to set up and a nuisance to run, so people judge from experience how little of it they can get away with”.15 His goal is “Computers are as secure as real world systems, and people believe it.” Real-world security, he says, is about “value, locks, and punishment”, and practical security balances the cost of protection against the risk of loss.15
He calls three mechanisms together the “gold standard”: authenticating principals (“Who said that?”), authorizing access (“Who can do which operations on this object?”) and auditing the guard’s decisions “so that later it’s possible to figure out what happened and why”. He adds that since “detection and punishment is the primary instrument of practical security”, auditing is extremely important.15 That gives recording a larger role than Saltzer and Schroeder allowed, in a setting where the attacker is a criminal facing a legal system. Two distinctions apply. An audit trail for accountability is not detection used in place of protection, and Lampson’s auditing assumes the guard “records the proof in a reasonably tamper-resistant log”, which is the condition Saltzer and Schroeder’s reservation and the Multics date reset were about.156
What has held up and what has not
| Idea | Kind of evidence | What it shows |
|---|---|---|
| Kerckhoffs’s second condition | Author’s argument and an analytical assumption | Shannon adopts it as an assumption; the 26! count against the 30-letter unicity estimate for one cipher.13 |
| Reference monitor, three requirements | Adoption in a standard; a failure case | Encoded in Orange Book class B3 and above;8 Multics had a validator whose check and use followed different paths.5 |
| Economy of mechanism | Case account | Hardy’s rule needing fourteen boolean operators.9 |
| Fail-safe defaults | Case failure, interpreted | An ATM test sequence left reachable.10 |
| Complete mediation | Case failure | The Multics argument validator.5 |
| Open design | Author’s argument with a stated disagreement | Kerckhoffs;3 Saltzer and Schroeder’s own note that secrecy can raise the cost of penetration.6 |
| Separation of privilege | One reported case | Dual control abolished, losses reportedly up tenfold.10 |
| Least privilege | Analysis of one case | The confused deputy.9 |
| Least common mechanism | Analysis of channels | Lampson’s file interlock and system load.17 |
| Psychological acceptability | One laboratory study, prompted | Four of twelve succeeded with PGP 5.0; it does not test the rule directly.22 |
| Work factor | Worked arithmetic | 26^4 falls in about 0.46 s at a million guesses per second, where search is the attack.6 |
| Compromise recording | Case and author’s opinion | Penetrators reset dates;5 Lampson’s audit needs tamper-resistant records.15 |
| Total isolation of a confined program | Author’s judgment | Lampson calls it impractical and also proposes bounding channel capacity;17 Orange Book thresholds.8 |
| Source review as a basis for trust | Demonstration | Thompson’s three stages;7 diverse double-compiling answers under stated assumptions.18 |
| Component certification | Author’s survey and conclusion | Anderson’s survey of fielded systems.10 |
What a practitioner should take from it
- For a stated policy, list the components whose failure would let it be violated at runtime, and separately the build and provenance steps that decide what code runs.
- Test an authorization layer against Anderson’s criteria. Is there a path around it, can the protected code alter it, and is it small and structured enough to be analyzed and tested?
- Count bits only after granting the enemy everything except the key.
- When a service takes a name from a caller and acts with its own privileges, ask which authority applies to that use. That is Hardy’s compiler.
- Treat shared resources as channels. State the leakage you will allow over an exposure window, a bandwidth bound times the time a secret is exposed, and compare it with the size of the secret.
- For artifacts that matter, publish source, environment and build instructions so others can check repeatability by rebuilding bit for bit. Where the compiler itself is in doubt, use the two-stage diverse double-compiling described above, whose conditional correspondence result is a different guarantee from reproducibility.
- Put a naive user in front of the control before shipping it. Keep audit records tamper-resistant and decide who can alter them.
Annotated reference list
- Kerckhoffs, “La cryptographie militaire,” Journal des sciences militaires IX, January and February 1883. Part 1 (opens in a new tab), page (opens in a new tab).
- Shannon, “Communication Theory of Secrecy Systems,” Bell System Technical Journal 28(4), 1949 (DOI 10.1002/j.1538-7305.1949.tb00928.x). PDF (opens in a new tab).
- Ware (chair), Security Controls for Computer Systems, RAND R-609-1; first issued February 1970. RAND (opens in a new tab).
- Anderson, Computer Security Technology Planning Study Vol. II, ESD-TR-73-51, October 1972. PDF (opens in a new tab).
- Lampson, “A Note on the Confinement Problem,” CACM 16(10), 1973 (DOI 10.1145/362375.362389). Author page (opens in a new tab), Cornell copy (opens in a new tab).
- Karger and Schell, Multics Security Evaluation: Vulnerability Analysis, ESD-TR-74-193 Vol. II, June 1974. PDF (opens in a new tab).
- Saltzer and Schroeder, “The Protection of Information in Computer Systems,” Proc. IEEE 63(9), 1975 (DOI 10.1109/PROC.1975.9939). Text (opens in a new tab).
- Thompson, “Reflections on Trusting Trust,” CACM 27(8), 1984 (DOI 10.1145/358198.358210). PDF (opens in a new tab).
- DoD 5200.28-STD, Trusted Computer System Evaluation Criteria, 26 December 1985. PDF (opens in a new tab).
- Hardy, “The Confused Deputy,” Operating Systems Review 22(4), 1988. Page (opens in a new tab).
- Anderson, “Why Cryptosystems Fail,” CCS 1993 (DOI 10.1145/168588.168615). A case survey of banking failures. PDF (opens in a new tab).
- Whitten and Tygar, USENIX Security 1999. A twelve-person test of PGP 5.0. Abstract (opens in a new tab).
- Lampson, “Computer Security in the Real World,” ACSAC 2000. Page (opens in a new tab).
- Karger and Schell, “Thirty Years Later: Lessons from the Multics Security Evaluation,” ACSAC 2002. Attributes the A1 link and Thompson’s citation. PDF (opens in a new tab).
- Wheeler, diverse double-compiling, 2005 and 2009. Correspondence of a compiler executable to its source under stated assumptions. Page (opens in a new tab), arXiv (opens in a new tab).
- Reproducible Builds project. Recreating specified artifacts bit for bit. Definition (opens in a new tab), site (opens in a new tab).
Conclusion
Ware and Anderson treated users with different clearances sharing one machine as a central problem. The reference monitor and the trusted computing base were proposed for it and adopted in the Orange Book, and Saltzer and Schroeder’s principles are general design rules for protection mechanisms. The cases and analyses cited here support a small, tamperproof mechanism that sees every access as the central target for enforcing a stated policy at runtime, and they bear out simplicity, default denial, separated privilege and open design to the degree the table records. Three results narrowed what the early papers offered. Lampson closed specific channels and accepted bounded leakage for the channels he modeled, judging total isolation impractical. Hardy’s compiler showed a program holding two grants being steered into misusing one of them, with explicit designation of authority as his remedy. Thompson showed that source review alone misses a build-tool compromise. Anderson’s field case survey and Whitten and Tygar’s laboratory study bear on operators and interfaces, which Saltzer and Schroeder had anticipated in two principles.
Footnotes
- Anderson, Computer Security Technology Planning Study, Volume II, ESD-TR-73-51, James P. Anderson & Co. for the Electronic Systems Division, US Air Force, October 1972, sections 3.4 and 4.1. https://csrc.nist.gov/files/pubs/conference/1998/10/08/proceedings-of-the-21st-nissc-1998/final/docs/early-cs-papers/ande72.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- Ware (chair), Security Controls for Computer Systems: Report of Defense Science Board Task Force on Computer Security, RAND Corporation, R-609-1, originally published February 1970; Foreword, Part A sections IV and V. https://www.rand.org/pubs/reports/R609-1.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Kerckhoffs, “La cryptographie militaire”, part 1, Journal des sciences militaires, vol. IX, January 1883, pp. 5-38, section II, “Desiderata de la cryptographie militaire”. https://www.petitcolas.net/kerckhoffs/crypto_militaire_1_b.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
- Lampson, author page for “A Note on the Confinement Problem”, giving publication details (received July 1972, revised January 1973). http://bwlampson.site/11-Confinement/WebPage.html (opens in a new tab) ↩1 ↩2
- Karger and Schell, Multics Security Evaluation: Vulnerability Analysis, Volume II, ESD-TR-74-193, Electronic Systems Division, US Air Force, June 1974, sections 3.3, 3.4.5 and 4. https://csrc.nist.gov/files/pubs/conference/1998/10/08/proceedings-of-the-21st-nissc-1998/final/docs/early-cs-papers/karg74.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
- Saltzer and Schroeder, “The Protection of Information in Computer Systems”, Proceedings of the IEEE 63(9), September 1975, pp. 1278-1308 (DOI 10.1109/PROC.1975.9939), web edition. https://www.cs.virginia.edu/~evans/cs551/saltzer/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19 ↩20 ↩21 ↩22 ↩23 ↩24 ↩25
- Thompson, “Reflections on Trusting Trust”, Turing Award lecture, Communications of the ACM 27(8), August 1984, pp. 761-763 (DOI 10.1145/358198.358210). https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_ReflectionsonTrustingTrust.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
- US Department of Defense, Trusted Computer System Evaluation Criteria, DoD 5200.28-STD, 26 December 1985: glossary, section 6.1, Appendices B and C, and the covert channel guideline. https://csrc.nist.gov/files/pubs/conference/1998/10/08/proceedings-of-the-21st-nissc-1998/final/docs/early-cs-papers/dod85.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
- Hardy, “The Confused Deputy (or why capabilities might have been invented)”, Operating Systems Review 22(4), 1988, author-hosted text. http://cap-lore.com/CapTheory/ConfusedDeputy.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13
- Anderson, “Why Cryptosystems Fail”, 1st ACM Conference on Computer and Communications Security, November 1993, pp. 215-227 (DOI 10.1145/168588.168615). https://www.cl.cam.ac.uk/archive/rja14/Papers/wcf.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14
- Whitten and Tygar, “Why Johnny Can’t Encrypt: A Usability Evaluation of PGP 5.0”, 8th USENIX Security Symposium, Washington, D.C., August 1999, abstract page. https://www.usenix.org/conference/8th-usenix-security-symposium/why-johnny-cant-encrypt-usability-evaluation-pgp-50 (opens in a new tab) ↩1 ↩2
- Petitcolas, “Kerckhoffs’ principles from La cryptographie militaire”, the information hiding homepage, page giving an approximate English version of the six principles and the bibliographic details of the January and February 1883 issues. https://www.petitcolas.net/kerckhoffs/ (opens in a new tab) ↩1 ↩2
- Shannon, “Communication Theory of Secrecy Systems”, Bell System Technical Journal 28(4), October 1949, pp. 656-715 (DOI 10.1002/j.1538-7305.1949.tb00928.x). https://www.cs.virginia.edu/~evans/greatworks/shannon1949.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Karger and Schell, “Thirty Years Later: Lessons from the Multics Security Evaluation”, Annual Computer Security Applications Conference, 2002, section 3.2.4. https://www.acsac.org/2002/papers/classic-multics.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Lampson, “Computer Security in the Real World”, Annual Computer Security Applications Conference, December 2000. https://www.microsoft.com/en-us/research/wp-content/uploads/2000/12/Acrobat-5fab085d40524.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- Saltzer, publications page for “The Protection of Information in Computer Systems”, with the paper’s glossary. https://web.mit.edu/Saltzer/www/publications/protection/ (opens in a new tab) ↩
- Lampson, “A Note on the Confinement Problem”, Communications of the ACM 16(10), October 1973, pp. 613-615 (DOI 10.1145/362375.362389), copy hosted in Cornell course materials. https://www.cs.cornell.edu/andru/cs711/2003fa/reading/lampson73note.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
- Wheeler, “Fully Countering Trusting Trust through Diverse Double-Compiling”, arXiv:1004.5534, abstract. https://arxiv.org/abs/1004.5534 (opens in a new tab) ↩1 ↩2
- Wheeler, “Fully Countering Trusting Trust through Diverse Double-Compiling”, PhD dissertation, George Mason University, accepted 26 October 2009, and his project page. https://dwheeler.com/trusting-trust/ (opens in a new tab) ↩
- Reproducible Builds project, “Definition of reproducible builds”. https://reproducible-builds.org/docs/definition/ (opens in a new tab) ↩
- Reproducible Builds project, home page. https://reproducible-builds.org/ (opens in a new tab) ↩
- Whitten and Tygar, “Why Johnny Can’t Encrypt”, full paper, USENIX Security 1999, sections 2, 5 and 6. https://www.usenix.org/legacy/events/sec99/full_papers/whitten/whitten.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5

SecSIG