当前位置:网站首页>入口点注入
入口点注入
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
边栏推荐
- Talk about 20 common problems in data governance
- How to identify false evidence and evidence?
- u-boot中的u-boot,dm-pre-reloc
- 【cesium】加载并定位 3D Tileset
- Flutter学习4-基本UI组件
- 算法---一和零(Kotlin)
- 2023年信息与通信工程国际会议(JCICE 2023)
- MySQL Foundation (1) - Basic Cognition and Operation
- Flutter learning three-Flutter basic structure and principle
- ESP32 485光照度
猜你喜欢

二叉树基本性质+oj题解析

C+ +核心编程

creo怎么测量点到面的距离
How to identify false evidence and evidence?

In the hot summer, teach you to use Xiaomi smart home accessories + Raspberry Pi 4 to connect to Apple HomeKit

ESP32 485光照度

Error creating bean with name ‘configDataContextRefresher‘ defined in class path resource

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?

服务器磁盘阵列

Four-digit display header design
随机推荐
MySQL中控制导出文件后变为了\N有什么解决方案吗?
说说数据治理中常见的20个问题
Flutter TapGestureRecognizer 如何工作
Detailed explanation of each module of ansible
Detailed explanation of Mysql's undo log
Application status of digital twin technology in power system
Is the NPDP certificate high in gold content?Compared to PMP?
【cesium】Load and locate 3D Tileset
【无标题】
write the story about us
Mysql的undo log详解
基于Web的商城后台管理系统的设计与实现
How can Flutter parent and child components receive click events
bytebuffer internal structure
密码学系列之:PEM和PKCS7,PKCS8,PKCS12
Paparazzi: Surface Editing by way of Multi-View Image Processing
C language - vernacular to understand the original code, inverse code and complement code
【 8.4 】 source code - [math] [calendar] [delete library 】 【 is not a simple sequence (Bonus) 】
Day019 方法重写与相关类的介绍
狗仔队:表面编辑多视点图像处理