Author Topic: [ENiGMA] - a step-by-step-pictorial  (Read 7443 times)

Offline Richard Zapp

  • BdU/Flottillenchef
  • ...making progress!
  • *******
  • Posts: 33
  • ELiTE Skill Level:
    0%
  • Chef 3UF
[ENiGMA] - a step-by-step-pictorial
« on: 20191030, 00:22:19 »
OPTiONAL: Encoding with




We in |DEF| use...
  • the ENiGMA-flag("EE= x") to identify which commanders wish to participate in this experience and who do not.
    You can change your flag-status at any time: Just report in and we will update your data record in our Captains-Roster.
  • the easier "Wehrmacht-Prozedur" with the "Kriegsmarine M3 UKW=B".
  • the current real-life-date for encyphering to avoid confusion. Every Kommandant of us may be on a different timezone
    and even in another year in his game, so this is the way. For example let's say you would like to send a message to BdU
    then you must look up today's enigma-codesheet-entry (for example "Tag 06" for May 06th of 2017) in the Monthly ENiGMA-code-sheet.
Learn how to use it using our "Howto-Thread" here, just read on...There is also a good help-file included in the .zip-file
that explains the different procedures and yet much more.


Advices on the use of Enigma:

Always save your key (configuration) before starting encrypting or decrypting a message, this way you eliminate the need to set
up your machine twice or more on the same day. Especially useful for staff-members.

UPDATE: S3Q_QFKM()-module saves the keys and reports now.


How the Enigma machine works
Numerous videos on how the Enigma machine works
How the Enigma machine works II

NEW: www.ciphermachinesandcryptology.com/index.htm
« Last Edit: 20220819, 12:34:37 by REV_BL!TZKR!EG »

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.997
  • ELiTE Skill Level:
    100%
  • TECH ADMiN
    • Links!!
= QUICK LINKS =
« Reply #1 on: 20191030, 00:41:35 »



- A quick introduction to the ENiGMA and how |DEF| uses it. -
[CREDiTS:]
V1 written by [SJ]nailz on 20100228
V2 written by Aras on 20151120
V3 written by BL!TZKR!EG on 20160226
V4 written by Fahnenbohn/Kendras on 20160327 in separate thread - deleted by the SuSi-SNOTs on 20191029 along with all of our old forum

Some minor steps are missing what might irritate the nub, we know that (*).
  • Yet to be done are new GFX and other typos removed.
  • A picture is missing: "how to close the Steckerbox".
  • Also the GFX "Click here to open your ENiGMA" is wrong.
  • And a new example needs to be done because the Kenngruppen are not visible (codesheet of example missing).

(*) To the know-it-alls: You can help instead of complaining! Come to TeamSpeak and talk to us!
The last know-it-all blew his mind stating that what we do is too much dumbed down and he knows everything better - and then disappeared.

WE KNOW that this procedure is a compromise between historic accuracy and making it not too easy.
WE KNOW because we have seen so many dumbasses who could not even tie their shoe laces without help, so how should they get a historic M3 Enigma working? Yes and that is why we do not change this until further notice. Period.

All you need to get started is the ENiGMA-software installed on your computer. If you do not have that ready yet, please click on “Download Enigma Simulator”. The installation is self-explanatory and done in less than 2 minutes!

Once started, you need to set it up before you can use it. This can look daunting at first, but is actually easy.  After 2 or 3 different setups, it becomes second nature. Honestly  :O:

Our procedures are a compromise between historic background and playability, i.e. we did not want to make it too onerous for players, which is why we are using the easier Wehrmacht-procedure on a Kriegsmarine-machine(Kriegsmarine M3 – UKW = B). The historical Kriegsmarine-procedure was far more complex and we wanted to make it playable.

All this is further explained in the Enigma simulator's .pdf-file (2. Message procedures) or on http://users.telenet.be/d.rijmenants/en/enigmaproc.htm, should you want to read more indepth details.

Also abbreviations were very common in order to keep messages short.

