+ENISA Secure by Design and Default Playbook
---+Note on this version
---+Executive summary
---+1. Introduction
------+1.1 Objectives
---------+1.1.1 Intended outcomes
------+1.2 Scope and methodology
------+1.3 Target audience
------+1.4 Structure of the report
---+2. Secure by design and default across a product’s life cycle
------+2.1 Product life cycle
------+2.2 Risk management activities
------+2.3 Threat modelling
---+3. Secure by design and default principles
------+3.1 Secure by design principles
---------+3.1.1 Architectural foundations
---------+3.1.2 Operational integrity
------+3.2 Secure by default principles
---------+3.2.1 Default hardening
---------+3.2.2 Guided protection
---+4. Playbooks
------+4.1 Trust boundaries and threat modelling
------+4.2 Least privilege
------+4.3 Strong identity and authentication architecture
------+4.4 Attack surface minimisation
------+4.5 Defence in depth
------+4.6 Open design
------+4.7 Life-cycle management
------+4.8 User-centric design
------+4.9 Secure coding and verification practices
------+4.10 Logging, monitoring and alerting
------+4.11 Configuration and change management
------+4.12 Incident response and recovery
------+4.13 Vulnerability and patch management
------+4.14 Supply-chain controls
------+4.15 Minimisation of default services
------+4.16 Restrictive initial access
------+4.17 Secure communication by default
------+4.18 Unique device identity and secrets by default
------+4.19 Mandatory security onboarding
------+4.20 Automated maintenance and updates
------+4.21 Transparent security posture
------+4.22 Secure recovery and ownership life cycle
------+4.23 Progressive adoption of the playbooks
---------+4.23.1 Establish context and priorities
---------+4.23.2 Establish a foundational engineering baseline
---------+4.23.3 Broaden and strengthen implementation
---+5. Machine-processable attestation
------+5.1 Demonstrability, verifiability and assurance
------+5.2 Incentives
------+5.3 Existing frameworks and initiatives
------+5.4 Illustrative example
---------+5.4.1 Organisation of the example
---------+5.4.2 SafeGate-X1 example
------------+5.4.2.1 Threat model
------------+5.4.2.2 Controls, defaults and verification
------------+5.4.2.3 Applying the three layers
------------+5.4.2.4 Illustrative example of third-party verification
---+Annex B: Cyber Resilience Act essential requirements
---+Annex C: Mapping security principles to Cyber Resilience Act essential requirements

ENISA Secure by Design and Default Playbook

A Practical Guide to Secure by Design and Default Principles for SMEs Modern products with digital elements are increasingly expected to be secure by design and secure by default. However, many organisations, in particular small and medium-sized enterprises, may face distinct challenges in applying these concepts consistently, requiring targeted solutions. This report puts forward a set of principles and tangible guidance on the application of secure by design and default requirements throughout the life cycle of a product. In particular, the report focuses on explaining these principles in clear, repeatable actions that can be applied to existing engineering, product and release processes. Additional material A GitHub repository with all 22 Secure by Design and Secure by Default playbooks in an easy-to-navigate format is available here: https://github.com/enisaeu/enisa-sbd-playbook/

https://www.enisa.europa.eu/publications/enisa-secure-by-design-and-default-playbook – PDF

1. Apžvalga

Pavadinimas Standartas
Note on this version

The current version of this report was prepared following a public consultation held by ENISA during April 2026 and May 2026. ENISA received 28 contributions from public and private stakeholders, cybersecurity experts, product manufacturers, software development practitioners and the open-source community. We would like to publicly thank all stakeholders who provided their views and feedback. All contributions have been reviewed and, to the maximum extent possible, the recommendations and observations have been addressed in this final version. This report may undergo regular revisions.

Acknowledgements

ENISA would like to acknowledge the following individuals and organisations that contributed to the public consultation and agreed to be publicly named.

Name Affiliation

