Skip to content

Latest commit

 

History

History
51 lines (43 loc) · 1.27 KB

writeup.md

File metadata and controls

51 lines (43 loc) · 1.27 KB

The given cipher file contains the following json data.

{
	"ewfd_sodr": "evgnguextliwcmndypzdnhbshracrnpz",
	"srtosr": {
		"9": "III",
		"x": "IV",
		"b": "I",
		"i8xlec7ro": "B"
	},
	"ix99lnvs": [
		{
			"gebsiqw": "C",
			"ocnqgi": "F"
		},
		{
			"xlbienx": "L",
			"pxksnl": "V"
		},
		{
			"bloiens": "F",
			"lcnoin": "M"
		}
	],
	"ixla_gbafg": {
		"x": "AU",
		"4": "CB",
		"h": "GI",
		"g": "ZX",
		"t": "YQ",
		"z": "OS",
		"m": "FE"
	}
}

It's configure for Enigma Machine.

  • ewfd_sodr indicates the encrypted flag.
  • In srtosr are left-hand, middle and right-hand rotor, "B" is reflector.
  • In ix99lnvs, are ring setting and initial value for left-hand, middle and right-hand rotor.
  • ixla_gbafg is plugboard.

Put them into CyberChef.

Output was DAWGC TFSPI NNING ANDRO TATIN GROTO RS, so the flag was DawgCTF{spinningandrotatingrotors}.