Protection against automation

前端 未结 7 1517
轻奢々
轻奢々 2020-12-31 19:35

One of our next projects is supposed to be a MS Windows based game (written in C#, with a winform GUI and an integrated DirectX display-control) for a customer who wants to

7条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-31 20:20

    I have no deeper understanding on how PunkBuster and such softwar works, but this is the way I'd go:

    Iintercept calls to the API functions that handle the memory stuff like ReadProcessMemory, WriteProcessMemory and so on.

    You'd detect if your process is involved in the call, log it, and trampoline the call back to the original function.

    This should work for the screenshot taking too, but you might want to intercept the BitBlt function.

    Here's a basic tutorial concerning the function interception: Intercepting System API Calls

提交回复
热议问题