Skip to content

manipulates your files process information to prevent debuggers from attaching

Notifications You must be signed in to change notification settings

kaiiskirrrrr/anti-attach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

I have gone through x64dbgs source code and looked at their attachment process, i see they use CheckRemoteDebuggerPresent to make sure your program isnt already being debugged, if it is it throws a error and doesnt let you attach. Meaning if we exploit this and manipulate our process information to make x64dbg think it is already debugging your program, x64dbg wont be able to attach.

how to implement

  1. include attachment.hxx
  2. call the "start" function at the very start of your program, example below:
auto main(int argc, char* argv[]) -> int
{
	c_already_debugged->start(argc, argv);

	printf("attachment disabled\n");
	std::cin.get();

	return 0;
}

showcase:

2024-09-25.23-42-46.mp4

About

manipulates your files process information to prevent debuggers from attaching

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages