首页
社区
课程
招聘
[原创]对64位下*P的学习(不用过PG)
2015-3-29 16:48 52876

[原创]对64位下*P的学习(不用过PG)

2015-3-29 16:48
52876
收藏
免费 4
打赏
分享
最新回复 (98)
雪    币: 205
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
火山蚂蚁 2015-5-18 11:04
76
0
学习一下,64位的保护现在越来越火了啊
雪    币: 2
活跃值: (55)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
asaqlp 2015-5-19 20:08
77
0
WIN764驱动加载失败, 加载工具是   http://pan.baidu.com/s/1hq86bPi

下面的一个硬编码按照你的说明改了,从新编译,加载驱动失败

ULONG_PTR GetDbgkDebugobjectAddr()
{
        ULONG_PTR ul_NtCreateDebugObject_addr = 0;
        ULONG_PTR ul_retn = 0;
        ULONG ul_temp = 0;

        // 虚拟机NtCreateDebugObject的偏移是0x45dda0    本机的偏移:0x45a580
        ul_NtCreateDebugObject_addr = ul_KernelBase + 0x45a580;

        ul_temp = *(PULONG)(ul_NtCreateDebugObject_addr + 0x7c + 0x3);

        ul_retn = ((ul_NtCreateDebugObject_addr + 0x7c + ul_temp) & 0xfffffff0ffffffff) + 0x7;

        return ul_retn;
雪    币: 22
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
慢吞吞 2015-5-20 12:18
78
0
哦,双机调试要自己改啊
雪    币: 2
活跃值: (55)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
asaqlp 2015-5-24 09:33
79
0
加载源码蓝屏,我没有游戏,只是编译后测试加载,不懂怎么改
雪    币: 45
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
happytimex 2015-5-25 16:25
80
0
请问楼主是怎么过的虚拟机检测的哦?
雪    币: 22
活跃值: (242)
能力值: ( LV7,RANK:110 )
在线值:
发帖
回帖
粉丝
GeekCheng 2 2015-5-26 07:22
81
0
我也是,加载之后直接蓝屏,准备晚上回来调试一下
雪    币: 699
活跃值: (1133)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
eroy 2015-5-27 21:05
82
0
蓝屏估计跟硬件补丁有关
雪    币: 210
活跃值: (507)
能力值: ( LV4,RANK:40 )
在线值:
发帖
回帖
粉丝
anywhere杨 2015-6-2 17:41
83
0
想问下,你那个Inline Hook IoAllocateMdl,在newIoAllocateMdl里面调用oldIoAllocateMdl这个。这样不会死循环吗,是用的什么第三方类吗。
雪    币: 459
活跃值: (344)
能力值: ( LV8,RANK:120 )
在线值:
发帖
回帖
粉丝
木瓜枫叶 2 2015-6-8 15:12
84
0
楼主,有个问题,请教下,还望不吝赐教。
64位下,替换几个全局变量,全部是相对地址,自己定义变量,来计算的话,4字节不足够跳转。
本来的:fffff800`03eee90b 803dfe191f0000  cmp     byte ptr [nt!KdDebuggerEnabled (fffff800`040e0310)],0
相对地址是:fe191f00
自己定义变量,来计算的地址7FFED0E9FE 5字节,之前的填充不足写入新地址了。
求楼主交流
雪    币: 85
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
狂起来 2015-6-11 13:18
85
0
感谢分享
雪    币: 85
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
狂起来 2015-6-13 10:12
86
0
原来是终止了,看错了
雪    币: 25
活跃值: (506)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
lhb天羽 2015-6-14 21:43
87
0
编译无法通过

