Designing Defenses That Still Work After One Fails

An administrator passes multi-factor authentication, yet a stolen session is used to approve transactions that should never have been permitted. This episode uses a hypothetical medical supply distributor to examine why a successful security check does not guarantee a protected…

An administrator at a medical supply distributor signs in with a password and a second factor. The identity system accepts both. A little later, an unusual set of warehouse orders is approved under that administrator's account. Investigators eventually discover that someone stole an active session and used privileges the administrator rarely needed. The sign-in control worked as designed. The company still faces a serious operational problem.

This is a hypothetical incident, but it illustrates a common weakness in security planning. A successful security check may answer only one question. Multi-factor authentication can make credential theft harder to use, yet a stolen active session, a malicious application already acting under a trusted identity, or excessively broad authorization can create a different path to harm. The analyst needs to understand the entire path, from initial access to the business action the attacker hopes to perform.

Defense in depth means placing protections at different points along such a path. Some protections make access harder to obtain. Others restrict what access can accomplish. Others reveal suspicious use, interrupt it, or support recovery. The number of products in the design tells you very little. Two products can fail together if both depend on the same untrustworthy decision. The more useful test is what still limits the attacker after the first protection fails.

When you return to the Bare Metal Cyber study guide after this lesson, take a single compromise scenario and trace what the attacker could do after one protective measure failed. The exercise is to identify independent barriers, not to count security tools. Pay particular attention to which barrier would stop an unauthorized business action even after the person's identity had been accepted.

In the distributor's case, the administrator may legitimately need access to warehouse systems, but that does not establish a need to approve every order or modify every supplier record. Fine-grained authorization can restrict the actions that an identity may perform. Approval limits, separation of duties, and narrow administrative roles may reduce what a stolen session can accomplish. These controls operate at a different decision point from the initial sign-in, so the attacker has another obstacle to overcome.

The independence is never absolute. If one stolen session allows the attacker to approve an order and grant new privileges, both protections may rest on the same compromised authority. If a second approval always goes to a mailbox that the administrator can also control, the approval looks independent on paper but may not be independent in practice. A security review should trace the actual authority behind each decision, including service identities and emergency accounts, instead of assuming separate screens or systems represent separate trust.

Now suppose the attacker tries to reach a purchasing database directly. The administrator's workstation is allowed to reach general office applications, while direct database access is restricted to specific application services. That boundary can contain some movement even if the attacker already controls the workstation. The design becomes weaker if an old support exception permits administrators to connect to the database from any office device. The exception creates a route around an otherwise useful barrier. In a real assessment, the analyst would verify the effective path rather than trusting the network diagram.

This is one reason security models must be treated as reasoning tools. Defense in depth offers a way to examine what fails together and what survives a failure. Zero Trust addresses a related problem: organizations should not treat a user or device as trustworthy merely because it is on an internal network, previously connected through a trusted gateway, or belongs to the company. Access should depend on an explicit decision about the subject, the resource, the action, and relevant circumstances.

That does not require a password challenge every few seconds. A policy may use an existing session, device-health information, role, location context, or the sensitivity of a requested resource to decide whether access can continue. The timing and strength of checks depend on the risk and available technology. The crucial point is that a broad network connection should not quietly become permission to reach every business system. Successful authentication also should not become unlimited authorization.

Consider two employees connecting from the same office. One works in warehouse shipping and needs to update delivery status. The other works in finance and can authorize supplier payments. Their network location may be identical, but the resources and business consequences are different. An identity-aware access policy and application-level permission checks can preserve that distinction. If either employee's device is compromised, controls tied to the requested resource can restrict how far the attacker moves.

The device itself contributes evidence. A managed laptop that reports current security health may be eligible for a more sensitive operation than an unknown device. Yet device status is an observation, not a guarantee of innocence. A healthy management report cannot establish that an employee is authorized to approve a payment, and a device passing a security check might become compromised afterward. Strong designs use device signals as one input rather than a universal permit.

Detection provides a different form of depth. A transaction outside the normal approval pattern may deserve scrutiny even when every identity check returned success. The useful evidence could include the account, the requested operation, the affected supplier, the device or session context, the time, and prior behavior. A monitor that only checks whether the password was correct would miss the abnormal business action. A monitor that sees the approval but cannot identify the responsible identity would struggle to support a defensible response.

For optional practice, use the Bare Metal Cyber Cyber Challenge material to reason through what an alert actually changes. If a privileged session authorizes an unusual supplier update, compare suspending that session, restricting the account's specific permission, and isolating its device. Each action interrupts a different capability and can have a different effect on legitimate operations. Practice explaining the evidence that would justify one response over another.

Detection can fail along with prevention if they share a hidden dependency. Suppose the same administrator who approves orders can also disable the audit feed. The company has a preventive permission and a detective record, but both depend on the integrity of one privileged identity. Sending relevant logs to a protected location, limiting who can alter monitoring, and watching for collection gaps can increase independence. No log repository is magical; its access, collection, retention, and reliability need their own protections.

