当前位置:网站首页>entry point injection
entry point injection
2022-08-05 05:03:00 【Chicken Island~】
Entry point: Every program has an entry point address, such as the main function.After our ntdll module is loaded, it will call this entry point address, and then start executing our code
Ask a question:
- What needs to be done by codeRemoteArea
task1:Load our injection module LoadLibraryW addressThere are two problems: A.CALL xxxx This address is invalid, why?resetB.push xxxx string address is wrongUsing the dynamic link library loading principle of window: Process A loads the xxx module * (runtime), and process B also needs to load the module xxx. In order to save memory, the OS will directlyUse the module address loaded by the A process.task2: Fix the code of 5 bytes whose entry point address is brokentask3: JMP entry point address
2. What data does the codeRemoteArea function need to execute?
1.Function pointer(LoadLibraryW ) module path (dllName)2.EntryPoint, store ** where the broken instruction ** (oldCode)
3. Who will populate this data?
task1: GetModuleHandleA+ offset address, assign toEntryPointtask2: save the corrupted instruction entry point address→oldCodetask3: destroys the entry point address JMP is going to address T
4. Who will build this data frame?
task1:alloc memory on the GameMemory
边栏推荐
猜你喜欢
随机推荐
[MRCTF2020] PYWebsite
【无标题】
特征预处理
一篇博客通关Redis技术栈
What is the function of industrial-grade remote wireless transmission device?
二叉树基本性质+oj题解析
虚证、实证如何鉴别?
Flutter learning 2-dart learning
Detailed explanation of each module of ansible
说说数据治理中常见的20个问题
Flutter学习4-基本UI组件
Flutter learning 5-integration-packaging-publish
逆向理论知识4
【 8.4 】 source code - [math] [calendar] [delete library 】 【 is not a simple sequence (Bonus) 】
Redis - 13、开发规范
A 35-year-old software testing engineer with a monthly salary of less than 2W, resigns and is afraid of not finding a job, what should he do?
WPF中DataContext作用
Flutter learning three-Flutter basic structure and principle
Cron(Crontab)--使用/教程/实例
dedecms报错The each() function is deprecated