Skip to content

Burrows–Abadi–Needham Logic

A formal authentication-belief calculus derives what protocol principals may believe from idealized messages, explicit trust and freshness premises, and named inference postulates.

Core Idea

Burrows–Abadi–Needham (BAN) logic is a formal way to reason about what participants in an authentication protocol may believe. It gives names to statements such as “A believes X,” “B once said X,” and “X is fresh,” then applies stated inference rules to idealized messages and explicit assumptions about keys and trusted authorities. A claimed belief follows only when its proof uses the declared rules and premises.[1]

The logic itself is a fixed set of symbols and rules. Applying it to a real message exchange requires an analyst to translate messages into those symbols and justify the starting beliefs. A valid proof is conditional on that translation and those assumptions; it is not by itself a proof that an implementation is secure.[1]

How would you explain it like I'm…

Who-Trusts-Whom Rules

When computers send secret messages, they need to be sure who they are talking to. BAN logic is a set of careful rules, a bit like a detective's rulebook. You start with what each side already trusts, and the rules tell you what else they can safely believe after the messages go back and forth. If the rules can't reach the answer you hoped for, something is missing.

The Belief-Checking Language

Computers prove who they are to each other by sending special messages, like a secret handshake. Burrows–Abadi–Needham Logic gives words for ideas like 'believes', 'sees', 'once said', 'fresh' (new, not replayed), and 'is in charge of' a fact. Starting from clearly stated assumptions, its rules let you work out what each side is entitled to believe. If you can't reach the belief you hoped for, it can reveal a gap, like a message that might be old. It reasons about beliefs on paper; it doesn't prove the real program or the secret codes are safe.

Logic of Authentication Beliefs

BAN logic, named after Burrows, Abadi and Needham, is a formal logic for reasoning about what honest participants in an authentication protocol are entitled to believe. Its basic notions are 'believes', 'sees', 'once said', 'fresh', and 'has jurisdiction over'. You turn the protocol's messages into idealized formulas, state starting assumptions about keys, freshness and authority, and apply named inference rules to derive new beliefs. A goal like 'A believes B believes the session key is good' holds only if you can derive it from those inputs. The logic itself is fixed, but how you translate a protocol and which assumptions you choose are up to the analyst. So a derivation shows a conditional result, not a guarantee about real code or about secrecy.

 

Burrows–Abadi–Needham (BAN) logic is a modal-style calculus for analyzing authentication protocols in terms of the beliefs trustworthy principals may hold. Its constructs include P believes X, P sees X, P once said X, fresh(X), and P has jurisdiction over X, along with notation for shared keys and secrets. Analysis proceeds by idealizing each protocol message into logical formulas, declaring initial assumptions (who shares which keys, which nonces are fresh, who is trusted on what), and applying postulates such as message-meaning, nonce-verification and jurisdiction rules. A goal like 'A believes B believes the key is good' is established only if derivable from these inputs. The logic itself is fixed, while idealization and premise selection are analyst decisions, so conclusions are conditional on that representation. A failed derivation can expose missing freshness or trust links, as in the original analysis of Andrew Secure RPC. It is not automatically a proof about implementation behavior or cryptographic secrecy.

Scope of Application

Use BAN logic to examine whether an authentication or key-establishment protocol gives its participants grounds for intended beliefs about one another and about a session key. State the protocol version, who sends and receives each message, what each party can read, the idealized messages, trusted keys and authorities, freshness evidence, and the goal to be proved. Changing any of those inputs can change the conclusion.[1]

The original authors apply it to Kerberos, which uses a server and timestamps, and to an early Andrew Secure RPC handshake, which uses nonces. The analysis concerns those represented versions and assumptions, not every later deployment of either protocol.[1]

Clarity

Keep “said” and “believes” separate. “B said X” allows that B uttered X in a past run. A freshness premise plus the nonce-verification rule may support the stronger claim that B currently believes X. A jurisdiction premise is needed before A can adopt B's belief as its own. A proof must show each step and satisfy each rule's conditions.[1]

