Blocking Attacks in Runtime with Drift Prevention