Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
software protection
#2
(09-25-2018, 07:38 AM)Madammar Wrote: is there any suggested way to harden some code function from being stepped by debuggers

Not really. If a debugger is able to gain access to your process, it is pretty much game over. There is nothing you can do, except obscure your code logic to make it harder for casual debuggers to follow. But as far as memory is concerned, if a devoted debugger really wants to figure out exactly where in your code you are using a key, then they can just wait for your obscure logic to populate the key in memory, and then put a breakpoint at the spot in the code where you use the key, and grab it.

Then there are issues related to memory paging to swap files, memory dumps (such as during error reports), etc. They can also reveal keys in memory if you are not careful. Best you can do is reduce the window of opportunity when a key is available in memory, but you can't eliminate it completely.

Reply


Messages In This Thread
software protection - by Madammar - 09-25-2018, 07:38 AM
RE: software protection - by rlebeau - 09-25-2018, 05:10 PM
RE: software protection - by kudzu - 09-25-2018, 06:02 PM
RE: software protection - by rlebeau - 09-25-2018, 07:22 PM
RE: software protection - by kudzu - 09-25-2018, 07:58 PM
RE: software protection - by Madammar - 09-26-2018, 06:11 AM
RE: software protection - by kudzu - 09-26-2018, 02:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)