Automate targeting systems by forcing the player's crosshair to lock onto enemy hitboxes (frequently the head).
[ Injector Program ] │ ▼ (Uses OpenProcess API) [ Target: hl.exe Memory Space ] │ ▼ (Allocates Virtual Memory via VirtualAllocEx) [ Injects Path to Cheat.dll ] │ ▼ (Executes CreateRemoteThread calling LoadLibrary) [ Cheat.dll Executed inside CS 1.6 ]
Since CS 1.6 uses the , most visual cheats like wallhacks are achieved by "hooking" into the opengl32.dll functions.
As anti-cheat measures became more sophisticated, so did the cheats. This gave rise to the modern DLL injector. Hackers realized that instead of altering the game files directly (which changed the file size and hash, making them easy to detect), they could inject a separate DLL file into the game's memory space while the game was running.