There is also a difference between a security control's presence and its effectiveness. A firewall may have a rule that appears to block direct access, yet an alternate route bypasses it. Endpoint software may be installed but no longer reporting events. An application may require supervisor approval in the interface while accepting an unapproved request from a backend integration. The analyst's job is to identify what the control is supposed to stop and what observation would demonstrate that the stop actually works.

Testing should follow the path of the potential harm. If the objective is to protect supplier banking details, establish whether a shipping clerk can modify them, whether an application identity can do so without human approval, and whether unauthorized attempts generate useful records. A successful sign-in test says little about those later decisions. A test of the database firewall says little about an authorized application that performs the wrong transaction. Controls must be evaluated at the point where the organization intends to enforce trust.

Another illustration concerns ransomware on ordinary workstations. Endpoint protection may prevent some malicious execution. Restricting workstation-to-workstation communication can reduce spread after execution succeeds. Least privilege can limit changes to shared files. Protected backup copies can support recovery if prevention and containment fail. Those defenses act on different parts of the attack path. But a backup stored under the same administrator account and reachable from every infected workstation may fall with the production environment. Recovery is only a meaningful layer when its dependencies have been examined.

Independence can involve people and processes as well as software. Requiring a different person to approve a high-value supplier change may prevent an account holder from approving an unauthorized change alone. If managers routinely approve requests without checking the supplier record, the procedure contributes little. If an emergency bypass is available to anyone with the same compromised role, the process also has a hidden common failure. Authority, training, auditability, and technical enforcement work together, but each needs evidence that it operates.

Compensating controls become especially useful when the ideal safeguard cannot be installed immediately. An old inventory application may lack modern authentication and cannot be replaced before the next shipping season. The company could restrict where it can be reached, place access behind a managed intermediary, limit eligible accounts, watch sensitive actions, and prepare a realistic retirement plan. None of those measures changes the old application's underlying weakness. Together they may reduce exposure while the risk owner decides whether the remaining risk is acceptable.

A compensating measure must be matched to the weakness. Extra logging cannot prevent an attacker from submitting an unauthorized order, although it may shorten detection and response time. A restricted route may reduce the number of systems able to reach a vulnerable service, but it cannot repair a flawed approval rule within that service. More frequent reviews may detect privilege creep while still allowing a stolen session to act between reviews. State the protection in terms of the capability it limits and the harm it leaves possible.

The tradeoffs become more visible during an active incident. Suppose investigators confirm that the distributor's administrative session was used to change a supplier's payment account. Disabling the entire identity might stop the attacker, but the account may also control an automated shipping process. A narrow token revocation or permission restriction could be less disruptive, provided the attacker cannot use a second session or credential to continue. The incident team needs the authority and evidence to select the containment, then must verify that the targeted capability is gone.

Verification needs to go beyond a successful administrative command. If a session is revoked, confirm subsequent requests are rejected and search for additional sessions, service credentials, delegated permissions, or actions performed before revocation. If a network path is blocked, establish that the relevant traffic actually fails without stopping legitimate warehouse operations. If a new approval rule is installed, test the unauthorized business action rather than merely checking that the policy appears in a configuration record.

The design should also anticipate what happens when a valid layer fails for an ordinary reason. An identity service could be unavailable during a storm. A security gateway may need an emergency maintenance bypass. Business continuity rules may permit limited offline operations. These exceptions deserve deliberate scope, authorization, monitoring, and expiration. Otherwise a recovery procedure can turn into a permanent, poorly supervised route around the controls the organization relies on during normal operations.

Zero Trust does not mean refusing all access until every uncertainty has disappeared. No organization could function under that rule. It means reducing unearned trust and making access conditions specific enough to reflect the resource's sensitivity and the user's legitimate purpose. Defense in depth acknowledges that even sensible access decisions can be wrong or defeated. The two models complement each other when explicit, resource-level decisions are backed by meaningful limits, visibility, and recovery options.

Return to the distributor's compromised session. The second factor cannot undo the theft of an already established session. Yet narrow supplier permissions may prevent an unauthorized account change. A separate approval may stop it if that approval genuinely depends on a different authority. Transaction monitoring may detect the attempt if those boundaries fail. Revoking the session may interrupt continuing misuse. Protected recovery and transaction records may help restore a trustworthy state if a payment record was altered. Each layer should earn its place by changing what happens next.

An analyst assessing a layered design should be able to describe the protected business action, the path an attacker might take, the trust decision at each meaningful boundary, and the evidence that a layer works. When one control breaks, identify the next independent obstacle and the remaining consequence. That is much more informative than reporting that the company owns five security products or has adopted a fashionable architecture name.

Designing Defenses That Still Work After One Fails
Broadcast by