Adam Shostack OWASP Foundation Anthony Harrison APH10 Arne Padmos Biserka Radeva Ministry of Electronic Governance Bob Lord Software Safety Institute Brunn Hilmar Mettler-Toledo International Cédric LEVY-BENCHETON cetome Dave Russo Red Hat LLC Diana Rossi Dr. Thomas Termin WITTE Automotive / Institute for Security Systems Friedhelm Becker Ioana Nilwik J B Toby Avolites Ltd Joan Romero Chaparro craevidence.com Johan Sydseter OWASP Foundation Juan Rico Eclipse Foundation Jukka Ruohonen University of Southern Denmark Kenichi Ikegami JTEKT ELECTRONICS Corporation Lauren Zabierek Software Safety Institute Madalin Neag OpenSSF/The Linux Foundation Martin Schneider Fraunhofer FOKUS Martin Zimpel BSI Matthew Coles OWASP Foundation Max Alejandro Gómez Sánchez Vergaray OWASP Foundation Michael Schuster BSI Nikos Mavrogiannopoulos ASSA ABLOY Patrick Lamplmair Tributech Philippe BOINOT ANSSI Sanjay Kumar Sirurmath Sarah Fluchs admeritia Sebastien Deleersnyder OWASP Foundation Sebastien Deleersnyder OWASP Foundation Thierry Dupont Zoe Braiterman OWASP Foundation

Executive summary

Modern products with digital elements are increasingly expected to be secure by design and secure by default . However, many organisations – in particular small and medium-sized enterprises, in which development teams are small and security expertise can be limited – may face distinct challenges in applying these concepts consistently, requiring targeted solutions.

This report puts forward a set of principles and tangible guidance on the application of secure by design and default requirements throughout the life cycle of a product. In particular, the report focuses on explaining these principles in clear, repeatable actions that can be applied to existing engineering, product and release processes.

The secure by design principles are organised into two groups, namely architectural foundations

and operational integrity . The former addresses how the system is designed, implemented and built, while the latter focuses on how the system is distributed, installed, managed and maintained. Similarly,

the secure by default principles are grouped into the categories default hardening and guided

protection . The former ensures that products start in a secure and restrictive state, while the latter aims to support users in maintaining the secure baseline through clear defaults, warnings and recovery mechanisms.

A core part of this document is a set of practical Secure by Design and Default playbooks. Each playbook presents the principle’s objective, practical actions, and a set of evidence that could support the demonstration of its implementation. Annex C provides an indicative mapping of the principles presented in this report to the essential requirements set out in Annex I to the European Union’s Cyber Resilience Act.

The report also presents an illustrative example of a machine-processable attestation, demonstrating how voluntary, manufacturer-issued machine-processable artefacts are able to provide a high-fidelity record of a product’s security posture. Rather than proposing a new schema or prescribing a specific format, the example illustrates how machine-processable attestations can express security claims, supporting evidence and verification results in a structured format, enabling automated processing and validation.

This approach also allows for the automation of security checks and release decisions, which helps to ensure that secure by design and default properties are maintained over time. This capability is particularly valuable for small and medium-sized enterprises with limited security resources, because it reduces the need for manual audits while increasing confidence in the product’s security posture.

1. Introduction

Introduction

2. Secure by design and default across a product’s life cycle

Secure by design and secure by default require more than applying principles during development. They must be operationalised end to end across the entire product life cycle, from the initial concept to the product’s eventual decommissioning. This life-cycle view is especially important for connected products; where evolving threats, supply-chain dependencies and long-lived deployments can erode security despite otherwise sound design if governance and assurance do not persist over time.

ENISA’s report Guidelines for Securing the Internet of Things highlights a common failure node: ‘Security goals can often fail – even in the presence of good design – if there is a lack of tools that enable stakeholders to understand and assess security issues’ (8). In practice, secure by design and default depends on both good engineering decisions and the organisational mechanisms (methods, artefacts, metrics and review gates) that make risk visible, decisions repeatable and trade-offs explicit.

3. Secure by design and default principles

