Post

Dorothy Vaughan

This is a writeup of the reversing challenge Dorothy Vaughan from the CyberHeroines(https://cyberheroines.ctfd.io/) CTF

Level: Easy, Score: 100

Dorothy Jean Johnson Vaughan (September 20, 1910 – November 10, 2008) was an American mathematician and human computer who worked for the National Advisory Committee for Aeronautics (NACA), and NASA, at Langley Research Center in Hampton, Virginia. In 1949, she became acting supervisor of the West Area Computers, the first African-American woman to receive a promotion and supervise a group of staff at the center. - Wikipedia Entry

Chal: We ran this Fortran Software and received the output Final Array:bcboe{g4cy:ixa8b|m:8}. We have no idea what this means but return the flag to the Human Computer

Author: Kourtnee

Challenge files:

dorothy (ELF executable) (which when ran requires a flag.txt)

Observations

When we run the program at first, we’re given an error message since the program cant find the file flag.txt

error no flag.txt

We create an empty flag.txt file and get the following error.

error empty flag.txt

Solution

Looking back at the description, we have a string thats given as the final output of the program: bcboe{g4cy:ixa8b|m:8}

If we remember the flag format of this CTF: chctf{fl4g_h3rE}, we can make an assumption. Since the output inside the curly brackets is 14 characters long, we can try setting the flag.txt file to chctf{aaaaaaaaaaaaaa}.

This gives us the following output:

1st flag rev

as we can see, we get the first 5 characters of the output from the description, bcboe{`.

From this, we can deduct that we can work our way to the flag by changing the aaaaaaaaaaaaaa characters untill we end up with the same output as the challenge description: g4cy:ixa8b|m:8

We want to reach the following output:

output to get

Which we do once we’ve fully reversed what the content of our flag.txt file should be, which ends up containing the following:

flagtxt

This gives us our flag

chctf{h1dd3n_f1gur35}

Tools used:

  • any text editor
  • OS to run ELF binaries
This post is licensed under CC BY 4.0 by the author.