FeelMyPain

Point: 100

Where pain comes from ? Find it and answer me!

Download:

http://material.grandprix.whitehatvn.com/grandprix2017/FeelMyPain_19c75ab715c271b61a947916fb8ed714c9e80d11.zip

http://bak.material.grandprix.whitehatvn.com/grandprix2017/FeelMyPain_19c75ab715c271b61a947916fb8ed714c9e80d11.zip

http://bak1.material.grandprix.whitehatvn.com/grandprix2017/FeelMyPain_19c75ab715c271b61a947916fb8ed714c9e80d11.zip

Author - BkavTeam

ダウンロードしたファイルを解凍するとexeファイルができます。fileコマンドでファイルタイプを確認します。Windowsのコンソールアプリです。
$ file Pain.exe 
Pain.exe: PE32 executable (console) Intel 80386, for MS Windows
実行してみます。文字化けしているようでよく分かりません。
>Pain.exe
here is your flag: ・.
Wait!!!Something went wrong? 続行するには何かキーを押してください . . .
IDA Pro Freeでステップ実行してみます。下記の場所まで進めるとスタックに文字列が積まれます。

1

この文字列のsha1ハッシュ値を求めます。
love_is_the_reason_why_there_is_pain
0c6e2e8f7719d0966cbc96dc9fab9c7b9c906ff9
フラグは、
WhiteHat{0c6e2e8f7719d0966cbc96dc9fab9c7b9c906ff9}
です。

Windowsデバッグの極意 ツールを使いこなして、バグハント!
Mario Hewardt
アスキー・メディアワークス
2009-04-28