Blogg

The Basics of Penetration Testing in PCI DSS

nov 08, 2020

2 min

3 people using different navigation equipment

What is penetration testing?

A penetration test can be described as a simulated but realistic cyberattack that aims to determine how far an attacker could penetrate a defined target environment. The main benefit is that the organization being tested gains a better understanding of its potential vulnerabilities and can develop strategies to defend against real attacks.

In a PCI DSS environment, the purpose is also to verify through technical testing that all 12 requirements of the standard are properly implemented. To carry out such testing, skilled professionals, often referred to as “ethical hackers”, attempt to breach the environment using the same methods as real attackers.

Their goal depends on the nature of the environment and, most importantly, the value of the data being protected. The more valuable the data, the more attractive it is to attackers. This is why both the environment and the data it contains define the scope of a penetration test.

What does Cardholder Data Environment mean?

Within PCI DSS, the scope of penetration testing is the Cardholder Data Environment (CDE) and all connected systems. The PCI Security Standards Council defines the CDE as:

“The people, processes and technology that store, process or transmit cardholder data or sensitive authentication data, including any connected system components.”

From a technical perspective, an attacker’s primary goal is to gain access to the CDE and extract cardholder data. Therefore, testing should include:

  • All locations where cardholder data is stored
  • Applications that process or transmit cardholder data
  • Network connections and access points
  • Any relevant systems depending on the organization’s size and complexity

In this context, cardholder data is the “holy grail” of penetration testing, while gaining access to critical systems is a key secondary objective.

Defining the scope

A clear and thorough definition of scope is essential for any PCI DSS penetration test.This includes identifying where cardholder data exists, how data flows through the organization, which systems are in scope.

Defining scope is a critical task and requires more than just technical penetration testing skills. It also demands deep knowledge of the PCI DSS standard and its requirements. Without this understanding, the results of the test may not be reliable.

The role of QSA and collaboration

A successful PCI DSS penetration test often involves collaboration between a penetration testing team, a PCA QSA (Qualified Security Assessor).

The QSA ensures that the testing aligns with PCI DSS requirements, while the penetration testers perform the technical attack simulations. This combined effort is essential to ensure a complete and accurate assessment.