Join our Newsletter — 33% off our NHI Course
Home› Guides› NCSC Cyber Security Design Principles Guide: Five Categories…
Guide Regulations & Frameworks

NCSC Cyber Security Design Principles Guide: Five Categories Applied to a Real System Design

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

The NCSC's cyber security design principles are widely quoted in architecture documents, but quoting a principle is not the same as showing which design decision satisfies it. The UK National Cyber Security Centre (NCSC) groups its principles into five categories: establish the context, make compromise difficult, make disruption difficult, make compromise detection easier, and reduce the impact of compromise (version 1.0, published 21 May 2019). The NCSC says the guidance is for people who design systems, is most useful during design and build, can also be used to review existing systems, and needs customising to each situation. This guide does not restate the principles; it applies each category to one generic worked system, shows the decisions it drives, maps them to controls and gives review questions per category. It is written for security architects and solution designers. For the NCSC's broader baseline guidance, see the NCSC 10 Steps and 14 Cloud Security Principles.

Key takeaways

  • Context comes first, not last. The NCSC lists "Establish the context before designing a system" as principle 1; purpose, unacceptable impacts, threat model, suppliers and end-to-end data flows shape every later decision.
  • Admin paths are a design topic. Principle 2.4 tells you to keep privileged users off email and web browsing on the devices and accounts they administer from, and notes that bastion hosts alone do not stop malware hijacking a remote session.
  • Resilience against failure is not resilience against attack. Principle 3.1 warns that ten identical servers sharing one vulnerability can all be taken down with little extra effort.
  • Detection depends on simple, documented flows. Principle 4.2 says components communicating in ways not in your design can be a strong indication of compromise, so draw allowed paths and alert on the rest.
  • Design to limit the blast radius. Category 5 covers segmentation, avoiding a management bypass, recovering to a known clean state, separation of duties, anonymised exports and avoiding unnecessary caches.

The five categories at a glance

The collection also holds a virtualisation variant of the principles, worked examples for operational technology and virtualisation, and the related security architecture anti-patterns paper. The table lists the categories in the order the NCSC publishes them and the numbered principles beneath each, paraphrased.

#Category (NCSC wording)Numbered principles (paraphrased)
1Establish the context before designing a system1.1 purpose, needs and acceptable risk; 1.2 threat model; 1.3 suppliers' role; 1.4 end-to-end view; 1.5 risk governance; 1.6 unambiguous responsibilities
2Make compromise difficult2.1 transform, validate or safely render external input; 2.2 reduce attack surface; 2.3 confidence in crucial controls; 2.4 protect management environments; 2.5 tried and tested approaches; 2.6 individually authorised and accounted operations; 2.7 easy maintenance; 2.8 easy access control management; 2.9 easy for users to do the right thing
3Make disruption difficult3.1 resilient to attack and failure; 3.2 design for scalability; 3.3 find bottlenecks, test high load and denial of service; 3.4 plan for third-party failure
4Make compromise detection easier4.1 collect relevant events and logs; 4.2 simple communication flows; 4.3 detect command and control; 4.4 independent monitoring; 4.5 hide security rules from external testing; 4.6 know normal, detect abnormal
5Reduce the impact of compromise5.1 zoned or segmented network; 5.2 remove unnecessary functionality; 5.3 beware management bypass; 5.4 easy recovery; 5.5 separation of duties; 5.6 anonymise exported data; 5.7 no arbitrary queries; 5.8 avoid unnecessary caches

Worked system: the example design

The example is a fictional, generic service so the decisions can be followed end to end. It is not based on any real organisation.

Diagram description: Members of the public use a browser to reach an online application service for permits. Traffic passes through a cloud provider's DDoS protection and a web application firewall to a stateless web front end running in containers across two availability zones. The front end calls an internal API tier, which writes to a managed relational database and stores uploaded supporting documents (PDFs and images) in object storage. A background worker sends status emails through a third-party notification service using an API key. Caseworkers use a separate internal web app, signed in through the organisation's identity provider with MFA. Engineers administer the platform through the cloud console and a CI/CD pipeline; the pipeline deploys with a workload identity. Logs flow to a security monitoring platform in a separate account. A nightly export feeds a reporting tool used by managers.

  • Components: edge (DDoS protection, WAF), web front end, API tier, database, document store, notification worker, caseworker app, CI/CD pipeline, monitoring account, reporting tool.
  • Identities: public users, caseworkers, engineers, the pipeline's workload identity, the worker's notification API key, the database service account.
  • External parties: cloud provider, notification service, a support supplier that maintains the caseworker app.

Establishing the context

