CTF---image steganography

insert image description here

1. Watermark steganography: files with watermark and files without watermark are required

1、安装插件
python2 -m pip install -r requirements.txt -r https://mirrors.aliyun.com/pypi/simple/
2、运行python
python2 bwm.py decode hui_with_wm.png hui.png 2.png
--hui_with_wm.png为带水印的照片,hui.png为不带水印的照片,2.png为水印
3、经测试,python3无法正常解析出水印

Please add a picture description

2. Pictures with compressed files

1、判断:正常一个图片文件过大可以直接使用foremost.exe进行分离,或者可以直接使用winhex查看里面的文件类型进行判断
2、使用方法:foremost.exe -i a.jpg -T

Please add a picture description

Three, exif information hiding

1、使用工具打开图片查看exif值即可

Please add a picture description

Four, gif animation hidden

1、使用stegsolve---analyse---frame browser进行逐帧分离并保存即可

Please add a picture description

5. GIF frame-by-frame separation and color channel encryption

1、使用stegsolve将两张图进行色道合并,stegsolve---analyse---image combiner
2、找到SUB并保存为1.bmp
3、找到sub(R,G,B seperate)并保存为2.bmp

4、分析1.bmp,查看blue plane0通道并保存为3.bmp
5、分析2.bmp,查看red plane0通道并保存为4.bmp
6、分析2.bmp,查看green plane0通道并保存为5.bmp

使用微信对二维码进行扫描,使用des解密即可。
密码:U2FsdGVkX18IBEATgMBe8NqjIqp65CxRjjMxXIIUxIjBnAODJQRkSLQ/+lHBsjpv1BwwEawMo1c=
加密方式:DES
秘钥:6XaMMbM7

Sixth, the length, width and height are hidden

1、了解常见图片格式的长、宽、高位于哪个位置,修改为最大值FF即可

Please add a picture description
Please add a picture description

7. LSB color channel hiding

使用stegsolve进行色道分离

Please add a picture description
Please add a picture description

8. Write directly to the hidden image

直接使用winhex打开查看,搜索flag

Please add a picture description

Download related resources:

链接:https://pan.baidu.com/s/1dboN3616uE6OoJJyMgq98Q?pwd=vbhh 
提取码:vbhh 
--来自百度网盘超级会员V5的分享

Guess you like

Origin blog.csdn.net/dakhda/article/details/132007017