Wednesday, October 4, 2017

Update

1). In Soviet cipher teleprinters of WWII, I’ve added the following:

More details about the Forschungsamt solution of the Soviet cipher teleprinter are given by Bruno Kröger in TICOM reports DF-240 and DF-241. Kröger was the FA’s cipher machine expert and during the war he solved not only the Soviet machine but also the Swiss diplomatic Enigma K.

The Soviet cipher teleprinter was used on 2-channel networks and the FA’s Technical Division was able to build equipment that automatically intercepted and printed this radio traffic. The cipher text was then examined by Kröger’s department and it was discovered that during transmission pauses the Russian letter П was enciphered seven times in succession. Messages interrupted by transmission pauses were examined and their first and last seven characters analyzed in order to uncover the operating principles of the device.

Through this cryptanalytic procedure it was possible to find out that the machine had 6 wheels that stepped regularly, then their pin arrangement was identified and with the daily key recovered all the day’s traffic could be solved.

This success however turned out to be short lived since in late 1943 the Soviet cipher machine was modified and no pure ‘key’ was transmitted during transmission pauses. It seems that from then on this traffic was only examined by the Army’s Inspectorate 7/VI.

From TICOM DF-240 ‘Characteristics, Analysis and security of cryptographic systems’ - Parts III and IV, p37-39

Both texts indicated the pauses in transmission by - - - - - etc.  The cipher tape has the peculiarity that in passing from the preliminary call-up to the transmission pause, the Russian letter Π, represented in the radio alphabet by + + + + +, occurs seven times.
…………………………………………….
Now since it was natural to assume that in this transition to and from cipher texts the same letter Π= + + + + + likewise appeared seven times in each case but vas no longer recognizable due to the encipherment the first and last seven cipher values of all cipher texts interrupted by transmission pauses were subjected to special study. Since the machine, once the daily key had been set up, was used very frequently during the course of the day for sending cipher text with numerous pauses in transmission without any new daily key being set up, rather numerous fragments of a length of seven letters were available at known intervals of greater or lesser lengths.
…………………………………………….
From this it could be concluded that the first seven and the last seven letters of each secret text came from enciphering the letter Π= + + + + + seven times and hence these fragments of cipher text represented pure key text. The following study of these fragments of pure key text led to a recognition of the fact that the first impulses show the same repeated picture in the chain of plus and minus impulses at an interval of 37, the second impulses at an interval of 39, the third impulses at an interval of 41, the fourth and fifth at an interval of 43 and 45 respectively (the intervals may have been 35, 37, 39, 41, 43). This showed the length of the five cipher wheels and their cam pattern according to the day’s setting. Each cam crest caused the inversion of the plain impulse into its opposite while a cam trough left a plain impulse unchanged. The wheels regularly moved one step after each cipher letter.

With this the decipherment of the cipher text had been accomplished. The reconstruction of the cam pattern of the wheels, which was set up new each day, was easily accomplished.

From TICOM DF-241 ‘The Forschungsamt’- Part I, p25

18. The Russian radio [2-channel] cipher machine with a channel for plain text and a channel for cipher text could be studied after the Technical Division had constructed a receiving device which at the same time removed the scrambling. The five elements of the radio alphabet [bands] ware enciphered singly through five wheels which move evenly. The wheels could be set up new each day corresponding to the daily key; but the period was constant and invariable. It was possible to solve this completely.

From TICOM DF-241 ‘The Forschungsamt’- Part IV, p38

It need only be mentioned here that the 2-channel cipher machine was withdrawn from use a few days after the Forschungsamt succeeded in solving it. When the machine was put into use again some weeks later, the cipher device of the cipher channel had been so altered that solution by the previous method was no longer possible since, when switching the machine from procedure traffic to cipher text and between a pause in transmission and cipher text, the switching became effective at once and the idling period of 7 elements had dropped out. That the same machine was involved was proven only by the receiver device which still broke up the scrambled text into a clear and a cipher text in the same manner as before. Because OKH had great interest in this traffic and its own receivers did not work perfectly, and because further detailed work at this time (Autumn 1943) in the Forschungsamt was not possible, OKH received all new traffic on this machine for processing. 

2). In Compromise of Soviet codes in WWII, I’ve added information from various reports including TICOM sources and FMS P-038 ‘German radio intelligence’.

Sunday, October 1, 2017

The compromise of the Swiss diplomatic Enigma K cipher machine in WWII

In the course of WWII the Allied and Axis codebreakers attacked not only the communications of their enemies but also those of the neutral powers, such as Switzerland, Spain, Portugal, Turkey, Ireland, the Vatican State and others (1).
Switzerland was a traditionally neutral country but during the war it had close economic relations with Germany and it also acted as an intermediary in negotiations between the warring nations. Important international organizations like the Red Cross and the Bank of International Settlements were based in Switzerland.

Naturally both the Allies and the Germans were interested in the communications of the Swiss government.

Swiss diplomatic codes and ciphers

