README.md

December 4, 2022 ยท View on GitHub

Hide Your Program

Description

This code hides your applicatoin from CTRL+ALT+DEL List. Useful for spying purpose. Plz Do vote Me. or mail me for info , sirdneo@yahoo.com

More Info

Submitted On
ByM. Zeeshan Umar
LevelIntermediate
User Rating3.8 (15 globes from 4 users)
CompatibilityMicrosoft Visual C++
CategorySecurity
WorldC / C++
Archive File

Source Code

void Hide(void)
{
	typedef DWORD (__stdcall *pRegFunction)(DWORD, DWORD);
	HINSTANCE		hKernelLib;
	pRegFunction	RegisterServiceProcess;
	hKernelLib = LoadLibrary("kernel32.dll");
	if (hKernelLib)
	{
		RegisterServiceProcess = (pRegFunction)GetProcAddress(hKernelLib, "RegisterServiceProcess");
		if (RegisterServiceProcess)
			RegisterServiceProcess(GetCurrentProcessId(), 1);
		::FreeLibrary(hKernelLib);
	}						//change 1 to 0 for ctrl+alt+del to view app
}