Secure by design and secure by default provide a framework for building systems that are resilient and security hardened from the start and that remain so once released into real-world environments. ENISA’s report Good Practices for Security of IoT (SDLC) (16) describes secure by design as a ‘holistic approach’ that must be applied throughout the entire life cycle of a product or service.

Security is not a static state but a continuous process involving specific development guidelines, threat modelling and the integration of security controls during the earliest stages of design to minimise the impact of cyberattacks.

  • Secure by design embeds protective measures into products during development, rather than adding them retrospectively. This includes threat modelling, secure architecture patterns, validated cryptography and systematic vulnerability management integrated into development processes.
  • Secure by default ensures that products ship with the most secure configuration reasonably possible. Users should not need technical expertise to achieve baseline security; protective measures must be active upon installation, with any reduction requiring deliberate user action.
4. Playbooks

These playbooks provide a practical, lightweight way for small and medium-sized manufacturers and product teams to implement secure by design and secure by default principles without creating a heavy governance burden. Each playbook distils a single security principle into a one-page, execution-focused guide that teams can apply repeatedly across releases and product lines.

The intention is to translate security principles from abstract aspirations into concrete engineering and operational actions, with clear expectations, verifiable outcomes and a consistent definition of done for security. Each playbook follows the same format to make adoption fast and repeatable.

  • Principle. The security concept being implemented.
  • Objective. What the principle is trying to achieve and what failure modes it reduces.
  • Checklist. The highest-impact actions to implement (designed to be achievable in lean teams).
  • Minimum evidence. The smallest set of artefacts/logs/configurations that demonstrate that the checklist has been implemented.
  • Release gate. A copy and paste set of pass or fail criteria that can be used in a release review (or CI/CD). Teams should apply the criteria relevant to the release and confirm that the controls continue to operate as intended where the release could affect them.

This structure is deliberately aligned with how SMEs operate: short cycles, shared responsibilities, limited specialist capacity and a need for guidance with a high signal-to-noise ratio. Unless stated otherwise, the actions in the playbooks are directed at manufacturers and teams acting on their behalf. References to users and operators describe product capabilities, information or actions that manufacturers should enable or support.

Developers and manufacturers should consider the following guidance when using the playbooks.

  • Treat each playbook’s release gate as a standard agenda item in release readiness
  • Implement the minimum evidence as repository artefacts and CI outputs wherever possible.
  • Use the product changes, threat model and risk assessment to determine which release-gate criteria require verification. Unchanged controls may be recorded as not affected.
  • Reuse the same evidence across playbooks where appropriate. For example, a single SBOM, scan result or release record may satisfy related evidence requirements and release-gate criteria for more than one playbook.
  • Allow exceptions only with a documented rationale, owner and review date.
  • Refresh playbooks periodically based on incident learnings, vulnerability trends and product changes.

It is important to note that the items listed under ‘Minimum evidence’ do not necessarily require separate documents or artefacts. A single item of evidence may support several playbooks. Organisations should reuse existing engineering records wherever possible, including architecture diagrams, repository files, configuration records, issue-tracking tickets, test results, SBOMs, CI/CD outputs and release records.

The contents of this section should be treated as a baseline rather than a final state. As products evolve, risks change and new features are introduced, the content should be reviewed and updated to ensure that secure by design and secure by default remain effective over time.

The playbooks can be adopted progressively, prioritising those most relevant to the product’s risks, intended use and development context. Progressive adoption does not imply delaying any applicable requirements or controls, including those arising from legal obligations under the CRA. A suggested approach is provided at the end of this section.

5. Machine-processable attestation

Machine-processable attestation

Annex B: Cyber Resilience Act essential requirements
IDCRA text
ANNEX-1.PT1.1ANNEX-1.PT1.1Products with digital elements shall be designed, developed and produced

in such a way that they ensure an appropriate level of cybersecurity based

on the risks.

ANNEX-1.PT1.2On the basis of the cybersecurity risk assessment referred to in

