当前位置:网站首页>入口点注入
入口点注入
2022-08-05 04:58:00 【小鸡岛~】
入口点: 每一个程序都有一个入口点地址,比如main函数。我们的ntdll模块加载后会去调用这个入口点地址,然开始执行我们的代码
提出问题:
- codeRemoteArea需要做什么事情
task1:加载我们的注入模块 LoadLibraryW 地址 存在两个问题:A.CALL xxxx 这个地址无效,为什么?重定位 B.push xxxx 字符串地址是错误的 利用window的动态链接库加载原理:A进程加载了xxx模块*(运行时),B进程也需要加载模块xxx,OS为了节约内存,他会直接使用A进程加载后的模块地址。 task2: 修复入口点地址被破环的5个字节的代码 task3: JMP 入口点地址
2.codeRemoteArea函数执行需要什么数据呢?
1.函数指针(LoadLibraryW ) 模块路径(dllName)
2.入口点地址(EntryPoint), 存储**被破环的指令**的地方(oldCode)
3.谁去填充这些数据呢?
task1: GetModuleHandleA+偏移地址, 赋值到EntryPoint
task2: 保存被破坏的的指令 入口点地址→oldCode
task3: 破坏入口点地址 JMP 要去的地址T
4.谁去搭建这个数据框架?
task1:alloc memory on the GameMemory
边栏推荐
- Flutter learning three-Flutter basic structure and principle
- 开发属于自己的node包
- 请写出SparkSQL语句
- Flutter learning 5-integration-packaging-publish
- How to quickly upgrade your Taobao account to a higher level
- [Geek Challenge 2019]FinalSQL
- In the WebView page of the UI automation test App, the processing method when the search bar has no search button
- 2023年信息与通信工程国际会议(JCICE 2023)
- What is the function of industrial-grade remote wireless transmission device?
- dedecms后台生成提示读取频道信息失败的解决方法
猜你喜欢
随机推荐
软件管理rpm
Feature preprocessing
Redis - 13、开发规范
ESP32 485光照度
【学生毕业设计】基于web学生信息管理系统网站的设计与实现(13个页面)
JeeSite New Report
大学物理---质点运动学
基于Web的商城后台管理系统的设计与实现
How to identify false evidence and evidence?
[8.3] Code Source - [meow ~ meow ~ meow~] [tree] [and]
Qixi Festival earn badges
dedecms后台生成提示读取频道信息失败的解决方法
There are a lot of 4T hard drives remaining, prompting "No space left on device" insufficient disk space
In the hot summer, teach you to use Xiaomi smart home accessories + Raspberry Pi 4 to connect to Apple HomeKit
虚证、实证如何鉴别?
程序开发的一些常规套路(一)
Flutter learning - the beginning
Talk about 20 common problems in data governance
The first performance test practice, there are "100 million" a little nervous
【cesium】Load and locate 3D Tileset