Pragyan CTF 2017 Writeup

この大会は2017/3/2 16:30(JST)~2017/3/5 16:30(JST)に開催されました。
今回もチームで参戦。結果は910点で525チーム中61位でした。
自分で解けた問題をWriteupとして書いておきます。

Game starts here (Miscellaneous 10)

フラグの書き方のサンプルがそのまま答え。

pragyanctf{HelloWorld}

Look Harder (Forensics 50)

うっすらQRコードが見える。QRコードリーダで読み取ると、以下の文字列だった。

stay_pragyaned
pragyanctf{stay_pragyaned}

Interstellar (Forensics 150)

StegSolveで開き、XORにすると、フラグが見えた。
f:id:satou-y:20170309222613p:plain

pragyanctf{Cooper_Brand}

Star Wars (Steganography 100)

JPEGファイルの末尾「FF D9」の後ろに以下の文字列がある。
100110101010101010111010100110101010101110101010011110

点字と考えて縦に3行×2列で区切り文字に置き換えていくとdoordonotになるが、pragyanctf{doordonot}はフラグではなかった。

steghideを使い、パスフレーズとして、doordonotを指定する。

$ steghide extract -sf star-wars.jpg 
Enter passphrase: 
wrote extracted data to "flag.txt".

すると、flag.txtを取り出せた。

$ cat flag.txt
YmVjb21lYWplZGltYXN0ZXJ5b3V3aWxs
$ cat flag.txt | base64 -d
becomeajedimasteryouwill
pragyanctf{becomeajedimasteryouwill}