Slashdot Mirror


Help Break Original Enigma Messages

Stereo writes "The Enigma Machine was cracked in Poland in 1932, but three messages remain unbroken, despite having been intercepted in the North Atlantic in 1942. The M4 Project, named after the four rotor Enigma M4 used for encryption, is a distributed computing effort to break them. One message has already been deciphered successfully!"

40 of 272 comments (clear)

  1. More than 3 are unbroken by Derling+Whirvish · · Score: 4, Informative

    There are more than just those three message still unbroken. Those were just three that were selected for this project.

  2. Error by c0dedude · · Score: 3, Interesting

    Are they sure they're not just bad data? Wouldn't it be a good idea to send crap through the lines every so often to throw people off the trail?

    --
    Since when has this country used intellectual elite as a pejorative term?
    1. Re:Error by Anonymous Coward · · Score: 5, Interesting
      One of the main reasons the Enigma crypts were breakable with 1940's technology is that the Germans did _not_ do useful things like that. They re-used keys, left cribs in the messages, etc.

      Basically, they put too much faith in the encryption technology, and didn't put enough effort into securing the rest of the process. It's not unusual, many of today's systems have similar issues.

      The comments in Bruce Schneier's blog list some more things that went wrong in the Enigma process.

    2. Re:Error by massivefoot · · Score: 2, Interesting

      The Germans were over-confident to the point of incompetence with their encryption. The British certainly didn't attempt to change this, and ULTRA was only declassified in 1974, and it's likely as not that the Germans still thought their ciphers invincible at the end of the war.

    3. Re:Error by swillden · · Score: 4, Interesting

      Since the crib relied on the Enigma's inability to encode a letter to itself, the received message must have consisted entirely of the letter L.

      To be precise, the message was slightly more likely to have consisted entirely of the letter L. There's no mathematical guarantee that it would contain all Ls, but a sufficiently long ciphertext message with no Ls in the output would've indicated that, with high probability, there were an unusually large number of Ls in the input. Without knowing the actual story, I'd guess that the message probably wasn't all that long, and the math would probably predict only a few more Ls than normal... but that was enough of a hint that when combined with a knowledge of human behavior gave the cryptanalysts reason to assume it was all Ls and see if they could find key settings that would produce the ciphertext from that input.

      Even at the height of Bletchley Park's codebreaking efficiency, nearly every day's break came down to some clever guess of that sort... "What if we tried this?". I imagine the "all Ls" scenario was one of the easier guesses. In order to make it more certain, the codebreakers even asked the front-line forces to do apparently bizarre things, just so they'd have a keyword they could look for in the subsequent reports.

      Amazing stuff...

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    4. Re:Error by covertbadger · · Score: 2, Informative

      "If I take a letter, lock it in a safe, hide the safe somewhere in New York, then tell you to read the letter, that's not security. Thats obscurity. On the other hand, if I take a letter and lock it in a safe, and give you the safe along with the design specifications of the safe and a hundred identical safes with their combinations so that you and the worlds best safecrackers can study the locking mechanism - and you still can't open the safe and read the letter - thats security." Applied Cryptography, Bruce Schneier.

      A really good crypto system wouldn't need to be embedded in a stream of gibberish to interfere with traffic analysis, as it would be impervious to traffic analysis anyway.

  3. Build your own Enigma Machine by Derling+Whirvish · · Score: 4, Interesting

    Here's a site where you can order a parts kit to build you own Enigma Machine.

    1. Re:Build your own Enigma Machine by realbadjuju · · Score: 2, Informative

      And here's a paper 3-rotor version... Print out and play.

  4. Re:power of proper encryption by neoform · · Score: 4, Funny

    So what if it took 60 years to crack, those subs are sitting ducks now! Good encryption my ass..

    --
    MABASPLOOM!
  5. Java Enigma Simulator by Derling+Whirvish · · Score: 4, Interesting

    Here's a Java Enigma Simulator.

    1. Re:Java Enigma Simulator by fireman+sam · · Score: 4, Funny

      A Java enima stimulator, simply add it to your coffee and run.

      Sorry

      --
      it is only after a long journey that you know the strength of the horse.
  6. Wasn't the enigma cracked? by chanrobi · · Score: 2, Interesting

    Why are there still these 3 messages that are unbroken? None of TFA seems to talk about this. Even though it is interesting to note that it's estimated to take 1-10 days of 100 celerons 24/7 to crack a ciphertext of 180 letters long. And that's with computers that are 60 years ahead of the technology that the enigma was made from.

    1. Re:Wasn't the enigma cracked? by ZigiSamblak · · Score: 3, Interesting

      If it wasn't for the Enigma machine it is unlikely computers would be as advanced as they are today since cracking the enigma code was THE reason computer development really got started with the Mark I in WWII.

    2. Re:Wasn't the enigma cracked? by Lord+Kano · · Score: 2, Informative

      Enigma wasn't cracked because of weaknesses in the algorithm(although those do exist), it was broken because of the German's sloppy cryptography practices and the fact that the allies found out what process they were using to determine their keys.

      If a cop is wearing body armor, it doesn't mean that he can walk out into a torrent of incoming bullets. Chances are that one of those bullets will find a weakness in his armor, or simply strike him in a place where he's not protected. Similar principle here.

      LK

      --
      "Hi. This is my friend, Jack Shit, and you don't know him." - Lord Kano
    3. Re:Wasn't the enigma cracked? by Jaysyn · · Score: 3, Funny

      Too busy reading your email :D

      Jaysyn

      --
      There is a war going on for your mind.
    4. Re:Wasn't the enigma cracked? by RedWizzard · · Score: 2, Interesting
      If it wasn't for the Enigma machine it is unlikely computers would be as advanced as they are today since cracking the enigma code was THE reason computer development really got started with the Mark I in WWII.
      This is just not true. Enigma was broken using "bombes" which were not computers by any reasonable definition of the term. A bombe was simply an electromechanical device that tested each possible rotor setting. Colossus, OTOH, considered by some to be the first programmable digital computer, was developed at Bletchley to break the Lorenz ciphers. So if you want to credit Nazi ciphers with advancing the state of computing, that's the one to choose. However Colossus was destroyed at the end of the war and no information about it was made public until the late 1970's. So it's hard to claim it had much impact on the development of the computer (this is why ENIAC was considered to be the first computer for so long).

      The fact is that the ground work for the modern digital computer was laid before the war by Turing and others. The work that was done at places like Bletchey during WWII was essentially lost due to the secrecy surrounding such places (which extended decades after the war ended). That work was recreated independently in any case.

    5. Re:Wasn't the enigma cracked? by igb · · Score: 3, Informative
      Although Colossus was classified, a lot of the people who worked on it went on to become the initial wave of computer builders in UK universities after the war. It's also reputed that at least one Colossus survived at Cheltenham into the 1970s, presumably working on multi-wheel stream ciphers.

      ian

  7. and the message is . . . by rev_sanchez · · Score: 3, Funny

    Be sure to drink your Ovaltine.

    --
    If you didn't come to party don't bother knocking on my door. Prince '1999'
    1. Re:and the message is . . . by deadlinegrunt · · Score: 2, Funny

      Ovaltine? A crummy commercial? Son of a bitch!

      --
      BSD is designed. Linux is grown. C++ libs
  8. Do I have to? by Quiet_Desperation · · Score: 2, Funny

    Can't I just buy war bonds or something?

  9. Sorry I thought this was hilarious by [cx] · · Score: 2

    "The Enigma Machine was cracked in Poland in 1932,"

    I read that and burst out laughing immediately thinking of three Polish soldiers running with the Enigma machine backwards and falling over and cracking the case.

    "oh no we have cracked ze case"

    "lets get out of here"

    1. Re:Sorry I thought this was hilarious by kiwi77 · · Score: 5, Informative

      Actualy, if the Poles hadn't been REALLY proactive about truing to break the German Enigma we (the Allies) would have been really fucked. The French had access to Enigma plans but felt that it was impopssible to crack Enigma so they handed all their data to the Poleish intelligence service (Burio Szyfrow)and siad good luck.. Marian Rejewski of the Burio developed an attack on Enigma (absolutely brilliant!!) that actually suceeded in cracking the cipher. The Poles were decrypting German messages on a daily basis until 1938, when the Germans increased the number of scramblers to 5 so that any 3 were available for encryption and also added new plugboards. When Poland was attacked by the Germans the Poles called in the British and gave them spare Enigma replicas they had built, blueprints, and cracking strategies. They were sent to England in diplomatic pouches via Paris. smuggled across the Channel by a French playwrite and his actress wife, so as not to be detected by Geman spies at the Channel ports. Laugh all you want to, but the Poles made it possible to win World War II.

  10. Enigma is fairly close to a OTP by jd · · Score: 4, Interesting
    The Enigma code was broken only in the trivial sense that it was possible to brute-force decrypt the messages, once the algorithm, prng and seed value were known. It was not "broken" in the purist sense of the term, in that there is no shorter method of cracking the messages other than by brute-force.


    The full Enigma code is extremely difficult to break. The machine used by Alan Turing (Colossus) was massively parallel and highly optimized for the task - so much so that it is actually able to compute something like ten times as many keys per second as a modern Pentium 4 using the same algorithm. Not bad, for a machine of that era.


    The Enigma suffered from numerous weaknesses - almost all of them operator error. The encryption mechanism itself was damn good and, if used correctly each time, every time, it would have been horribly difficult for the Bletchley Park team to break.


    The one event that turned Enigma transparent was the re-transmission of a message without the cogs being randomized first. Because a machine had already been recovered, Turing knew what the cogs were, just not where they should be in relation to each other. By having the same message sent twice without change and without a prior reset, it was possible to overlay the two messages and thereby infer virtually everything else.


    This only allows you to crack messages which use the same prng for initialization and identical cogs. Since the cogs were designed to be swappable, non-standard configurations would have been possible. These would not have been crackable - and would likely not be crackable today, if non-standard enough. (The number of arrangements you would need to test increases with the factorial of the number of ways the cogs could be designed, as well as the factorial of the number of ways the cogs could be inserted into the machine.)


    The possibility exists that certain units may have used non-standard Enigma codes, but if that is the case, those codes will NOT be broken by this effort. The groups that spirited high-ranking Germans to South America and other "secure" locations must have had a communication system that the Allies had not yet deciphered, as they must have been able to operate over extremely large distances very quickly, making the use of radio a certainty.


    It is also likely that some units within the German military adopted their own "extra secure" practices when using the Enigma system internally. These may or may not be crackable, depending on how paranoid the commanders were.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:Enigma is fairly close to a OTP by AWeishaupt · · Score: 2, Interesting

      Colossus had nothing to do with cryptanalysis of any Engima variant. The Colossus machines were used to help break the more advanced Baudot code teleprinter systems used for communications between German command posts - particularly the system known to the Allies as 'TUNNY'

  11. Enigma is fundamentally flawed. by Convergence · · Score: 5, Interesting
    Enigma has a fatal flaw: No letter could be encyphered to itself. This is an artifact of the 'reflector disc' at the end this means that a known plaintext, or crib, can be ruled out for a particular offset, if any letter of it matches a letter in the cyphertext. This, combined with message statistics, allows for powerful cryptographic techniques to be used. These techniques were unavailable in WW2, but they exploit fundamental weaknesses in the design.

    Of course, in WW2, it was the misuse of enigma that made it particularily easy to break --- It might only take one weather report to learn the daily subkey. Had Enigma been properly used, it would probably have been nearly unbreakable with WW2 era technology.

    1. Re:Enigma is fundamentally flawed. by mlush · · Score: 3, Interesting
      Of course, in WW2, it was the misuse of enigma that made it particularily easy to break --- It might only take one weather report to learn the daily subkey. Had Enigma been properly used, it would probably have been nearly unbreakable with WW2 era technology.

      One tactic they used was 'Gardening' where they sent out bombers to mine a particular sea area, then sit back and wait for standard message reporting the new minefield

    2. Re:Enigma is fundamentally flawed. by Peter+H.S. · · Score: 3, Insightful

      While it is true what you say, I will point out that "enigma" messages originated from a lot of different networks, all with their own codebooks, eg. Luftwaffe (airforce), Abwher (intelligence), and Hehr (army) messages etc, where all encoded with different keys. These different networks where further segmented into theater of operations, meaning that breaking Hehr enigma messages from North Africa, would not yield the key for reading Hehr messages originating from France. Further more, all keys would changed daily, meaning that the British would have to start all over every day.

      So getting the daily subkey from a bungled weather report, would only help the British to read messages from a particular branch, in a limited area, for a period of just 24 hours.

      --
      Regards
      Peter H.S.

  12. Re:Excuse me... by MichaelSmith · · Score: 2, Funny
    Isn't it a bit late to be helping the war effort?

    You'd think they could just ask the Germans for the cleartext.

  13. I have cracked the other two by Yeechang+Lee · · Score: 4, Funny
    After putting a Beowulf cluster to work, I've deciphered the remaining two unsolved Enigma messages. It turns out that one is a reply to the other. Of course, one can never be sure whether a decryption is correct, but the perfect German in the messages convinces me that I've got them right, as you can see:

    "Sieg Heil! Zis is U-571. Ze Amerikan destroyer is pwning us! After zat last depth charge, all our blinkenlights are flashing crazily! What do we do?"

    "Achtung! Achtung! Brest here. Unfortunately, ze RAF Bomber Command pwn3d us last night and ze submarine pens are kaput, so you cannot return from your tour early. Remember, Kapitan, what happens to schweinhunds zat are cowards; zhey get sent to the Russian Front! Follow the example of your Luftwaffe friend Colonel Klink and watch out, or you will be given ze boot from Das Boot!"
  14. Re:Hey knobjockey by Xilman · · Score: 3, Interesting

    The parent poster is correct: a properly used Enigma machine is effectively unbreakable with the technology of the day and, for that matter, the technology of the next few decades too.

    The majority of the users of the Enigma machine were not using it properly and so left cracks for BP to exploit. All this is well documented by people who do know a great deal about cryptographic systems. Some of them worked for BP and have in-depth first hand knowledge of what they write about.

    Even today's technology, that in the open literature anyway, still has real difficulties breaking Naval Enigma without the weaknesses introduced by the German users of the system. Read the site carefully and you will discover that important amounts of key material are already known, thereby greatly reducing the amount of computation required to find the rest of the key. And even with this assistance, approximately a cpu year is needed to break the encryption.

    All this strongly suggests that Naval Enigma isn't a bad cryptosystem and certainly a good one for the day. There have been many much worse ones fielded in recent years.

    Paul

    --
    Lasciate ogne speranza, voi ch'intrate
  15. Questionable Legality by baudbarf · · Score: 4, Interesting

    Doesn't the DMCA make it illegal to make tools for breaking encryption or even to discuss how encryption may be broken? Aren't those among us who are americans all conspiring to break federal law by attempting or discussing the possibility of attempting to break these enigma messages?

    You're all terrorists. Off to Guantanamo with you.

    --
    You can run but you can't hide, except, apparently, along the Afghan-Pakistani border.
    1. Re:Questionable Legality by Geoffreyerffoeg · · Score: 2, Informative

      Doesn't the DMCA make it illegal to make tools for breaking encryption or even to discuss how encryption may be broken?

      No. You're letting them control you because they always use the acronym.

      It is the Digital Millennium Copyright Act. It is first, foremost, and only a copyright act.

      The Enigma messages aren't copyrighted in any real sense (copyrights that belonged to the Nazi Party went to interesting places - at one point they were public-domained by an Allied government as "spoils of war"), and moreover the encryption doesn't enforce copy protection. The messages were secured from reading for confidentiality, not from distributing for licensing content.

  16. Historical information ! by droopycom · · Score: 4, Funny

    I've heard from an anonymous source in the US intelligence community that British Intelligence has informed the White House that the newly decrypted enigma messages contains information regarding Irak WMD locations, and clear indication of the Saddam-Osama link...

  17. Enigma simulations by Dirk+DefCom · · Score: 2, Informative

    I you would like to use an Enigma machine yourself, just go to this website: http://users.telenet.be/d.rijmenants/index.htm There's an awardwinning Enigma simulation. This program is an exact simulation of the 3-rotor Wehrmacht and the famous 4-rotor Kriegmarine M4 model of the German Enigma cipher machine, used during World War II from 1939 until 1945. You can select between the two models, actually choose different rotors or 'Walzen', preset the rotor wiring positions or 'Ringstellung' and switch letters by using plugs or 'Stecker'. The internal wiring of all rotors is identical to those used by the Wehrmacht, Luftwaffe and Kriegsmarine. Fully compatible with the real Enigma-machine, and you can decode original messages and make your own encoded text!

  18. Second Message Now Cracked by Linker3000 · · Score: 3, Funny

    The second message has now been cracked and it contained three interesting bits of 'technology history'...

    It warned other units that a local garage mechanic had offered to 'improve' their Enigma machine to make it run faster, but after he left they discovered he'd inserted a small additional module which meant that whatever was transmitted, there was an extra last line which read "Come to Fritz's autos for a great deal on used Volkswagens". The cracked message told all other users only to visit trusted garages and not accept any offers of performance upgrades because such offers were the work of 'trojan enemy conspirators that operated like an unwanted virus in the body of our glorious Fatherland'.

    There were also complaints of many false messages being received that decoded into offers to supply the German solders with 'processed meat rations' captured from allied troops - the cracked message warned Enigma users to ignore the flood of 'unwanted messages about spam that deflect focus from our vital war efforts' and not to reply as this only confirmed that the messages were being received, which guaranteed even more 'spam messages'.

    The final bit of the decoded message related to trials with a new rotor wiring system produced by a local engineer. Apparently, the system promised to make the Enigma machines easier to use, but the coloured insulation on the wiring was rubbing away, (presumably an interaction between the synthetic dyes being used with early, less stable plastics), exposing the conductors and causing the whole machine to short circuit and stop working ('die' as the message coldly put it). The cracked message warned other users to check their rotors to see whether they had any of the 'brightly coloured experimental wiring' and if so, to stop using them and return the rotors to 'Wilhelm Gatz' if they identified the so-called 'blue screening of death'.

    --
    AT&ROFLMAO
  19. Possible Enigma keys by Dirk+DefCom · · Score: 2, Informative

    Who says breaking Enigma doesn't take much time???? 4 out of 8 possible naval rotors, 26 positions, each have also 26 internal ringsetting, two different reflectors, you also need the startposition and the plugs, up to 10 pairs of 26 (only the plugboards gives us already 7,905,853,580,625 combinations). Even today, going through all possible keys is a mission impossible. That's why Stefan used the Hill Climbing Algorithm to break those messages. Pure Brute force would take far to much time. More on the Enigma key settings on NSA's http://www.nsa.gov/publications/publi00004.cfm. For more technical details on Enigma, read this one: http://users.telenet.be/d.rijmenants/en/enigmatech .htm

  20. Another Message Decoded and Translated by fdiskne1 · · Score: 5, Funny

    Dear Sir,

    RESPECTFULLY REQUESTING YOUR ASSISTANCE IN EXTREME CONFIDENCE

    I am certain this message comes as a suprise to you since you do not know me. I have obtained your name from French Resistance fighters as one that can be trusted with my confidence.

    Two months ago, my father was kidnapped and murdered by the Nazi SS. I have need to transfer the sum of US$25,000,000 (twenty-five million) from an account in Credit Lyonnais in France to an account outside of German territory, of which your payment shall be 30% if you agree to our proposal...

    --
    But why is the rum gone?
  21. Re:Well by hey! · · Score: 2, Funny

    You wrote an Enigma-based copy protection system, but couldn't even be bothered reading my whole post?

    Well, makes sense to me. Which activity is more interesting?

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  22. Location of the sub in google maps by armyturtle · · Score: 2, Interesting

    I plotted the approximate location of the german sub at the time they transmitted the message & were following the "enemy." (Based on information from the translated original enigma text.) http://maps.google.com/maps?f=q&hl=en&q=51.33+N,+4 1.35+W&ll=51.289406,-41.308594&spn=52.133005,175.7 8125 Kind of neat to look at.

    --
    Wherever you go, there you are. :D
  23. About allied encryption by Dirk+DefCom · · Score: 2, Informative

    There were several different systems, used by the Allies. For high level traffic, the US used the very secure SIGABA (never reported to be broken, back then). SIGABA was also a rotor machine, but with three different banks of rotors, each performing their special task. In the field, the US Amry used mostly the M-209 Convertor. This was the US version of the Hagelin C-38. It was a so called pin-and-lug machine. You can try out the M-209 on this website: http://users.telenet.be/d.rijmenants/en/m209sim.ht m