Article 13(2) and where applicable, products with digital elements shall:

ANNEX-1.PT1.2.abe made available on the market without known exploitable vulnerabilities;
ANNEX-1.PT1.2.bANNEX-1.PT1.2.bbe made available on the market with a secure by default configuration,

unless otherwise agreed between manufacturer and business user in

relation to a tailor-made product with digital elements, including the

possibility to reset the product to its original state;

ANNEX-1.PT1.2.censure that vulnerabilities can be addressed through security updates,

including, where applicable, through automatic security updates that are

installed within an appropriate timeframe enabled as a default setting, with

a clear and easy-to-use opt-out mechanism, through the notification of

available updates to users, and the option to temporarily postpone them;

ANNEX-1.PT1.2.densure protection from unauthorised access by appropriate control

mechanisms, including but not limited to authentication, identity or access

management systems, and report on possible unauthorised access;

ANNEX-1.PT1.2.eprotect the confidentiality of stored, transmitted or otherwise processed

data, personal or other, such as by encrypting relevant data at rest or in

transit by state of the art mechanisms, and by using other technical

means;

ANNEX-1.PT1.2.fprotect the integrity of stored, transmitted or otherwise processed data,

personal or other, commands, programs and configuration against any

manipulation or modification not authorised by the user, and report on

corruptions;

ANNEX-1.PT1.2.gprocess only data, personal or other, that are adequate, relevant and

limited to what is necessary in relation to the intended purpose of the

product with digital elements (data minimisation);

ANNEX-1.PT1.2.hprotect the availability of essential and basic functions, also after an

incident, including through resilience and mitigation measures against

denial-of-service attacks;

ANNEX-1.PT1.2.iminimise the negative impact by the products themselves or connected

devices on the availability of services provided by other devices or

networks;

ANNEX-1.PT1.2.jbe designed, developed and produced to limit attack surfaces, including

external interfaces;

ANNEX-1.PT1.2.kbe designed, developed and produced to reduce the impact of an incident

using appropriate exploitation mitigation mechanisms and techniques;

ANNEX-1.PT1.2.lprovide security related information by recording and monitoring relevant

internal activity, including the access to or modification of data, services or

functions, with an opt-out mechanism for the user;

ANNEX-1.PT1.2.mprovide the possibility for users to securely and easily remove on a

permanent basis all data and settings and, where such data can be

transferred to other products or systems, ensure that this is done in a

secure manner.

ANNEX-1.PT2.1[Manufacturers of products with digital elements shall:]

identify and document vulnerabilities and components contained in

products with digital elements, including by drawing up a software bill of

materials in a commonly used and machine-readable format covering at

the very least the top-level dependencies of the products;

ANNEX-1.PT2.2in relation to the risks posed to products with digital elements, address

and remediate vulnerabilities without delay, including by providing security

updates; where technically feasible, new security updates shall be

provided separately from functionality updates;

ANNEX-1.PT2.3apply effective and regular tests and reviews of the security of the product

with digital elements;

ANNEX-1.PT2.4once a security update has been made available, share and publicly

disclose information about fixed vulnerabilities, including a description of

the vulnerabilities, information allowing users to identify the product with

digital elements affected, the impacts of the vulnerabilities, their severity

and clear and accessible information helping users to remediate the

vulnerabilities; in duly justified cases, where manufacturers consider the

security risks of publication to outweigh the security benefits, they may

delay making public information regarding a fixed vulnerability until after

users have been given the possibility to apply the relevant patch;

ANNEX-1.PT2.5put in place and enforce a policy on coordinated vulnerability disclosure;
ANNEX-1.PT2.6ANNEX-1.PT2.6take measures to facilitate the sharing of information about potential

vulnerabilities in their product with digital elements as well as in third-party

components contained in that product, including by providing a contact

address for the reporting of the vulnerabilities discovered in the product

with digital elements;

ANNEX-1.PT2.7provide for mechanisms to securely distribute updates for products with