From the PDF: "Some messages were encoded with the Kurzsignalheft code book or the Wetterkurzschlussel(weather-short signal key), prior to encryption with the Enigma. The Kurzsignalheft (short-signal book) converted words, numbers and all kinds of operational and technical expressions and phrases into four-letter codes. The Wetterkurzschlussel converted a complete weather report into a 23 or 24 letters code."

The Kurzsignalheft contained tables that converted sentences into four-letter groups. We do not use it, because hardly anyone was ever willing to invest that extra time.
« Last Edit: 20220819, 12:36:35 by REV_BL!TZKR!EG »

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.997
  • ELiTE Skill Level:
    100%
  • TECH ADMiN
    • Links!!
To use the ENiGMA, certain settings are used for the encrypting and decoding of every encyphered message. This is a brief overview, you do not have to remember everything.


Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.997
  • ELiTE Skill Level:
    100%
  • TECH ADMiN
    • Links!!
= PREPARATIONS (KEY) =
« Reply #3 on: 20191030, 00:44:27 »
1. Set the Enigma key.
  Look at the code table.
  * Tag = Day of the month (in real life to avoid too much confusion)
  * Walzenlage = Enigma rotors
  * Ringstellung = Ring settings for each rotor
  * Steckerverbindungen = Plugboard settings

The following illustrations help you further:
« Last Edit: 20201011, 10:34:18 by REV_BL!TZKR!EG »

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.997
  • ELiTE Skill Level:
    100%
  • TECH ADMiN
    • Links!!
= ENCRYPTING =
« Reply #4 on: 20191030, 00:44:59 »
Preparations completed? Then you are ready to encrypt a message and use the following example. The original message to be sent is:

Quote
15 MARCH 1941, 05:00
VON: U-47
AN: BdU

POSITION AM3325, CALM WEATHER WITH NO WINDS. MODERATE VISIBILITY. FUEL LEVEL 85. NO CONTACTS SINCE THE LAST TRANSMISSION.

When sending an encrypted message, the sender selects a “basic position” and a “message key”. These are selected at random. Let’s say we choose to use HTU as basic position and KFD as message key.

Now the encrypting-part step by step:

First off:
Code settings should reflect real time date of posting in your Kommandant-thread, with appropriate Kenngruppen letters reflecting in which part of the 24hrs the msg was posted. Under the heading of you post where your u-boot no and kommandanten name is, there is a REPLY no and a date and time on the forum, use this to decide which code settings to use, and regarding the Kenngruppen, the four sets of 3 letters correspond to four periods of the 24 hrs of a particular day, going from left to right and starting at 00:00 until 06:00, 06:00 until 12:00, 12:00 until 18:00, and finally 18:00 until 00:00.
  Pick the appropriate 3 letters for the time period of posting and just add 2 more letters of your own choice to complete the Kenngruppen.




Done. The message is now encrypted. You can copy it from the clipboard and create your post using S3Q_QRPC:

Quote
15 MARCH 1941, 05:00
VON: U-47
AN: BdU

119 = HTU OVH

SSEM POQR IUQC TZWW ETMM BPRW AMTP IYQQ RFVT RDTJ YDDP THDC MQUF MPWD DZJN XKKD FYAV AYVP OSZN IPMD NNKI KFVN CRDB YNAJ XHGC VLVT BXLK CCXQ WFNI YXV

Added is "119 = HTU OVH", length of the message (119), the basic start position and the encrypted message key.

The last addition is "Kenngruppen". It is formed of 5 letters. 3 of them are provided in the codebook, the remaining 2 are chosen by the sender ramdomly. You can choose 1 Kenngruppe from the 4 Kenngruppen provided in the code-sheet of the day(here: 15) which are in this case IFC / UAQ / IQU / RPZ.

Let us choose UAQ and add TY to get UAQTY. Lets add this to the message. Don't forget to increase the length of the message by 5.

Quote
15 MARCH 1941, 05:00
VON: U-47
AN: BdU

124 = HTU OVH

