当前位置:网站首页>buu_ re_ crackMe
buu_ re_ crackMe
2022-07-02 02:42:00 【Child_ K1ng】
This topic mainly focuses on simple bypass anti debugging , Evaluation combined with dynamic debugging .
Check the shell
Shell less 32 position
ida analysis
Enter your username and password .
Find out Flower instruction , Can't decompile .

take jbe and aaa That line nop fall , These data will also be generated nop fall .

Finally get this .

Select all the addresses marked red on the left , Press p Declared as a function , Open the function and find Congratulations, And then Please try again, And back to result The value is 1, therefore v3==1.( The following picture is incomplete )

analysis sub_401830 function 
I found that there are many anti debugging things , There are probably four .
![]()
![]()


Because of these things , If we go straight debug Can't get the right result .
Bypass anti debugging
First position the cursor on the line with anti debugging pseudo code , Press Tab key , Right click after jump and select Text view, In this way, the assembly instructions can be modified , So as to remove the interference of anti debugging code .

Put... In the picture above jz The order was changed to jmp Instructions ,jmp The corresponding operation code is 0xE8. Empathy , Change the other places too . Finally, don't forget patch into file!!!


After completion, you can review the execution flow , Found that the anti debugging code disappeared , Bypass all .
Dynamic debugging byte_416050 Array
The following figure shows the lower breakpoint . The first one is the position of the array we are looking for , It is also the key code ; In Chapter 2, we find that this array is stored in ecx To carry out exclusive or , When debugging, only watch ecx The content in .


We know the user name , So type , Enter a random set of strings for the password .

then F8 Single step , observe ecx Value .
Finally get byte_416050 The value is 0x2a, 0xd7, 0x92, 0xe9, 0x53, 0xe2, 0xc4, 0xcd
EXP
byte_C26050 = [0x2a, 0xd7, 0x92, 0xe9, 0x53, 0xe2, 0xc4, 0xcd]
v17 = 'dbappsec'
flag=''
for i in range(len(byte_C26050)):
flag += hex(byte_C26050[i] ^ ord(v17[i]))[2:]
print(flag)
#4eb5f3992391a1aeCarry out the results according to the topic MD5 encryption , obtain flag.
flag{d2be2981b84f2a905669995873d6a36c}
For details, please refer to the blogger's wp, It's well written and more specific .
BUUCTF crackMe Answer key .
边栏推荐
- [JSON] gson use and step on the pit
- 結婚後
- 2022低压电工考试题模拟考试题库模拟考试平台操作
- LeetCode刷题(十)——顺序刷题46至50
- DNS domain name resolution
- Jvm-01 (phased learning)
- Websocket + spingboot realize code scanning login
- Which brand of sports headset is better? Bluetooth headset suitable for sports
- Remote connection to MySQL under windows and Linux system
- What is the principle of bone conduction earphones and who is suitable for bone conduction earphones
猜你喜欢

Query word weight, search word weight calculation
![[Chongqing Guangdong education] Sichuan University concise university chemistry · material structure part introductory reference materials](/img/ae/7edbdf55795400166650c795c8bd58.jpg)
[Chongqing Guangdong education] Sichuan University concise university chemistry · material structure part introductory reference materials

No programming code technology! Four step easy flower store applet

CoordinatorLayout + TabLayout + ViewPager2(里面再嵌套一个RecyclerView),RecyclerView的滑动冲突解决

【带你学c带你飞】2day 第8章 指针(练习8.1 密码开锁)

STM32__ 05 - PWM controlled DC motor

結婚後

【读书笔记】程序员修炼手册—实战式学习最有效(项目驱动)

Coordinatorlayout + tablayout + viewpager2 (there is another recyclerview nested inside), and the sliding conflict of recyclerview is solved

【liuyubobobo-玩转Leetcode算法面试】【00】课程概述
随机推荐
Learning notes of software testing -- theoretical knowledge of software testing
Remote connection to MySQL under windows and Linux system
Decipher the AI black technology behind sports: figure skating action recognition, multi-mode video classification and wonderful clip editing
As a software testing engineer, will you choose the bank post? Laolao bank test post
Is bone conduction earphone better than traditional earphones? The sound production principle of bone conduction earphones is popular science
The middle element and the rightmost element of the shutter
Sword finger offer II 031 Least recently used cache
[liuyubobobo play with leetcode algorithm interview] [00] Course Overview
Websocket + spingboot realize code scanning login
【带你学c带你飞】4day第2章 用C语言编写程序(练习 2.5 生成乘方表与阶乘表
【带你学c带你飞】day 5 第2章 用C语言编写程序(习题2)
Actual battle of financial risk control - under Feature Engineering
結婚後
[learn C and fly] day 5 chapter 2 program in C language (Exercise 2)
QT implementation interface jump
Multi threaded query, double efficiency
STM32F103 - two circuit PWM control motor
超图iServer rest服务之feature查询
【带你学c带你飞】3day第2章 用C语言编写程序(练习 2.3 计算分段函数)
Deployment practice and problem solving of dash application development environment based on jupyter Lab
