1
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?

picoCTF Writeup: Hidden in plainsight

Posted at

picoCTF Writeup: Hidden in plainsight

ステガノグラフィというデータ隠ぺい技術を知ろう問題

  • ジャンル: Forensics
  • 難易度: Easy

Writeup

まずはダウンロードしたファイルをfileコマンドで確認する。

ozaki@NucBoxM5PLUS:~/project/picoCTF/writeup/Forensics$ file /tmp/img.jpg
/tmp/img.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, comment: "c3RlZ2hpZGU6Y0VGNmVuZHZjbVE9", baseline, precision 8, 640x640, components 3

なんかコメントに入っている。

base64デコードしてみる。

ozaki@NucBoxM5PLUS:~/project/picoCTF/writeup/Forensics$ echo -n "c3RlZ2hpZGU6Y0VGNmVuZHZjbVE9" | base64 -d
steghide:cEF6endvcmQ=

steghide って何?
cEF6endvcmQ= はまだでコードできそう。

ozaki@NucBoxM5PLUS:~/project/picoCTF/writeup/Forensics$ echo -n "cEF6endvcmQ=" | base64 -d
pAzzword

steghide:pAzzword
なんか、それっぽいんだけど、だから何?って感じですね。

steghideをググる。
https://steghide.sourceforge.net/

Steghideは、様々な種類の画像ファイルや音声ファイルにデータを隠すことができるステガノグラフィプログラムです。

steghideを自分の環境にインストールして、flagを探すのかと思いました。
でも、steghideをインストールしたくなかったからググる。

こんなオンラインのデコーダーがありました。(ありがたや)
https://futureboy.us/stegano/decinput.html

問題の画像ファイルとパスワードを入力して、ペイロードをデコードするらしい。
パスワードにはpAzzwordを使えばいいんだな。

flagが表示されました。

余談

ステガノグラフィって、リアルではどういったときに使われるの?と思いました。

日本におけるデジタルデータの隠ぺい方法は、アンダーグラウンドでの需要と相まって、独自の発展を遂げました。

受け渡しをしたいデータを隠ぺいする方法の一つということですね。
普通に生きていれば使うことはないと思う。
社内での発行した認証情報の受け渡しなんかに使うとオシャレかもです。

参考にさせていただいたリンクです。ありがとうございます。
https://digitaltravesia.jp/usamimihurricane/webhelp/_RESOURCE/MenuItem/another/anotherAboutSteganography.html#history

1
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
1
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?