UAQTY SSEM POQR IUQC TZWW ETMM BPRW AMTP IYQQ RFVT RDTJ YDDP THDC MQUF MPWD DZJN XKKD FYAV AYVP OSZN IPMD NNKI KFVN CRDB YNAJ XHGC VLVT BXLK CCXQ WFNI YXV
Voila! You are now ready to send your message.
« Last Edit: 20220819, 12:37:54 by REV_BL!TZKR!EG »

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.997
  • ELiTE Skill Level:
    100%
  • TECH ADMiN
    • Links!!
= DECRYPTING =
« Reply #5 on: 20191030, 00:45:38 »
The decrypting of a message is even easier, have you saved your KEY? If not, save it. That save-option is very useful!

Let us decode the message we just generated.

Quote
15 MARCH 1941, 05:00
From : U-47
To : BdU

124 = HTU OVH

UAQTY SSEM POQR IUQC TZWW ETMM BPRW AMTP IYQQ RFVT RDTJ YDDP THDC MQUF MPWD DZJN XKKD FYAV AYVP OSZN IPMD NNKI KFVN CRDB YNAJ XHGC VLVT BXLK CCXQ WFNI YXV
The BdU has received the message from U-47. They open their machine and set it according to the data for the day the message is sent. (You load the machine and the key you saved before)




Good! You decoded the message and can now copy it from the clipboard to paste it somewhere else for further use.

Use S3Q!
« Last Edit: 20201011, 10:33:50 by REV_BL!TZKR!EG »

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.997
  • ELiTE Skill Level:
    100%
  • TECH ADMiN
    • Links!!
Kenngruppen
« Reply #6 on: 20191030, 00:46:04 »
Quote
Can the Kenngruppen be explained a bit more clearly?

We encode a message, then decode the message. The Kenngruppe is added to these messages and then removed before the encoding/decoding begins.

Is this just an added security step to throw code breakers off?
The 'Kenngruppe' identifies the key used for the day.

00:00-06:00 AT THE FORUM-TIME OF THE POST-> Kenngruppe 1/4
06:00-12:00 AT THE FORUM-TIME OF THE POST-> Kenngruppe 2/4
12:00-18:00 AT THE FORUM-TIME OF THE POST-> Kenngruppe 3/4
18:00-24:00 AT THE FORUM-TIME OF THE POST-> Kenngruppe 4/4

Note: The first five letters of the message have to be ignored.

Why 5 ? Because the Dönitz Elite Flotilla is using the Wehrmacht procedure on a Kriegsmarine Enigma machine to make it playable, i.e. 3dg Kenngruppe from the codesheet plus 2dg random picked by the sender. Reason is that 99% of the members dropped out and stopped playing, we however want to emphasize on playing rather than having a perfect Enigma, you get it?

The Kenngruppe is NOT encyphered.


"DRAFT OF FAHNENBOHN KENDRAS HELGOLAND'S DOCS": show
 
- DEF rules -

  We are using only the Kriegsmarine M3 – UKW = B machine.
  We are using the Wehrmacht encoding procedure (for simplification)

  The Enigma settings (“the Enigma key”) change everyday.
Current code-sheet(updated monthly),
and DAILY KEYS that have been already used by another player






1. How to configure your Enigma machine ?

     Let’s say that the date is March 11, 2016. Look at the code table (see the link above "Current code-sheet") to find the enigma key.
 
* Tag = Day of the month (in real life)
  * Walzenlage = Enigma rotors
  * Ringstellung = Ring settings for each rotor
  * Steckerverbindungen = Plugboard settings





a. Open your machine (1). Don’t forget to choose the right type (2) (cf. DEF rules).
  b. First take out the 3 smaller "wheels" in the Enigma. Click on each one at the top, and it moves to the middle, then click on the bottom of the Enigma, and it moves down.
c. Click on the rotor IV (Walzenlage), then click on 3 to choose K-11 (Ringstellung, see the code table), then place it at the proper place. Do the same for rotor I (18) and II (08).
  d. Then close the machine (5), click on 6 to set the plugs (Steckerverbindungen). Click on 7 to get letters. Then click on A and then on U to connect both letters. To the same with the other groups.
e. Close the plugboard by clicking on 8.
   

  2. Determine the start position with your trigram
 
