- Learn
- Computer Science & IT
- Cybersecurity
- Cybersecurity Fundamentals
- Security Architecture and Resilience
Security Architecture and Resilience
BeginnerLesson 6 of 8 in Cybersecurity Fundamentals Course
What you will learn
- Divide an organization's network into security zones, place security devices where they protect each boundary, decide how they should fail, and apply zero trust so that network location alone never grants access.
- Divide a network into security zonesGroup systems by trust level and function, separate the groups physically or logically, and allow only the traffic each boundary needs.
- Place security devices and plan how they failChoose the right type of firewall and other security appliances, place them where they see the traffic they protect, and decide whether each should fail open or fail closed.
- Apply zero trust architectureExplain how zero trust replaces trust based on network location with a decision for every access request, and describe the components that make and enforce those decisions.
- Divide a network into security zones
- Protect data as it travels by choosing secure protocols for everyday services and by designing tunnels and remote access that give users and administrators only the reach they need.
- Replace insecure protocols with secure onesRecognize protocols that send data in cleartext, choose their secure alternatives and default ports, and know what each secure protocol does and does not protect.
- Design VPNs and secure remote accessCompare site-to-site and remote-access VPNs, IPsec and TLS tunnels, and full and split tunneling, and design remote administration, SD-WAN and SASE so that remote connections stay controlled.
- Replace insecure protocols with secure ones
- Assess how on-premises, cloud, hybrid, virtualized, IoT and operational technology environments change who is responsible for security, which risks apply and which trade-offs an organization accepts.
- Compare on-premises, cloud and hybrid modelsDescribe cloud characteristics, service and deployment models, apply the shared responsibility model, and weigh hybrid, multicloud, third-party and centralized or decentralized designs.
- Secure virtualization, containers and cloud-native designsExplain the security implications of hypervisors, containers, serverless functions, microservices, infrastructure as code and software-defined networking.
- Secure IoT and embedded systemsDescribe IoT devices, embedded systems and real-time operating systems, explain why they are hard to secure, and protect them through architecture.
- Protect operational technology and industrial control systemsDescribe the parts and priorities of OT environments such as ICS and SCADA, and apply segmentation, controlled remote access and careful maintenance to them.
- Weigh the trade-offs of architecture choicesCompare architecture options against technical and business considerations and justify a choice for a given organization.
- Compare on-premises, cloud and hybrid models
- Classify information by the harm its loss would cause, assign responsibility for it across its life cycle, and choose the protection that fits each data state, location and use.
- Classify data and assign responsibility for itDistinguish data types, apply classification levels and labels, name the roles responsible for data, and manage data from creation to secure disposal.
- Protect data at rest, in transit and in useIdentify the state of data at each step of a process, match controls to each state, and account for where data and its copies are located.
- Choose methods to protect sensitive dataCompare encryption, hashing, masking, tokenization, obfuscation, de-identification, filtering, segmentation and permissions, and select the right method for a given need.
- Classify data and assign responsibility for it
- Use a business impact analysis to decide what must recover first and how fast, and choose recovery sites and arrangements that meet those objectives at an acceptable cost.
- Analyze business impact and set recovery objectivesDistinguish continuity and recovery plans, carry out a business impact analysis, and calculate with MTD, RTO, RPO, WRT, MTBF and MTTR.
- Choose recovery sites and continuity strategiesCompare hot, warm, cold, mobile and cloud recovery options, match them to recovery objectives, and plan geographic dispersion, environmental protection, failover, failback and agreements.
- Analyze business impact and set recovery objectives
- Remove single points of failure with redundancy, design backups that survive failures and ransomware, and test that systems, data and people actually recover within their objectives.
- Remove single points of failure with redundancyCalculate availability, find single points of failure, and choose load balancing, clustering, storage and power redundancy and platform diversity to keep services running.
- Design backups that can be restoredChoose backup types, frequency, retention, location, immutability, encryption and scope so that data can be restored within the recovery objectives.
- Test and maintain continuity and recovery plansChoose test methods from walkthroughs to full failover, run a tabletop exercise, measure results against objectives, and keep the plans current.
- Remove single points of failure with redundancy
Security Architecture and Resilience study guide
1Design boundaries that limit an attack
A network layout determines how far a compromise can spread. Begin with the systems people need to reach, then divide them into zones and document the allowed crossings. Device placement, failure behavior, and access policy turn that layout into protection. You will connect these choices so public services remain usable while sensitive systems and administrative interfaces have smaller, controlled access paths.
1.1 Zones and the traffic between them
A network becomes easier to defend when its layout follows the work each system does. A security zone groups systems with similar trust and protection needs. A trust boundary marks a crossing between zones. Filtering, inspection, and logging at that crossing control how far a stolen account or infected device can reach.
Choose zones by function
Keep public services in a screened subnet, also called a DMZ. Keep staff devices, critical databases, guests, and device-management interfaces in separate zones. An intranet serves the organization's own users; an extranet gives selected partners limited access. A partner connection needs an explicit boundary, even when the partner is trusted to do business with the organization.
Segmentation limits lateral movement, the spread from one compromised system to another. In a flat network, an infected laptop can try connections to every server. In a segmented design, crossing into the server zone requires an allowed flow. Microsegmentation makes the boundary smaller still, applying rules to individual workloads, including workloads in the same zone.
Separate traffic, then control crossings
| Method | What separates systems | What to check |
|---|---|---|
| Physical segmentation | Separate equipment and cabling | Shared maintenance paths and media |
| VLANs | Layer 2 separation on shared switches | Whether routing joins the VLANs |
| Subnets | Layer 3 address groups | Rules at routing boundaries |
| Microsegmentation | Rules for individual workloads | Each application's actual dependencies |
Different VLANs need routing to communicate. Once routing exists, unrestricted routing can undo the intended restriction: use firewall rules or access control lists at the crossing. An air gap removes network connections to other networks. Removable media, update packages, and maintenance laptops still need control. Stuxnet, discovered in 2010, could spread through infected USB devices, illustrating why disconnected networks still need protection against transferred files.
Build a flow list
Use default deny: block a crossing unless a documented business need allows it. Record the source, destination, protocol, port, and purpose of each exception. The attack surface includes exposed services, accounts, APIs, wireless access, and remote connections; each added route is another path to assess.
Consider a retailer with a public web shop, an order database, 40 staff laptops, guest Wi-Fi, and managed switches.
- Put the web servers in the screened subnet and the database in a restricted zone.
- Allow internet clients to reach only the web service on HTTPS, TCP 443.
- Allow only the web servers to reach the database service on its required port.
- Give guests internet access only. Keep switch administration on the management network.
- Give staff the services and web administration access their roles require.
If a web server is compromised, the database port remains a permitted path and must be defended. The attacker does not also gain a route to the staff laptops. Add host firewalls, endpoint protection, encryption, and monitoring to these boundaries. This defense in depth provides further barriers when the public-facing layer fails.
Key Takeaways
- Group systems by function and protection needs.
- Place public services in a screened subnet and critical data behind a separate boundary.
- VLAN separation needs filtering wherever routing permits crossings.
- Default deny makes each allowed flow an explicit business decision.
- Microsegmentation limits reach between individual workloads.
- An air gap still needs controls for media and maintenance.
1.2 Place controls where they can act
A security appliance protects only the traffic it can see and the actions it can control. Start with the zone diagram and its permitted flows. Put firewalls at boundaries, a web application firewall in front of the web application, and sensors on the paths that carry the traffic of interest.
Match the device to the job
| Control | Main job |
|---|---|
| Layer 4 firewall | Filters IP addresses, ports, and protocols |
| Stateful firewall | Also tracks permitted connections and replies |
| Layer 7 firewall | Inspects application traffic |
| Next-generation firewall | Adds application identification, user awareness, and intrusion prevention |
| Web application firewall (WAF) | Examines web requests for attacks such as SQL injection |
| Unified threat management (UTM) | Combines several security functions in one appliance |
A UTM can simplify a small office, but its capacity and failure affect several controls at once. A WAF specializes in HTTP and HTTPS; it is not a replacement for the boundaries around the database or management network.
An IDS detects and alerts. An IPS also blocks traffic. A passive sensor receives a copy through a tap or mirror port; packets do not pass through the sensor. An inline control sits in the traffic path and can stop packets, but adds delay and can interrupt service. A network sensor cannot read TLS-protected payloads without an authorized decryption point; endpoint sensors can observe activity where data is processed.
Control the access paths
A jump server, or bastion host, gives administrators a hardened, logged entry point into protected zones. A forward proxy makes requests for internal clients. A reverse proxy receives requests for servers and may terminate TLS. A load balancer distributes requests among servers. Sensors and collectors send traffic observations and logs to monitoring systems.
IEEE 802.1X controls network admission. The device is the supplicant; the switch or access point is the authenticator; an authentication server, commonly RADIUS, decides whether admission succeeds. EAP carries the authentication method; EAP-TLS uses certificates on both sides. Before admission, the controlled port permits the authentication exchange, not normal application traffic. Broader network access control can check device health and place a failing device in a quarantine VLAN.
Decide what failure means
Fail-open lets traffic pass when the control fails, preserving access while removing that protection. Fail-closed blocks traffic, protecting the boundary while interrupting access. Choose by the harm of each outcome.
For example, a hospital may choose fail-open for an inline IPS protecting patient-monitoring traffic because interruption creates the greater risk. A payment-database firewall may fail closed because unfiltered access is less acceptable than a short outage. A redundant pair can reduce interruptions, though its failover must work and have enough capacity.
Door hardware uses related terms: fail-safe unlocks on power loss; fail-secure remains locked. Emergency egress must protect people. For network devices, do not select a failure mode from its reassuring name: compare the actual loss of access with the actual loss of filtering.
Key Takeaways
- Choose each appliance for its traffic and purpose.
- A passive IDS alerts from copied traffic; an inline IPS can block.
- Use a jump server to concentrate controlled administrative access.
- 802.1X separates the supplicant, authenticator, and authentication server.
- Choose fail-open or fail-closed by the harm caused during failure.
1.3 Access decisions without location-based trust
Being inside a network does not establish that a user or device should reach a resource. A compromised laptop may already be inside. Zero trust removes trust based only on network location: authenticate and authorize each access request, check policy, and limit access to the resource and action needed.
Separate decisions from enforcement
NIST's zero trust architecture describes three main logical components. They can be implemented across several services; the names describe responsibilities.
| Component | Responsibility |
|---|---|
| Policy engine | Decides whether access is allowed |
| Policy administrator | Establishes or closes access according to that decision |
| Policy enforcement point (PEP) | Allows or blocks the connection in the traffic path |
The engine and administrator together form the policy decision point. Decisions and control messages belong to the control plane. The application's actual traffic travels on the data plane. A sound decision is useful only if the enforcement point applies it to the connection.
The decision uses more than a password. Identity signals include the user, role, and strength of authentication. Device signals include inventory membership, management status, patches, endpoint protection, and disk encryption. The resource's sensitivity and the request's context also matter. Unusual behavior may trigger a stronger check or restricted access. Monitoring supplies updated evidence as conditions change.
Give access to an application
Zero trust network access (ZTNA) connects an approved user to named applications. It avoids granting broad network reach merely because one login succeeded. Traditional remote-access VPNs often put a device on a network; their reach must be restricted with additional policy and segmentation.
An implicit trust zone is the area behind an enforcement point where traffic receives trust. Making that zone smaller limits what one accepted connection exposes. Microsegmentation supports this by enforcing boundaries around individual workloads, including workloads sharing the same larger network zone.
Follow an access request
An accountant opens payroll from a company laptop at home. The policy engine checks a successful multifactor login, the device inventory, current patches, and disk encryption. It permits payroll access. The policy administrator establishes the permitted session, and the PEP admits its traffic. The user receives payroll access, not unrestricted access to every internal server.
Now the same accountant uses an unmanaged tablet. The identity is unchanged, but the device evidence differs. Policy may deny access or permit a restricted browser session. A familiar office location would not make the unmanaged device acceptable by itself.
Zero trust depends on identity management, least privilege, and current device and activity information. Encryption protects the session, and segmentation limits reachable systems. Buying a ZTNA service supplies one useful component; the organization still has to define policies, maintain inventories, monitor signals, and protect every relevant access path.
Key Takeaways
- Network location alone never grants access.
- The policy engine decides, the administrator carries out the decision, and the PEP enforces it.
- Use identity, device health, resource sensitivity, and context in access decisions.
- ZTNA limits access to named applications.
- Zero trust needs continuing policy and monitoring work.
2Protect traffic and remote connections
Traffic crosses office links, public networks, and cloud services throughout a normal workday. Each connection needs the right protection and a clear destination. Secure protocols protect the exchange, while tunnels and access gateways control how remote users and sites connect. You will distinguish privacy from authenticity and decide where inspection and administration belong when traffic takes different routes.
2.1 Protect services with the right protocol
A cleartext protocol exposes readable traffic to anyone able to capture it. That may include credentials and business data. Secure protocols add encryption, integrity checks, and peer authentication, commonly through TLS or SSH. Their protections must be enabled and their certificates or keys checked.
Recognize secure replacements
| Older service | Secure alternative and default port |
|---|---|
| Telnet, TCP 23 | SSH, TCP 22 |
| HTTP, TCP 80 | HTTPS over TLS, TCP 443 |
| FTP, TCP 20/21 | SFTP over SSH, TCP 22; FTPS explicit TLS on 21 or implicit TLS on 990 |
| LDAP, 389 | LDAPS, 636, or required StartTLS |
| POP3, 110 | POP3S, 995 |
| IMAP, 143 | IMAPS, 993 |
| RTP for media | SRTP for protected voice and video |
SFTP and FTPS are separate protocols: SFTP uses SSH, while FTPS adds TLS to FTP. Changing an FTP server's port to 22 does not turn it into SFTP.
SNMPv1 and v2c expose community strings in cleartext. SNMPv3 offers authentication and privacy on the usual UDP query port 161 and trap port 162. Select authPriv to use both authentication and encryption; merely selecting version 3 does not ensure that level is active.
Require encryption when upgrading
Mail servers exchange SMTP on port 25 and can upgrade with STARTTLS. Clients submit mail on 587 with STARTTLS or on 465 with TLS from the start. An optional upgrade can be stripped by an on-path attacker, leaving cleartext communication. Requiring TLS where supported prevents acceptance of that downgrade. HTTPS sites can use HSTS to tell browsers to use HTTPS for later connections under the site's policy.
A port is a convention, not evidence of protection. A service on TCP 443 still needs the correct protocol, valid authentication, and safe application behavior. Encryption can carry an attack just as readily as legitimate data.
Separate privacy from authenticity
DNSSEC lets resolvers verify signed DNS answers. It protects authenticity and integrity, not query privacy. DNS over TLS, TCP 853, and DNS over HTTPS, TCP 443, encrypt the client-to-resolver connection. They do not by themselves authenticate the underlying DNS records. Use both kinds of protection when both needs apply.
Transport encryption protects a connection between two systems. If a messaging service decrypts content on its server, that server can read it. End-to-end encryption keeps content keys with the communicating endpoints, so intermediaries without those keys cannot read the messages. Organizational archiving needs authorized access at an endpoint that can decrypt them.
Consider an audit that finds Telnet management, SNMPv2c monitoring, and an HTTP HR portal. Replace them with management-zone SSH, SNMPv3 authPriv, and HTTPS with HSTS. Test the negotiated protections, not just the port numbers. For transferred files, use SFTP, FTPS, or HTTPS-based managed transfer; encrypt sensitive files themselves when they will remain on intermediate storage.
Key Takeaways
- Use secure protocols with their authentication and encryption settings enabled.
- SFTP uses SSH; FTPS uses TLS.
- Require TLS to avoid accepting a stripped optional upgrade.
- DNSSEC authenticates answers; DoT and DoH encrypt queries to the resolver.
- Port numbers identify conventions, not security guarantees.
- End-to-end encryption keeps content keys at the endpoints.
2.2 Tunnels and controlled remote access
A VPN protects traffic across an untrusted network. Tunneling wraps a packet inside another packet; encryption supplies confidentiality. A site-to-site VPN joins networks through gateways. A remote-access VPN connects an individual device through a client or browser-based access service.
Choose the tunnel protection
IPsec works at Layer 3. AH authenticates origin and protects integrity without encrypting. ESP supports confidentiality, integrity, and authentication; use encryption-enabled ESP when confidentiality is required. IKE negotiates keys and security settings, normally on UDP 500 or UDP 4500 with NAT traversal.
| Mode | Packet structure | Typical use |
|---|---|---|
| Transport | Original IP header remains; payload is protected | Host-to-host traffic |
| Tunnel | Original packet is enclosed inside a new outer IP packet | Gateway-to-gateway traffic |
Tunnel mode describes encapsulation. It does not by itself say that the inner packet is encrypted: that requires an encryption service such as ESP with encryption enabled. A TLS VPN commonly uses TCP 443 for remote access. Deploy current TLS, such as TLS 1.2 or 1.3; older SSL protocols are insecure even though the name "SSL VPN" remains common.
Decide which traffic enters
A full tunnel sends all device traffic through the organization's VPN and security controls. It supports central inspection but consumes central bandwidth. A split tunnel sends organizational traffic through the VPN while internet traffic leaves directly. It reduces central load but removes that traffic from the central inspection path. The design must provide controls for the direct path.
A tunnel does not clean an infected endpoint. Limit VPN users to the required zones and services, authenticate strongly, and keep the internet-facing gateway patched. ZTNA can provide application-specific access where broad network access is unnecessary.
Keep administration controlled
Do not expose RDP, TCP 3389, or administrative SSH directly to the internet. Use authenticated VPN or ZTNA access, then a jump server with MFA, logging, and limited destinations. In-band management uses the production network. Out-of-band management uses a separate route, such as a console network or dedicated cellular link, so administrators can reach equipment when the production path fails.
SD-WAN steers branch traffic over multiple links under central policy. Direct internet breakout needs security at that path. SSE supplies cloud-delivered security such as a secure web gateway, CASB, ZTNA, and firewall as a service. SASE combines that security with SD-WAN networking.
For a company with 12 branches and 300 remote staff using mostly SaaS, routing every session through one headquarters VPN creates a bottleneck. SD-WAN can select branch links, SSE can inspect web and SaaS access, and ZTNA can reach specific internal applications. A site-to-site IPsec tunnel can serve the data center. Each route still needs an identified enforcement point and recovery plan.
Key Takeaways
- Site-to-site VPNs join networks; remote-access VPNs connect devices.
- AH has no encryption; use encryption-enabled ESP for confidential IPsec traffic.
- Full and split tunnels change where internet traffic is inspected.
- Protect remote administration through controlled entry and a jump server.
- Out-of-band management provides a separate recovery path.
- SASE combines SD-WAN networking with cloud-delivered security.
3Choose and secure an architecture model
Moving a workload changes its dependencies and the security work around it. A cloud service shifts duties to a provider; a container shares a kernel; a connected sensor may have little room for security software. Industrial systems also put physical safety and timing at the center of decisions. You will compare these models by their boundaries, responsibilities, operating limits, and business needs before choosing controls.
3.1 Who secures each infrastructure layer?
The place a system runs changes the work its owner must do. On-premises infrastructure gives the organization control over equipment and facilities, along with responsibility for physical access, power, cooling, patching, capacity, and recovery. Cloud services shift some of these tasks to a provider.
Recognize cloud computing
NIST identifies five cloud characteristics: on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service. Customers provision resources as needed, reach them over networks, share provider capacity, expand or shrink quickly, and have usage metered. Resource pooling supports multi-tenancy, in which several customers use shared underlying resources.
| Service model | Provider supplies | Customer still secures |
|---|---|---|
| IaaS | Infrastructure and virtualization | Guest OS, applications, data, identities, and network settings |
| PaaS | Infrastructure, OS, and runtime | Application code, data, identities, and settings |
| SaaS | A complete application | Users, access, data, and available settings |
The provider secures the underlying facilities and hardware. The exact boundary follows its responsibility matrix and contract. Outsourcing a task does not remove the customer's accountability for its information. A publicly readable customer-configured storage bucket remains a customer access-control problem even when the provider's storage platform is functioning correctly.
Distinguish service from deployment
A service model says what is delivered. A deployment model says who uses the cloud and how environments are combined. Public cloud serves many customers; private cloud serves one organization, on its premises or hosted elsewhere. Community cloud serves organizations with shared needs. Hybrid cloud links distinct environments, often a private cloud and a public cloud. A private cloud still needs cloud characteristics; a single ordinary server in a locked room is not enough.
Multicloud uses more than one provider. It can reduce provider dependence but brings more tools, skills, and configurations to manage. Hybrid designs need consistent identity, secure links, monitoring, and policy across both sides. Track every data copy, including backups and logs, as data moves between environments.
Check dependencies before buying
For a supplier, examine security evidence, service commitments, breach-notification terms, audit rights, and the exit plan. An independent report or certification supplies evidence to assess; the organization still needs to check whether it covers the service and risks in question.
Centralizing identity or data makes policy easier to apply consistently, but concentrates dependency and attack impact. Decentralizing spreads the immediate effect of a local failure while making consistency harder. For example, one identity provider gives branches consistent account control but needs a resilience plan; independent branch accounts need coordinated reviews and removal procedures. Choose a model the organization can secure and operate, including when the supplier or central service is unavailable.
Key Takeaways
- Cloud computing has five defining characteristics.
- IaaS, PaaS, and SaaS move different layers of work to the provider.
- Customers retain responsibility for data, identity, access, and settings.
- Deployment models describe users and connections, not the software layer supplied.
- Hybrid and multicloud designs need consistent controls and data-copy records.
- Supplier checks include recovery commitments and an exit plan.
3.2 Isolation and automation in modern applications
Virtual machines, containers, and serverless functions package applications in different ways. Their security boundaries differ too. Identify the layer shared with other workloads before deciding how a compromise might spread.
Understand the isolation boundary
A hypervisor runs virtual machines on a physical host. A Type 1 hypervisor runs directly on hardware; a Type 2 hypervisor runs on a host operating system. Each VM has its own guest OS. VM escape crosses the intended VM boundary into the hypervisor or other workloads. Patch hypervisors, restrict their administration to a management network, and control who can create VMs.
VM sprawl is the accumulation of forgotten, unmanaged VMs. Inventory and ownership prevent abandoned systems from remaining exposed and unpatched. Snapshots and reassigned storage can retain sensitive data, so include them in data handling and disposal plans.
| Workload | Shared or managed layer | Main customer controls |
|---|---|---|
| VM | Hypervisor and hardware | Guest OS, applications, access, and data |
| Container | Host OS kernel | Trusted images, minimal privileges, secrets, and network policy |
| Serverless function | Provider-managed servers and runtime | Code, dependencies, triggers, permissions, and data |
A container packages an application and its libraries while sharing the host kernel. It starts quickly and uses less overhead than a VM. That shared kernel is an important common boundary: a kernel flaw can threaten several containers. Use trusted registries, scan images, run as non-root, prefer minimal images and read-only file systems, and restrict connections between containers.
Protect the new connections
Microservices split an application into independently deployed services. They can scale and be repaired separately, but add APIs and service-to-service traffic. Authenticate those connections, for example with mutual TLS, and apply consistent API gateway controls and logging. A monolith deploys as one application unit and has fewer internal service boundaries to manage.
Serverless functions run in response to events. The provider handles servers and scaling, but a function with excessive permissions can still expose data. Give an image-resizing function permission to read its upload location and write its output location, without granting access to unrelated storage. Check event inputs and dependencies.
Make automation repeat safe settings
Infrastructure as code (IaC) records infrastructure and policy in deployable files. Version control, peer review, and automated checks make rebuilding repeatable. A bad setting can also spread everywhere. Keep secrets out of templates and detect configuration drift, where manual changes move deployed systems away from the recorded design.
Software-defined networking (SDN) separates routing decisions on the control plane from packet forwarding on the data plane. Its controller can automate segmentation, so protecting that controller's access and availability is essential. Automation increases the reach of the account or template that controls it.
Key Takeaways
- VMs have guest operating systems; containers share the host kernel.
- Inventory and controlled creation reduce VM sprawl.
- Secure serverless code, dependencies, inputs, and permissions.
- Microservices add connections that need authentication and monitoring.
- Review and scan IaC before its settings spread across deployments.
- Protect the SDN controller as a central policy authority.
3.3 Keep connected devices within a small reach
The Internet of Things (IoT) connects physical devices such as cameras, thermostats, badge readers, and medical sensors. An embedded system is a computer built into a larger device for a dedicated job. Some use a real-time operating system (RTOS), designed for predictable responses within defined deadlines. Security changes must preserve those timing requirements.
Recognize device constraints
Many connected devices have little memory, processing power, or battery capacity for encryption and logging. Firmware updates may require manual work or may stop long before the device stops being useful. Default or hard-coded passwords, exposed Telnet, unnecessary services, physical access, and dependence on a vendor cloud create additional risks.
The Mirai botnet in 2016 exploited internet-reachable devices using factory-default credentials. Cameras and similar devices became sources of distributed denial-of-service traffic. The attack on Dyn in October 2016 disrupted access to major websites. A simple management weakness in many small devices produced a large shared impact.
Design a limited communications path
Start with an inventory that records the device, purpose, owner, firmware, support period, and needed connections. Put the devices in a separate zone. Allow only required destinations and services, with no unsolicited inbound access from the internet. A camera that only records video does not need access to staff file shares.
Change default credentials, disable unused services, update firmware, and observe the segment for unusual traffic. For new purchases, prefer signed updates and a published support period. Secure boot verifies authorized startup code; signed firmware helps reject unauthorized updates. A hardware root of trust can anchor those checks, but authorized code can still contain flaws.
Work through an office design
An office installs 25 IP cameras and a heating and cooling controller.
- Place the devices on an IoT VLAN and filter its routed connections.
- Allow cameras to reach only the video recorder.
- Allow the building controller to reach the vendor cloud over HTTPS if that connection is required.
- Permit administrative access only from the jump host. Give vendor support a monitored, controlled session.
- Set unique credentials and current firmware, then monitor the traffic allowed by the design.
If one camera is compromised, the boundary prevents it from reaching staff file servers. The video recorder remains an allowed destination, so it still needs its own controls and updates.
An unpatchable legacy device needs compensating controls: tighter isolation, restricted access, monitoring, and a replacement plan. Medical and industrial devices may require vendor approval or certification for changes. Do not install a generic security agent simply because it works on office laptops; its resource use or delays may break the device's function. A longer service life increases the importance of buying support that lasts and planning what happens when it ends.
Key Takeaways
- IoT includes industrial, building, and medical devices as well as consumer devices.
- Resource limits and long support gaps shape device security.
- Give each device only the connections its function needs.
- Use signed updates and secure boot to check code authenticity.
- An unpatchable device needs compensating controls and a replacement plan.
3.4 Protect systems that control physical processes
Operational technology (OT) monitors or controls equipment and physical processes. An industrial control system (ICS) may run a production line or water-treatment process. SCADA supervises geographically spread assets; a distributed control system (DCS) controls a process within one site.
Know the parts and priorities
Sensors measure conditions, and actuators change them. PLCs and RTUs run control logic. Operators view and command processes through human-machine interfaces (HMIs). Engineering workstations program controllers, historians store process data, and safety instrumented systems can bring a process to a safe state.
Safety and process availability lead OT decisions. An office computer reboot is inconvenient; a controller reboot can stop a physical process or create a hazard. Equipment may remain in service for 15 years or more with rare maintenance windows. Legacy industrial protocols such as Modbus may lack built-in authentication and encryption, so network reach can become command reach.
Separate business systems from control
The Purdue reference model gives a useful layered view:
| Level | Typical function |
|---|---|
| 0 | Physical process |
| 1 | Basic control: PLCs and RTUs |
| 2 | Supervisory control: HMIs and control servers |
| 3 | Site operations: historians and engineering functions |
| 3.5 | Industrial DMZ |
| 4 | Business systems |
| 5 | Enterprise network and external connections |
Use the model to reason about boundaries; actual systems vary in their placement. Do not give business networks direct access to low-level controls. Broker necessary exchanges through the industrial DMZ, such as a historian copy that business users can read. Where information needs to leave OT in one direction only, a data diode can enforce that direction.
Make access and maintenance predictable
Use passive monitoring where active probes might destabilize fragile devices. Keep an asset inventory, control removable media, protect physical access, allowlist approved applications, and maintain tested controller-program and configuration backups. Test vendor-approved updates on representative equipment and schedule changes with operators.
For vendor maintenance at a water-treatment plant, first authenticate the vendor with MFA at a jump host in the industrial DMZ. An on-site operator enables a scheduled session. Limit it to the required engineering workstation, record it, and disable the account afterward. This avoids permanent internet-reachable remote desktop on the HMI.
IT and OT dependencies still matter after segmentation. In May 2021, Colonial Pipeline halted operations after ransomware affected its business systems. A business-network incident can therefore interrupt the physical service without directly infecting every controller. Recovery planning must cover the people, information, and supporting systems needed to run the process safely.
Key Takeaways
- OT decisions prioritize safety and process availability.
- PLCs and RTUs control; HMIs provide operator interaction; historians record process data.
- Use an industrial DMZ between business and control networks.
- Prefer passive monitoring for fragile equipment.
- Schedule, restrict, and record vendor maintenance access.
- Test OT changes with operators and the vendor.
3.5 Make an architecture choice you can justify
A secure architecture has to work for the organization using it. Compare the information it holds, the harm of failure, the staff available, and the conditions in which equipment runs. A low purchase price means little if the service cannot recover when it is needed.
Separate requirements from preferences
A hard requirement rules out a design that cannot meet it. A preference can be weighed against other benefits. For example, an unacceptable data location cannot be made acceptable by a high availability score. First remove options that fail mandatory constraints; then compare the remaining choices.
| Consideration | Question to ask |
|---|---|
| Availability and resilience | How often is it usable, and what happens when a part fails? |
| Recovery | What is needed to rebuild and resume work? |
| Scalability and responsiveness | Can capacity grow, and is latency acceptable? |
| Deployment and patching | Can secure settings and fixes reach all systems? |
| Power and compute | Can the equipment support the required workload and controls? |
| Cost and staffing | What will purchase, subscriptions, skills, licenses, and transfers cost? |
| Data and environment | Does placement fit sensitivity, location requirements, heat, dust, or vibration? |
Availability describes usable time. Resilience describes keeping service working or recovering when something fails. A design can have redundant equipment yet be difficult to rebuild because only one person knows its configuration.
Include responsibility and exit
A provider contract or insurance can transfer some financial or operational risk. It does not remove accountability for customer data or reputational harm. Record who patches, configures, monitors, and restores each layer. Include migration and exit costs, not only the first deployment.
Proprietary software may offer vendor support but create lock-in. Open-source software allows code inspection and community fixes but still needs dependency tracking and updates. Neither model makes software inherently secure. Usability also matters: a control that people routinely bypass may fail despite a strong design on paper.
Work through a weighted comparison
A 200-person organization compares HR systems. It assigns weights to data sovereignty (30%), availability (25%), operating and patching effort (25%), and three-year cost (20%). Scores run from 1, poor, to 5, good.
SaaS scores 3, 5, 5, and 4:
On-premises scores 5, 3, 2, and 3:
SaaS has the higher weighted score. It remains eligible only if its contract meets any mandatory location rule. Write down the assumptions behind the scores, including available staff and recovery arrangements. They explain why the choice fits now and what must be reconsidered when the service, supplier, or business changes.
Key Takeaways
- Apply hard requirements before weighted scoring.
- Include recovery, staffing, and exit costs in the comparison.
- Availability, resilience, and ease of recovery describe different needs.
- Risk transference leaves data accountability with the organization.
- Software licensing models alone do not determine security.
4Protect information through its life cycle
Information needs protection because of the harm its loss, change, or disclosure could cause. Classification turns that harm into handling rules, and named roles keep the decisions clear. Data then moves through storage, networks, memory, and copies in other locations. You will follow those changes and choose controls that fit the required task, from confidential storage to limited displays and safer analytics.
4.1 Classification, ownership, and disposal
Classification turns the harm of losing information into rules for handling it. A document's file type or storage location does not decide its sensitivity. A spreadsheet of published opening hours and a spreadsheet of patient records need different controls because their contents have different consequences.
Identify information and its harm
Data types include personal and health information, payment-card information, financial and legal records, trade secrets, and other intellectual property. Some are subject to laws; others also have contractual or industry handling requirements. Structured data occupies defined fields, such as database columns. Unstructured data includes documents, email, and images. A barcode or encoded file may need a machine to read it, but that does not reduce its sensitivity.
Organizations set their own classification schemes. A common commercial order is public, internal/private, confidential, and restricted. The level drives access, encryption, sharing, retention, and disposal. "Sensitive" describes a need for protection. Critical describes the need for availability: information can be both restricted and critical. Government schemes can use Confidential, Secret, and Top Secret for increasing national-security harm.
Labels make classification visible through document markings, email banners, metadata, and media labels. Handling rules explain what a label requires. Labeling everything at the highest level makes it hard to distinguish the information that needs the strongest restrictions. Also consider aggregation: a collection of ordinary details can reveal a sensitive pattern.
Assign the decisions and the work
| Role | Main responsibility |
|---|---|
| Data owner | Business accountability, classification, and access approval |
| Data custodian | Implements access, backup, encryption, and other controls |
| Data steward | Maintains data quality, definitions, and policy consistency |
| Data controller | Decides the purposes and means of personal-data processing |
| Data processor | Processes personal data for the controller |
| Subprocessor | Performs processing engaged by a processor |
A custodian can configure permissions without deciding who has a business need. Keeping these responsibilities clear prevents a technical convenience from silently becoming a policy decision.
Protect the whole life cycle
Data passes through collection or creation, storage, use, sharing, archiving, retention, and disposal. Keep it for the legal and business period required, then sanitize it using a method suitable for the medium and sensitivity.
Clear protects against simple recovery using logical techniques such as appropriate overwriting. Purge makes recovery infeasible even with advanced laboratory techniques, using an appropriate sanitize operation, cryptographic erase, or degaussing for magnetic media. Destroy makes the medium unusable. Ordinary deletion and quick formatting leave recoverable data. SSD wear leveling can leave old cells untouched by normal overwrites, so use a validated device-appropriate purge method or destruction.
At a clinic, opening hours can be public, payroll confidential, and patient records restricted. Appointment data may also be critical because the clinic needs it to work. The owner approves these classifications; IT applies the matching controls to live data, exports, backups, and retired media.
Key Takeaways
- Classify information by the harm of disclosure, change, or loss.
- Sensitivity and business criticality can apply to the same data.
- Owners decide and approve; custodians implement; stewards maintain quality.
- Classification rules apply throughout the data life cycle.
- Choose clear, purge, or destroy for the medium and sensitivity.
- Ordinary deletion is insufficient for secure disposal.
4.2 Follow data through its states and copies
Data changes state as people and systems work with it. A file may be stored on disk, travel across a network, and be processed in memory within seconds. One protection does not cover all three stages.
Match each state to controls
| State | Where the data is | Useful controls |
|---|---|---|
| At rest | Disks, databases, removable media, backups, cloud storage | Disk/file/database encryption and permissions |
| In transit | Moving between systems | TLS, SSH, IPsec, and secure messaging |
| In use | Memory, processors, and active applications | Least privilege, memory protection, secure enclaves, and endpoint controls |
At-rest encryption protects stored bytes if someone obtains the medium without the key. An authorized application can decrypt those bytes, so a stolen account may still read query results. Access control and monitoring must protect that access. TLS protects a connection but leaves a backup stored at either endpoint needing its own protection.
Data in use is commonly decrypted. Trusted execution environments, or secure enclaves, protect selected processing from other software. Homomorphic encryption supports some calculations on ciphertext but has substantial performance costs. Screen privacy and endpoint data loss prevention also matter where people view or copy active information.
Trace one transaction
Follow a card payment through its data states.
- Typing the number puts it in use on the customer's device.
- TLS protects its transit to the server.
- The server processes the number in memory, where application and memory controls matter.
- A token goes into the order database. The original number remains encrypted in a protected vault at rest.
- An encrypted nightly backup is at rest; copying it offsite adds a transit stage requiring a protected link.
This trace exposes intermediate copies that a diagram showing only the main database might miss. Logs, exports, cache files, and support workflows can also hold sensitive information and must be included when present.
Check location as well as state
Data residency is a requirement or choice about where data is kept. Data sovereignty concerns the legal authority that applies to data and its handling. A storage region alone may not settle every legal question. Geolocation estimates the location of data, users, or devices. Geofencing applies a boundary rule using location.
If a contract requires records to stay in one country, check the main region, backups, recovery region, logs, and support access. A domestic primary database does not settle where its other copies go. Geographic IP blocking is a useful layer, but a VPN can change the apparent source location.
Laptops and phones are storage locations too. Full-disk encryption protects lost devices, while mobile device management, remote wipe, and restrictions on removable media help control their copies. A wipe depends on the device receiving the command, so encryption must already protect its stored information.
Key Takeaways
- Protect data separately at rest, in transit, and in use.
- At-rest encryption does not prevent an authorized session from reading data.
- Include backup, log, export, and endpoint copies in the data map.
- Residency concerns placement; sovereignty concerns legal authority.
- Geographic blocking supplements stronger identity and device controls.
4.3 Choose protection for the actual task
Different data controls solve different problems. Start by asking what the next user or system must be able to do: recover the original value, compare it, see only part of it, or analyze records without knowing the person.
Distinguish the transformations
| Method | What it does | Appropriate need |
|---|---|---|
| Encryption | Reversibly transforms data using a key | Recover confidential data later |
| Hashing | Produces a one-way digest | Check integrity; store password verifiers with salt and a slow algorithm |
| Masking | Hides or replaces selected displayed/copied values | Limited display or protected test data |
| Vault-based tokenization | Replaces a value with an unrelated token linked in a vault | Keep sensitive originals out of ordinary systems |
| Pseudonymization | Replaces identifying details while allowing separate re-identification | Analyze records with reduced identity exposure |
| Anonymization | Removes identification by reasonable means | Share data that cannot reasonably be linked to people |
Encryption needs sound key management. Hashing has no decryption operation, but guessing a small set of candidate inputs can reveal a match. A bare digest is therefore poor protection for predictable sensitive values. Even a tiny input change produces a very different digest: SHA-256 of "hello" starts 2cf24dba; "Hello" starts 185f8db3.
Decide which copy changes
Dynamic masking changes query output according to the viewer's role. The original remains stored. A call-center screen can show XXXX-XXXX-XXXX-1111 while the protected source retains the complete value. Static masking creates a changed copy, suitable for test data, without changing the production source. Giving developers a masked screen does not make an unrestricted production export safe.
In vault-based tokenization, ordinary systems store a random token. Authorized vault lookup returns the original value. The vault concentrates sensitive information and needs strong access controls, isolation, and monitoring. A token is not a masked card number or a digest of the card number in this design.
Pseudonymized records can still identify people through the separately held mapping. Removing names alone also may leave identifying combinations such as postal code and birth date. Evaluate the whole released dataset before treating it as anonymous.
Control what can leave
Data loss prevention (DLP) identifies sensitive content through patterns, labels, or fingerprints, then reports, blocks, or encrypts an attempted transfer. Filtering removes or blocks content. Segmentation, permissions, and geographic restrictions limit where data can be stored and who can reach it.
Obfuscation makes content harder to understand; steganography hides data inside another file. Neither supplies the same confidentiality guarantee as strong encryption. For a stolen laptop, choose full-disk encryption. For password storage, choose salted, slow hashing. For a realistic developer copy, choose static masking. For repeat payments without card numbers in the order system, choose vault-based tokenization and protect the lookup service.
Key Takeaways
- Select a method by the operation the user needs.
- Encryption is reversible with a key; hashing has no decryption operation.
- Dynamic masking changes output; static masking creates a changed copy.
- Vault-based tokenization keeps originals behind a controlled lookup.
- Pseudonymized records can still be re-identified.
- DLP monitors and controls sensitive transfers.
- Obfuscation alone is weak confidentiality protection.
5Plan continuity around business needs
Recovery starts with the work the organization must keep doing. A business impact analysis identifies critical processes, dependencies, and acceptable limits before equipment or sites are chosen. Time targets, data-loss targets, and the work needed after restoration shape the plan. You will use those limits to compare recovery locations and check that staffing, agreements, and shared hazards have been accounted for.
5.1 Set targets from business impact
Business continuity (BC) keeps critical business functions operating through disruption. Disaster recovery (DR) restores the supporting IT systems, data, and facilities. DR is part of BC: restoring a server does not by itself tell staff how to serve customers while it is unavailable. A BCP records continuity arrangements; a DRP records recovery work. Incident response links to both. COOP, continuity of operations, names the essential-function focus often used in government.
Start with the business impact
A business impact analysis (BIA) identifies critical processes, their dependencies, and how disruption harms revenue, safety, customers, compliance, and reputation over time. Business leaders set acceptable recovery targets; IT explains what designs can achieve them and at what cost. Recovering a low-impact archive first would make little sense if a critical service depends on identity and DNS that remain unavailable.
| Measure | Meaning |
|---|---|
| MTD | Longest tolerable interruption to the business process |
| RTO | Target maximum restoration time |
| WRT | Work needed after system restoration to verify data and resume normal operations |
| RPO | Maximum acceptable age of recovered data, expressed as time |
Leave enough time for both technical recovery and work recovery:
RTO concerns the recovery clock; RPO concerns the data that could be missing. An RPO of one hour calls for backup or replication intervals no longer than one hour, with the ability to restore the required point.
Check a recovery proposal
Online ordering has an MTD of 8 hours. The proposed RTO is 6 hours, and staff need 2 hours to re-enter and verify orders. Six plus two reaches the full 8-hour limit, leaving no margin for delay. Shortening the RTO creates space for work recovery. If the RPO is 1 hour, nightly backups are insufficient because they can leave almost 24 hours of orders unprotected.
MTBF is average operating time between failures of a repairable component. MTTR is average restoration time after a failure. Under a steady-state model:
For 2,000 operating hours between failures and 4 hours to repair, divide 2,000 by 2,004 to obtain about 99.80% availability. This historical or modeled average is not a deadline for any particular repair.
Include capacity and people
Recovery capacity covers people, technology, and infrastructure: trained deputies, credentials, licenses, compute, bandwidth, workspace, power, and supplier capacity. A single specialist who alone knows restoration is a single point of failure.
A useful BCP names roles and contacts, activation criteria, communication responsibilities, manual workarounds, alternate sites, dependencies, and recovery procedures. Tier systems by impact so the most demanding RTOs and RPOs go where their cost is justified.
Key Takeaways
- Business continuity maintains functions; disaster recovery restores their IT support.
- Use a BIA to identify priorities and dependencies.
- RTO plus WRT must fit within MTD.
- RPO measures acceptable data loss in time.
- MTBF and MTTR describe reliability and restoration averages.
- Recovery capacity includes people and credentials as well as hardware.
5.2 Match a recovery location to the target
A recovery site is useful only if it can resume the required service in time. Start with the RTO, RPO, workload, and dependencies. Then check what is already installed, how recent its data is, and what staff must still do before users can work.
Compare readiness and cost
| Site | What is ready | Typical recovery and cost |
|---|---|---|
| Hot | Equipment and systems ready, with recent replicated data | Minutes to hours; highest cost |
| Warm | Facilities and much of the equipment | Hours to days; restore data and update systems |
| Cold | Space, utilities, and connectivity with little equipment | Days to weeks; lowest cost |
These ranges describe readiness, not guaranteed service commitments. A hot site still needs capacity, working dependencies, and tested access. A warm site may miss a short RTO if restoring its dataset takes too long.
A mobile site arrives in a trailer or container. Cloud disaster recovery keeps images and data ready while paying for much compute only when needed. DR as a service adds a supplier-operated recovery arrangement. A reciprocal agreement lets organizations host one another, but available capacity, confidentiality, and competing needs must be checked.
A payment platform with a 15-minute RTO needs a tested hot or active-active arrangement. Email with a 24-hour RTO may fit a warm site or a suitable SaaS service. A document archive with a two-week RTO can tolerate equipment delivery and restoration at a cold site. Data-loss targets still apply independently of site readiness.
Avoid one disaster taking both sites
Geographic dispersion means choosing sites whose risks do not overlap too closely. Compare flood plains, power grids, network providers, and regional hazards. The alternate site must also fit latency, travel, and staffing needs. A second room in the same building does not protect against losing that building.
In cloud environments, availability zones can reduce local facility risk. A second region addresses broader regional failure, while adding data-placement, synchronization, and cost decisions. Check power, cooling, humidity, fire protection, flood exposure, and physical access at any recovery facility.
Plan the move in both directions
Failover moves service to the alternate system. Failback returns it to the primary after repair. Changes made at the alternate site must be synchronized back without losing or overwriting valid work. Test both directions and include DNS, certificates, licenses, identity services, and administrator credentials.
An SLA sets measurable service levels and remedies. An MOU or MOA records arrangements between parties, such as shared facilities. For a recovery supplier, require a clear statement of reserved capacity during a regional event: a supplier that promises the same spare machines to many customers may fail when they all need recovery together.
Key Takeaways
- Choose readiness against both recovery time and data-loss targets.
- Hot, warm, and cold sites require different amounts of setup.
- Separate sites by their actual shared hazards.
- Failback needs data synchronization and testing.
- Recovery contracts must reserve capacity when many customers need it.
6Keep services running and prove recovery
Spare components help a service survive failure, while separate historical copies help recover damaged data. Both depend on working access, sufficient capacity, and people who can carry out the plan. You will trace single points of failure, calculate availability, choose backup chains, and test recovery arrangements. The evidence comes from functioning services and verified restoration measured against business targets.
6.1 Find what can still stop the service
High availability (HA) aims to keep a service usable for a high share of time. Trace a complete user request to find a single point of failure (SPOF): a dependency whose failure stops the service. Include power, links, firewalls, DNS, databases, storage, regions, and people, not just application servers.
Calculate the effect of dependencies
Over a 365-day year of 8,760 hours, 99% availability permits 87.6 hours of downtime; 99.9% permits 8.76 hours; 99.99% permits about 52.6 minutes; 99.999% permits about 5.3 minutes.
Required components are in series. With independent component availability, multiply their decimal availabilities. A 99.9% firewall followed by a 99.5% server gives:
or 99.4005%, about 52.5 hours of downtime per year. The service depends on both components.
Redundant components in parallel fail together only when every available path fails. Two independent 99% servers give:
or 99.99%. Shared power or a shared software fault breaks the independence assumption. Two copies attached to one storage array can still lose service when the array fails.
Make spare capacity usable
A load balancer sends requests to healthy servers. Active-active systems share normal work; active-passive systems reserve a standby. A failover cluster coordinates application state and uses heartbeat signals to detect missing nodes. Autoscaling adds or removes instances with demand, but needs cost limits and alerts.
Capacity must survive a failure. Two identical active servers each at 70% load would require one survivor to carry 140%. Keep each at or below 50% if one must carry the entire pair's workload, before adding operational margin.
Protect storage and power
| RAID type | Protection and usable capacity with four 4 TB disks |
|---|---|
| 0 | Striping only; no disk-failure protection |
| 1 | Mirroring; capacity depends on mirror layout |
| 5 | One disk failure; 12 TB usable |
| 6 | Two disk failures; 8 TB usable |
| 10 | Stripes over mirrored pairs; 8 TB usable |
RAID 10 survival depends on which disks fail: losing both members of one pair loses that pair's data. RAID copies deletion and corruption along with legitimate changes, so keep backups separately.
A UPS bridges short power losses immediately. A generator supports longer outages after starting. Separate circuits and redundant power supplies remove additional dependencies; surge protection limits voltage spikes. A UPS with 1,500 Wh of usable energy at 2,000 W has an ideal runtime of 0.75 hours, or 45 minutes, before conversion losses.
Platform diversity reduces shared-vulnerability and faulty-update risk, at the cost of more skills and tools. Microsoft's estimate of about 8.5 million affected Windows devices in the July 2024 CrowdStrike outage illustrates how one shared software dependency can defeat hardware redundancy.
Key Takeaways
- Trace the entire request path for single points of failure.
- Series dependencies lower total availability; independent parallel redundancy raises it.
- Shared dependencies invalidate simple independence calculations.
- Reserve enough capacity to carry the workload after failure.
- RAID protects against selected disk failures, not deletion or ransomware.
- A UPS bridges the delay before generator power is available.
- Platform diversity reduces some common software failures.
6.2 Keep recovery copies that survive the incident
A backup preserves a separate recoverable copy after deletion, corruption, or attack. Replication keeps another system current, which supports fast failover but can immediately copy unwanted changes. A design needs both service continuity and a way to return to clean historical data.
Choose the restore chain
| Backup | Data copied | Needed for restoration |
|---|---|---|
| Full | All selected data | That full backup |
| Incremental | Changes since the last backup of any type | Last full plus every later incremental in order |
| Differential | Changes since the last full | Last full plus latest differential |
A Sunday full is 500 GB. Each of the next four days changes 20 GB of different data. Four incrementals add 80 GB, so stored backups total 580 GB. Friday restoration needs Sunday plus all four incrementals. Four differentials contain 20, 40, 60, and 80 GB, giving 700 GB stored with the full. Friday restoration needs only Sunday and Thursday's differential. Work after Thursday's backup remains at risk in either plan.
A snapshot captures a point-in-time state quickly, often on the same storage. It is useful for rollback but can disappear with that storage. Journaling records changes, such as database transactions, to recover a point between scheduled backups.
Set frequency, retention, and location
Frequency follows the RPO; the restore chain and retrieval speed must fit the RTO. Retention must also cover the time an attack could remain hidden. Daily, weekly, and monthly rotation preserves a range of recovery points.
Onsite copies are close and fast but share local hazards. Offsite copies survive loss of the primary site but may take longer to retrieve. The 3-2-1 rule keeps at least three copies including production, on two storage types, with one offsite. The extension 3-2-1-1-0 adds an offline or immutable copy and zero errors in verified restores.
Immutable storage prevents changes or deletion during its retention period. Strict retention modes can resist even administrator deletion. Offline copies and separate backup credentials reduce the chance that a compromised production account can destroy recovery data. An online offsite share that production administrators can erase remains exposed to that account's compromise.
Back up the ability to restore
Encrypt backups at rest and during transfer. Keep recoverable keys separately protected; losing the key can make a perfectly preserved backup useless. Include databases, system images, device configurations, IaC, identity services, credentials, and other required dependencies, with suitable access protection. SaaS data needs a recovery plan for customer deletion and mistakes too.
Restore files and whole services regularly. Check integrity, application behavior, and elapsed time against objectives. A backup job's successful status proves that the job completed, not that the complete service can be recovered within the required time.
Key Takeaways
- Incremental and differential backups have different restore chains.
- Frequency follows RPO; restoration speed and dependencies must meet RTO.
- Snapshots and replication do not replace separate historical backups.
- Keep offsite and offline or immutable protection against shared incidents.
- Protect backup credentials and preserve recoverable encryption keys.
- Restore testing checks data, service behavior, and recovery time.
6.3 Test the plan and close the gaps
A recovery plan is a set of claims about people, systems, and time. Testing checks those claims before a real outage. It also trains the people who must recognize a disruption, activate the plan, communicate, restore services, and return to normal work.
Choose the level of realism
| Method | What the team does |
|---|---|
| Checklist review or walkthrough | Reads and checks procedures step by step |
| Tabletop | Discusses decisions in a guided scenario without changing systems |
| Simulation | Performs realistic response tasks without disrupting production |
| Parallel test | Runs recovery processing alongside production and compares results |
| Failover test | Moves real operations to an alternate system and back |
| Full interruption | Stops production and operates from recovery arrangements |
More realistic tests can reveal timing and dependency failures that discussion misses. They also cost more and can interrupt users. Start with less disruptive methods, then use scheduled, approved live tests with a rollback plan. Avoid peak periods and define how to stop or reverse the test safely.
Run a useful tabletop
Suppose ransomware encrypts headquarters file servers on Monday at 09:00. The facilitator asks who can declare a disaster and which services must recover first. At 10:00, an update says the backup server is encrypted too. Participants explain where independent copies are and who can access them. At 11:00, a journalist calls, testing the communication role.
The scenario should expose decisions, not reward guessing what the facilitator wants. If nobody can reach the immutable backup credentials, record the access dependency. If the contact list contains a former employee, record the ownership problem. Assign each finding an owner, a deadline, and a check that demonstrates the repair.
A tabletop can establish whether roles and procedures are clear. It cannot measure the actual restore speed without performing the restore. A parallel test can check real workload results, while a failover test adds the routing, access, and dependency changes needed to serve real users.
Compare results with the objectives
If an order-system restore takes 9 hours against an RTO of 6 hours, the gap is 3 hours. Investigate retrieval speed, missing dependencies, manual work, and capacity. Faster storage or a warm standby may shorten restoration. A revised RTO is acceptable only if the business approves it and it still leaves WRT within MTD.
After tests and real events, hold an after-action review. Record what worked, what failed, and the corrective actions. Update the plan and retest changed parts. A named owner and evidence of retesting matter more than labeling the exercise a pass or fail.
Review plans at least annually and after major system, supplier, staffing, or organizational changes. Keep controlled versions available during an outage, including offline or printed access, and train deputies as well as primary role holders. A plan stored only inside the failed environment may be unavailable precisely when it is needed.
Key Takeaways
- Different test methods establish different kinds of evidence.
- Tabletops check decisions; actual restores measure restoration speed.
- Schedule disruptive tests with approval and a rollback plan.
- Compare measured recovery with RTO, RPO, and business limits.
- Give each finding an owner, deadline, and retest.
- Review plans annually and after major changes.
Security Architecture and Resilience examples
1Build a booking service with controlled reach
14 steps
- 1IntroductionBegin with the required work
A repair center needs public booking, a parts database, staff documents, guest Wi-Fi, and remote administration. The design must let each job work while limiting what a compromised system can reach. A security zone groups systems, and each trust boundary between zones gets a rule.
We will build the boundaries first, choose controls for their traffic paths, and then follow the access decision (zero trust) for a remote employee.
- 2ExplanationGroup by function and trust
A security zone groups systems with similar protection needs. Put booking in a screened subnet, parts data in a restricted zone, staff documents in an internal zone, and guests on an internet-only network. Keep device management separate.
Each crossing is a trust boundary. It needs a reason to exist and a rule that limits the traffic using it.
- 3ExampleWrite the first allowed flows
Start with default deny. Internet users need HTTPS to booking, so permit TCP 443 to that service. Booking needs parts queries, so permit only its required database connection. Staff need booking administration and document access.
Guests need internet access, not a route to the database. Record the source, destination, protocol, port, and purpose for each permitted crossing.
- 4ChallengeDoes the VLAN layout finish the job?
The installer puts booking and parts data in different VLANs but enables unrestricted routing between them. Has the intended access restriction been implemented?
---reveal---
No. Different VLANs separate Layer 2 traffic, but routing now permits crossings. Apply filtering that admits only booking's required database flow. The restricted query path remains available without opening every service in the database zone.
- 5ExplanationPut each device on its path
The internet firewall controls entry to the screened subnet. A WAF sits in the booking request path to inspect web inputs. A passive IDS sees copied traffic on an internal boundary, while an inline IPS can block traffic passing through it.
A sensor placed only on the internet link misses server-to-server traffic that never leaves the internal network.
- 6ExampleKeep administration at one entry
Administrators connect through an authenticated remote-access service and a hardened jump server. The server reaches only approved management targets and records sessions. Staff laptops do not all need administrative routes.
A reverse proxy can receive public booking requests, terminate TLS, and send them onward. A forward proxy instead makes requests for internal clients.
- 7Key InsightFailure behavior is a design choice
An inline control can interrupt the very service it protects. Fail-open allows traffic when the control fails; fail-closed blocks it. Compare the harm of unfiltered access with the harm of losing the service.
Redundant devices reduce interruption risk, but capacity and working failover still matter. A second unit does not decide what should happen when filtering is unavailable.
- 8ChallengeChoose a payment boundary failure mode
The center also handles confidential payment records. Its risk decision says unfiltered database access is worse than a short service outage. What failure mode should its database firewall use?
---reveal---
Use fail-closed so failed filtering blocks access. Fail-open would preserve traffic but permit the exposure the decision ranks as worse. A redundant firewall can reduce outages without changing this priority.
- 9ExplanationCheck the request beyond location
An employee opens booking administration from home. Zero trust asks who the user is, how they authenticated, whether the device meets policy, how sensitive the resource is, and whether the context is unusual.
Being in an office or passing one login is insufficient by itself. The resulting access must stay limited to the application and actions the user needs.
- 10ExampleFollow decision into enforcement
The policy engine evaluates a successful MFA login and evidence that the company laptop is inventoried, patched, and encrypted. It permits booking administration. The policy administrator establishes that access, and the PEP admits its traffic.
The decision travels on the control plane. The employee's application requests then travel on the data plane.
- 11ChallengeSame employee, different device
The employee repeats the request on an unmanaged tablet. Policy allows administration only from managed devices. What should happen, and why does the successful login not settle it?
---reveal---
Deny administrative access. Identity authentication succeeds, but the tablet fails a separate device requirement. Zero trust checks both before granting resource access; familiarity with the employee does not waive device policy.
- 12ConnectionMake the trusted area smaller
ZTNA gives access to named applications. It does not have to place the employee on an internal network with routes to unrelated servers. Microsegmentation similarly limits communication between individual workloads.
Together they shrink the area behind an enforcement point where a permitted connection could otherwise receive broad trust. Encryption and monitoring still protect the allowed path.
- 13ChallengeContain a compromised booking server
Suppose booking is compromised. Its database queries are allowed, but it has no path to staff documents. What has segmentation achieved, and what still needs protection?
---reveal---
It has limited lateral movement toward the staff zone. The allowed database service remains reachable, so database authentication, permissions, host controls, and monitoring still matter. Defense in depth protects the legitimate path as well as blocking unnecessary ones.
- 14RecapReview the completed access paths
The booking design now has separate zones, narrow documented crossings, controls positioned on those crossings, and explicit behavior during failure. Administrative access enters through a controlled path and remains application-specific.
To review a new connection, trace what it must reach, where policy decides, where traffic is enforced, and which dependency would fail if the control stopped.
2Trace a protected remote connection
12 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionProtect the exchange and its route
- 2ExplanationReplace readable administrative traffic
- 3ExampleSeparate file transfer from monitoring
- 4ChallengeMatch the DNS controls
- 5TipMake an upgrade a requirement
- 6ExplanationChoose the tunnel endpoints
- 7ExampleCheck what supplies confidentiality
- 8ChallengePredict a split-tunnel route
- 9ConnectionAvoid the headquarters bottleneck
- 10ExamplePlan administration through an outage
- 11ChallengeDoes the encrypted link settle every risk?
- 12RecapCheck each end and each path
3Choose a model for office and field work
18 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionStart with different workloads
- 2ExplanationLocate the responsibility boundary
- 3ExampleDistinguish who uses the cloud
- 4ChallengeWho corrects the sharing setting?
- 5ExplanationFind the shared software layer
- 6ExampleLimit the photo function
- 7ChallengeCan automation repeat a security flaw?
- 8ExplanationAccount for small-device limits
- 9ExampleGive each sensor a narrow route
- 10ChallengeChoose a compensating control
- 11ExplanationTranslate a network failure into process harm
- 12ExampleBroker the business reporting path
- 13ChallengeProtect a vendor session
- 14ExplanationScreen mandatory requirements first
- 15ExampleInclude operation and exit
- 16ChallengeInterpret a higher score
- 17ChallengeConnect the choice to physical constraints
- 18RecapReview the model through its dependencies
4Follow a confidential service record
12 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionOne record, several uses
- 2ExplanationClassify the content and assign roles
- 3ChallengeDoes a format decide sensitivity?
- 4ExampleClose the life cycle
- 5ExampleTrace storage, movement, and processing
- 6ChallengeFind the unprotected copy
- 7ConnectionCheck every location
- 8ExplanationChoose what the recipient must recover
- 9ExampleChoose the right form of masking
- 10ChallengeDecide whether names removed means anonymous
- 11ChallengePut the controls together
- 12RecapCheck the information that actually reaches a user
5Turn business limits into a recovery plan
10 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionStart with the work that cannot wait
- 2ExplanationUse impact to set priorities
- 3ExampleReserve time after restoration
- 4ExampleCheck the separate data-loss clock
- 5ChallengeCheck both recovery targets
- 6ExplanationMatch site readiness to the clock
- 7ExampleSeparate a regional hazard
- 8ChallengeMake an agreement usable
- 9ChallengePlan the return as well as the move
- 10RecapCheck time, data, site, and people
6Prove the service survives and recovers
16 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionA spare server is only the beginning
- 2ExplanationTrace the whole request
- 3ExampleCombine independent parallel servers
- 4ExampleAdd a required series dependency
- 5ChallengeCheck the survivor under growth
- 6Key InsightPreserve data as well as service
- 7ExplanationChoose the restoration chain
- 8ExampleBuild a small incremental history
- 9ChallengeSwitch the history to differentials
- 10TipProtect the recovery dependencies
- 11ChallengeWhy did intact backups fail?
- 12ExplanationChoose evidence before the exercise
- 13ExampleMeasure restoration and work resumption
- 14ChallengeTurn the finding into a correction
- 15ChallengeCombine attack survival with restore proof
- 16RecapKeep evidence current
Security Architecture and Resilience practice questions
Set 1: Boundaries, inspection, and access decisions10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Protected services and remote paths10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Cloud, workloads, and physical systems10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Classification and protection choices10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 5: Recovery limits and alternate capacity10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 6: Backup chains and evidence of recovery10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
Active-passive
After-action review
Air gap
Anonymization
Attack surface
Authentication Header (AH)
Availability
B
Business continuity (BC)
Business impact analysis (BIA)
C
Cleartext
Cluster
Cold site
Compensating control
Configuration drift
Container
Control plane
D
Data at rest
Data classification
Data controller
Data custodian
Data diode
Data in transit
Data in use
Data loss prevention (DLP)
Data owner
Data residency
Data sovereignty
Data steward
Differential backup
Disaster recovery (DR)
DNS over TLS (DoT)
DNSSEC
Dynamic masking
E
Embedded system
Encapsulating Security Payload (ESP)
Encryption
End-to-end encryption
F
Fail-closed
Fail-open
Failback
Failover
FTPS
Full backup
Full interruption test
G
Geofencing
Geographic dispersion
H
Hashing
High availability (HA)
HMI
Hot site
HSTS
Hybrid cloud
Hypervisor
I
IaaS
ICS
Immutable backup
Incremental backup
Industrial DMZ
Infrastructure as code (IaC)
Internet of Things (IoT)
Intrusion detection system (IDS)
Intrusion prevention system (IPS)
IPsec
J
Journaling
Jump server
L
Latency
Load balancer
M
Maximum tolerable downtime (MTD)
Media sanitization
Microsegmentation
Microservices
MTBF and MTTR
Multi-tenancy
Multicloud
O
Operational technology (OT)
Out-of-band management
P
PaaS
Parallel test
Platform diversity
PLC
Policy administrator
Policy enforcement point (PEP)
Policy engine
Pseudonymization
R
RAID
Rapid elasticity
Real-time operating system (RTOS)
Recovery point objective (RPO)
Recovery time objective (RTO)
Replication
Resilience
Retention
Risk transference
S
SaaS
SASE
SCADA
Screened subnet (DMZ)
SDN
Secure boot
Security zone
Segmentation
Serverless computing
Service level agreement (SLA)
SFTP
Shared responsibility model
Simulation
Single point of failure (SPOF)
Snapshot
Split tunnel
Stateful firewall
Static masking
T
Tabletop exercise
Trust boundary
U
UPS
V
Vault-based tokenization
Vendor lock-in
VM escape
VPN
W
Warm site
Web application firewall (WAF)
Work recovery time (WRT)
Z
Zero trust
ZTNA
#
802.1X
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.