News for hackers. Stuff that matters.
Re:How breakpoints are set by mappu on Tuesday October 18, 2016 @03:28AM (#12732719)
An ideal debugger can't be detected.

In the specific case of x86 and int3 bps, you can abuse variable-length instruction encoding to jump into the middle of another instruction. Then code execution can differ depending on the presence of 0xcc.

Re:How breakpoints are set by userbinator on Tuesday October 18, 2016 @04:43AM (#12732946)
One common trick was to make the code itself part of a calculation for decrypting/checksumming/encryption/etc., so any modifications would cause a silent failure much later.
Re:How breakpoints are set by crististm on Tuesday October 18, 2016 @07:08AM (#12733399)
The game King's Keep on Sinclair Spectrum was (in a way) like that. It had one or two obfuscated subroutines for xor encoding the main program. They were pretty well localized so once I identified them, decompiling the rest was trivial.

Fun times then and now :)