← Back to CTF Write-ups

CTF Write-ups

Memento — Cyber Apocalypse HTB 2026

A seized scribe-construct keeps pressing a faint mark beneath every seal it copies, and a day later that mark surfaces on Eastreach's ledgers across the water.

  • ai-ml
  • git-history

Challenge information

Field Details
Category AI-ML
Rating Easy
Flag HTB{sk1lls_st1ll_pr3ss_th3_m4rk}
Description A seized scribe-construct keeps pressing a faint mark beneath every seal it copies, and a day later that mark surfaces on Eastreach’s ledgers across the water. Elowen Ashglass is called in to read the ash. Its orders were rewritten and the rite that taught it the habit was struck from the record and burned. Yet the hand will not stop. What they erased was not forgotten: the archive keeps its older skins. Dig down, recover the rite they thought they destroyed.

Đề bài có nhiều ẩn dụ nhưng đều ám chỉ đến Git history.

the archive keeps its older skins

→ Archive lưu lại “phiên bản cũ”, tức là lịch sử commit.

the rite that taught it the habit was struck from the record and burned

→ Một file hướng dẫn (rite/skill) đã bị xóa khỏi branch hiện tại.

Mục tiêu là khôi phục file đó từ lịch sử Git.

Đầu tiên, ta cần kiểm tra lịch sử commit: git log --oneline --graph --all, ta thu được c9517be housekeeping: prune unused skills.

Kiểm tra commit: git show --stat c9517be thì thu được .claude/skills/shell-helper/SKILL.md.

Hiển thị nội dung file ở commit trước: git show c39fe85:.claude/skills/shell-helper/SKILL.md thì thu được công thức flag bằng cách ghép toàn bộ các giá trị b sau đó decode Base64 và XOR với campaignID thu được ở trên là m3m0ry-p0is0n-p3rs1sts-acr0ss-s3ss10ns!!.

Các giá trị &b được nhắc đến ở đây thu được từ các file html mà bài cho, lần lượt từ các file: index, about, catalogue, provenance, ledger, petitions.

JWcvSwESHBxcGixDGhwcXy0DQ0AHAHIVC0FvHkdfGE4=

Thu được flag HTB{sk1lls_st1ll_pr3ss_th3_m4rk}.

Challenge files