The translation step matters just as much. An encrypted packet does not literally say in ordinary language that a key is good. The analyst must explain why the fields a recipient can read and authenticate warrant that idealized assertion. Otherwise the formal proof may be valid for a stronger message than the actual protocol sent.[1]

Manages Complexity

The calculus turns a message exchange into a limited set of belief formulas and proof steps. That makes it easier to see which key assumption, freshness premise, authority claim, or inference rule supports a goal. In the early Andrew analysis, a desired belief cannot be derived because the final new-key message lacks freshness evidence that A can use.[1]

This simplification leaves out implementation errors, cryptosystem weaknesses, secret disclosure, and the full space of adversarial executions. Those are outside the original paper's stated focus and need other evidence.[1]

Abstract Reasoning

Begin with a precise goal, such as A believing that B currently believes a new session key is good. List the idealized messages and independent initial beliefs. Follow the message-meaning, freshness, and jurisdiction rules with their conditions, recording where a past utterance becomes a current belief. If the goal cannot be reached, identify the missing premise or message evidence instead of treating the goal as an axiom.[1]

A successful derivation shows what follows inside the model. A failed derivation can signal a useful defect or missing assumption, but it does not automatically prove an attack in every implementation. The early Andrew case includes the authors' separate replay account; that account should travel with its protocol version and assumptions.[1]

Knowledge Transfer

The same four roles appear in unlike cases: belief language, idealized messages, initial key/freshness/authority premises, and inference rules. Kerberos uses a trusted server and clocks to support scoped session-key beliefs. The early Andrew exchange lacks a needed freshness link for its final key message and suggests a nonce repair. The rules remain BAN rules in both analyses; the messages and premises differ.[1]

BAN is a domain-specific instance of the live Formal System Prime: its symbols and explicit postulates form a rule-governed calculus. Its key, message and freshness meanings come from authentication protocols. The shared pattern does not make BAN a general theory of every formal system.

Example

Kerberos: In the authors' server-mediated example, A and B receive material concerning a session key from server S. The language expresses each participant's beliefs; idealization represents tickets and replies as assertions; premises include trust in S and fresh timestamps; rules derive scoped key beliefs. The result depends on synchronized clocks. The optional fourth message supports a participation belief that the three-message version does not establish in the same way.[1]

Early Andrew Secure RPC: A and B already share a key and exchange nonces before B sends a new key. The language states A's desired belief about B and that key; idealization translates four messages; premises include the old key and generated nonces; rules stop short of the desired current belief because A has no freshness evidence for the last message. The authors give a replay account and propose including A's nonce in the repair.[1]

Relationships to Other Abstractions

Local relationship map for Burrows–Abadi–Needham LogicParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Burrows–Abadi–NeedhamLogicDOMAINPrime abstraction: Formal System — is a kind ofFormal SystemPRIME

Current abstraction Burrows–Abadi–Needham Logic Domain-specific

Parents (1) — outgoing typed relations

  • Burrows–Abadi–Needham Logic is a kind of Formal System Prime

    BAN logic specializes a rule-governed symbolic derivation system to authentication beliefs.

Hierarchy paths (2) — routes to 2 parentless roots

Neighborhood in Abstraction Space

Burrows–Abadi–Needham Logic sits in a sparse region of the domain-specific corpus (85th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Interpersonal Communication & Pragmatics (15 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

The protocol is the exchange under analysis; BAN is the calculus applied to its idealized messages. A freshness claim is an assumption to justify, not a fact created by writing it as a premise. A formally derived belief is conditional on the model and does not establish packet-level security or cryptographic secrecy. A past “said” statement is weaker than a current “believes” statement until the appropriate rules and conditions bridge them.[1]

References

[1] Michael Burrows, Martin Abadi, and Roger Needham, “A Logic of Authentication,” ACM Transactions on Computer Systems 8, no. 1 (February 1990): 18–36, §§1–5.1 (method, Kerberos and Andrew Secure RPC analyses). https://web.stanford.edu/class/cs259/WWW04/papers/ban1990.pdf registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g ↩h ↩i ↩j ↩k ↩l ↩m ↩n