Anti-cheat programs have “predefined” tables in the form below, for each game they’re verifying:
File Name | File Hash
When a game is booted (via Steam, Origin etc.), this type of program (i.e. BattleEye, AntiTCC mutator for older Unreal Tournament games), compares what the player is has in their PC against what the player is supposed to have. This method is a reliable form of protection against most mainstream cheats, such as wall-hacks, radars and any injections of any form (i.e. players delete meshes in order to see through buildings or modify a DLL/SO to call custom functions).