FindPOS
- Type
- Infostealer
- Capabilities
- KeyloggingExfiltrationPersistenceDefense evasion
- Platforms
- Windows
FindPOS is a payment-card information stealer targeting Microsoft Windows-based point-of-sale systems. Identified by Palo Alto Networks Unit 42, the family includes variants dating to November 2014. It enumerates running processes, filters them by process ownership, and reads their memory to locate payment-card track data. Later variants validate recovered data using expiration dates and service codes, capture keystrokes, and download and execute additional payloads on command.
FindPOS installs copies of itself under host-derived executable names and establishes persistence through machine-level and user-level Run registry entries. It uses a host-derived global mutex to prevent duplicate instances and deletes its original executable after installation. Some versions can terminate previously installed FindPOS instances.
Stolen card data and captured keystrokes are obfuscated using Base64 encoding combined with single-byte XOR and exfiltrated through HTTP POST requests at approximately two-minute intervals. FindPOS has also been associated with command-and-control infrastructure using self-signed SSL/TLS certificates, including a certificate with an invalid, negative validity interval. Its principal targets are Windows POS environments handling payment-card transactions.
Techniques & procedures
14 distinct techniques documented for this family, organized by ATT&CK tactic.
Persistence
2 techniques
Persistence
The malware will proceed to spawn a new instance of %SystemRoot%\System32\[name].exe via a call to CreateProcessA.
Should these file copy operations prove successful, the malware will write the following registry keys: HKLM\Software\Microsoft\Windows\CurrentVersion\Run ... HKCU\Software\Microsoft\Windows\CurrentVersion\Run ...
Privilege Escalation
3 techniques
Privilege Escalation
In the event a process is not filtered, memory is scraped via calls to VirtualQueryEx and ReadProcessMemory.
The malware will proceed to spawn a new instance of %SystemRoot%\System32\[name].exe via a call to CreateProcessA.
Should these file copy operations prove successful, the malware will write the following registry keys: HKLM\Software\Microsoft\Windows\CurrentVersion\Run ... HKCU\Software\Microsoft\Windows\CurrentVersion\Run ...
Stealth
4 techniques
Stealth
Upon execution, FindPOS will generate a lowercase alphabetic executable name of eight characters... This executable name is then compared against the original executable name... FindPOS proceeds to copy itself to the following directories using the executable name that was previously generated.
In the event a process is not filtered, memory is scraped via calls to VirtualQueryEx and ReadProcessMemory.
cmd.exe /c del [original_executable_path] >> NUL Should the CreateProcessA call... prove successful, FindPOS will attempt to delete the original executable using the same technique previously seen.
After installation of FindPOS is successful, the malware will create a global mutex in order to ensure only one instance of FindPOS is running.
Credential Access
2 techniques
Credential Access
The malware proceeds to log keystrokes and mouse clicks. This data is exfiltrated every two minutes.
Starting in version 5.90, the author of FindPOS began adding keylogging to this family... registering itself as a raw input device, and making calls to the GetRawInputData API is used.
Discovery
1 technique
Discovery
This particular family determines the owner of every process on the system, via calls to EnumProcesses, OpenProcess, GetTokenInformation and LookupAccountSid.
Collection
3 techniques
Collection
The malware in question has the ability to scrape memory for track data... When a card is swiped on a POS terminal, and the transaction is processed, the card data will often reside in memory unencrypted for a brief period of time.
The malware proceeds to log keystrokes and mouse clicks. This data is exfiltrated every two minutes.
Starting in version 5.90, the author of FindPOS began adding keylogging to this family... registering itself as a raw input device, and making calls to the GetRawInputData API is used.
Command and Control
3 techniques
Command and Control
Over the last six years there has been an increased shift by malware authors to secure their C&C communications using the SSL/TLS protocol to stymie detection and blend in with normal traffic.
In addition to data exfiltration, FindPOS added the ability to download/execute further malware. Upon sending an exfiltration request, should the server respond with a 0x1 or 0x4 byte, followed by a URL, this file will be downloaded and subsequently executed.
Such measures include, but are not limited to, configuring two-factor authentication for any remote access services (LogMeIn, VNC, RDP, etc.)... It is most likely that this sample was dropped on a machine that was administering multiple POS machines.
Exfiltration
1 technique
Exfiltration
Exfiltration for FindPOS takes place via HTTP POST requests... Any discovered track data is stored in memory until exfiltration occurs. This data is exfiltrated via the ‘data’ POST parameter.
Observables
2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.