1>main.c
1>f:\svn_taobao\drivertp\main.h(55) : error C2143: syntax error : missing ')' before 'type'
1>errors in directory f:\svn_taobao\drivertp
1>f:\svn_taobao\drivertp\main.h(55) : error C2143: syntax error : missing ')' before 'type'
1>f:\svn_taobao\drivertp\main.h(55) : error C2085: 'Dpc' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(55) : error C2085: 'Dpc' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(56) : error C2085: '_In_opt_' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(56) : error C2085: '_In_opt_' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(56) : error C2146: syntax error : missing ',' before identifier 'PVOID'
1>f:\svn_taobao\drivertp\main.h(56) : error C2146: syntax error : missing ',' before identifier 'PVOID'
1>f:\svn_taobao\drivertp\main.h(56) : error C2146: syntax error : missing ',' before identifier 'DeferredContext'
1>f:\svn_taobao\drivertp\main.h(56) : error C2146: syntax error : missing ',' before identifier 'DeferredContext'
1>f:\svn_taobao\drivertp\main.h(57) : error C2085: '_In_opt_' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(57) : error C2085: '_In_opt_' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(57) : error C2146: syntax error : missing ',' before identifier 'PVOID'
1>f:\svn_taobao\drivertp\main.h(57) : error C2146: syntax error : missing ',' before identifier 'PVOID'
1>f:\svn_taobao\drivertp\main.h(57) : error C2146: syntax error : missing ',' before identifier 'SystemArgument1'
1>f:\svn_taobao\drivertp\main.h(57) : error C2146: syntax error : missing ',' before identifier 'SystemArgument1'
1>f:\svn_taobao\drivertp\main.h(58) : error C2085: '_In_opt_' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(58) : error C2085: '_In_opt_' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(58) : error C2146: syntax error : missing ',' before identifier 'PVOID'
1>f:\svn_taobao\drivertp\main.h(58) : error C2146: syntax error : missing ',' before identifier 'PVOID'
1>f:\svn_taobao\drivertp\main.h(58) : error C2146: syntax error : missing ',' before identifier 'SystemArgument2'
1>f:\svn_taobao\drivertp\main.h(58) : error C2146: syntax error : missing ',' before identifier 'SystemArgument2'
1>f:\svn_taobao\drivertp\main.h(59) : error C2059: syntax error : ')'
1>f:\svn_taobao\drivertp\main.h(59) : error C2059: syntax error : ')'
1>f:\svn_taobao\drivertp\main.h(61) : error C2085: 'SearchDriver' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(61) : error C2085: 'SearchDriver' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(65) : error C2085: 'GetDbgkDebugobjectAddr' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(65) : error C2085: 'GetDbgkDebugobjectAddr' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(68) : error C2085: 'PsGetProcessImageFileName' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(68) : error C2085: 'PsGetProcessImageFileName' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(69) : error C2085: 'PsLookupProcessByProcessId' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(69) : error C2085: 'PsLookupProcessByProcessId' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(70) : error C2085: 'PsLookupThreadByThreadId' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(70) : error C2085: 'PsLookupThreadByThreadId' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(71) : error C2085: 'IoThreadToProcess' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(71) : error C2085: 'IoThreadToProcess' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(74) : error C2085: 'SetDPCTimerByDbgAccess' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(74) : error C2085: 'SetDPCTimerByDbgAccess' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(76) : error C2085: 'SetDPCTimerByNotifys' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(76) : error C2085: 'SetDPCTimerByNotifys' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(78) : error C2085: 'SetDPCTimerByFxxkThread' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(78) : error C2085: 'SetDPCTimerByFxxkThread' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(80) : error C2085: 'FindPspCreateProcessNotifyRoutine' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(80) : error C2085: 'FindPspCreateProcessNotifyRoutine' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(81) : error C2085: 'FuckTPProcessNotify' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(81) : error C2085: 'FuckTPProcessNotify' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(83) : error C2085: 'FindPspCreateThreadNotifyRoutine' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(83) : error C2085: 'FindPspCreateThreadNotifyRoutine' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(84) : error C2085: 'FuckTPThreadNotify' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(84) : error C2085: 'FuckTPThreadNotify' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(86) : error C2085: 'FindPspLoadImageNotifyRoutine' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(86) : error C2085: 'FindPspLoadImageNotifyRoutine' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(87) : error C2085: 'FuckTPLoadImageNotify' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(87) : error C2085: 'FuckTPLoadImageNotify' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(90) : error C2085: 'GetVersionAndHardCode' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(90) : error C2085: 'GetVersionAndHardCode' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(91) : error C2085: 'FuckTPObCallbacks' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(91) : error C2085: 'FuckTPObCallbacks' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(93) : error C2085: 'FindGameProcess' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(93) : error C2085: 'FindGameProcess' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(94) : error C2085: 'LookupProcess' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(94) : error C2085: 'LookupProcess' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(95) : error C2085: 'LookupThread' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(95) : error C2085: 'LookupThread' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(96) : error C2085: 'EnumThread' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(96) : error C2085: 'EnumThread' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(105) : error C2085: 'PSPTERMINATETHREADBYPOINTER' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(105) : error C2085: 'PSPTERMINATETHREADBYPOINTER' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(107) : error C2085: 'BYTE' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(107) : error C2085: 'BYTE' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(109) : error C2085: 'Get64bitValue' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(109) : error C2085: 'Get64bitValue' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(110) : error C2085: 'Get32bitValue' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(110) : error C2085: 'Get32bitValue' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(111) : error C2085: 'Set64bitValue' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(111) : error C2085: 'Set64bitValue' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(112) : error C2085: 'Set32bitValue' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(112) : error C2085: 'Set32bitValue' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(113) : error C2085: 'GetFunctionAddr' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(113) : error C2085: 'GetFunctionAddr' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(114) : error C2085: 'InitKillThread' : not in formal parameter list
1>f:\svn_taobao\drivertp\main.h(114) : error C2085: 'InitKillThread' : not in formal parameter list
雪    币: 1724
活跃值: (791)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
ggggg 2015-6-30 16:30
88
0
跟你的情况一个,什么情况?
雪    币: 1
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
wuyudps 2015-7-24 01:15
89
0
这么牛啊,我要看看源码!
雪    币: 39
活跃值: (52)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
chilun 2015-7-27 16:33
90
0
兄弟,KdEnteredDebugger这个地址你怎么得到的,用硬编吗?
雪    币: 203
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
jakeycheng 2015-9-6 02:05
91
0
还不错 挺厉害的!
雪    币: 24
活跃值: (13)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
nervgu 2015-9-21 10:57
92
0
正在学习中
雪    币: 330
活跃值: (83)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
zmdcsa 2015-9-28 08:59
93
0
标记一下 学习了
雪    币: 213
活跃值: (20)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
吉吉哥 2015-10-27 22:34
94
0
之前用大牛的代码各种爽啊
可是前不久更新了,导致无法附加,在tp开启前启动的调试器还有机会附加,但是一附加游戏必消失,tp开启之后的调试器无法附加
想像调试游戏检测一样调试它驱动的保护
翻过软件调试,但是不知道怎么建立 过了pg的 x64双机调试环境,头都开不了

大牛能指点下我这个菜鸟么
雪    币: 2720
活跃值: (4118)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
值得怀疑 2015-10-28 23:00
95
0
调了2处 硬编 也蓝咋办···WIN7 64实体机···· 就开清0 其他2个定时器没开·!!
雪    币: 1480
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
九阴真经 2018-3-27 07:58
96
0
看帖要回,谢谢哦
雪    币: 20
活跃值: (60)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
最爱季节 2018-4-10 08:28
97
0
学习了
雪    币: 94
活跃值: (333)
能力值: (RANK:10 )
在线值:
发帖
回帖
粉丝
wx_时间 2018-4-11 03:47
98
0
学习了
雪    币: 199
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
sgok 2019-2-24 21:47
99
0
请问PsRemoveLoadImageNotifyRoutine调用ExfWaitForRundownProtectionRelease时导致死锁,如何处理
游客
登录 | 注册 方可回帖
返回