Skip to main content

Code Randomization

Definition

Code randomization is a security technique that alters the internal structure of software code to make attacks more difficult. This method involves changing memory addresses or instruction sequences without affecting program functionality, often applied to executable files or runtime environments. It acts as a defensive measure against memory-based exploits, such as buffer overflows or return-oriented programming, by making attack predictability low. The technique increases the effort required for attackers to reliably target specific code locations.