YCTF

Mystery by Ary.eth

2024-09-30(1 min. read) - warmups

Description

Author: Michael Orlino

Someone sent this to me... such enigma, such mystery:

rkenr wozec gtrfl obbur bfgma fkgyq ctkvq zeucz hlvwx yyzat zbvns kgyyd sthmi vsifc ovexl zzdqv slyir nwqoj igxuu kdqgr fdbbd njppc mujyy wwcoy

Settings as below:

3 Rotor Model
Rotor 1: VI, Initial: A, Ring A
Rotor 2: I, Initial: Q, Ring A
Rotor 3: III, Initial L, Ring A
Reflector: UKW B
Plugboard: BQ CR DI EJ KW MT OS PX UZ GH

Solution :

Get your favorite enigma machine decrypter, input the settings given in the challenge description, and you will get the phrase :
message wrapped in light hidden deeper out of sight locking it more tight anyway your flag is here flag fdfeabcacbebfbadaefbeccaadddbafezzz

you can then go read the Rules of the CTF, specifying the flag is of the format flag\{[0-9a-f]{32}\}. Then simply remove the 3 z, put it as required format and voilĂ ... flag{fdfeabcacbebfbadaefbeccaadddbafe}