a. Choose 3 letters completely at random. For ex, we choose ABC. Set the rotors’ position on A B C (9).
  b. Choose 3 other letters at random (example: ZZZ). Type them on the keyboard. You got 3 letters. Click on 10 to see them. You got R Y N.
  c. Now, set the rotors’ position on R Y N (9). You got the start position to encrypt your message. This start position is encrypted by the trigram ABC ZZZ.
   
   
  3. Encode your message

  a. Click on 11 and choose “Auto Typing”.
  b. Copy and paste your message. For example : Returning to base
  c. Choose “Very fast” and click on “Start”.
  d. Click on 11 again, and choose “Clipboard”.
  e. Check “Copy as groups”, and choose 4 letters for each group. Then, click on “Apply New Format”. You got the encrypted message : TMLG UGOW MYQV VFG
   

  4. Send your message
 
Now, before sending your message, you have to give several informations.
 
a. Date and hour in the game.
  b. Your U-Boot number and the recipient (from ... to ...)
  c. The trigram ABC ZZZ, so the receiver is able to find the start position (RYN which needs to stay secret).
 
d. A group of five letters before your message. This special group is formed with one among the four groups of 3 letters called Kenngruppen (right column of the table) and with 2 random letters that you place before or after the Kenngruppe you have chosen. For example, i choose BLS, and i add RG, i get RGBLS or BLSRG. This group allows your recipient to check that you have used the settings of the proper day (BLS is indeed associated with March 11, 2016).This precaution is needed because we are players from different countries with different hours. So if i receive a message on March 11, maybe the sender has used the settings for March 10, or March 12. Warning ! To avoid confusion, the Kenngruppen of the previous or next day MUST NOT include RGB (if you choose RGBLS) or SRG (if you choose BLSRG) ! If so, choose another random letter(s) instead of RG, such as RABLS or TGBLS (and again, make sure that RAB or TGB are not one of the Kenngruppen of the previous or next day).
   
  February 12, 1941
  From U-54 to BdU
  ABC ZZZ
   
  RGBLS TMLG UGOW MYQV VFG
   
  Signed : K. z. S. ...
 


  5. How to decode an encrypted message ?

  a. Check the real life date of the message. Find the Kenngruppe (here BLS) and check if it’s corresponding to this date (BLS is for March 11, 2016 [FONT=&quot]→[/FONT] OK). Then, configure your machine with the proper settings (follow step 1.)
  b. Set the rotors at ABC (9).
  c. Type ZZZ, and you get the start position RYN.
  d. Set the rotors at RYN (9).
  e. Click on 11 and choose “Auto Typing”.
  f. Copy and paste the encrypted message, without the first group of 5 letters : TMLG UGOW MYQV VFG
  g. Choose “Very fast” and click on “Start”.
  h. Click on 11 again, and choose “Clipboard”.
  i. Uncheck “Copy as groups” and click on “Apply New Format”. You got the decrypted message ! : Returningtobase
   

  Notes :
 
- Before closing the Enigma Simulator, you can save the current Enigma key. Click on 11 and choose “Save key”.

Use S3Q!



"Unsorted references about Enigma and ciphers in general": show

www.subsim.com/radioroom/showthread.php?t=88496
www.subsim.com/radioroom/showthread.php?t=90147
www.subsim.com/radioroom/showthread.php?t=91513
www.subsim.com/radioroom/showthread.php?t=90616
www.subsim.com/radioroom/showthread.php?t=113339&
www.subsim.com/radioroom/showthread.php?t=150099
www.subsim.com/radioroom/showthread.php?t=113339
www.subsim.com/radioroom/showthread.php?t=156593
www.subsim.com/radioroom/showthread.php?t=162216
www.subsim.com/radioroom/showthread.php?t=90147
www.subsim.com/radioroom/showthread.php?t=82115
http://www.subsim.com/radioroom/showthread.php?p=315153
www.subsim.com/radioroom/showthread.php?t=82625
www.subsim.com/radioroom/showthread.php?t=130279
www.subsim.com/radioroom/showthread.php?t=92270
http://www.subsim.com/radioroom/showthread.php?p=315323
www.subsim.com/radioroom/showthread.php?t=88496
www.subsim.com/radioroom/showthread.php?t=102735
www.subsim.com/radioroom/showthread.php?t=148378

