Key Moments

Exploiting the Tiltman Break - Computerphile

ComputerphileComputerphile
Education3 min read26 min video
Sep 5, 2018|313,046 views|5,636|226
Save to Pod
TL;DR

Exploiting the Tiltman Break: How Bletchley Park deciphered German teleprinter ciphers using a unique attack on indicator settings.

Key Insights

1

The 'Tony' or 'Lorenz' cipher, used by the Germans, was a sophisticated teleprinter cipher employing the Vernam cipher principle.

2

Bletchley Park had to overcome challenges in synchronizing two paper tapes for the Vernam cipher, leading to the development of machines that generated key streams automatically.

3

The 'Tiltman Break' or 'Z-Mug' indicator provided crucial information, revealing non-random patterns in the German key stream generation.

4

Bill Tut's analysis of the indicator's limited alphabetic characters (23 in one position, 25 in others) suggested the use of cogwheels with prime or relatively prime numbers of teeth.

5

Through meticulous analysis, codebreakers deduced the structure of the German machine, identifying two sets of cogwheels and an obscuring mechanism that sometimes skipped.

6

The realization that wheel patterns were changed monthly, not daily, and that the indicator setting was provided, allowed for extensive decryption.

THE NECESSITY OF COLOSSUS AND THE MYSTERY OF TELEPRINTER TRAFFIC

The development of the Colossus machine was driven by the need to break a specific type of German cipher traffic, known enigmatically as 'Tony' by Bletchley Park. Initial analysis of intercepted signals revealed it to be broadcast teleprinter traffic, a technology familiar to the codebreakers. However, its precise nature and the machine generating it remained a mystery, prompting a deep dive into its cryptographic underpinnings, which were based on the Vernam cipher principle.

UNDERSTANDING THE VERNAM CIPHER AND ITS IMPLICATIONS

The Vernam cipher, conceptualized by Gilbert Vernam, involves XORing a plaintext message with a random key stream, character by character, to produce ciphertext. This method offers perfect secrecy if the key stream is truly random and used only once. Bletchley Park's understanding of this principle was crucial, but practical implementation faced challenges, particularly with synchronizing two paper tapes, leading to difficulties with slippage and alignment.

THE BIRTH OF THE TILTMAN BREAK AND THE 'Z-MUG' INDICATOR

A breakthrough in deciphering 'Tony' traffic came with the analysis of a specific indicator setting, dubbed 'Z-Mug' (or 'Zed-Mug'). This setting, which was transmitted before longer messages, provided a crucial clue. The Germans, like the Allies with Enigma, sent initial settings, but for 'Tony', these indicators consistently used only 25 alphabetics, with one position limited to 23. This deviation from the expected 26 alphabetics hinted at a non-random element in the key generation process.

BILL TUT'S ANALYSIS: COGWHEELS AND PERIODICITY

Bill Tut, a new recruit with a background in puzzles, was tasked with analyzing the 'Z-Mug' indicator. Recognizing the significance of the limited character sets (23 and 25), he hypothesized that the machine employed cogwheels for key stream generation, similar to other crypto machines. He reasoned that if cogwheels were used, their number of teeth would influence the repeat patterns of the generated key stream. The product of 23 and 25, 575, became his initial focus for analyzing potential periodicity.

UNRAVELING THE MACHINE'S STRUCTURE: COGWHEELS AND OBSCURATION

Tut's initial analysis of a long strip of bits, expecting repeats every 23 or 25 positions, unexpectedly revealed a diagonal pattern suggesting a period of 41. This led to the deduction that a cogwheel with 41 teeth was involved. Further investigation by a team revealed a complex structure: two sets of five cogwheels each. The first set had teeth counts of 41, 31, 29, 26, and 23, providing the primary key stream. A second set of five cogwheels (43, 47, 51, 53, 59 teeth) acted as an obscuring mechanism, occasionally skipping positions.

THE STRATEGIC ADVANTAGE: WHEEL PATTERN CHANGES AND DECRYPTION

A critical realization was that the Germans did not change the patterns on the cogwheels daily, but rather monthly, using the 'Z-Mug' indicator to set the initial state. Once the number of teeth on each wheel and the patterns were deduced, Bletchley Park could decrypt messages for an entire month. This strategic advantage, combined with the eventual understanding of the 'stutter' mechanism used by the Germans to disguise wheel movements, enabled the effective decryption of 'Tony' traffic.

Common Questions

The 'Tony' cipher was a German encryption machine used during WWII. Colossus was needed to help decrypt the traffic from this machine, which was broadcast via teleprinters.

Topics

Mentioned in this video

Tools & Products
47-tooth wheel

Part of the second set of wheels used for obscuring the key stream in the 'Tony' machine.

cog wheels

The conceptual components Bill Tutt suspected were used in the 'Tony' machine, with varying numbers of teeth influencing key stream periodicity.

26-tooth wheel

A cog wheel in the 'Tony' machine's initial set. While not prime (2x13), it was relatively prime to others, making it safe.

23-tooth wheel

One of the initial cog wheels identified in the 'Tony' machine, present on stream five, confirming Bill Tutt's earlier hypothesis.

29-tooth wheel

One of the initial cog wheels identified in the 'Tony' machine, part of the five-wheel setup for generating the key stream.

43-tooth wheel

Part of the second set of wheels used for obscuring the key stream in the 'Tony' machine.

51-tooth wheel

Part of the second set of wheels used for obscuring the key stream in the 'Tony' machine. Non-prime (3x17), but relatively prime to others.

41-tooth wheel

The first identified cog wheel in the 'Tony' machine, discovered through analysis of the 'impulse one' bit stream's periodicity.

31-tooth wheel

One of the initial cog wheels identified in the 'Tony' machine, part of the five-wheel setup for generating the key stream.

53-tooth wheel

Part of the second set of wheels used for obscuring the key stream in the 'Tony' machine.

dots and crosses

A representation used for zeros (dots) and ones (crosses) on grids, found to be easier for spotting patterns than numerical binary sequences.

59-tooth wheel

Part of the second set of wheels used for obscuring the key stream in the 'Tony' machine.

More from Computerphile

View all 82 summaries

Found this useful? Build your knowledge library

Get AI-powered summaries of any YouTube video, podcast, or article in seconds. Save them to your personal pods and access them anytime.

Try Summify free