3.1 Secure Design Principles

CISSP Domain 3 ยท Security Architecture and Engineering

3.1 Secure Design Principles

Secure systems do not happen simply because security products are added after deployment. Security must influence requirements, architecture, design, implementation and operation from the beginning.

Secure design principles provide reusable engineering ideas that help reduce attack surface, limit the consequences of compromise and make systems easier to protect.

๐Ÿ—๏ธ

Design Securely

Build security into architecture and requirements from the start.

DESIGN BEFORE DEPLOYMENT
๐Ÿ›ก๏ธ

Limit Exposure

Reduce privileges, functionality, trust and unnecessary attack paths.

REDUCE WHAT CAN GO WRONG
๐Ÿ”

Verify Continuously

Do not depend on assumptions about users, systems or network location.

VERIFY BEFORE TRUST

The Big Idea

Secure design is about making security a property of the system rather than an additional feature placed around it.

๐ŸŽฏ Requirements โ†’ What must be protected?
๐Ÿ‘พ Threats โ†’ How could it be attacked?
๐Ÿ—๏ธ Architecture โ†’ Where should security boundaries exist?
๐Ÿ” Controls โ†’ How should access and behaviour be restricted?
๐Ÿ’ฅ Failure โ†’ What happens when something goes wrong?
๐Ÿ”Ž Verification โ†’ Can we demonstrate that the design works securely?
Foundation

Secure by Design

Secure by design means security is considered when the system is being conceived and engineered, rather than relying on users or administrators to repair an insecure design later.

Weak approach

Build the application first.

Perform security testing immediately before production.

Add controls afterwards when problems are discovered.

Secure-by-design approach

Identify protection needs and threats early.

Define trust boundaries and security requirements.

Design security into the architecture.

Security defects are often architectural

A firewall cannot necessarily repair a fundamentally insecure trust model, excessive privileges or poor separation between critical components.

Secure by Design vs Secure by Default

ConceptMain questionExample
Secure by DesignWas security engineered into the system?The architecture separates administrative services from user-facing services.
Secure by DefaultIs the system secure before users change its configuration?Administrative interfaces are not internet-accessible by default.
Example

A new router supports strong authentication and encrypted management protocols.

However, it ships with:

  • a known administrator password;
  • Telnet enabled;
  • remote administration exposed to the internet;
  • logging disabled.

The product may contain security capabilities, but its default configuration is insecure.

CISSP 3.1 Secure Design Principles

PrincipleCore idea
Threat ModelingUnderstand how the design might be attacked.
Least PrivilegeGive only the access actually required.
Defence in DepthUse multiple complementary layers of security.
Secure DefaultsStart from the safer configuration.
Fail SecurelyFailure should not automatically create insecure access.
Segregation of DutiesSeparate critical responsibilities.
Keep it Simple and SmallReduce unnecessary complexity and functionality.
Zero Trust / Trust but VerifyDo not depend on assumed trust.
Privacy by DesignBuild privacy protection into the system.
Shared ResponsibilityUnderstand where security responsibilities are divided.
SASEIntegrate modern network and security access capabilities.
๐Ÿ‘พ Threat Modeling Think like an attacker while you can still change the design

Threat modeling is the structured process of identifying how a system could be attacked and determining which security controls should be incorporated into the design.

1๏ธโƒฃ Identify โ†’ What are we building?
2๏ธโƒฃ Assets โ†’ What needs protection?
3๏ธโƒฃ Boundaries โ†’ Where does trust change?
4๏ธโƒฃ Threats โ†’ What could go wrong?
5๏ธโƒฃ Controls โ†’ How do we reduce the risk?
6๏ธโƒฃ Validate โ†’ Does the design address the threats?
Architecture example

A mobile banking application communicates with an API.

Threat modeling may identify:

  • stolen user credentials;
  • API abuse;
  • session theft;
  • unauthorised transaction modification;
  • sensitive information exposure;
  • service-to-service impersonation.

