For the complete documentation index, see llms.txt. This page is also available as Markdown.

Layer Eight (z0d1ak CTF 2026)

After extracting the given challenge file, we got a app-image.tar file and upon strings, it uncovered several interesting artifacts such as sha256 blobs data and application configuration.

Then after extracting the .tar file we got a directory containing blobs from which 2 of them are JSON files and rest are compressed data. So extracted it using

for blob in blobs/sha256/*; do
    tar -xzf "$blob" -C temp 2>/dev/null || true
done

which gave a filesystem of the application, and from initial finding we know that it contained a directory .secrets in app/ which contains a deploy_key, and according to postinstall script it removes deploy_key and a script provenance.py.

This scripts reads the deploy_key and NIMBUS_STEP_DIGEST from environment which is sha256:25df7c6f6beec6e2eef55ec64cfa91125098d4adc1cf327f5897bfc6642383d8, and as it says its being enveloped in a particular format and split among base64 encoded provenance labels, which can be recovered from initial findings.

Now we have all things required to decrypt the envelope, here is the script used to decrypt it:

here is the flag zdk{WHLTe0u7_lAYERS_Stll1_Rememb3R_S3CRe7s}

Last updated