Before the design is drawn, the team records what the NCSC asks for in category 1.

  • Purpose and unacceptable impacts (1.1): the service accepts applications; unacceptable impacts are disclosure of applicants' personal data, fraudulent approvals and loss of submitted documents. These are written into the risk register and shared with everyone designing the system.
  • Threat model (1.2): attack trees for "approve a fraudulent application" and "bulk export applicant data". Following the NCSC's common baseline, the goal is to defend against publicly known tools and techniques, detect attempts using them, and recover from a worst case such as total data loss within a set time. See the Threat Modelling Guide.
  • Suppliers (1.3): security responsibilities for the cloud provider, notification service and support supplier are stated in contracts without being so prescriptive that they encourage adversarial behaviour.
  • End to end (1.4): the data flow map includes caseworker devices (anything displayed there is present there), the support supplier's management environment, the WAF and any TLS-inspecting proxy, log copies and the reporting export, and every environment from development to production.
  • Governance and responsibilities (1.5, 1.6): trade-offs are written in business terms, and the on-call engineer is empowered to reduce functionality, for example switch off document upload, without waiting for senior approval.

Review questions: What impacts are unacceptable and who signed them off? Which attack trees exist? Is every copy of the data on the flow map, including logs and exports? Who can degrade the service in an emergency?

Making compromise difficult

  • External input (2.1): uploaded PDFs and images are transformed into a safe format before caseworkers open them, rather than relying on validation of complex files. Where transformation fails, files open in a non-persistent viewer. Container images are signature-verified before deployment. See Attachment Sandboxing vs CDR.
  • Attack surface (2.2): only the edge is internet-facing; the API tier and database have no public endpoints; default accounts and demo features are removed from images.
  • Crucial controls (2.3): the identity provider, WAF and pipeline are the controls that matter most, so they get the deepest evidence: certifications, penetration test reports and configuration drift checks.
  • Management environment (2.4): engineers administer from dedicated admin devices or a remote admin environment with no email or web browsing; the cloud console requires phishing-resistant MFA.
  • Individually authorised operations (2.6, 2.8): every caseworker and engineer has a named account through single sign-on; break-glass accounts are documented and monitored.
  • Maintenance (2.7): stateless containers across two zones allow frequent small updates without outages.

Where identity fits: the pipeline uses short-lived workload identity federation instead of a stored cloud key, and the notification API key sits in a secrets manager scoped to the worker alone. These non-human identities reach production more often than any person, so they get the same individual accountability that principle 2.6 asks for people. See the workload identity platform security guide.

Review questions: How is each uploaded file made safe before a person opens it? Which interfaces are reachable from the internet, and why? Can any admin action be taken from a device that also reads email? Are any actions performed through shared accounts or long-lived keys?

Making disruption difficult

  • Attack versus failure (3.1): two zones protect against faults, but identical containers share vulnerabilities, so the team also relies on fast patching and WAF rules. Backups of the database and document store are held where an attacker with production access cannot delete them. See the Backup Security and Immutable Backup Guide.
  • Scalability (3.2): the front end and API tier auto-scale; the database tier has a documented scaling limit.
  • Bottlenecks and testing (3.3): the document transformation step and the notification service are the bottlenecks. In pre-production the team deliberately terminates components to simulate denial of service and tests its response, not just the failure.
  • Third-party failure (3.4): if the notification service fails, applications are still accepted and emails queue; if the identity provider fails, caseworkers have a documented degraded mode.

Review questions: Would a single vulnerability take down every replica? Can production credentials delete backups? What happens when each third party is unavailable at peak demand? See the DDoS Protection Guide for edge design.

Making compromise detection easier

  • Logs (4.1): application logs record who accessed which application and when, alongside infrastructure logs; logs are shipped to the separate monitoring account where production roles cannot alter them.
  • Simple flows (4.2): the allowed flows are front end to API on one port, API to database on one port, worker to notification service; any other connection raises an alert.
  • Command and control (4.3): outbound traffic from the worker and API tier is limited to an allow-list of destinations; blocked attempts are logged and reviewed. See Cloud Egress Filtering.
  • Independent monitoring (4.4): the monitoring platform lives in another account with separate administrators, so an attacker in production cannot see whether they have been detected.
  • Hidden rules (4.5) and normal behaviour (4.6): users see a generic sign-in failure message; baselines cover export volumes, caseworker approval rates and API call rates per identity.

Review questions: Can the logs answer who approved which application? Is the allowed flow list written down and alerted on? Could a production administrator turn off monitoring?

