Writeup sur l’éprevue SuSHI du France Cybersecurity Challenge 2020. Épreuve satisfaisante mais franchement trop simple.

Énoncé

Connectez-vous à cette machine en SSH avec les identifiants mentionnés, et trouvez le flag.

  • Adresse : challenges2.france-cybersecurity-challenge.fr
  • Port : 6000
  • Utilisateur : ctf
  • Mot de passe : ctf

Solution

  • Je me connecte à la machine :
[vixepti@computer]$ ssh ctf@challenges2.france-cybersecurity-challenge.fr -p 6000
ctf@challenges2.france-cybersecurity-challenge.fr's password: 
 __    __            _                 __           _     _   ___ 
/ / /\ \ \__ _ _ __ | |_      __ _    / _\_   _ ___| |__ (_) / _ \
\ \/  \/ / _` | '_ \| __|    / _` |   \ \| | | / __| '_ \| | \// /
 \  /\  / (_| | | | | |_    | (_| |   _\ \ |_| \__ \ | | | |   \/ 
  \/  \/ \__,_|_| |_|\__|    \__,_|   \__/\__,_|___/_| |_|_|   () 
  • Puis je cherche le fichier :
ctf@SuSHi:~$ ls -liah
total 24K
1183438 drwxr-xr-x 1 ctf-admin ctf 4.0K Apr 22 15:32 .
1183437 drwxr-xr-x 1 ctf-admin ctf 4.0K Apr 22 15:31 ..
1183439 -rw-r--r-- 1 ctf-admin ctf  220 May 15  2017 .bash_logout
1183440 -rw-r--r-- 1 ctf-admin ctf 3.5K May 15  2017 .bashrc
1183441 -r--r--r-- 1 ctf-admin ctf   71 Apr 22 15:31 .flag
1183442 -rw-r--r-- 1 ctf-admin ctf  675 May 15  2017 .profile
  • Bon bah cool, j’ai pas cherché longtemps. Je l’affiche :
ctf@SuSHi:~$ cat .flag 
FCSC{ca10e42620c4e3be1b9d63eb31c9e8ffe60ea788d3f4a8ae4abeac3dccdf5b21}

Flag

Le flag est donc : FCSC{ca10e42620c4e3be1b9d63eb31c9e8ffe60ea788d3f4a8ae4abeac3dccdf5b21}