[反反调试] 时间

参考

关于时间反调试方法参考这里

windows 获取系统时间的函数:

void GetLocalTime(
  LPSYSTEMTIME lpSystemTime
);

void GetSystemTime(
  LPSYSTEMTIME lpSystemTime
);

BOOL QueryPerformanceCounter(
  LARGE_INTEGER *lpPerformanceCount
);

BOOL QueryPerformanceFrequency(
  LARGE_INTEGER *lpFrequency
);

CTime::GetCurrentTime();

DWORD GetTickCount();

DWORD timeGetTime(VOID); 


c 标准库获取系统时间的函数:

// 注意,在调试器中对这个函数下断点时,函数名为 _time64(32位的可能是_time32或_time32)
time_t time(time_t *seconds)

过程

所有函数下端后运行程序,断在 _time64 下:
在这里插入图片描述

暴力 ret 掉:
在这里插入图片描述
已经没有了 “found Debugger.” 的提示。

猜你喜欢

转载自blog.csdn.net/Simon798/article/details/109579095
今日推荐