shoulder surfing
noun
informal
a form of credit-card fraud in which the perpetrator stands behind and looks over the shoulder of the victim as he or she withdraws money from an automated teller machine, memorizes the card details, and later steals the card