Payment skimming attacks follow a well-established pattern. The hackers may achieve three steps to be successful.
Compromising a trusted website
Hackers gain access to trusted e-commerce website and inject malicious scripts as social media sharing buttons that mimic platforms such as Facebook, Twitter, and Instagram in the checkout page.
Once the victim enters the payment details, the script automatically gains sensitive information including credit card numbers, credential details and other personal information entered on the checkout page even without clicking on the fake social-sharing buttons.
Send information back to their server
The data entered by the user is extracted and sent to the computer servers controlled by the attacker for commit further fraudulent activities.