吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 3925|回复: 6
收起左侧

[Debuggers] DebugDetector v 0.1

[复制链接]
Hmily 发表于 2012-7-18 16:21
https://github.com/zer0fl4g/DebugDetector

DD - DebugDetectorNotes
  • This tool should help to test if your debugger is invisible against the targets. Maybe some can learn something about the anti debug techniques while browsing the source. Of course the most things are easy to bypass but you should see what you need to fix in your debugger
  • If you have some ideas, other techniques (no time related things currently) or other suggestions than feel free to contact me!

    • zer0fl4g[at]gmail[dot]com

Ideas & Techniques & collected LinksToDo
  • Add more Plugins
  • Add bad driver names
  • Add custom window titel depending on detection
  • fix x64 support
Changelog v0.2
  • added color on detection
  • added better error reporting on plugins
  • added OSVersion parameter to plugins
  • added NtYieldExecution plugin (by Aguila)
  • added CheckHeapMemory plugin
  • added some new windows to the FindBadWindow plugin
  • fixed a Windows XP display problem
Features
  • Plugin Interface
    • simple to use
    • error messages
  • Show percentage of detection
  • 18 Plugins
    • DebugObject
      • Using NtQueryInformationProcess to see if there are Debugging Objects for our process
    • CheckRemoteDebuggerPresent
      • simple api which checks if a debugger is present
    • HardwareBreakpoint
      • checking the current thread for breakpoints in CONTEXT.dr0 - .dr3
    • IsDebuggerPresent
      • simple api which checks if a debugger is present
    • MemoryBreakpoint
      • places a page guard and in case there is no exception we know that we are debugged
    • OpenCSRSS (doesn′t work anymore ?)
      • Opens a handle for csrss , should not be able to without DebuggingFlag
    • OutputDebugString
      • if eax == 1 we are in normal mode. else offset of string is found in eax
    • ParentProcess
      • normaly we run with explorer.exe as parent
    • ProcessDebugFlags
      • uses NtQueryInformationProcess to check if our process has debugflags
    • Unhandled Exception
      • raises a division by 0 exception and in case we are not debugged everything wents good since we capture the exception
    • PEB.BeingDebugged
      • Checks the Process Enviroment Block if the debugbit is set
    • PEB.GlobalFlags
      • checks if flag is set in PEB (FLG_HEAP_ENABLE_TAIL_CHECK && FLG_HEAP_ENABLE_FREE_CHECK && FLG_HEAP_VALIDATE_PARAMETERS)
    • PEB.ProcHeapFlag
      • checks if the ForceFlag is set in the PEB
    • FindBadProcesses
      • enums the process list and checks if given processes are running
    • FindBadWindows
      • enums the window list and checks if given windows are found
    • FindBadDrivers
      • enums the driver list and checks if given drivers are found
    • NtYieldExecution (by Aguila)
      • NtYieldExecution returns STATUS_NO_YIELD_PERFORMED if there is no other thread ( e.g debugger) but often fails if the system is overloaded and doesn′t allow a switch (not a good method)
    • CheckHeapMemory
      • allocs memory in the heap and checks if FEEEABABABABABABABAB (exists only on debug mode as overflow detection) is there


zer0fl4g-DebugDetector-636da1f.zip

446.07 KB, 下载次数: 24, 下载积分: 吾爱币 -1 CB

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

头像被屏蔽
小叨 发表于 2012-7-18 16:26
提示: 作者被禁止或删除 内容自动屏蔽
Sound 发表于 2012-7-18 16:27
添加到OSVERSION参数插件

上班呢 先下载 晚上回去试试 Thanks 大黑
lyq_superior 发表于 2012-7-18 16:41
转身 发表于 2012-7-19 02:53
完全看不懂了。。好像是什么调试器?
面面 发表于 2012-7-19 16:51
崇拜Hmily好外语
发帖都用洋玩意
经过翻译才知道
可是调试探测器
a765058024 发表于 2012-7-19 21:26
Hmily不一般,顶一下
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-5-2 10:56

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表