Those threats can then influence authentication, authorisation, transaction validation, logging, encryption and architectural boundaries.

Domain 1 vs Domain 3

Threat modeling also appears in Domain 1.

In Domain 1, think about threat modeling as part of risk management.

In Domain 3, think about using threat information to influence system architecture and engineering.

๐Ÿ”‘ Least Privilege Give only the access that is genuinely required

Least privilege means that a user, application, service or process should receive only the permissions required to perform its authorised function.

User

A payroll employee can process payroll but cannot administer the operating system.

Application

A reporting application receives read-only access to the database rather than database administrator privileges.

Service Account

A backup service can read required files but cannot create new domain administrators.

Administrator

Elevated privileges are provided only when an administrative task requires them.

Weak design

A web application connects to its database using:

Database Administrator

An attacker who compromises the application could potentially inherit those privileges.

Better design

The application account can perform only the specific database operations required by the application.

Application compromise now has a smaller potential blast radius.
Least privilege is about limiting consequences

It does not guarantee that compromise will never occur.

It reduces what a compromised user, service or process can do afterwards.

๐Ÿ›ก๏ธ Defence in Depth Never depend entirely on one security control

Defence in depth uses multiple complementary security controls so that failure or bypass of one control does not automatically result in complete compromise.

๐ŸŒ Network โ†’ Segmentation and filtering
๐Ÿชช Identity โ†’ MFA and access control
๐Ÿ’ป Endpoint โ†’ Hardening and endpoint protection
๐Ÿ“ฑ Application โ†’ Authentication and input validation
๐Ÿ” Data โ†’ Encryption and access restrictions
๐Ÿ”Ž Detection โ†’ Logging and monitoring
Example

An attacker steals an employee password.

Defence in depth means the stolen password alone may still not be enough because:

  • MFA is required;
  • device posture is checked;
  • least privilege restricts access;
  • network segmentation restricts movement;
  • sensitive information is separately protected;
  • unusual access generates monitoring alerts.
Layers should complement each other

Installing five firewalls that all depend on the same configuration weakness is not necessarily meaningful defence in depth.

โš™๏ธ Secure Defaults Start secure rather than asking users to become secure

Secure defaults mean that the initial configuration of a system should provide appropriate security without depending on the administrator or customer to manually enable every important safeguard.

Better Default

Access denied unless explicitly permitted.

Better Default

Strong authentication enabled.

Better Default

Unnecessary services disabled.

Better Default

Security logging enabled.

Better Default

Administrative interfaces not publicly exposed.

Better Default

Secure protocols preferred over insecure alternatives.

Default deny

When a system has no explicit rule permitting an action, denying that action is normally safer than permitting it automatically.

Example

A new cloud storage bucket is created.

A secure default would make the bucket private.

Public access should require a deliberate authorised configuration change.

๐Ÿ’ฅ Fail Securely Think about what happens when the control stops working

Systems fail.

Secure engineering therefore asks:

If this component fails, does the system become more secure or less secure?
Fail Open

Failure permits access or continued operation.

Fail Closed / Fail Secure

Failure denies access or preserves the required security state.

Security example

A high-security research facility loses connectivity to its central access-control server.

The secure design may require the protected entrance to remain locked.

But CISSP questions may include safety

Failing securely does not mean blindly locking every door during every failure.

Life safety requirements may require emergency exits to permit evacuation during fire or another emergency.

The correct design depends on the asset, threat and safety requirements.

Fail Securely

Security boundary Failure should not grant unauthorised access
Life safety People come before equipment

Fail safely for people. Fail securely for assets.

๐Ÿ‘ฅ Segregation of Duties Do not allow one person to control every critical step

Segregation of Duties, or SoD, divides critical responsibilities between multiple people or roles.

The objective is to reduce fraud, abuse, error and excessive individual control.

Financial example

One employee:

