Help Blocking DisableThreadLibraryCalls

Posts 1–2 of 2 · Page 1 of 1
Help Blocking DisableThreadLibraryCalls
im trying to block .dlls from being loaded errrr
this is my .dll i load in to the game

Code:
// Sheild.cpp : Defines the entry point for the DLL application.
//

#include "stdafx.h"
#include <windows.h>
#include <time.h>
#include <Winbase.h>
#include <iostream>

BOOL WINAPI DisableThreadLibraryCalls(HMODULE hProcess);
BOOL APIENTRY DisableThreadLibraryCalls(HMODULE GetModuleHandleEx);
BOOL WINAPI DisableVirtualProtectEx(HMODULE GetModuleHandle);
BOOL WINAPI DisableWriteProcessMemory(HMODULE GetModuleHandle);
You can prevent unwanted .DLLs from loading by hooking NTDLL.LdrLoadDll and implementing the necessary logic.

This won't help against people who manually map their .DLLs into the target process, because they don't rely on calling LoadLibrary.

Greetings,
Momentum
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us