Implementation of a memory attack simulation