当前位置:网站首页>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 .
边栏推荐
- Divorce for 3 years to discover the undivided joint property, or
- 【带你学c带你飞】day 5 第2章 用C语言编写程序(习题2)
- 結婚後
- What are the common proxy servers and what are the differences?
- Infix expression to suffix expression (computer) code
- C write TXT file
- Jvm-01 (phased learning)
- Face++ realizes face detection in the way of flow
- Kibana操控ES
- Coordinatorlayout + tablayout + viewpager2 (there is another recyclerview nested inside), and the sliding conflict of recyclerview is solved
猜你喜欢
![[liuyubobobo play with leetcode algorithm interview] [00] Course Overview](/img/1c/c8cab92c74b6658c3ef608c5255f1f.png)
[liuyubobobo play with leetcode algorithm interview] [00] Course Overview

Which kind of sports headphones is easier to use? The most recommended sports headphones

MySQL operates the database through the CMD command line, and the image cannot be found during the real machine debugging of fluent

Which brand of running headphones is good? How many professional running headphones are recommended

A quick understanding of analog electricity

As a software testing engineer, will you choose the bank post? Laolao bank test post

LFM信号加噪、时频分析、滤波
![[staff] pitch representation (treble clef | C3 60 ~ B3 71 pitch representation | C4 72 pitch representation | C5 84 pitch representation)](/img/e0/05890eafdb291c5aaff78cc241f455.jpg)
[staff] pitch representation (treble clef | C3 60 ~ B3 71 pitch representation | C4 72 pitch representation | C5 84 pitch representation)

Jvm-01 (phased learning)

Pychart creates new projects & loads faster & fonts larger & changes appearance
随机推荐
How does proxy IP participate in the direct battle between web crawlers and anti crawlers
【带你学c带你飞】1day 第2章 (练习2.2 求华氏温度 100°F 对应的摄氏温度
CSDN article underlined, font color changed, picture centered, 1 second to understand
【liuyubobobo-玩转Leetcode算法面试】【00】课程概述
离婚3年以发现尚未分割的共同财产,还可以要么
CSDN insertion directory in 1 second
[Chongqing Guangdong education] Sichuan University concise university chemistry · material structure part introductory reference materials
Kibana操控ES
Is bone conduction earphone better than traditional earphones? The sound production principle of bone conduction earphones is popular science
【带你学c带你飞】3day第2章 用C语言编写程序(练习 2.3 计算分段函数)
CoordinatorLayout + TabLayout + ViewPager2(里面再嵌套一个RecyclerView),RecyclerView的滑动冲突解决
Calculation (computer) code of suffix expression
[staff] the direction of the symbol stem and the connecting line (the symbol stem faces | the symbol stem below the third line faces upward | the symbol stem above the third line faces downward | the
Infix expression to suffix expression (computer) code
Pychart creates new projects & loads faster & fonts larger & changes appearance
连通块模板及变式(共4题)
2022 safety officer-c certificate examination questions and mock examination
Decipher the AI black technology behind sports: figure skating action recognition, multi-mode video classification and wonderful clip editing
Special symbols in SAP ui5 data binding syntax, and detailed explanation of absolute binding and relative binding concepts
MySQL operates the database through the CMD command line, and the image cannot be found during the real machine debugging of fluent
