About Me

My photo
I have a burning need to know stuff and I love asking awkward questions.

Friday, March 03, 2006

Online amateurs crack Enigma codes

By Adam Blenford for BBC News

[Not my ‘usual’ thing I know, but I thought this was seriously cool.]

Three German ciphers unsolved since World War II are finally being cracked, helped by thousands of home computers. The codes resisted the best efforts of the celebrated Allied cryptographers based at Bletchley Park during the war. Now one has been solved by running code-breaking software on a "grid" of internet-linked home computers. The complex ciphers were encoded in 1942 by a new version of the German Enigma machine, and led to regular hits on Allied vessels by German U-boats. Allied experts initially failed to deal with the German adoption in 1942 of a complex new cipher system, brought in at the same time as a newly upgraded Enigma machine. The advancement in German encryption techniques led to significant Allied losses in the North Atlantic throughout 1942.

The three unsolved Enigma intercepts were published in a cryptography journal in 1995 and have intrigued enthusiasts ever since. Although assumed to have little historical significance, they are thought to be among just a handful of German naval ciphers in existence still to be decoded. The latest attempt to crack the codes was kick-started by Stefan Krah, a German-born violinist with an interest in cryptography and open-source software. Mr Krah told the BBC News website that "basic human curiosity" had motivated him to crack the codes, but stressed the debt he owed to veteran codebreaking enthusiasts who have spent years researching Enigma.

He wrote a code-breaking program and publicised his project on internet newsgroups, attracting the interest of about 45 users, who all allowed their machines to be used for the project. Mr Krah named the project M4, in honour of the M4 Enigma machine that originally encoded the ciphers. There are now some 2,500 separate terminals contributing to the project, Mr Krah said. "The most amazing thing about the project is the exponential growth of participants. All I did myself was to announce it in two news groups and on one mailing list." Nevertheless, in little over a month an apparently random combination of letters had been decoded into a real wartime communication.

In its encrypted form the cipher makes no sense at all, reading as follows:

"NCZW VUSX PNYM INHZ XMQX SFWX WLKJ AHSH NMCO CCAK UQPM KCSM HKSE INJU SBLK IOSX CKUB HMLL XCSJ USRR DVKO HULX WCCB GVLI YXEO AHXR HKKF VDRE WEZL XOBA FGYU JQUK GRTV UKAM EURB VEKS UHHV OYHA BCJW MAKL FKLM YFVN RIZR VVRT KOFD ANJM OLBG FFLE OPRG TFLV RHOW OPBE KVWM UQFM PWPA RMFH AGKX IIBG"

Unencrypted and translated into English, the message suddenly comes to life:

"Forced to submerge during attack. Depth charges. Last enemy position 0830h AJ 9863, [course] 220 degrees, [speed] 8 knots. [I am] following [the enemy]. [barometer] falls 14 mb, [wind] nor-nor-east, [force] 4, visibility 10 [nautical miles]."

A check against existing records confirmed that the message was sent by Kapitanleutnant Hartwig Looks, commander of the German navy's U264 submarine, on 25 November 1942.

Stefan Krah's computerised codebreaking software uses a combination of "brute force" and algorithmic attempts to get at the truth. The combined approach increases the chances of stumbling across a match by recreating possible combinations of plugboard swaps while methodically working through combinations of rotor settings. Bletchley Park and its codebreakers have been immortalised on television, in film and in best-selling novels. Now a museum, staff at the site are not attempting to close the book on World War II by solving any remaining ciphers. That they leave to the enthusiasts. But a spokeswoman said that Bletchley Park followed the M4 project with interest, describing Mr Krah's work as a "great tribute" to the achievements of the wartime codebreakers. Ralph Erskine, who submitted the original intercepts to the journal Cryptologia in December 1995, told the BBC News website that cracking the German codes after more than 63 years would be an important milestone for amateur cryptologists. "I think there is more satisfaction for people engaged in the project to know that they have been able to do something that Bletchley Park couldn't do," he said.

[How cool is that?]

7 comments:

Paste said...

What an interesting post - ' Back row, far right.' Thank you very much :-)

CyberKitten said...

dave said: What an interesting post - Back row, far right.' Thank you very much :-)

[grin]

I don't think that the NSA or GCHQ need to worry... but it did pique my interest. I like it when amateurs do stuff like that. Make us realise that we don't need Government for everything in our lives - usually just the bad stuff [chuckle].

goal10der said...

I guess this means I'll have to come up with a more sophisticated system of encoding my blog. I mean if amatuers can figure it out...

Aginoth said...

Wow, only 60 years late, and then it was cracked by a german:-)

Have you seen this? in favour of the argument you don't need god to have a moral code;-)

Juggling Mother said...

Bah, that last post was from me. Never let Aggie use your computer!

CyberKitten said...

One of the Aginoth's said: Have you seen this? in favour of the argument you don't need god to have a moral code;-)

Ever so slightly off topic.... But good stuff... [chuckle]

JR said...

Way cool on the altruism post and the code breakers. I was into simple cryptograms and code breaking back in the 80s, but left it behind for other pursuits. I remember it being a fun challenge, though I'm not sure my brain is capable of it anymore.