Skip to content

Latest commit

 

History

History

whats_in_this

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

What's in this?

Author: Shashank D

Flag: CTF{1t5_all_1n_l4yers}

Problem Statement

Intelligence has found some wierd material from Mr. Codeshankar(yes, it's him yet again. Sorry, running out of names). Well, Codeshankar isn't giving away the secret so easily this time.

Relevant files / links

Solution

The given file is a tar archive. After extraction, we see many folders of layers with SHA hash names & manifest.json. This is the standard format of a docker image (as introduced in whatisthis challenge). This image file has to be loaded as an image.

This time though, the flag has been hidden in a different layer & the content of the file has been deleted in subsequent layers.

Using tools like dive that do docker layer inspection, we can find that the 2nd layer copies a file a.txt to /usr/lib directory. On extracting the layer.tar of that particular layer, we find the file with the flag.