Skip to content

kmille/broken-challenge-response

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Broken challenge response handshake

  • user has to authenticate to get the flag
  • user does not have the shared secret
  • broken: first the backend authenticates for a user supplied challenge

Deployment

docker build --rm -t challenge-response .
docker run --name cr1 -p 2023:2023 challenge-response

Exploit

python exploit.py

Solution

  1. create connection 1: send garbage challenge (we don't neet it)
  2. get challenge to authenticate to get the flag (connection 1)
  3. create connection 2 and ask the backend for the valid response for the challenge we have to solve

About

challenge for the MRMCD 2018 ctf

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published