当前位置:网站首页>Win64 driver kernel programming -31 Enumerating and deleting image callbacks
Win64 driver kernel programming -31 Enumerating and deleting image callbacks
2022-07-21 14:38:00 【51CTO】
Enumerate and delete image callback
Image callback can intercept RING3 and RING0 Image loading for . Some game protection will use this to block driver loading in the blacklist , such as XUETR、WIN64AST The driver . Empathy , In the process of anti game protection , You can also block the loading of game drivers .
Follow the process / Thread callback is similar , The image callback is also stored in the array . This array of “ Symbol name ” yes PspLoadImageNotifyRoutine. We can do it in PsSetLoadImageNotifyRoutine Found it in :
The code for the implementation is as follows :
The results are as follows :
Use these three callbacks (CreateProcess、CreateThread、LoadImage) Monitoring is not very reliable , Because there is a switch in the system , be called PspNotifyEnableMask, If its value is set to 0, Then all related operations will not go through callback . let me put it another way , If PspNotifyEnableMask be equal to 0, Then all the processes 、 Threads 、 Image callbacks will fail . However, this variable does not appear directly in the exported function , So it's a little difficult to find it .
Song Bijian ,13
边栏推荐
- node的模块化
- PL/SQL碰到的坑
- The simplest implementation of throttling and anti chattering
- 【TensorFlow&PyTorch】创建张量学习笔记
- 剑指 Offer 57. 和为s的两个数字
- High score technical document sharing of ink Sky Wheel - Database Security (48 in total)
- 如何设计业务异地多活架构 - 作业
- 高等数学(第七版)同济大学 习题3-1 个人解答
- Share some advanced debugging and usage skills of vscode scenarios
- 基于B\S架构搭建属于自己的股票分析系统
猜你喜欢
Win64 驱动内核编程-31.枚举与删除映像回调
【LeetCode】二分基本问题题解汇总
PL/SQL碰到的坑
Win64 驱动内核编程-30.枚举与删除线程回调
Learning notes (1) getting to know uni app for the first time
容器网络:来去自由的日子,不买公寓去合租
剑指 Offer 21. 调整数组顺序使奇数位于偶数前面
微软推出社交应用 Viva Engage,界面神似 Facebook
Custom type: structure (I)
How to solve the problem that win11 excel file becomes a whiteboard icon?
随机推荐
Map and set knowledge points
July 2022 Russian database ranking: Clickhouse ranked first and gigabase ranked second
Assessment | are you a social terrorist?
和客户沟通的总结
DEDECMS织梦文章内容里图片自动添加a链接点击新窗口打开图片
Kindergarten tuition comparison
Custom type: structure (I)
golang语言性能调优
QT OpenGL sets two different colors for two cubes
Can we have both good quality and low price?
读书笔记(一)——《追风筝的人》
QT openGL环境光照
全栈开发实战 | SSM框架整合完整教程
Share some advanced debugging and usage skills of vscode scenarios
节流防抖最简单的实现
剑指 Offer 13. 机器人的运动范围
ASEMI整流桥MB10M参数,MB10M大小,MB10M特性
怎么进行用户留存分析?
基于B\S架构搭建属于自己的股票分析系统
VS2005 uses PDB plus source code to locate the code line where the crash occurs