Distinguishing attack