Re:How breakpoints are set
by dracht on Tuesday October 18, 2016 @06:21AM
(#12733244)
There's a bunch of ways. Some are obvious (like a call to IsDebuggerPresent()) and some not so much (like tripping some exception that only gets thrown when a process is not being debugged). Youtuber MalwareAnalysisForHedgehogs[0] has some interesting videos about this and anti-reversing tricks in general.
https://www.youtube.com/channel/UCVFXrUwuWxNlm6UNZtBLJ-A