Saturday, February 22, 2014

James Bamford NSA video

Interesting presentation on the history of the NSA by author James Bamford


Wednesday, February 19, 2014

Saturday, February 15, 2014

RAF Strength Far East Command – January 1942

In December 1941 Japan entered WWII on the side of the Axis by attacking the forces of the USA and UK stationed in the Pacific.

The most audacious attack was against the US fleet in Pearl Harbor but in the same period the Japanese invaded the Philippines, Thailand and British controlled Hong Kong and Malaya.
Both the Americans and the British had underestimated Japan’s military and they paid the price. The British also suffered from their ongoing war against Germany and Italy. They had limited military resources and the choice had been made to concentrate these in Europe. Thus their forces in the Far East were equipped with outdated weapons. This is obvious in the case of the RAF, as shown by the following strength reports:

 


Source: AIR 22 ‘Air Ministry: Periodical Returns, Intelligence Summaries and Bulletins’
The types available were second line aircraft like the Hawker Audax, Westland Wapiti, Westland Lysander, Vickers Vildebeest and a handful of relatively modern Curtiss P-36, Bristol Blenheim, Bristol Beaufort, Lockheed Hudson and Brewster F2A Buffalo.

These forces were not capable of standing up to the modern Japanese planes, especially the Mitsubishi A6M Zero.

Sunday, February 9, 2014

British cryptologic security failures in WWII

Signals intelligence and codebreaking played an important role in WWII. British and American codebreakers solved many important Axis crypto systems, such as the German Enigma machine and the Japanese Navy’s code JN25.

Historians have not only acknowledged these Allied successes but they’ve probably exaggerated their importance in the actual campaigns of the war.
Unfortunately the work of the Axis codebreakers hasn’t received similar attention. As I’ve mentioned in my piece Acknowledging failures of crypto security all the participants suffered setbacks from weak/compromised codes and they all had some successes with enemy systems.

Britain, the Soviet Union and the United States did not have impenetrable codes. In the course of WWII all three suffered setbacks from their compromised communications.
Time to take a look at the British side and their worst failures.

Book cyphers
The basic British cryptosystem for important radio-traffic was the enciphered codebook. These 4-figure codebooks were enciphered with subtractor tables, using the non-carrying system. The military services had their own series of cyphers such as the War Office Cypher for the Army and the RAF cypher for the airforce plus there were diplomatic editions for the Foreign Office and the Interdepartmental Cypher that was used both by the services and the civilian organizations.

The codebook was basically a dictionary that assigned a 4-figure group to each word. For example the word ‘division’ would have the code 5538, ‘attack’ 2090, ‘artillery’ 0231 etc etc
So the cipher clerk would first use the codebook in order to find the code groups corresponding to the words of the message and then he would have to use the subtractor tables in order to encipher them. This means that each codegroup would be subtracted from the key groups (of the subtractor table) without carrying over the numbers.

Sunday, February 2, 2014

State Department’s strip cipher – reuse of alphabet strips and key lists

During WWII the US State Department used several cryptosystems in order to protect its radio communications from the Axis powers. For low level messages the unenciphered Gray and Brown codebooks were used.  For important messages four different codebooks (A1,B1,C1,D1) enciphered with substitution tables were available.

Their most modern and (in theory) secure system was the M-138-A strip cipher. Unfortunately for the Americans this system was compromised and diplomatic messages were read by the Germans, Finns, Japanese, Italians and Hungarians. The strip cipher carried the most important diplomatic traffic of the United States (at least until late 1944) and by reading these messages the Axis powers gained insights into global US policy.
The strip cipher was not a weak system cryptologically, even though it could not offer the security of cipher machines. The success of German and Finnish codebreakers was facilitated in many cases by the poor way that the system was used by the State Department.

Use of the M-138 strip cipher by the State department
Each embassy had 50 ‘circular’ alphabet strips and 50 ‘specials’. The ‘circulars’ were used for communications between embassies and for messages from Washington to all embassies. The ‘specials’ were used for direct communications between Washington and a specific embassy.

The way the system worked was that each day 30 alphabet strips were chosen out of the available 50 (both for the ‘circulars’ and the ‘specials’). The strips used and the order that they were inserted in the metal frame was the ‘daily key’. 


The strip system did not have a separate ‘key’ for each day. Instead there were only 40 different rearrangements for the entire year.
The daily key table indicated which of the 40 keys was valid for the specific day. For example in the following table assuming that the date is April 10 then the numerical key to be used is 30.




Thursday, January 30, 2014

General Onodera’s intelligence bazaar

In the course of WWII all the participants tried to gather secret intelligence using spies.

For example the Brits had their Secret Intelligence Service and the Special Operations Executive plus they worked together with the Polish, French and Czech intelligence services. The Germans had their Abwehr and Sicherheitsdienst. The Americans created the Office of Strategic Services etc etc
Spying was a hard business. Recruiting trustworthy individuals, training them, providing them with false identities, necessary paperwork and foreign currency was not easy. Inserting them into an enemy country was difficult with the majority being caught in a relatively short time. Even those that survived could usually only gather information of limited value.

The Germans built up large spy networks in neutral countries like Spain, Turkey, Sweden and Switzerland but they did not have similar successes in the US and the UK.
Prior to WWII they had compromised the USAAF’s most advanced bombsight but during the war their attempts to insert agents all (?) failed.

In the UK their attempts were so clumsy that the Brits not only captured the spies but in many cases convinced them to change sides and send false information to the Germans.
Does that mean that the Germans failed to get any useful information from these countries during the war? Not quite. Although the Germans didn’t have spy networks in the US and UK they were able to acquire some accurate information on Allied war production (and possibly other areas).

How could they have done so? Although they didn’t have spy nets that doesn’t mean that there weren’t other countries that did. Diplomats and businessmen of neutral countries learned a great deal by talking to Allied officials and some of this information was leaked or sold to the Germans. At the same time there was an exchange of information between Germans, Italians, Japanese and Hungarians.
For example in Sweden Karl-Heinz Kraemer, secretary of the German legation in Stockholm, was able to gather valuable information on US and UK war production mainly through his contacts in business and government circles. In 1944 the Allies considered Kraemer to be one of the most dangerous German agents and they were worried that he might compromise the security of operation ‘Overlord’.

One of Kraemer’s best sources was the Japanese military attaché in Sweden, general Makoto Onodera. In 1944-45 they regularly met and exchanged information.
General Onodera

In Europe one of the top officials of the Japanese intelligence service was the military attaché in Sweden, general Makoto Onodera.