好友
阅读权限10
听众
最后登录1970-1-1
|
本帖最后由 flexlm 于 2022-2-13 22:59 编辑
工具:Baymax Patch Tools v2.9.5.4/x64 v2.5.4(20年6月8号更新)
操作系统:windows 10 (x64位)
目标程序:xflex.exe
.text:0000000140020D0B 03 05 8F 34 1D 00 add eax, cs:dword_1401F41A0
1401F41A0这里本来是0x7D,我测试改成0x69
(1)运行Baymax64.exe,加载xflex.exe
(2)读取内存数据
(3)修改内存数据
(4)创建劫持补丁
最后测试失败了,不知道错在哪里了。。
启用注入模式后的日志信息:
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: PYG.DLL ver: 3.0.1.1035 模块加载
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: Process Attach:H:\xxflex.exe
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: Not Find Baymax IniFile
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: Proc xxflex.exe Module xxflex.exe Name xxflex.exe
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: Proc xxflex.exe Module xxflex.exe Name xxflex.exe
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 设置断点补丁条目
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 非 NS_TYPE_SETRVABREAK 类型 0
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 断点补丁地址 00007FF777200D0B 补丁数据 SD:[B:0,V:2,R:0,T:0]:S,ID_SAVENAME_1,G,Q
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 设置断点
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 解析异常断点数据成功 ThreadId: 4792
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 设置硬件断点 00007FF777200D0B Type DR0 DR7 1
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 获取线程硬件断点成功 00007FF777200D0B
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 设置硬件断点成功 DR0
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 断点补丁地址 00007FF777200D0B 补丁数据 SA,0:[B:0,V:2,R:0,T:0]:U,ID_SAVENAME_1,I,D,69
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 设置断点
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 解析异常断点数据成功 ThreadId: 4792
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 设置硬件断点 00007FF777200D0B Type DR0 DR7 401
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 获取线程硬件断点成功 00007FF777200D0B
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 设置硬件断点成功 DR0
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 初始化完成 ...
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: End StartHook()
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 补丁设置初始化完成,若有HOOK或下断点操作,将会在下方进行打印输出。
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 找到 DrX 对应的 2 处断点记录
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 触发硬件断点 ThreadId 4792,4792 BreakType: 0, DrxType 0 RetType -1
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 当前断点符合触发条件并进行处理 00007FF777200D0B
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: NsFixThreadContext Type 5
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: Get Global Addr
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: Save Global Address 00007FF7773D41A0 Type 7
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: Set SavedMap 1 Name ID_SAVENAME_1 Type 7
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 触发硬件断点 ThreadId 4792,4792 BreakType: 0, DrxType 0 RetType -1
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 当前断点符合触发条件并进行处理 00007FF777200D0B
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: NsFixThreadContext Type 6
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: NS_BREAK_MEMORY 类型 ... 00007FF777200D0B
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 修改数据的内存地址: 00007FF7773D41A0
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 内存补丁 src 0000008E0000007D 类型 0
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 内存补丁 fix 0000008E00000069 Get 1
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 已处理该异常 00007FF777200D0B
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 进入循环断点设置 ThreadId: 4792 DR0 0000000000000000 DR1 0000000000000000 DR2 0000000000000000 DR3 0000000000000000 DR7 0000000000000401
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: Proc xxflex.exe Module xxflex.exe Name xxflex.exe
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 断点条目已添加过该线程 4792
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 断点条目已添加过该线程 4792
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 断点条目已添加过该线程 4792
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 断点条目已添加过该线程 4792
2022-02-13 22:58:07:265: [P12084][BAYMAX64][T4792]: 离开断点设置 ThreadId: 4792 DR0 0000000000000000 DR1 0000000000000000 DR2 0000000000000000 DR3 0000000000000000 DR7 0000000000000401
|
-
创建劫持补丁
-
修改内存数据
-
读取内存数据
-
加载xflex.exe
-
提示信息
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|