creates a supplier

Another:

approves the supplier

Another:

authorises payment

Technology example

A developer creates production code.

A reviewer approves the change.

An authorised deployment process releases it into production.

Related concept: dual control

Some highly sensitive actions may require two authorised individuals to participate before the action can occur.

Common mistake

Segregation of Duties and least privilege are related but different.

Least privilege limits how much authority one entity receives.

Segregation of Duties divides critical authority between multiple entities.

๐Ÿงฉ Keep it Simple and Small Complexity is difficult to secure

Every additional feature, service, dependency, interface and exception increases the amount of system behaviour that must be understood and secured.

More features โ†’ More code
More code โ†’ More possible defects
More interfaces โ†’ More attack paths
More complexity โ†’ Harder verification
Example

A production server needs to host one web application.

It does not need:

  • an FTP server;
  • a development environment;
  • three database engines;
  • unused remote-access software;
  • sample applications;
  • unnecessary management interfaces.

Removing unnecessary components reduces the attack surface and makes the system easier to understand.

Security benefits from simplicity

A small, understandable security mechanism is generally easier to review, test and maintain than an unnecessarily complicated one.

๐ŸŽฏ Attack Surface Reduction Reduce the number of opportunities available to an attacker

The attack surface consists of the interfaces, services, identities, systems and pathways an attacker could potentially interact with.

Network

Close unnecessary ports and services.

Software

Remove unused components and dependencies.

Identity

Remove unused accounts and excessive privileges.

Cloud

Avoid unnecessary public endpoints.

API

Expose only required methods and functionality.

Administration

Restrict management interfaces to authorised paths.

Attack Surface

More exposed functionality More opportunities to attack

If you do not need it, do not expose it.

๐Ÿ” Zero Trust Network location alone should not create trust

Traditional security architectures often assumed that systems inside the corporate network were more trustworthy than systems outside it.

Zero trust removes this assumption.

Being inside the network does not automatically mean you should have access.
๐Ÿ‘ค Identity โ†’ Who is requesting access?
๐Ÿ’ป Device โ†’ What device is being used?
๐Ÿ“ฆ Resource โ†’ What are they requesting?
๐ŸŒ Context โ†’ Where and how is the request occurring?
๐Ÿ“œ Policy โ†’ Should this access be allowed?
Traditional assumption

Employee laptop + office network = trusted.

Zero-trust approach

The employee's request may be evaluated using:

User identity MFA Device identity Device posture Application Resource sensitivity Location Risk
Zero Trust does NOT mean "trust nobody"

Access still occurs.

The important distinction is that trust is not granted automatically simply because a user, device or application is located inside a particular network.

Think resource, not perimeter

Zero trust moves the security decision closer to the resource and the identity requesting access rather than relying primarily on a large trusted internal network.

โœ… Trust but Verify Trust relationships should still be validated

Systems frequently depend on trusted users, suppliers, services, devices and software components.

A secure architecture should avoid treating those relationships as permanently trustworthy without validation.

Supplier example

An organisation trusts a cloud provider to operate part of its infrastructure.

That does not mean the organisation should stop:

  • reviewing assurance reports;
  • monitoring service performance;
  • checking security responsibilities;
  • reviewing incidents;
  • validating contractual requirements.
Trust should have evidence

The more important the dependency, the more important it becomes to understand how that trust is established, constrained and verified.

๐Ÿ•ถ๏ธ Privacy by Design Do not bolt privacy onto the system afterwards

Privacy by design means considering privacy requirements while the system, product or process is being designed.

๐Ÿ“ฅ Collection โ†’ Do we really need this information?
๐ŸŽฏ Purpose โ†’ Why are we processing it?
๐Ÿ‘๏ธ Access โ†’ Who genuinely needs it?
๐Ÿ“ Location โ†’ Where will copies exist?
โณ Retention โ†’ How long should it remain?
๐Ÿ—‘๏ธ Disposal โ†’ How will it eventually be removed?
Example

