当前位置:网站首页>入口点注入
入口点注入
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
边栏推荐
猜你喜欢

C++ core programming

雷克萨斯lm的安全性到底体现在哪里?一起来看看吧

for..in和for..of的区别

【cesium】Load and locate 3D Tileset

Learning and finishing of probability theory 8: Geometric and hypergeometric distributions

Flutter learning 2-dart learning

8.04 Day35-----MVC三层架构

University Physics---Particle Kinematics

creo怎么测量点到面的距离

The solution to the failure to read channel information when dedecms generates a message in the background
随机推荐
C+ +核心编程
LAB Semaphore Implementation Details
How can Flutter parent and child components receive click events
creo怎么测量点到面的距离
Shell(4) Conditional Control Statement
[MRCTF2020] Ezpop (detailed)
1007 Climb Stairs (greedy | C thinking)
Excel画图
Flutter学习5-集成-打包-发布
dedecms dream weaving tag tag does not support capital letters fix
uboot开启调试打印信息
[8.1] Code Source - [The Second Largest Number Sum] [Stone Game III] [Balanced Binary Tree]
【学习笔记之菜Dog学C】动态内存管理之经典笔试题
Is the NPDP certificate high in gold content?Compared to PMP?
Day14 jenkins部署
Day019 方法重写与相关类的介绍
Develop your own node package
【微信小程序】WXML模板语法-条件渲染
狗仔队:表面编辑多视点图像处理
ESP32 485光照度