【网络安全 | Misc】明文攻击 ACTF2020

简介: 【网络安全 | Misc】明文攻击 ACTF2020

该题考察明文攻击

正文

解压后得到两个压缩包:

._none.zip不可解压,而在none.zip中存在一个压缩包与一张图片:

res.zip中存在两个加密文件:

故该题考察图片隐写,使用010打开图片看到末尾flag.txt

说明该图片被修改,其源文件为zip,zip文件头为:50 4B 03 04

故在03处选择粘贴0字节:

输入2:

将如下00 00改为50 4B即可:

另存为woo.zip文件即可打开flag.txt:

使用该字符串作为密码解res.zip不可行

结合题目明文攻击与压缩包属性(flag.txt的CRC、大小、名称均一致):

猜测flag.txt以相同的方式存储在两个zip中,也可推断两个zip采用同一加密算法压缩。

故以woo.zip作为明文文件、res.zip作为加密文件进行明文攻击即可

得到解密文件,打开后得到flag

flag{3te9_nbb_ahh8}
目录
相关文章
|
4天前
|
网络安全 数据安全/隐私保护
【网络安全 | Misc】miss_01 太湖杯
【网络安全 | Misc】miss_01 太湖杯
69 0
|
4天前
|
网络安全 数据安全/隐私保护
【网络安全 | Misc】Ditf 安恒九月赛
【网络安全 | Misc】Ditf 安恒九月赛
15 0
|
4天前
|
网络安全
【网络安全 | Misc】a_good_idea
【网络安全 | Misc】a_good_idea
19 0
|
4天前
|
网络安全 数据安全/隐私保护
【网络安全 | Misc】Aesop_secret(ISCC)
【网络安全 | Misc】Aesop_secret(ISCC)
30 0
|
4天前
|
网络安全
【网络安全 | Misc】normal_png
【网络安全 | Misc】normal_png
43 0
|
4天前
|
网络安全
【网络安全 | Misc】glance-50
【网络安全 | Misc】glance-50
17 0
|
4天前
|
网络安全
【网络安全 | Misc】hit-the-core
【网络安全 | Misc】hit-the-core
13 0
|
4天前
|
网络安全
【网络安全 | Misc】misc_pic_again
【网络安全 | Misc】misc_pic_again
28 0
|
4天前
|
网络安全
【网络安全 | Misc】hong
【网络安全 | Misc】hong
18 0
|
4天前
|
网络安全
【网络安全 | Misc】Test-flag-please-ignore
【网络安全 | Misc】Test-flag-please-ignore
98 0

热门文章

最新文章