当前位置:网站首页>[reverse analysis] basic introduction - search program main function modification program
[reverse analysis] basic introduction - search program main function modification program
2022-07-21 20:58:00 【3SS security front】
List of articles
lookup main function
Create a c Language program printing helloworld
Generate exe Copy to the desktop
Use ollydbg Analyze
Carry out the procedure , Then right click to find - All reference text strings
You can see there is a helloworld
Click in and you'll find
The second method
Running the program has been f8, Here, red f7 To follow up
Follow up later , Continue to step down , Find out 3 individual push1 individual call, complete main The function features 3 Parameters , So see 3 individual push1 individual call You can mark follow-up
Find out main function
release The version main function is usually near the top , Looking up, you can also find
You can also use ida Automatic analysis
Modify the program
Use the program just now to find main function , Copy this memory address
Find the memory address here in the window below
Right click binary - edit
In memory helloworld Change it to 111
Execute to printf Found to have been modified
Modify the memory address
Still jump to this step
Modify one of the following addresses
Modify the memory address pointed to , Found that the value has changed
Step into execution , Modification successful
边栏推荐
- 解决uniapp编译后vendor.js文件过大(官方处理方案)
- 第二届网刃杯web题复现
- web安全--文件上传中间件解析漏洞
- H5 online chat room
- 加快无人机智能巡检规模化应用,福建电力输电运检智能化建设提速
- Wechat applet makes a slot machine lottery animation
- 18. [precautions for pointer pointing to two-dimensional array]
- Thinkphp6 uses easywechat5 Development of official account of X (I)
- ThinkPHP6 学习心得
- BUUCTF [SUCTF 2019]EasySQL
猜你喜欢
Nodejs reads and parses the dom of XML
Méthode d'autorisation MSSQL
Accelerate the large-scale application of UAV intelligent inspection, and speed up the intelligent construction of Fujian power transmission operation inspection
加快无人机智能巡检规模化应用,福建电力输电运检智能化建设提速
[file upload bypass] - Secondary rendering
【内网渗透】cobaltstrike流量加密
Buuctf [gxyctf2019] no dolls
【内网渗透】openssl反弹流量加密shell
20. [char* is equal to string but not equal]
【漏洞复现】CVE-2022-22954 VMware Workspace ONE Access漏洞分析
随机推荐
Pikachu character injection for Day1 POC and exp learning
Simple method of array de duplication (excluding reference type)
ThinkPHP6 学习心得
Usage and introduction of sonarlint
PHP date() 函数
Solve the problem of vendor JS file is too large (official processing scheme)
phpmyadmin后台文件包含漏洞分析
PHP basic syntax
BUUCTF [GXYCTF2019] 禁止套娃
JS converts hexadecimal color to RGBA format
Buuctf n1book [Chapter 2 advanced web] file upload
PHP three lines of code to write test interface
BUUCTF n1book [第二章 web进阶]文件上传
[geek challenge 2019] easy, love, baby SQL
PHP環境搭建(推薦寶塔面板)
Uniapp customized navigation bar buttons and button click events
大文件下载 解决方案
抓包工具 详解
Accelerate the large-scale application of UAV intelligent inspection, and speed up the intelligent construction of Fujian power transmission operation inspection
Custom get request parameter class get post