当前位置:网站首页>入口点注入
入口点注入
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
边栏推荐
猜你喜欢
upload上传图片到腾讯云,如何上传图片
Feature preprocessing
bytebuffer internal structure
Flutter learning 2-dart learning
Visibility of multi-column attribute column elements: display, visibility, opacity, vertical alignment: vertical-align, z-index The larger it is, the more it will be displayed on the upper layer
how to measure distance from point to face in creo
Day019 Method overriding and introduction of related classes
雷克萨斯lm的安全性到底体现在哪里?一起来看看吧
【转】什么是etcd
ansible各个模块详解
随机推荐
软件管理rpm
【转】什么是etcd
How to quickly upgrade your Taobao account to a higher level
Excel Paint
淘宝账号如何快速提升到更高等级
使用IDEA连接TDengine服务器
[8.3] Code Source - [meow ~ meow ~ meow~] [tree] [and]
二叉树基本性质+oj题解析
[informix] Resolving startup errors and solutions
How to deal with DNS hijacking?
What is the function of industrial-grade remote wireless transmission device?
什么是ASEMI光伏二极管,光伏二极管的作用
App rapid development and construction experience: the importance of small programs + custom plug-ins
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?
Use IDEA to connect to TDengine server
Flutter学习三-Flutter基本结构和原理
Qixi Festival earn badges
App快速开发建设心得:小程序+自定义插件的重要性
Paparazzi: Surface Editing by way of Multi-View Image Processing
Qt制作18帧丘比特表白意中人、是你的丘比特嘛!!!