Reducing the impact of compromise

  • Segmentation (5.1): the public tier, caseworker app, data tier and pipeline are in separate network segments and accounts, and traffic between them is monitored.
  • Unnecessary functionality and management bypass (5.2, 5.3): debug endpoints are removed from production, and the support supplier's access to the caseworker app is not easier than a caseworker's: named accounts, MFA and access only while a ticket is open.
  • Recovery (5.4): infrastructure and images are rebuilt from the pipeline to a known clean state, while logs and evidence are preserved for investigation.
  • Separation of duties (5.5): approving an application above a set value needs two caseworkers; bulk data export needs a second approver.
  • Exports, queries and caches (5.6 to 5.8): the reporting export removes personal identifiers at source; caseworkers search through defined screens, not free-form queries; cached application data expires soon after use.

Review questions: If the front end is compromised, what else can the attacker reach? Is any management route weaker than the system it manages? Can the system be rebuilt without losing evidence? Can one person export all applicant data?

Principle-to-control mapping

The table maps the decisions in the worked example to NIST SP 800-53 Rev 5 controls and NIST CSF 2.0 outcomes. It is a starting point for your own control set, not an official NCSC mapping.

CategoryWorked example decisionNIST SP 800-53 Rev 5NIST CSF 2.0
Establish the contextUnacceptable impacts, attack trees, supplier responsibilities, named rolesRA-3 Risk Assessment, PL-8 Security and Privacy Architectures, SR-6 Supplier Assessments and ReviewsID.RA-04, GV.RR-02
Make compromise difficultTransform uploads, minimal exposure, admin devices, named accounts, signed imagesSI-10 Information Input Validation, CM-7 Least Functionality, AC-6 Least Privilege, SI-7 Software, Firmware, and Information IntegrityPR.AA-01, PR.PS-01
Make disruption difficultAuto-scaling, DDoS protection, protected backups, third-party failure plansSC-5 Denial-of-service Protection, CP-9 System Backup, CP-2 Contingency PlanPR.IR-03, PR.DS-11
Make compromise detection easierApplication and infrastructure logs, allowed flows, egress allow-list, separate monitoring accountAU-2 Event Logging, AU-9 Protection of Audit Information, SI-4 System MonitoringDE.CM-01, DE.AE-02
Reduce the impact of compromiseSegments and accounts, no management bypass, clean rebuild, dual approval, anonymised exportsSC-7 Boundary Protection, AC-5 Separation of Duties, CP-10 System Recovery and ReconstitutionPR.IR-01, RS.MI-01

Applying it in your organisation

  1. Pick one system in design. Write the category 1 context before anything else and get the unacceptable impacts signed off.
  2. Draw the end-to-end flow map including devices, suppliers, log copies and every environment.
  3. Walk categories 2 to 5 with the review questions above and record a decision, owner and evidence for each.
  4. Test the claims: simulate component failure in pre-production, attempt a disallowed flow and confirm the alert, restore from backup to a clean build.
  5. Repeat on change and at major releases; feed gaps into the risk register.

Small versus large teams: a small team can lean on managed services and a single, well-run monitoring account; a large organisation should add tiered administration and formal supplier assurance. In both, measure: share of designs with signed-off context, number of undocumented flows found in testing, share of admin actions from approved admin environments, time to rebuild to a clean state, and number of shared or long-lived credentials on production paths.

Common failure patterns

  • Skipping context: controls are chosen from a catalogue before anyone agrees what impacts are unacceptable, so effort goes to the wrong places.
  • Treating redundancy as security: identical replicas give availability against faults but fall together to one exploited flaw.
  • Monitoring inside the blast radius: logs and security tools administered from the same accounts as production can be switched off by the attacker.
  • A weaker management route: a supplier or pipeline path with broad, always-on access undoes the segmentation built for users.
  • Forgotten data copies: reporting exports, caches and log stores hold the same personal data with weaker controls.

Practitioner checklist

  • Record purpose, unacceptable impacts and accepted risks before drawing the architecture, and share them with every designer.
  • Build attack trees for the two or three outcomes that matter most and map controls to them.
  • Put devices, suppliers, inspection proxies, logs, exports and all environments on the data flow map.
  • Transform or safely render untrusted files before people or systems process them.
  • Administer only from environments with no email or web browsing, and give every person and workload an individual identity.
  • Test denial of service and component failure in pre-production, and keep backups out of reach of production credentials.
  • Document allowed flows, alert on anything else and host monitoring separately from what it watches.
  • Segment tiers, remove management bypasses, require dual approval for high-impact actions and anonymise exports at source.

Standards and references

Related NHI Mgmt Group resources: Secure by Design for UK Government Guide, NCSC Zero Trust Architecture Design Principles Guide, NCSC Cyber Assessment Framework (CAF) Guide and NCSC Supply Chain Security Principles Guide.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.