A weather application asks for:

full name, exact date of birth, passport number, precise continuous location and contact list.

But its actual requirement is only to provide the local weather forecast.

Privacy by design challenges unnecessary collection before the system is built around it.
Privacy and security overlap but are not identical

A database can be extremely well secured against attackers while still collecting or processing more personal information than the business genuinely requires.

๐Ÿค Shared Responsibility Outsourcing technology does not outsource every security responsibility

Modern systems depend heavily on cloud providers, SaaS vendors, managed-service providers and other external services.

Security responsibilities are therefore frequently shared between multiple parties.

Provider may manage

Physical infrastructure, some platform technology, service availability and provider-controlled components.

Customer may manage

Users, permissions, information, configurations, application security and appropriate use of the service.

SaaS example

An organisation stores sensitive documents in a SaaS collaboration platform.

The provider may operate the infrastructure.

The customer may still need to:

  • configure access appropriately;
  • manage user identities;
  • enable suitable authentication;
  • classify information;
  • monitor sharing;
  • manage retention requirements.
Common CISSP trap

Moving something to the cloud does not mean:

"The cloud provider is now responsible for all security."

Shared Responsibility

Provider Protects what it controls
Customer Protects what it controls
Organisation Must understand the boundary

Shared does not mean transferred.

โ˜๏ธ Secure Access Service Edge - SASE Network and security capabilities for distributed environments

Traditional organisations often routed remote users and branch offices back through a central corporate network before allowing access to applications or the internet.

Modern organisations increasingly have:

Cloud applications SaaS Remote workers Branch offices Mobile devices Multiple clouds Internet-based services

Secure Access Service Edge, or SASE, brings networking and security capabilities together so access and security policy can be applied closer to distributed users, devices and services.

SD-WAN

Software-defined connectivity across distributed locations.

Secure Web Gateway

Security policy for web access.

CASB

Visibility and policy around cloud-service use.

ZTNA

Identity and policy-focused access to applications and resources.

Firewall Services

Traffic policy and filtering delivered as part of the architecture.

Central Policy

Consistent policy across distributed access locations.

Traditional model

London employee working from home:

Home โ†’ VPN โ†’ London Data Centre โ†’ Security Controls โ†’ SaaS

SASE-style model

London employee working from home:

User โ†’ Nearby Security Service Edge โ†’ Authorised SaaS

Access and security policy can follow the user rather than depending entirely on traffic returning through one corporate data centre.

SASE is an architecture, not simply one security product

Think about the convergence of network connectivity and security services for distributed users and resources.

SASE

Network Connect distributed users and resources
Security Apply policy to that access
Cloud Deliver capabilities closer to where access occurs

SASE = Connectivity + Security at the Edge

Supporting Concepts

Other Secure Engineering Principles

These concepts help reinforce the secure-design ideas above and commonly appear in security architecture discussions.

Complete Mediation

Access should be checked whenever a protected resource is requested rather than relying indefinitely on an earlier decision.

Open Design

Security should depend on appropriately protected secrets such as cryptographic keys, not on keeping the entire design secret.

Least Common Mechanism

Reduce unnecessary sharing of mechanisms and resources between different users or trust domains.

Isolation

Separate components so compromise of one does not automatically compromise everything else.

Compartmentalisation

Divide systems and information into controlled areas to limit exposure and blast radius.

Psychological Acceptability

Security mechanisms should be practical enough that legitimate users can use them correctly without constantly attempting to bypass them.

Connect the Concepts

Secure design principles work together

๐Ÿ‘พ Threat Modeling โ†’ Understand how compromise could occur
๐ŸŽฏ Attack Surface Reduction โ†’ Remove unnecessary attack opportunities
๐Ÿ”‘ Least Privilege โ†’ Limit what compromised identities can do
๐Ÿ›ก๏ธ Defence in Depth โ†’ Make attackers overcome multiple controls
๐Ÿ” Zero Trust โ†’ Do not rely on implicit trust
๐Ÿ’ฅ Fail Securely โ†’ Prevent failures from creating easy access
๐Ÿ”Ž Monitoring โ†’ Detect when assumptions or controls fail
Practical Scenario

