CYBER LIBRARY
Explore the bootcamp
Security essentialsIntermediate

Adversary in the middle

An intermediary may observe or alter a communication path.

3 min readUpdated 12 Oct 20267 connections
Markdown

The idea

An adversary-in-the-middle attack places an attacker between communicating parties, potentially allowing observation, modification, or impersonation. Transport encryption and correct certificate validation help protect against network interception. Other cases operate at the application or identity layer, such as a deceptive proxy collecting session credentials. Understand which trust boundary failed before choosing a mitigation; encrypted traffic alone does not make a malicious destination trustworthy.

In practice

A user ignores a certificate warning and sends credentials through an untrusted intermediary. In another case, a lookalike login proxy relays a real authentication flow and captures the resulting session.

A common misunderstanding

HTTPS establishes protection to the selected endpoint; it does not guarantee that you selected the intended service.

Check your understanding

What does certificate validation contribute?

Think it through: It checks whether the endpoint identity matches the intended destination under the configured trust model.

Trust must connect the user to the intended peer

An intermediary attack places an unauthorized party in a communication path. The effect can include reading, changing, or relaying information, depending on the protocol and access. Correctly configured authenticated encryption helps protect a network channel, but the endpoints still need to identify the intended service and handle credentials appropriately.

A valid certificate for a deceptive domain does not make that domain the real service. Some phishing proxies operate at an application or identity layer and relay interactions while presenting their own endpoint to the victim. Distinguish that scenario from an attacker silently decrypting a correctly validated connection to the genuine service.

A fictional sign-in relay

An academy employee reaches a convincing login page at the wrong address. Identity records later show unexpected session use. Analysts preserve the message or navigation source, domain context, browser and identity events, and subsequent activity. They do not infer the exact relay mechanism from the login page's appearance alone.

Network interception scenarios can involve different evidence, such as route changes, trust-store modifications, certificate warnings, or unauthorized proxy configuration. Legitimate enterprise proxies also exist. Review approval and actual behavior before calling every intermediary malicious. Never instruct users to bypass certificate warnings as a routine troubleshooting step.

Compare two trust failures

Draw one fictional connection to the correct service with certificate validation failing, and another to a deceptive domain with a valid certificate for that domain. Explain why both require attention for different reasons. Identify one user-verification improvement and one technical protection appropriate to each.

Response should consider credential and session exposure where supported by evidence, using the service's official revocation and recovery procedures. Encryption remains essential, but its protection is bounded by endpoint trust and the application's design. A secure transport to the wrong party does not establish the intended business relationship.

Keep exploring

GO TO THE SOURCE

References & further reading

Original explanations, with primary references for deeper study.

IETF: TLS 1.3 specificationMITRE ATT&CK: Adversary-in-the-Middle
EXPLORE THIS IDEA’S CONNECTIONS

A small part of a bigger picture.

8 notes · 10 connections
100%
Adversary in the middle · depth 1
Drag to pan · Pinch or use +/− to zoom · Click to preview · Double-click to read
Browse notes as a list (8)
FOLLOW ANOTHER THREADExplore the rest of the library
Start with a concept. Follow its connections.
Detection & responseAbuse Elevation Control MechanismElevation-control abuse bypasses or misuses mechanisms governing privileged execution.Making change happenAcceptance criteriaDefine observable conditions for a deliverable to be accepted.Security essentialsAccess controlUnderstand subjects, resources, permissions, and enforcement through a shared-drive example, including how access changes over time.Detection & responseAccess Token ManipulationAccess token manipulation changes or adopts operating-system security contexts.Risk & resilienceAccount Access RemovalAccount access removal disrupts legitimate users by changing, deleting, or restricting their identities.Evidence & investigationAccount DiscoveryAccount discovery enumerates identities available in a system or environment.Detection & responseAccount ManipulationAccount manipulation changes identity settings to preserve or expand access.Adversarial thinkingAcquire InfrastructureInfrastructure acquisition obtains domains, servers, or other resources used to support operations.Adversarial thinkingActive ScanningActive scanning probes target infrastructure to learn reachable services or weaknesses.Security essentialsAdversary in the middleAn intermediary may observe or alter a communication path.Security essentialsAESA symmetric block cipher whose safe use depends on its mode and implementation.Making change happenAgile deliveryUse short feedback cycles to adapt toward a useful outcome.