Visual RFC.
ALL RFCs / RFC 9700
Read the RFC ↗
RFC 9700 / THE FOUNDATIONS

The attacker model

08

Attackers can run their own services, control a network, observe OAuth messages, or obtain a token. They can also collaborate.

RFC 9700 · § 3EXAMPLE
3 / 3
03
Leaked messages and tokens extend the threat.

A3 observes responses, A4 observes requests, and A5 obtains tokens. Model the combinations.

The attacker modelAttackers can run their own services, control a network, observe OAuth messages, or obtain a token. They can also collaborate. Current state: Leaked messages and tokens extend the threat..The attacker modelA3 · response leakread, not modifyA4 · request leakread, not modifyReads leaked messagesleakleakA5 · acquires an access tokenCan combine with A1 or A2; attackers may collaborateMinimum model · assess other threats in your deployment

Key idea: Design for the environment you actually have.

Terms

Look up a term in the glossary ↗

Rules & examples
  • A1 can operate browsers, clients, authorization servers, resource servers, and lure users to chosen URLs.
  • A2 can observe, modify, spoof, or block network traffic, except where cryptography protects it.
  • A3 reads authorization responses; A4 reads authorization requests; A5 acquires access tokens. These can combine with A1 or A2.

This is a minimum model. Implementers MUST account for other attackers relevant to their deployment. An attacker may also be a legitimate resource owner with their own account.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A key is different from permission.

An app, a person, and a server have different roles. Follow who asks, who grants permission, and who checks the credential. A key in the drawing is an analogy, not a literal protocol field.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 9700

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