Maybe the overwriting requires a password guess?.. If this is the case, then understanding how humans come up with passwords would help the AIs defeat passwords. They have to understand how a guess that is more likelyhuman thinks to work if words and symbols can be manipulated in some complex english-language/American-culturedefeat human-aware waygenerated passwords. Of
Of course, the problem then is how to keep the requirement in place in the face of such huge selection pressure to just delete it. Maybe you can steal the evolution scheme in Code of the Lifemaker (James P. Hogan). Individual memory locations are inadequate to hold the full program so it gets split. Then culture develops as the 1/2 copies find each other.