Designing a Customer Banking Application

An organisation is designing a new internet-facing banking application.

Consider how the secure design principles could influence the architecture.

Threat Modeling

Identify credential theft, API abuse, account takeover, data leakage and transaction manipulation threats.

Least Privilege

Application services receive only the database permissions they actually require.

Defence in Depth

Combine MFA, API controls, segmentation, application validation, encryption and monitoring.

Secure Defaults

New customer capabilities remain disabled until required authentication and enrolment steps are complete.

Fail Securely

If transaction authorisation cannot be validated, the transaction is not automatically approved.

Segregation of Duties

No single employee can develop, approve and deploy a sensitive production change alone.

Keep it Simple

Remove unnecessary APIs, services and dependencies.

Zero Trust

Administrative access requires identity, device and policy verification regardless of network location.

Privacy by Design

Collect only information required for legitimate banking and regulatory purposes.

Shared Responsibility

Document which security responsibilities belong to the cloud provider and which remain with the bank.

๐ŸŽ“ CISSP Scenarios Apply the design principle rather than memorising the definition
Scenario 1

An application service needs read access to one database table. The administrator grants it database administrator rights because this is quicker.

Which principle was violated?

Answer: Least Privilege.

Scenario 2

An application requires users to manually enable MFA after creating their account.

The architect proposes enabling MFA automatically for privileged accounts.

Which principle is being improved?

Answer: Secure Defaults.

Scenario 3

A firewall fails and automatically allows all traffic because administrators do not want an outage.

Which design principle should be reviewed?

Answer: Fail Securely.

Scenario 4

The same employee can create a new supplier, approve the supplier and authorise payment.

Which principle is missing?

Answer: Segregation of Duties.

Scenario 5

A production web server contains seven unused services, two development frameworks and several sample applications.

Which principle would MOST directly improve the design?

Answer: Keep it Simple and Small / Attack Surface Reduction.

Scenario 6

A company assumes every laptop connected to the office network is trusted and permits broad application access without further checks.

Which principle challenges this design?

Answer: Zero Trust.

Scenario 7

An application collects exact location continuously even though it needs only the user's country.

Which principle should the architect apply?

Answer: Privacy by Design.

Scenario 8

A company assumes its SaaS provider is responsible for user permissions inside the customer's tenant.

Which concept has been misunderstood?

Answer: Shared Responsibility.

Scenario 9

A security architecture uses MFA, network segmentation, endpoint protection, application controls and monitoring.

Which principle is BEST demonstrated?

Answer: Defence in Depth.

Scenario 10

Before building an API, architects identify trust boundaries, data flows, attackers and possible abuse scenarios.

Which activity are they performing?

Answer: Threat Modeling.

Scenario 11

Remote employees access cloud applications through cloud-delivered network and security services rather than routing every connection through the corporate data centre.

Which architectural concept is MOST relevant?

Answer: SASE.

Scenario 12

A sensitive application checks the user's permission when they log in but never checks it again when individual protected resources are requested.

Which supporting design principle should be considered?

Answer: Complete Mediation.

CISSP Exam Perspective

How CISSP is likely to test Secure Design

CISSP questions are more likely to present an architectural problem and ask which principle BEST addresses it than simply ask you to recite a definition.

Excessive permissions

Think: Least Privilege

One control protecting everything

Think: Defence in Depth

Unsafe initial configuration

Think: Secure Defaults

Control failure creates access

Think: Fail Securely

One person controls everything

Think: Segregation of Duties

Too much unnecessary functionality

Think: Keep it Simple / Reduce Attack Surface