digital elements to ensure that vulnerabilities are fixed or mitigated in a

timely manner and, where applicable for security updates, in an automatic

manner;

ANNEX-1.PT2.8ensure that, where security updates are available to address identified

security issues, they are disseminated without delay and, unless

otherwise agreed between a manufacturer and a business user in relation

to a tailor-made product with digital elements, free of charge,

accompanied by advisory messages providing users with the relevant

information, including on potential action to be taken.

Annex C: Mapping security principles to Cyber Resilience Act essential requirements
PrincipleCRA essentialImplementation support

requirement

Trust boundaries and threat modellingANNEX-1.PT1.1Supports identification and assessment of cybersecurity risks by making trust assumptions, assets and attack paths explicit during design
ANNEX-1.PT1.2.dSupports protection from unauthorised access by clarifying where authentication and access controls are required between trust boundaries
ANNEX-1.PT1.2.eSupports confidentiality protections by identifying where data crosses trust boundaries and requires protection
ANNEX-1.PT1.2.fSupports integrity protection by identifying where data, commands or configuration cross boundaries and may require integrity controls
ANNEX-1.PT1.2.jSupports attack surface limitation by identifying exposed interfaces and unnecessary trust relationships
Least privilegeANNEX-1.PT1.2.dSupports protection from unauthorised access by limiting what authenticated users, services and processes are permitted to access or perform
ANNEX-1.PT1.2.fSupports integrity protection by limiting which identities are authorised to modify data, programs or configuration
ANNEX-1.PT1.2.gSupports data minimisation by limiting access to data to what is necessary for the intended purpose
Strong identity and authentication architectureANNEX-1.PT1.2.dSupports access protection by defining how identities are authenticated and managed across interfaces
ANNEX-1.PT1.2.lSupports logging and monitoring of authentication and access-related activity
Attack surface minimisationANNEX-1.PT1.2.bSupports secure by default configuration by reducing enabled features and services at initial deployment
ANNEX-1.PT1.2.jSupports attack surface limitation by reducing unnecessary interfaces, services and exposed functionality
Defence in depthANNEX-1.PT1.2.hSupports availability and resilience by relying on multiple layers of protection rather than a single control
ANNEX-1.PT1.2.kSupports impact reduction by applying multiple mitigation mechanisms that limit the effect of exploitation
Open designANNEX-1.PT2.3Supports effective testing and review by using designs that can be examined and assessed
ANNEX-1.PT2.4Supports vulnerability disclosure by aligning with transparent communication of security issues and fixes
Life-cycle managementANNEX-1.PT1.2.cSupports the ability to address vulnerabilities over the product lifetime through updates
ANNEX-1.PT1.2.mSupports secure decommissioning by providing mechanisms to remove data and settings at end of use
ANNEX-1.PT2.2Supports timely remediation of vulnerabilities throughout the supported life cycle
ANNEX-1.PT2.7Supports controlled and secure distribution of updates over time
User-centric designANNEX-1.PT1.2.bSupports secure by default configuration that users can reasonably adopt and maintain
Secure coding and verification practicesANNEX-1.PT1.2.aSupports release without known exploitable vulnerabilities by identifying and addressing issues during development
ANNEX-1.PT2.1Supports identification and documentation of vulnerable components during development
ANNEX-1.PT2.3Supports regular testing and review of product security during development and before release
Logging, monitoring and alertingANNEX-1.PT1.2.dSupports detection and reporting of unauthorised access attempts
ANNEX-1.PT1.2.lSupports recording and monitoring of security-relevant internal activity
Configuration and change managementANNEX-1.PT1.2.fSupports protection of configuration integrity by controlling, reviewing, and rolling back configuration changes.
ANNEX-1.PT1.2.dSupports protection from unauthorised access by restricting who can deploy or modify configurations, particularly in production environments
Incident response and recoveryANNEX-1.PT1.2.hSupports recovery and continued availability of essential functions after incidents
ANNEX-1.PT1.2.kSupports reduction of incident impact through prepared response and mitigation actions
Vulnerability and patch managementANNEX-1.PT2.1Supports identification and tracking of vulnerable components and dependencies throughout the product life cycle
ANNEX-1.PT2.2Supports timely triage and remediation of identified vulnerabilities based on risk
ANNEX-1.PT2.4Supports public disclosure of fixed vulnerabilities
ANNEX-1.PT2.5Supports coordinated handling and disclosure of vulnerabilities
ANNEX-1.PT2.6Supports mechanisms for receiving vulnerability reports from external parties
ANNEX-1.PT2.7Supports secure distribution of patches and updates
ANNEX-1.PT2.8Supports timely dissemination of security updates and related user guidance
Supply-chain controlsANNEX-1.PT1.2.aSupports reduction of exploitable vulnerabilities introduced through compromised components
ANNEX-1.PT2.1Supports transparency of components and dependencies through SBOM generation
ANNEX-1.PT2.7Supports secure distribution of updates through protected build and release channels
Minimisation of default servicesANNEX-1.PT1.2.bSupports secure by default configuration by disabling non-essential features and services at initial deployment
ANNEX-1.PT1.2.iSupports minimising negative impact on other services by disabling non-essential functionality that could otherwise be abused or misused
ANNEX-1.PT1.2.jSupports limitation of attack surfaces by reducing exposed services and interfaces by default
Restrictive initial accessANNEX-1.PT1.2.bSupports secure by default access settings by avoiding permissive initial credentials and permissions
ANNEX-1.PT1.2.dSupports protection from unauthorised access by enforcing restrictive authentication and access-control settings at first use
Secure communication by defaultANNEX-1.PT1.2.bSupports secure by default configuration by enforcing encrypted and authenticated communications from initial connection
ANNEX-1.PT1.2.eSupports confidentiality of transmitted data by applying encryption to communications from first use
ANNEX-1.PT1.2.fSupports integrity protection of transmitted data by preventing unauthorised modification of data in transit
Unique device identity and secrets by defaultANNEX-1.PT1.2.bSupports secure by default configuration by avoiding shared credentials and shared cryptographic material
ANNEX-1.PT1.2.dSupports protection from unauthorised access by avoiding shared credentials and enforcing unique device authentication
ANNEX-1.PT1.2.eSupports confidentiality by preventing reuse or leakage of shared secrets across devices
Mandatory security onboardingANNEX-1.PT1.2.bSupports secure by default configuration by requiring critical security features to be configured before initial exposure
ANNEX-1.PT1.2.dSupports protection from unauthorised access by ensuring that authentication and access controls are configured at first use
Automated maintenance and updatesANNEX-1.PT1.2.bSupports a secure by default posture by enabling automatic security updates
ANNEX-1.PT1.2.cSupports the ability to address vulnerabilities through automatic security updates enabled by default
ANNEX-1.PT2.2Supports timely remediation of vulnerabilities by reducing reliance on manual patch deployment
ANNEX-1.PT2.7Supports secure and timely distribution of security updates by enabling automated update mechanisms
Transparent security postureANNEX-1.PT1.2.bSupports secure by default configuration by guiding users back to a secure baseline when insecure choices are made
ANNEX-1.PT1.2.lSupports security-related information by informing users of security-relevant state changes and risks
Secure recovery and ownership life cycleANNEX-1.PT1.2.bSupports secure by default configuration by providing safe recovery and reset paths that restore a secure baseline
ANNEX-1.PT1.2.dSupports protection from unauthorised access during recovery, reset and ownership transfer processes
ANNEX-1.PT1.2.mSupports secure removal of data and settings during factory reset, decommissioning or ownership transfer

1.1 Nuorodos

1.2 Nustatyti reikalavimai

1.3 Susiję teisės aktai

2. Nustatyti reikalavimai

Reikalavimai
Šaltinis Reikalavimas

3. Susiję teisės aktai

Teisės aktai
Šaltinis Reguliavimas

Susietos užduotys