CTF/misc

[ACECTF] Tab&Spaces (steganography)

zkvlkat /ᐠ。ꞈ。ᐟ\ 2025. 3. 7. 22:19

Description:
A mysterious ZIP file containing a collection of images and a file has been discovered.The task is to retrieve the flag.

 

Tabsspaces.zip
18.09MB

 

zip 파일이 주어졌습니다. 해당 압축파일 내부에는 하나의 python 코드와 101가지의 jpg 파일이 존재한다.

모든 이미지가 동일하지만, 한 가지 이미지 파일만 수정 시각과 파일 크기가 다르다.

._87.jpg

 

해당 파일을 가장 먼저 분석한다.
steganography이므로, 먼저 steghide를 이용해본다.
steghide extract -sf 87.jpg

그리고 flag를 읽으면!

빈 줄이다.

문제 제목이 tabs&spaces 이므로 파일 속 내용은 tab과 spaces로 이루어져있음을 짐작해야 한다.

 

cat whitespace_flag.txt | tr ' ' 0 | tr '\t' 1

ACECTF{n0_3xp1017_n0_g41n}

Reference

https://hack4funacademy.medium.com/acectf-2025-writeup-luffysec-stelk-csc-f729ccdc1563

'CTF > misc' 카테고리의 다른 글

[ACECTF] Double Vision (steganography)  (0) 2025.03.07
[ACECTF] HeaderHijack (steganography)  (0) 2025.03.07
[ACECTF] For The Fans (osint)  (1) 2025.03.07
[ACECTF] Social Circles (osint)  (0) 2025.03.05
[ACECTF] The Symphony of Gratness (osint)  (0) 2025.03.05