Resetting hardware state after nation state level attack