当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
mutillidae download and installation
Mvi架构浅析
Use IDEA to connect to TDengine server
一篇博客通关Redis技术栈
【 8.4 】 source code - [math] [calendar] [delete library 】 【 is not a simple sequence (Bonus) 】
u-boot in u-boot, dm-pre-reloc
AUTOCAD——标注关联
Is the NPDP certificate high in gold content?Compared to PMP?
MySQL中控制导出文件后变为了\N有什么解决方案吗?
【cesium】元素高亮显示
C#关于set()和get()方法的理解及使用
Feature preprocessing
Application status of digital twin technology in power system
类的底层机制
Excel画图
Flutter学习-开篇
仪表板展示 | DataEase看中国:数据呈现中国资本市场
【转】什么是etcd
The solution to the failure to read channel information when dedecms generates a message in the background
Day019 方法重写与相关类的介绍