*http://www.subsim.com/radioroom/showthread.php?p=483355
*www.subsim.com/radioroom/showthread.php?t=110602
* = Enigma Single Player Mission

http://news.bbc.co.uk/1/hi/technology/7094881.stm
http://news.bbc.co.uk/2/hi/technology/4763854.stm
http://www.bletchleypark.org.uk/
http://www.bletchleypark.org.uk/content/machines.rhtm
http://www.tandf.co.uk/journals/pdf/papers/ucry_06.pdf
http://www.hut-six.co.uk/ebreaker/index.html
http://dns.mlb.co.jp/linux/science/g...rat/node6.html
http://www.esnips.com/web/CipherMachines
http://en.wikipedia.org/wiki/Navajo_code_talker
http://www.otr.com/ciphers.shtml
http://www.picotech.com/applications/colossus.html
http://en.wikipedia.org/wiki/Cryptan..._of_the_Enigma
http://www.ellsbury.com/gne/gne-000.htm
http://www.threaded.com/cryptography1.htm
http://math.usask.ca/mrc-cgi-bin/encryption/menu.cgi
http://w1tp.com/enigma/
http://www.xat.nl/enigma/
http://www.xat.nl/enigma-e/
http://www.xat.nl/enigma-e/support/efg.htm
http://en.wikipedia.org/wiki/Enigma_machine
http://hajenius.ifastnet.com/softwar...gmaMonitor.htm
http://cryptocellar.org/bgac/Scharnhorst.html
http://www.dtek.chalmers.se/~d97jorn...rreadings.html
http://enigmaco.de/enigma/enigma.swf
http://www.historyarticles.com/
http://www.ilord.com/nema-manual.pdf
http://www.pbs.org/wgbh/nova/decoding/enigma.html
http://mckoss.com/Crypto/Enigma.htm
http://findarticles.com/p/articles/m...07/ai_n9458626
http://en.wikipedia.org/wiki/PURPLE
http://www.cdvandt.org/schluessel_dok.htm
http://www.cdvandt.org/schluessel_m4.htm
http://en.wikipedia.org/wiki/SIGABA
http://slp.acm.jhu.edu/crypto/final/index.html
http://www.mariner.org/atlantic/dd.htm
http://www.ellsbury.com/enigmabombe.htm
http://www.codesandciphers.org.uk/enigma/index.htm
http://www.mikekemble.com/ww2/enigma.html
http://www.codesandciphers.org.uk/do...c/eniggnix.htm
http://w1tp.com/enigma/eia1w.htm
http://www.enigmahistory.org/enigma.html
http://www.ellsbury.com/ultrafassongrazier.htm
http://www.enigmahistory.org/enigma.html
http://www.uboat.net/technical/enigma.htm
http://www.maritime.org/ecm2.htm
http://www.xat.nl/enigma/about/index.htm
http://www.codesandciphers.org.uk/
http://www.darkroastedblend.com/2008...echanical.html
http://www.qsl.net/hamscope/
http://en.wikipedia.org/wiki/Cryptonomicon
http://en.wikipedia.org/wiki/Portal:Cryptography

Links to Enigma Simulators that may or may not be compatible to the software we use.

« Last Edit: 20220409, 17:04:15 by REV_BL!TZKR!EG »

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.997
  • ELiTE Skill Level:
    100%
  • TECH ADMiN
    • Links!!
:Megaphone: Here is the backup. Free for everyone. And no "warm welcome, please donate"-shit!

And I archived it 2 years ago here, too: https://web.archive.org/web/20170619081836/www.subsim.com/radioroom/showthread.php?t=98098


We may though consider rewrite and update it. Anyone willing?
» HONOR, AMISTAD Y RESPETO! Es mejor morir de pie que vivir toda una vida de rodillas! «

⚡️ Home of S3A - S3F - S3G - DEFTS3 -