http://bmzclub.cn/challenges#2018%20%E6%8A%A4%E7%BD%91%E6%9D%AF%20easy_dump
题目描述
the flag format:flag{}
easy_dump.img
volatility -f easy_dump.img imageinfo
volatility -f easy_dump.img --profile=Win7SP1x64 pslist
有几个可疑进程:
notepad.exe
DumpIt.exe
explorer.exe
把notepad.exe
的内存数据dump出来
volatility -f easy_dump.img --profile=Win7SP1x64 memdump -p 2952 -D ./
查找下相关字样,因为notepad使用的是16位little-endian存储文本,所以参数加上-e l
才能成功编码
strings -e l ./2952.dmp | grep "flag{"
filescan
直接找内存中的jpg
文件
volatility -f easy_dump.img --profile=Win7SP1x64 filescan | grep ".jpg"
dump出来
volatility -f easy_dump.img --profile=Win7SP1x64 dumpfiles -Q 0x00000000235c8770 -D ./
phos.jpg
看不出来什么,binwalk
分析发现图片隐写了zip,使用foremost
提取出来
解压得到一个message.img
ext2
文件系统,直接挂载
hint.txt
的内容是坐标数据,直接使用gnuplot
绘制出来
绘制出来是一张二维码,扫描得到如下信息
Here is the vigenere key: aeolus, but i deleted the encrypted message。
得到一个维吉尼亚密码的key:aeolus
,得接着寻找密文
在/mnt
的挂载目录中有隐藏文件夹,/mnt/.Trash-0/file/.message.swp
找到vim的临时文件
直接cat或者使用vim恢复
vim -r message
得到密文
yispn!buwh_qcfd_ebo_mglzs
维吉尼亚解密即可
flag{yeeet!just_find_and_solve}