Protecting Save Files Against Tampering
摘要
This chapter explains how save files can be protected against behavioral, structural, temporal, and semantic tampering after cryptographic validation has already been applied. It shows that encryption and HMAC checks can prove that a file has not been altered at the byte level, but they cannot confirm whether the saved values still make sense within the game’s rules. The chapter introduces techniques such as trap variables, implausibility checks, rollback detection, device fingerprinting, snapshot hashing, session correlation, cross-field validation, progression curve analysis, reverse-diff reconstruction, and reputation scoring. These systems help detect duplicated saves, impossible progression, repeated exploit loops, and suspicious value spikes. Overall, the chapter presents save-file protection as an active defense layer that evaluates not only whether a save is valid, but whether it is believable, consistent, and trustworthy.