SoK: The Design Paradigm of Safe and Secure Defaults
Jukka Ruohonen · 2024
Read SoK: The Design Paradigm of Safe and Secure Defaults by Jukka Ruohonen (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-17329.txt.
Introduction
Jukka Ruohonen maps a classic security design rule in a 2024 review. The rule says systems should start safe by default, so users need not harden them by hand. Ruohonen gathers what is known about the rule across past work.
Talk of the rule has run since the late 1990s and sped up in the mid-2010s, driven in part by weak smart devices. Newer forms add off-by-default starts, override and fallback rules, and zero-trust ideas. The rule now spans many fields beyond its 1970s roots. The review also logs where builders struggle to apply it. The map gives designers a shared base.
Catalog record
| CREATOR | Jukka Ruohonen |
|---|---|
| YEAR | 2024 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 57 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2412-17329
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
SoK: The Design Paradigm of Safe and Secure Defaults Jukka Ruohonen Abstract In security engineering, including software security engineering, there is a well-known design paradigm telling to prefer safe and secure defaults. The paper presents a systematization of knowledge (SoK) of this paradigm by the means of a systematic mapping study and a scoping review of relevant literature. According to the mapping and review, the paradigm has been extensively discussed, used, and developed further since the late 1990s. Partially driven by the insecurity of the Internet of things, the volume of publications has accelerated from the circa mid-2010s onward. The publications reviewed indicate that the paradigm has been adopted in numerous different contexts. It has also been expanded with security design principles not originally considered when the paradigm was initiated in the mid-1970s. Among the newer principles are an “off by default” principle, various overriding and fallback principles, as well as those related to the zero trust model. The review also indicates problems developers and others have faced with the paradigm. 1 Introduction The design paradigm of safe and secure defaults traces to the classical work by Saltzer and Schroeder who derived eight general principles for computer, software, and cyber security in general [ 1 ] . These are shown in Table 1 . In particular, the paradigm’s roots originate from the principle of fail-safe defaults. This principle is about access controls; a default should be a lack of access, and a design and its implementation should identify the particular conditions upon which access can be permitted. Upon replacing the noun access with some other suitable word, the principle generalizes to a broader notion that defaults should be safe and secure. With this generalization, also many of the other design principles in Table 1 are related to the fail-safe defaults. For instance, it could be argued that a system’s or a software’s defaults should satisfy the principle of separation of privileges; in modern terms, it would mean that two-factor or multi-factor authentication would be a default. Table 1: The Eight Security Design Principles of Saltzer and Schroeder [ 1 , quotations from pp. 1282–1283] Principle Quotation Economy “Keep the design as simple and small as possible.” Fail-safe defaults “Base access decisions on permission rather than exclusion.” Complete mediation “Every access to every object must be checked for authority.” Open design “The design should not be 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.” Least privilege “Every program and every user of the system should operate using the least set of privileges necessary to complete the job.” Least common mechanism “Minimize the amount of mechanism common to more than one user and depend on by all users.” 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.” The Saltzer’s and Schroeder’s paper is a modern classic in computer science. Yet, thus far, no systematic reviews have been conducted about its use in academic research, although there are some existing reviews that come close [ 2 ] . The review presented fills the apparent knowledge gap. In addition, the review fulfills other common functions of literature reviews, including the identification of trends and patterns, clarification of complex concepts, and support for education through cataloging important or even foundational knowledge [ 3 ] . Regarding trends, as will be seen, the design paradigm has been continuously discussed in the face of new technologies. It has also been extended and customized to meet requirements originating from new design problems. Furthermore, it has frequently been misused in practice. This misuse raises also the review’s practical relevance. As will be pointed out later on in the concluding Section 4 , secure defaults are mandated by recent cyber security regulations. Thus, the SoK is beneficial also for practitioners and regulators who both may find new insights from the knowledge cataloged. A couple of terminological clarifications are needed before continuing. The first clarification is that the topic is about design principles , which are broader and more theoretical than design patterns . An analogy from programming suffices to elaborate the distinction; reusability is a common software design principle, whereas design patterns often allow to satisfy this principle through a customized use of recurring design solutions to common design problems [ 4 ] . Then, in the present context the overall problem is about insecurity, unsafety, or both. The second clarification follows; the distinction between safety and security is debated and blurry [ 5 ] . In what follows, unsafety is understood to refer to unintentional mistakes often originating from poor designs that have consequences particularly for the health and well-being of humans. In contrast, insecurity is taken to involve a potential of intentional attacks or other disturbances against a design and its implementation. Note that insecurity may cause unsafety, but the reverse relation is often less clear. The focus on security design principles frames the paper toward security engineering. Alas, there is no single universally agreed definition for security engineering. In general, it can be seen to be about putting “security theory into security practice”, meaning that “a security engineer designs and makes systems that are protected against threats, i.e. forces to which systems may be subjected” [ 6 , p. 59] . In the present context the notion about putting theory into practice is about adapting and applying the abstract design paradigm in more practical contexts. The framing toward security engineering is also important because it puts the paradigm into a context of engineering secure systems; hence, the research reviewed is also largely about defensive cyber security. Although there are papers about vulnerabilities in existing systems, whether hardware or software, the majority of papers reviewed are about building or improving systems, software, networks, protocols, or technologies in general with security and safety in mind. As for the paper’s remaining structure, the literature reviewing methodology is elaborated in the opening Section 2 . The actual review is presented in the subsequent Section 3 . A conclusion and an accompanying discussion are presented in the final Section 4 . 2 Methodology The paper is a systematic mapping study—or, alternatively, a scoping review. Both systematic mapping studies and scoping reviews share the same overall rationale. Their use is often justified when operating in a heterogenous context in which traditional empirical evidence may be lacking and multiple disciplines may operate. In addition, both literature reviewing techniques are often justified when feasibility is a concern; the techniques are useful for determining a value as well a potential scope and a cost of undertaking a full-blown systematic literature review [ 7 , 8 ] . If systematic literature reviews are seen to align with confirmatory research—after all, they try to collate all evidence about a topic, systematic mapping studies and scoping reviews are more on the exploratory side of things. In general, they explore the nature and scope of existing literature, trying to inform future research, including further reviews, by identifying not necessarily evidence gaps but knowledge gaps in general [