Dockreleakage
REV | 52 pts - 440 solves
Description: A breach occurred and some files have been leaked. One of the leaked files named
dockREleakage.tar.gz
contains an image of one of the company's components. An anonymous hacker has reached out to me and beware me that there is some serious mistake in my build image process. The hacker implies that sensitive information should be handled carefully. However, I couldn't find the mistake by myself. Please help me!
The challenge provides you dockREleakage.tar.gz
, so pretty straight forward:
tar xvf dockREleakage.tar --directory dockREleakage
cd into folder and you'll find different layers of a docker image. In the first json you'll find the history of docker commands and in particular these two are useful for us:
First command == first part of the flag, that is clearly a base64 encoded string:
Second command == second part of the flag, unsuccessful attempts to hide the flag as you can find them in the various layers inside the layer.tar
Check out also this nice tool to explore docker image layers: https://github.com/wagoodman/dive
flag{n3v3r_l34v3_53n5171v3_1nf0rm4710n_unpr073c73d_w17h1n_7h3_d0ck3rf1l3}
Last updated