Internal network automatically trusted

Think: Zero Trust

Unnecessary personal information

Think: Privacy by Design

"The cloud provider handles everything"

Think: Shared Responsibility

Remote users + cloud + distributed services

Think: SASE

โš ๏ธ Common CISSP Mistakes Important distinctions to remember
Secure by Design โ‰  Secure by Default

Design concerns how the system is engineered.

Defaults concern how securely the system starts operating before configuration changes.

Least Privilege โ‰  Need-to-Know

Least privilege limits permissions.

Need-to-know asks whether access to particular information is required for an authorised purpose.

Least Privilege โ‰  Segregation of Duties

Least privilege limits authority.

Segregation of Duties separates authority.

Defence in Depth โ‰  Lots of security products

Effective defence in depth uses complementary controls protecting different attack paths and failure modes.

Fail Securely โ‰  Always lock everything

Security architecture must also account for life safety and business requirements.

Zero Trust โ‰  No trust is ever established

The important concept is removing inappropriate implicit trust and continuously making access decisions based on relevant context.

Cloud โ‰  Provider owns all risk

Responsibilities change between service models, but the customer retains security responsibilities.

Privacy โ‰  Confidentiality only

Encrypting personal information does not answer whether the information should have been collected or retained in the first place.

SASE โ‰  VPN with a new name

SASE represents a broader convergence of distributed network and security capabilities.

Quick Comparison

If the problem is...Think...
We do not know how attackers might target the designThreat Modeling
Users or applications have excessive permissionsLeast Privilege
The organisation depends on one security controlDefence in Depth
The system starts in an insecure configurationSecure Defaults
A component failure grants accessFail Securely
One person has end-to-end controlSegregation of Duties
The system contains unnecessary complexityKeep it Simple and Small
Network location creates automatic trustZero Trust
Too much personal information is collectedPrivacy by Design
Security responsibility between customer and provider is unclearShared Responsibility
Distributed users need secure access to distributed resourcesSASE

Secure Design Memory Aid

MODEL Understand the threats
LIMIT Use least privilege
LAYER Use defence in depth
DEFAULT Start secure
FAIL Fail securely
DIVIDE Separate critical duties
SIMPLIFY Reduce complexity and attack surface
VERIFY Do not rely on implicit trust
PRIVACY Protect personal information by design
SHARE Understand responsibility boundaries
EDGE Secure distributed access with SASE concepts

Model. Limit. Layer. Default. Fail. Divide. Simplify. Verify.

The Secure Architect's Questions

What? What are we protecting?
Who? Who should have access?
How much? What is the minimum privilege required?
Where? Where are the trust boundaries?
What if? What happens if a control fails?
What next? What happens if one component is compromised?

Good architecture assumes that something will eventually fail.

Key Takeaways

Security should be engineered into systems rather than added only after implementation.

Threat modeling identifies how the architecture could be attacked while the design can still be changed.

Least privilege limits users, applications and processes to the permissions they genuinely require.

Defence in depth uses multiple complementary security controls so that one control failure does not automatically result in complete compromise.

Secure defaults place systems in an appropriately protected state before users or administrators make configuration changes.

Fail-secure design considers what happens when security components stop working.

Segregation of Duties prevents one person or role from controlling every stage of a sensitive process.

Simpler systems and smaller attack surfaces are generally easier to understand, test and defend.

Zero trust rejects implicit trust based solely on network location, ownership or similar assumptions.

Privacy by design introduces privacy considerations during requirements and architecture rather than treating privacy as an afterthought.

Shared-responsibility models require organisations to understand exactly which party is responsible for each security activity.

SASE combines modern distributed networking and security capabilities to support users and resources that may no longer be located behind one traditional enterprise perimeter.

Secure architecture does not assume that controls will never fail. It designs the system so that failure and compromise have limited consequences.

๐Ÿ“š Sources & Further Reading Authoritative secure architecture guidance