Point of sale systems are attractive because, at some moment in every card-present transaction, card data is in clear text on a device the merchant has to secure, and in a retail estate there may be thousands of those devices. The large retail breaches of the last decade followed a repeating pattern: stolen remote access or vendor credentials, lateral movement into the store network, malware that scraped card data from POS memory, and slow, quiet exfiltration. Point-to-point encryption (P2PE) moves the encryption into the payment terminal so that the POS application never sees readable card data, which removes most of that pattern. This guide explains the POS attack chain from a defender's view, how P2PE and validated terminals change it, how to harden and monitor POS endpoints and their remote access, and how it maps to PCI DSS. It is written for retail and hospitality security teams, payment and store systems engineers and assessors. For the full PCI DSS picture see the PCI DSS 4.0 Guide; this page concentrates on the store and terminal layer.
Key takeaways
- Encrypt at the terminal. A PCI-listed P2PE solution encrypts account data from the point of capture in the payment device to a secure decryption environment, so POS memory scraping yields only ciphertext and PCI DSS scope shrinks.
- Remote access is the usual front door. Vendor and support remote access to stores, often with shared or weak credentials, is the most common way in. Require MFA, individual accounts and brokered, time-limited sessions.
- POS terminals are fixed-function devices: lock them down. Application allow-listing (for example Windows App Control for Business), removal of unused services and blocking of outbound Internet access make malware hard to run and harder to exfiltrate from.
- Protect the payment device physically. PCI DSS expects a list of payment terminals, periodic inspection for tampering and substitution, and staff trained to spot skimming overlays and swapped devices.
- Store networks need segmentation and monitoring like any OT estate. Separate POS, payment, guest Wi-Fi and back-office systems, and alert on new processes, new outbound destinations and remote logins on POS hosts.
The POS attack chain, from a defender's view
| Stage | What defenders typically see | ATT&CK reference | Primary control |
|---|---|---|---|
| Initial access | Logins through remote desktop or remote support tools exposed for vendors; brute forcing of those services; phished or stolen third-party credentials | T1133 External Remote Services; T1110 Brute Force; T1078 Valid Accounts | MFA, brokered vendor access, no Internet-exposed remote desktop |
| Lateral movement into stores | Use of RDP or remote management tools from a back-office or head-office host to many POS terminals | T1021.001 Remote Desktop Protocol; T1219 Remote Access Tools | Segmentation, allow-listed management paths, local admin control |
| Credential theft | Dumping of credentials on store servers to obtain domain or local administrator rights shared across stores | T1003 OS Credential Dumping | Unique local admin passwords, tiered admin model |
| Collection | Unknown processes reading POS application memory; keyloggers on manual entry stations | T1005 Data from Local System; T1056.001 Keylogging | P2PE so memory holds no clear data; application allow-listing |
| Staging and exfiltration | Card data aggregated on an internal server, then sent out over common protocols at low volume | T1041 Exfiltration Over C2 Channel | Egress filtering, DNS and proxy monitoring, no direct Internet from POS |
| Supply chain | Compromise of a POS software vendor or integrator update channel | T1195.002 Compromise Software Supply Chain | Signed updates, vendor assurance, change detection |
The common thread is that the attacker needs clear-text card data in a place they can reach. Every control below either removes clear-text data from the POS host or stops the attacker reaching and leaving it.
Point-to-point encryption and validated devices
The PCI Security Standards Council's P2PE Standard sets security requirements and test procedures for P2PE solutions, components and applications. It covers the chain from the point account data is captured in the merchant's payment device to the point it is decrypted, so data is unreadable in transit and of little value if stolen from the store network. PCI SSC states that merchants using PCI-listed P2PE solutions have fewer applicable PCI DSS requirements, and P2PE assessors trained by PCI SSC validate listed solutions.
| Approach | Where data is encrypted | Effect on POS host risk | PCI DSS scope |
|---|---|---|---|
| No terminal encryption (legacy integrated POS) | Not until it leaves the POS application, if at all | Full: memory scraping and keylogging capture card data | POS hosts, store network and connected systems fully in scope |
| PCI-listed P2PE solution | In the PCI-approved payment terminal, at capture | POS host never handles clear account data | Greatly reduced; merchant follows the solution's instructions and protects devices |
| Non-listed end-to-end encryption | In the terminal, under the provider's own design | Similar technical benefit if well designed | Scope reduction depends on assessor and acquirer acceptance, not automatic |
| Tokenisation after authorisation | Card number replaced by a token for storage | Protects stored data, not data in memory at capture | Reduces storage scope; combine with P2PE for capture |
| Mobile acceptance on COTS devices (PCI MPoC) | On a smartphone or tablet using a listed MPoC solution | Depends on the solution's attestation and monitoring | Follow the listed solution's requirements |
- Terminals: use payment devices approved under the PCI PIN Transaction Security (PTS) Point of Interaction programme and check the approval expiry on the Approved PTS Devices listing when planning refresh cycles.
- Mobile acceptance: PCI MPoC builds on the earlier SPoC and CPoC standards and allows PIN and contactless data to be accepted on the same commercial device; choose from the MPoC Products and Solutions listing.
- What P2PE does not fix: it does not stop ransomware taking down stores, fraud using the POS application's functions (refunds, gift cards), or theft of personal data in loyalty systems. Store security still matters.
- Compliance decisions: PCI SSC notes that the payment brands, not the Council, decide which entities must validate and whether listed products are required. Confirm with your acquirer.
Hardening POS endpoints
POS terminals and store servers are fixed-function systems with a small, stable software set, which makes strict hardening practical.
- Application allow-listing: Microsoft App Control for Business moves Windows from "all code runs unless antivirus flags it" to "code runs only if policy allows it", and also governs scripts, MSI packages and interactive PowerShell (which runs in Constrained Language Mode). Build the policy in audit mode on a pilot store, then enforce. See the Application Allowlisting Guide.
- Anti-malware alongside allow-listing: Microsoft is explicit that App Control complements and does not replace antivirus.
- Minimal services: remove browsers, email clients and unused services from POS images; disable USB mass storage where the hardware allows; block local administrator use by staff.
- Golden images and integrity: deploy from a signed, versioned image and detect drift with file integrity monitoring on POS application folders and startup locations.
- Patching: stage POS OS and application updates through a pilot ring of stores, with a tested rollback image, because a failed update can stop trading across a region.
- Legacy operating systems: many estates still run embedded or out-of-support Windows versions. Where replacement is not yet possible, compensate with allow-listing, network isolation and P2PE, and record the exception.
Remote access and identity
Most POS compromises are identity compromises first. The store estate is full of shared and machine credentials.
| Identity | Risk | Control |
|---|---|---|
| POS vendor and integrator support accounts | Shared accounts on always-on remote tools, reused across many merchants | Individual accounts, MFA for all remote network access, session approval, recording and expiry. See the Vendor Privileged Access Management (VPAM) Guide |
| Local administrator accounts on POS and store servers | Same password on every terminal enables estate-wide movement | Unique, rotated local admin passwords (for example Windows LAPS); no interactive use by staff |
| Service accounts for POS software, payment middleware and polling | Domain rights, passwords embedded in scripts or configuration files | Least privilege, vaulted credentials, no hard-coded passwords. See the PCI DSS Requirements for Service Accounts and NHIs Guide (8.6) |
| Store staff logins | Shared till PINs or generic manager accounts used for refunds and overrides | Individual credentials for privileged functions, review of override and refund patterns |
| Software distribution and management tools | The tool that pushes updates to every POS can also push malware | Treat as Tier 0 for the store estate: MFA, restricted admins, signed packages, monitored changes |
Store network segmentation
- Separate zones: POS terminals and payment devices; store servers; back-office PCs; guest and staff Wi-Fi; IoT such as cameras, digital signage and HVAC controllers. Each zone gets explicit allowed flows only.
- Outbound control: POS terminals should only reach the store server, the payment gateway or P2PE host and the management platform. Deny all other egress and log denials.
- Head office to store: management flows from head office use defined jump hosts and protocols, not open RDP from the corporate network.
- Scope evidence: document segmentation and test it, since it underpins the PCI DSS scope. See the PCI DSS Scoping and Network Segmentation Guide.
Implementation roadmap
- Inventory. Record every POS terminal, payment device (model, serial, PTS approval and expiry), store server, remote access path and vendor account, store by store.
- Close remote access gaps first. Remove Internet-exposed remote desktop and always-on vendor tools, introduce MFA and a broker, and rotate shared vendor credentials. This gives the fastest risk reduction.
- Choose the encryption path. Engage the acquirer on a PCI-listed P2PE solution, plan the terminal refresh and confirm the scope impact with your QSA before signing.
- Pilot hardening in audit mode. Build the allow-listing policy and egress rules in audit or log-only mode in a few pilot stores, covering every till workflow including end-of-day and offline mode.
- Enforce in rings. Move pilot stores to enforcement, then regions, with a rollback image and a store support runbook ready. Avoid peak trading periods.
- Train stores. Teach staff to inspect payment devices for tampering, check serials against the list and challenge anyone claiming to be a technician.
- Monitor and test. Centralise POS and store server logs, test segmentation, and run tabletop exercises for a suspected card data compromise, including forensic investigator engagement and acquirer notification.
Small versus large merchants: a small merchant with a few standalone terminals gets most of the benefit by using a PCI-listed P2PE solution from its acquirer, keeping terminals off the general network and never allowing vendor remote access without MFA. A large retailer needs all of the above at scale, with central allow-listing, LAPS-style local admin management, a vendor access broker and a store SOC capability.
Detection and measurement
Alert on new or unsigned processes on POS hosts, App Control audit or block events, new services or scheduled tasks, remote logins to POS terminals outside maintenance windows, use of remote access tools not on the approved list, large or unusual outbound connections from store networks, and payment terminal serial changes or tamper alerts.
| Metric | Target |
|---|---|
| Card-present transactions captured through a P2PE solution | Rising to 100% |
| POS hosts with application allow-listing in enforce mode | All, legacy exceptions listed |
| Vendor remote sessions with MFA and an individual account | 100% |
| Stores with unique local administrator passwords | 100% |
| Payment devices inspected on schedule and matched to the device list | 100% per inspection cycle |
| POS hosts with direct Internet egress | Zero |
Responding to a suspected card data compromise
- Contain without destroying evidence: isolate affected store segments and block identified exfiltration destinations, but do not reimage POS terminals until memory and disk evidence has been captured.
- Bring in the right parties early: the acquirer and payment brands set notification and forensic investigation requirements for card data compromises, which may include a PCI Forensic Investigator. Agree contacts in advance.
- Rotate what the attacker touched: vendor accounts, local administrator passwords, service accounts and any management tool credentials used during the intrusion, not only the passwords of affected staff.
- Find the common point: breaches that hit many stores usually share a single entry point such as a vendor account or software distribution tool. Fix that before declaring recovery.
Framework mapping
| Control area | PCI DSS v4.0.1 | NIST and other references |
|---|---|---|
| Payment device tampering and substitution | Requirement 9.5.1 and sub-requirements: list of POI devices, periodic inspection, staff training | NIST SP 800-53 SR-9 Tamper Resistance and Detection, PE-3 |
| Anti-malware and allow-listing | Requirement 5 (protect systems against malicious software) | SP 800-53 SI-3, CM-7; NIST CSF 2.0 PR.PS-05 |
| Remote access MFA | Requirement 8.4 (MFA, including for remote network access) | SP 800-53 AC-17, IA-2 |
| System and application accounts | Requirement 8.6 | SP 800-53 IA-5 |
| Encryption of account data in transit | Requirement 4; P2PE Standard for terminal encryption | SP 800-53 SC-8; CSF 2.0 PR.DS-02 |
| Segmentation and scope | Scoping guidance and Requirement 1 network security controls | SP 800-53 SC-7 |
| Logging and change detection | Requirements 10 and 11.5 | SP 800-53 AU-6, SI-7 |
Requirement numbers above are given for orientation; read the current PCI DSS text in the PCI SSC document library for exact wording and testing procedures.
Common failure patterns
- Vendor remote access with shared passwords. A POS integrator uses one account and password across many customers, and remote desktop is open to the Internet. One stolen credential reaches every store.
- Same local admin password on every till. One compromised terminal gives the attacker the whole estate.
- Encryption that starts too late. Card data is encrypted only after the POS application has handled it, leaving memory scraping effective.
- Flat store networks. Guest Wi-Fi, cameras, HVAC controllers and POS share a network, so any weak device becomes a path to payment systems.
- Allow-listing left in audit mode. The policy is deployed but never enforced, so it records malware instead of stopping it.
- No device inspection. Terminals are never checked against a serial list, so overlays and swapped devices go unnoticed for weeks.
Practitioner checklist
- Maintain a store-by-store inventory of POS hosts, payment devices (with PTS approval expiry) and remote access paths.
- Adopt a PCI-listed P2PE solution and confirm the scope impact with your acquirer and QSA.
- Remove Internet-exposed remote desktop and require MFA and individual accounts for all vendor access.
- Give every POS host and store server a unique, rotated local administrator password.
- Vault service account credentials used by POS software and middleware.
- Enforce application allow-listing on POS images after an audit-mode pilot.
- Restrict POS egress to the payment gateway, store server and management platform only.
- Segment POS, payment, back-office, guest and IoT networks and test the segmentation.
- Inspect payment devices on a set schedule and train staff to spot tampering.
- Alert on new processes, remote logins and unusual outbound traffic from store networks.
Standards and references
- PCI SSC: Point-to-Point Encryption (P2PE) Standard
- PCI SSC: Document Library (PCI DSS v4.0.1)
- PCI SSC: Mobile Payments on COTS (MPoC)
- PCI SSC: PTS Point of Interaction
- Microsoft Learn: Application Control for Windows
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls
- MITRE ATT&CK: External Remote Services
Related NHI Mgmt Group resources: PCI DSS 4.0 Guide · PCI DSS Scoping and Network Segmentation Guide · PCI DSS Requirements for Service Accounts and NHIs Guide (8.6) · Cybersecurity for Retail and Ecommerce Guide