当前位置:网站首页>Misc Basic test method and knowledge points of CTF
Misc Basic test method and knowledge points of CTF
2022-07-05 15:10:00 【Golden silk】
One 、 Simple test method
1、 Attribute hiding flag Or some important information , Such as unpacking password
2、 Hexadecimal data of the file ( middle \ ending ) Hide character segments , Those hidden character segments are generally regular , It may take some decoding to arrive flag, Example :Bugku And telnet_l2872253606 The blog of -CSDN Blog
3、 Add file suffix zip unpack , In the unzipped file flag
4、 Complete the file header
5、 Common file types

6、kali Next file Command to view file types
command :file file name
Two 、zip
1、 File format
• Head sign 50 4B 03 04
• Version number , The last four digits of the head logo
• Encryption , The last two digits of the version number ,00 Is unencrypted , The rest are usually encrypted

2、 Pseudo encryption , There was no encryption zip file , In artificial modification 16 Base case ( After the version number 00 Get rid of ), I mistakenly thought it was encrypted when decompressing
3、 Code explosion , Using tools ARCHPR Blasting
3、 ... and 、PNG
1、 File format
• Head logo ,89 50 4E 47 0D 0A 1A 0A
• Width bit 0x10-0x13, Don't change it at will , According to CRC Value modification
• Height bit 0x14-0x17, You can change it at will
•CRC Check bit 0x1D-0x20,CRC It is the verification of file data blocks , Modifying the data block will cause the verification to fail , The file cannot be displayed normally

2、 The height display is incomplete , Example :Bugku Steganography _l2872253606 The blog of -CSDN Blog
3、 The width display is incomplete , According to the... Of blasting documents CRC Value changes the width , Otherwise, it will fail to open the file
4、LSB Steganography , Using tools stegsolve Or is it kali see ,kali Watch it all ,
Example :Bugku Cyberpunk _l2872253606 The blog of -CSDN Blog
• use stegsolve see
For documents stegsolve open ,Analyse,Date Extract
Check the last three 0, The mode is generally RGB, If you don't find it , You can try another mode
Point again Preview, Drag the data to the top

Find out flag
• use kali see
You have to download zsteg Tools , Specific method Baidu , Drag the file into kali
Enter the command zsteg file name
You can view the hidden content

Four 、JPG
1、 File format
• Head logo ,FF D8
• Tail marker ,FF D9
2、 Modification of width and height
3、base64 Source code to picture
5、 ... and 、GIF
1、 File format
• Head sign ,47 49 46 38(GIF8)
2、flag Hidden in a frame , use stegsolve see
6、 ... and 、 File separation
Sometimes a file may hide many files , At this time, we have to use tools to separate
1、 Automatically analyze files and automatically separate files
use kali System
• Analyze documents binwalk file name
• Separate files binwalk -e file name
• Separate files foremost file name -o Directory name
2、 Manual file separation
Automatic separation is used when it doesn't work , Specific operation Baidu
3、 Example :Bugku And easy_nbt_l2872253606 The blog of -CSDN Blog
边栏推荐
- Fr exercise topic --- comprehensive question
- Mongdb learning notes
- 通过npm 或者 yarn安装依赖时 报错 出现乱码解决方式
- P1451 求细胞数量/1329:【例8.2】细胞
- 社区团购撤城“后遗症”
- 【jvm】运算指令
- The difference between abstract classes and interfaces in PHP (PHP interview theory question)
- 30岁汇源,要换新主人了
- Your childhood happiness was contracted by it
- NBA赛事直播超清画质背后:阿里云视频云「窄带高清2.0」技术深度解读
猜你喜欢

【jvm】运算指令

百亿按摩仪蓝海,难出巨头

爱可可AI前沿推介(7.5)

面试突击62:group by 有哪些注意事项?

Database learning - Database Security

Change multiple file names with one click

NBA赛事直播超清画质背后:阿里云视频云「窄带高清2.0」技术深度解读

Bugku telnet
![[detailed explanation of Huawei machine test] character statistics and rearrangement](/img/0f/972cde8c749e7b53159c9d9975c9f5.png)
[detailed explanation of Huawei machine test] character statistics and rearrangement

Super wow fast row, you are worth learning!
随机推荐
Change multiple file names with one click
用 Go 跑的更快:使用 Golang 为机器学习服务
B站做短视频,学抖音死,学YouTube生?
【华为机试真题详解】字符统计及重排
Brief introduction of machine learning framework
Run faster with go: use golang to serve machine learning
[C question set] of Ⅷ
PHP high concurrency and large traffic solution (PHP interview theory question)
超越PaLM!北大硕士提出DiVeRSe,全面刷新NLP推理排行榜
MySQL----函数
Handwriting promise and async await
Redis distributed lock principle and its implementation with PHP (2)
数据库学习——数据库安全性
Selection and use of bceloss, crossentropyloss, sigmoid, etc. in pytorch classification
MySQL之CRUD
webRTC SDP mslabel lable
CPU设计相关笔记
【华为机试真题详解】欢乐的周末
Where is the operation of convertible bond renewal? Is it safer and more reliable to open an account
[detailed explanation of Huawei machine test] happy weekend