← Back to section · Foundations of Cryptography
BAN Logic: Interrogating a Protocol with Belief Reasoning
Proposed in 1989 by Burrows, Abadi, and Needham, BAN logic turns protocol analysis into reasoning about who believes what. This article explains its basic constructs, the problems it found, and the criticisms it later attracted.
In 1989 Michael Burrows, Martín Abadi, and Roger Needham published an influential paper proposing a logic designed specifically for analysing authentication protocols, later named BAN logic after their initials. Its starting point is disarmingly simple: when an authentication protocol finishes, what do the participants actually “believe”? If the protocol claims to have established a session key, the participants should believe that this key is fresh and shared only with the intended peer. Write these beliefs as formulas, write each protocol step’s effect on beliefs as inference rules, and whether the protocol reaches its goals becomes a logical question that can be derived and checked step by step. Before this, protocol analysis rested on human eyes and intuition; BAN logic gave the activity its first workable framework.
The basic constructs: believes, said, jurisdiction
The language of BAN logic is built around a few predicates. The most important is belief: “P believes X” means principal P is willing to act on proposition X as true. Next is “said”: “P once said X” means P at some point sent a message containing X — on receiving such a message with fresh components, the recipient may infer that the sender still holds the corresponding belief. There is also “fresh”: a nonce or timestamp was generated for this very session; and “jurisdiction”: some principal is the authority on some matter — a key distribution server’s word on who shares which key with whom is to be obeyed by others. With predicates for shared keys and public-key ownership added, a protocol’s goals and execution can be translated into a set of logical formulas.
The inference rules then act as laws for how beliefs propagate. The most central is the message-meaning rule: if P believes she shares key K with Q, and receives a message encrypted under K containing X, then P may believe that Q once said X. Combined with the nonce-verification rule — if the message contains a component fresh to this session, “once said” upgrades to “currently believes,” because replay of an old message is excluded — these rules, applied repeatedly, derive from the initial assumptions what each party is entitled to believe at the protocol’s end. Compare that with the protocol’s stated goals: if a belief cannot be derived, the protocol is missing a link somewhere in its argument.
What a miniature derivation looks like
A minimal example conveys the texture of this reasoning. Suppose server S sends A a message, encrypted under a key A shares with S, saying “Kab is a good key for A and B,” together with a nonce A has just generated. The analyst first writes the assumptions: A believes she shares the distribution key with S, believes S has jurisdiction over key distribution, and believes her own nonce is fresh. On receiving the message, A — by the message-meaning rule — believes “S once said this.” By the nonce’s freshness, A upgrades it to “S believes this now.” By the jurisdiction rule — S is the authority on this matter and S believes it — A may conclude “Kab is a good key.” Three steps, with every assumption used named along the way. If some protocol cannot derive its target belief, the missing step is exposed: was a freshness component absent, or was the jurisdiction over keys never confirmed by anyone? Much of BAN logic’s value lies exactly here: it breaks “it feels like it should be fine” into a staircase of individually questionable steps.
Idealisation: power and peril in one step
The first step in using BAN logic is idealisation: translating the protocol’s actual messages — bit strings, encrypted blocks — into logical formulas, keeping only the semantic content relevant to belief and discarding encoding details. This step is what makes analysis feasible at all; bit-level detail is too fine-grained to reason over directly. But it is also where BAN logic’s largest controversy lives: the translation is done by hand, and no mechanical rule guarantees it is faithful. If idealisation inadvertently “translates” a message into something stronger than what it actually proves, the whole derivation yields an over-optimistic conclusion. Later researchers showed that some protocols “verified” with BAN logic expose problems under an equally reasonable alternative idealisation. Even so, BAN logic’s original paper had a respectable record: it found redundancy and weaknesses in the symmetric-key version of Needham–Schroeder, pointed out vagueness in the stated goals of several published protocols, and pushed protocol authors, for the first time, to state explicitly “what exactly is this protocol supposed to make its participants believe.”
What it actually changed
BAN logic’s influence extends well beyond the paper itself. After it appeared, protocol authors began restating their designs in its format — assumptions first, idealised messages second, the beliefs each party should obtain last — and that format alone was progress, because vague goals became testable for the first time. It also shifted the culture of protocol design: previously, correctness arguments were a few prose paragraphs of “clearly the attacker cannot…”; afterwards, “formalise the argument” gradually became the respectable expectation when publishing a protocol. Several well-known protocols were found, under BAN-style analysis, to have vaguely stated goals or genuine flaws, and those cases entered the textbooks as the standard material for understanding what authentication actually means. BAN logic’s greatest legacy may not be its rule set but the form of question it posed: when the protocol ends, who is entitled to believe what — on the strength of which message, and which assumption?
Criticisms, successors, and historical standing
Through the 1990s the community levelled a series of criticisms at BAN logic: its semantic foundations were not rigorous enough, and the meaning of “believes” slides between rules; the choice of initial assumptions likewise depends on analyst judgement, so different analysts can reach different conclusions. These criticisms drove follow-up work: a family of successor logics supplied stricter semantics and more complete rule sets, while symbolic models and state-search tools pushed automation in another direction, and BAN-style belief reasoning gradually receded to teaching and preliminary review. Its historical standing is nevertheless secure: it was the first widely used formal system for protocol analysis, it established the still-valid norm that “a protocol’s goals should be stated explicitly as the final beliefs of its participants,” and it taught the whole field that protocol correctness is a question that can — and must — be argued rigorously. Read today, BAN logic is best treated not as a production tool but as training in a way of thinking: for any protocol, ask first what each party is entitled to believe when the run is over.
Tags: BAN logicformal analysisauthentication protocols