debugprotector

Advanced antidebugger using assembly calls and winapi functions

3 releases

0.1.4 Feb 27, 2023
0.1.3 Feb 26, 2023
0.1.2 Feb 26, 2023
0.1.0 Feb 26, 2023

MIT license

10KB
205 lines

debugprotector

Using default method

Default method will check debugger and self kill program

use debugprotector::detect;

fn main() {
  detect();
}

Using single method.

This crate have the following functions:

use debugprotector::antidbg;

antidbg::adbg_is_debugger_present();
antidbg::adbg_being_debugged_peb();
antidbg::adbg_nt_global_flag_peb();
antidbg::adbg_check_remote_debugger_present();
antidbg::adbg_check_window_class_name();
antidbg::adbg_check_window_name();
antidbg::adbg_process_file_name();

Dependencies

~3MB
~69K SLoC