TinyPOS
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
Legitimate user accounts, including an administrator account, were compromised as part of this phishing attack and were used by the threat actors to login to the merchant’s environment.
Initial access to the merchant network was obtained through a phishing campaign that targeted employees at the merchant.
Execution
2 techniques
Execution
The batch file contains a call to powershell.exe and a provided base64 encoded command. The command is a standard implementation of reflective injection using PowerShell
1. A .bat file executes a PowerShell script
Persistence
1 technique
Persistence
Legitimate user accounts, including an administrator account, were compromised as part of this phishing attack and were used by the threat actors to login to the merchant’s environment.
Privilege Escalation
2 techniques
Privilege Escalation
Once a target process has been located the shellcode parses the memory for credit card track data
Legitimate user accounts, including an administrator account, were compromised as part of this phishing attack and were used by the threat actors to login to the merchant’s environment.
Stealth
5 techniques
Stealth
The attackers appended raw shellcode after the end of file (EOF) marker for the PNG file. This is an old tactic that allows the file to be properly rendered by an image viewer, while still concealing the appended data.
Once a target process has been located the shellcode parses the memory for credit card track data
Legitimate user accounts, including an administrator account, were compromised as part of this phishing attack and were used by the threat actors to login to the merchant’s environment.
4. The shellcode decodes itself into the TinyPOS malware
The command is a standard implementation of reflective injection using PowerShell that is prevalent in many open source frameworks.
Discovery
1 technique
Discovery
The shellcode will then enumerate the processes running on the system and specifically look for process names which contain partial names of specific POS software.
Lateral Movement
1 technique
Lateral Movement
The actors then used legitimate administrative tools to access the cardholder data environment (CDE) within the merchant’s network.
Collection
2 techniques
Collection
Once a target process has been located the shellcode parses the memory for credit card track data (specifically Track 1 & 2 data)
used a batch script to mass deploy the malware across the merchant’s network to target various locations and their respective POS environments
Command and Control
1 technique
Command and Control
The shellcode then XOR encodes the scraped data and saves it to the following output log file
Observables
38 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.