0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

GoogleCTF #beginners/re-firmware

Posted at

image.png

問題

image.png

解いてみた

添付ファイルをダウンロードします。

ZIPファイルを解凍するとEXT4のイメージファイルがありました。

image.png

FTK imagerを使って読み込みます。
そして「CTF{」でgrepしてみましたが、0件。

image.png

イメージ内部を見てみます。
とても怪しいgzファイルを見つけました。

image.png

これをダウンロードして解凍します。

image.png

破損しています。
FTKのデータを見るとシンボリックリンクって書いてあるし、バイナリ見ても「../../America/Cordoba」って書いてあるだけだから、これは実態ではないのか。
ただ、フォルダ二つ上っていうのはないんだけれども。。。
もうすでに/にいるし。。。
Cordobaフォルダorファイルを探してみたものの存在せず。

他に怪しそうなファイルなどを探してみましたが、全く見つからず。

Ubuntuでマウントしてみます。

image.png

そして解凍&cat。

image.png

できました。

image.png

結局Windowsだと何でできなかったんでしょう:thinking::thinking::thinking:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?