The Swiss Foreign Ministry used several cryptologic systems for securing its radio messages. According to US reports (2) several codebooks were used, both enciphered and unenciphered. These systems were of low cryptographic complexity but had an interesting characteristic in that the same codebooks were available in three languages.
French, German and Italian were the recognized official languages of Switzerland. The codebooks of the Swiss foreign ministry had versions in French, German and English.
Apart from codebooks the Swiss also used a number of commercial Enigma cipher machines at their most important embassies.

The Swiss Enigma K cipher machine

Since the 1920’s the Enigma cipher machine was sold to governments and companies that wanted to protect their messages from eavesdroppers.

The latest version of the commercial Enigma machine was Enigma K. In WWII this device was used by the Swiss diplomatic service and armed forces.

The device worked according to the Enigma principle with a scrambler unit containing an entry plate, 3 cipher wheels and a reflector. Each of the cipher wheels had a tyre, marked either with the letters of the alphabet or with the numbers 1-26, settable in any position relative to the core wheel, which contained the wiring. The tyre had a turnover notch on its left side which affected the stepping motion of the device.

The position of the tyre relative to the core was controlled by a clip called Ringstellung (ring setting) and it was part of the cipher key, together with the position of the 3 cipher wheels. 

The commercial version was different from the version used by the German Armed Forces in that it lacked a plugboard (stecker). Thus in German reports it was called unsteckered Enigma.

In 1938 the Swiss government purchased 14 Enigma D cipher machines, together with radio equipment. The next order was in 1939 for another 65 machines and in 1940 they received 186 Enigma K machines in two batches in May and July ’40. The Enigma cipher machines were used by the Swiss Army, Air Force and the Foreign Ministry (3).

Wednesday, September 27, 2017

TICOM DF-240

The NSA FOIA office has released the TICOM report DF-240 ‘Characteristics, Analysis and security of cryptographic systems’. Google drive link.

Contents of the file:

240 A - Table of contents

240 B - Analysis of Enigma cipher machine type K

240 Part 1 - Treatise on cryptography

240 Part 2 - Treatise on cryptography

240 Part 3 and 4 - Treatise on cryptography

Enjoy!

Friday, September 1, 2017

Update

In The Japanese FUJI diplomatic cipher 1941-43 I’ve added the following:

1). In ‘Allied exploitation of the improved J series codes’:

When the new J-19 system was introduced the US codebreakers were already familiar with the basic characteristics of the cipher and Rowlett quickly made important discoveries regarding the underlying code. However solution of the daily key settings was a difficult problem, especially since more resources were put into the solution of the traffic sent on the PURPLE cipher machine.

2). In ‘Australian effort’:

Progress in 1941 was slow and up to February 1942 the only keys solved were those for messages whose content was known (for example messages reporting the departure of ships). However in 1942 things progressed rapidly.

In March ‘42 a member of the British Foreign Office from Singapore who possessed an excellent knowledge of Japanese joined the section. At the same time personnel of the unit developed elaborate cryptanalytic methods for recovering the daily settings and by May ‘42 the section was able to read virtually all FUJI traffic and ‘all bigrams, except those of very rare occurrence, and most tetragrams had been recovered’.

3). In ‘OKW/Chi effort’:

The OKW/Chi designation for FUJI was system J-13/J2B4BCüRuW (Japanese 2-letter and 4-letter code with stencil and transposition – Raster und Würfel). FUJI messages were first solved thanks to a repeat message sent from Paris to Tokyo. The first message and the repeat had the same plaintext (with small variations) and they had both been enciphered with the same key. This mistake facilitated their solution and the basic characteristics of the system were identified.

The solution of the daily transposition settings and the different stencils was taken over by personnel of the mathematical research department, specifically by the mathematician dr Werner Weber.

According to Part 3 of the report I-181 ‘Homework by Dr Werner Weber of OKW/Chi’, Weber started working on Japanese diplomatic messages in July ’41 and he identified the system as a transposed code. The underlying code for some of the messages was the previously solved LA code, thus they could be read. The rest of the messages had a new code.

Solution of the new system and recovery of the code proceeded slowly in 1941. In September ’41 Weber was allocated a small staff to help him with the Japanese traffic and by February ’42 some material could be read. During the year the new system was solved and most of the circular and European/Middle East traffic could be read. In the period summer ’42 to summer ’43 the previous year’s indicators were reused and the old transposition keys and stencils were either repeated or were modified in a predictable manner (with some exceptions).


Tuesday, August 29, 2017

Info on Greek Army codes


A Greek file dated 1938 (1) mentions the following Army cryptosystems: small unit code 1937, large unit code 1937, small unit code 1938, mobilization code 1937, cryptographic lexicon 1935. 


Monday, August 21, 2017

Missing page from TICOM I-137

The TICOM report I-137 ‘Final report written by Wachtmeister Otto Buggisch of OKH/Chi and OKW/Chi’ that I recently uploaded was missing page 2.

Thankfully the NSA FOIA office has sent me the page, thus I have re-uploaded the file.


Missing page: