Misc·buu题解及工具下载
1. Misc工具–zsteg
·简介
zsteg 是Github上开源的PNG、BMP文件隐写爆破工具
·安装
终端依次输入:
1 | git clone https://github.com/zed-0xff/zsteg |
若提示权限不够,终端输入:
1 | sudo su |
如果下的太慢了,换源(终端依次输入:
1 | gem sources --remove https://rubygems.org/ |
·使用
1 | zsteg -a file_path |
· 效果图
(题源:2021春秋杯秋季赛勇者赛道·Misc·**helloshark
2. Misc工具–foremsot
·简介
同binwalk(Kali自带)功能一样,具有拆分隐藏文件的功能,不同在于自动生成并放入output文件夹中
·安装
终端输入:
1 | apt-get install foremost |
- 若提示:
1 | E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? |
- 则要更新了,输入:
1 | apt-get update |
最后检查安装是否成功,输入:
1 | foremost -h |
·使用
1 | foremost file_path |
3.Misc·N种方法解决
·题目
下载后得到key.exe
思路
- 从简到难,string key.exe
data:image/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAIUAAACFCAYAAAB12js8AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAArZSURBVHhe7ZKBitxIFgTv/396Tx564G1UouicKg19hwPCDcrMJ9m7/7n45zfdxe5Z3sJ7prHbf9rXO3P4lLvYPctbeM80dvtP+3pnDp9yF7tneQvvmcZu/2lf78zhU+5i9yxv4T3T2O0/7eud68OT2H3LCft0l/ae9ZlTo+23pPvX7/rwJHbfcsI+3aW9Z33m1Gj7Len+9bs+PIndt5ywT3dp71mfOTXafku6f/2uD09i9y0n7NNd2nvWZ06Ntt+S7l+/68MJc5O0OSWpcyexnFjfcsI+JW1ukpRfv+vDCXOTtDklqXMnsZxY33LCPiVtbpKUX7/rwwlzk7Q5JalzJ7GcWN9ywj4lbW6SlF+/68MJc5O0OSWpcyexnFjfcsI+JW1ukpRfv+vDCXOTWE7a/i72PstJ2zfsHnOTpPz6XR9OmJvEctL2d7H3WU7avmH3mJsk5dfv+nDC3CSWk7a/i73PctL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密码手看到base64,兴奋。之后网页解码不给力,用python3跑了下。
1
2
3
4
5
6import base64
b64 = b'iVBORw0KGgoAAAANSUhEUgAAAIUAAACFCAYAAAB12js8AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAArZSURBVHhe7ZKBitxIFgTv/396Tx564G1UouicKg19hwPCDcrMJ9m7/7n45zfdxe5Z3sJ7prHbf9rXO3P4lLvYPctbeM80dvtP+3pnDp9yF7tneQvvmcZu/2lf78zhU+5i9yxv4T3T2O0/7eud68OT2H3LCft0l/ae9ZlTo+23pPvX7/rwJHbfcsI+3aW9Z33m1Gj7Len......U5ErkJggg=='
print(base64.b64decode(b64))
# b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x85\x00\x00\x00\x85\x08\x06\x00\x00\x00u\xda;<\x00\x00\x00\x01sRG...\xc2\r\xca\xcc\'\xd9\x...ffi_\xef\xcc\xe1S\xeeb\xf7,o\xe1=\xd3\xd8\xed?\xed\xeb\x9d\....\x7f\x1a\xbe\xdf$\x96\x1b\xb6\xb7\x9c\x9c\xe8_\xbf\xeb\xc3\x93\xd8}\xcb\x9f\x86\xef7\x89\xe5\x86\xed-\'\'\xfa\xd7\xef\xfa\xf0$v\xdf\xf2\xa7\xe1\xfbMb\xb9a{\xcb\xc9\x89\xfe\xf5\xbb><\x89\xdd\xb7\xfci\xf...x00IEND\xaeB`\x82'看到了PNG,高兴。其后如何也得不到下一步思路,看题解后,开了眼了🤔
将第一步string内容完整复制到网页端,得到二维码,扫码即得flag。
4. Misc·LSB
·题目
题目说的明显,LSB隐写,有过多博客对此解释、教学,在此不赘述
·要点
- 导出时候记得选 Save Bin
5. ARCHPR 下载|注册
· 提示
若是英文界面,则看大致位置也能完成注册
· 下载
· 注册码:
ARCHPRP-GSVMT-66892-GKVMB-52992
· 注册步骤
- 下载后解压,打开软件
输入注册码( ARCHPRP-GSVMT-66892-GKVMB-52992 )
注册完成
· 修改语言
眼瞎找了一宿,option选项卡里选language为简体中文
- option选项卡
- 语言设置
大功告成!
6. BUU·Misc·爱因斯坦
·题解
打开后,看到爱因斯坦图片
strings 后看到有东西
binwalk -e 拆开
得到flag.txt、加密压缩包
·困惑:
以为是明文攻击,压缩后说文件太小,无法进行明文攻击。
·醍醐灌顶
属性 -> 详细信息 -> 备注 里有东西,可以拿来做压缩包密码的尝试,bingo!
·总结
strings != 属性
7. FLAG
· 题解
打开后binwalk -e,获得29.zilp,没思路了
·醍醐灌顶
LSB藏了ZIP文件,bin下来后解压,以txt打开解压文件,搜索即可
·总结
zsteg的file显示要注重!!!
8.D盾安装
· 简介
『D盾_防火墙』专为IIS设计的一个主动防御的保护软件,以内外保护的方式 防止网站和服务器给入侵。用于网页数据文件夹
· 下载
·注意事项
虚拟机win需要把待扫描的文件夹放入c盘,总之不要在mac盘
9. RouterPassView 安装
· 简介
RouterPassView是一个找回路由器密码的工具,用于bin后缀文件