COMP-220 · Lesson 4 of 12 · 20 min
Regulations and standards that shape testing
▶ Video coming soon A video version of this lesson is on the way.
On September 8, 2026, Gwendolyn Tran sent Ironwhistle a spreadsheet titled "Why we are doing this". It listed every external obligation that touched Prairiefold's security: privacy law, its regulator's expectations, card brand rules, its cyber insurer's questionnaire, and the standards its board had adopted. Beside each was a column headed "What the test must show". Dario said it was the most useful document a client had sent him all year, and asked Tobias to turn it into a section of the rules of engagement.
PT0-003 objective 1.1 lists regulations, frameworks and standards under scope definition, with privacy and security singled out. Regulations shape testing in three ways. They can require testing, sometimes with a set frequency or method. They constrain testing, especially how personal data encountered during a test may be handled. And they shape the report, because the client may need to hand it to an auditor or regulator. This lesson surveys the regimes a tester is most likely to meet and shows how they shaped the Prairiefold engagement.
Laws, regulations, standards and frameworks
The words are often used loosely, so it helps to separate them. A law is passed by a legislature and is binding. A regulation or rule is made under a law by a government agency and is also binding. A standard is a set of requirements published by a body such as an industry council or standards organization; it becomes binding through contracts, such as a merchant's agreement with its card acquirer, or because a regulator adopts it. A framework is a structured set of practices that organizations adopt voluntarily or because a regulator or customer expects it. A tester needs to know which is which, because "we must" and "we have chosen to" lead to different conversations about scope.
Privacy law and personal information
Penetration tests regularly encounter personal information: customer records on a file share, staff email in a compromised mailbox, identification numbers in a database. Privacy law applies to the client, and through the contract to the tester as the client's service provider. It shapes how much data testers may view, whether they may copy it, where it may be stored and how it must be destroyed.
In the United States there is no single federal private-sector privacy law. Financial institutions are covered by the Gramm-Leach-Bliley Act (GLBA), whose safeguards provisions require a written information security program; for federally insured credit unions these are implemented in the National Credit Union Administration's rules in 12 CFR Part 748, including guidelines that call for regular testing of key controls. Since September 1, 2023, the NCUA has required federally insured credit unions to notify it within 72 hours of reasonably believing a reportable cyber incident has occurred. Every state has a breach-notification law, and a growing number have comprehensive consumer privacy laws, such as California's; many of these, including the Iowa Consumer Data Protection Act in force since January 1, 2025, exempt financial institutions already subject to GLBA. Sector laws such as HIPAA for health information may also apply depending on the client.
Privacy law has a direct effect on how a test is run. The principle is data minimization: collect only what is needed to prove the finding. If a tester gains access to a share containing member records, the evidence needed is proof of access (a directory listing with names redacted, a count of files, a single record with every personal field masked), not a copy of the records. Prairiefold's RoE stated it plainly: no member data leaves Prairiefold systems in any form, and screenshots must be redacted before they are saved to Ironwhistle's evidence store.
Testers working for clients with customers in Europe may also meet the EU General Data Protection Regulation (GDPR), which applies to organizations offering goods or services to people in the EU, wherever the organization is based. Its requirements for security of processing, data protection impact assessments and 72-hour breach notification to supervisory authorities mirror many themes above.
Financial sector expectations
Financial institutions face more prescriptive expectations than most sectors, and many explicitly expect independent penetration testing.
For credit unions, the NCUA examines information security programs against Part 748 and uses tools such as its Automated Cybersecurity Evaluation Toolbox, and the Federal Financial Institutions Examination Council (FFIEC) publishes the examination guidance that bank and credit union examiners draw on. Examiners commonly ask to see independent penetration test reports and evidence that findings were remediated. Prairiefold, a federally insured credit union, expected its next examination in 2027 and wanted the report to stand up to an examiner's review.
PCI DSS: a standard with explicit testing rules
The Payment Card Industry Data Security Standard (PCI DSS) applies to any organization that stores, processes or transmits payment card data, including card issuers such as credit unions that issue debit and credit cards. It is a standard published by the PCI Security Standards Council and made binding by the card brands through contracts. The current version is 4.0.1, published in June 2024; requirements that version 4.0 introduced as future-dated became mandatory on March 31, 2025.
Requirement 11.4 is the part testers know best. In summary, it calls for a documented penetration testing methodology based on industry-accepted approaches; internal and external penetration testing at least once every 12 months and after any significant infrastructure or application change; correction of exploitable vulnerabilities followed by retesting; testing of segmentation controls, if segmentation is used to reduce scope, at least every 12 months for merchants and every six months for service providers; and testing by a qualified internal resource or qualified external third party with organizational independence. Testers working in card environments read the current standard and the Council's penetration testing guidance rather than relying on summaries like this one.
Prairiefold's card processing was largely outsourced, but its branches handled cards at teller stations and it ran a small card management system internally. Gwendolyn's qualified security assessor had told her that the annual internal and external tests had to cover the segmentation between the card environment and the rest of the network. That requirement went straight into the test cases: one of Dario's goals was to show, from an ordinary branch workstation, whether the card management segment could be reached.
Other common regimes
Testers meet many other obligations. The table summarizes the ones that most often affect scope or reporting.
| Regime | Type | Effect on testing |
|---|---|---|
| ISO/IEC 27001:2022 | Certifiable standard for information security management systems | Auditors look for evidence of technical vulnerability management and security testing; reports become audit evidence |
| SOC 2 (AICPA trust services criteria) | Attestation report for service organizations | Service providers often commission annual tests to support the security criterion; reports are shared with customers under NDA |
| NIST Cybersecurity Framework 2.0 (2024) | Voluntary framework | Testing supports the Identify and Detect functions; findings are often mapped to framework categories |
| HIPAA Security Rule | US federal regulation for health information | Requires risk analysis and safeguards; protected health information found in testing needs strict handling |
| GDPR | EU regulation | Requires regular testing of the effectiveness of security measures; strict rules for personal data |
| Cyber insurance questionnaires | Contractual | Insurers ask whether independent testing is done and findings remediated |
Turning obligations into scope
Tobias turned Gwendolyn's spreadsheet into a table in the RoE. For each obligation, he wrote what the test must cover, any method or tester requirement, how data must be handled and what the report must include. Dario reviewed it and added one column: "Who will read the report because of this?" The answers (the board, the regulator's examiners, the qualified security assessor, the insurer) told Ana how the report would need to be structured, a topic lesson 9 returns to.
| Obligation | What the test must cover | Report must include |
|---|---|---|
| Card standard (PCI DSS 11.4) | Internal and external tests of the card environment; segmentation testing | Methodology, segmentation results, retest evidence |
| Privacy law | Exposure of member personal information | Findings framed by data type exposed; no personal data in the report itself |
| Regulator expectations | Independent testing of key controls, including identity and remote access | Clear severity ratings, management responses, remediation dates |
| Insurer questionnaire | External attack surface and phishing resilience | A summary suitable for sharing with the insurer |
| Board-adopted framework | Coverage across the main control areas | Findings mapped to framework categories |
Data handling rules drawn from regulation
Regulation also produced a set of data handling rules that every tester signed before testing began. They are typical of engagements in regulated sectors.
| Rule | Reason |
|---|---|
| View the minimum data needed to prove access | Privacy law and data minimization |
| Never copy personal data off client systems; prove access with redacted evidence | Limits breach risk and the firm's own obligations |
| Store evidence only on encrypted, firm-owned storage | Security safeguards owed to the client |
| Do not place client data in public AI tools or personal cloud accounts | Uncontrolled disclosure to third parties |
| Destroy raw evidence on the contract schedule with a certificate | Retention limits and contractual commitments |
| Report suspected real breaches to the sponsor immediately | The client's notification clocks may already be running |
The last rule matters because notification deadlines are short. If Ironwhistle found signs that a real attacker had been in Prairiefold's network and waited for the final report to mention it, Prairiefold could miss the NCUA's 72-hour notification window. The tester does not decide whether an incident is reportable; the client does, with its counsel. The tester's job is to tell them quickly.
What auditors and examiners look for in the report
Because regulated clients hand the report to outsiders, Ana kept a short checklist of what auditors, assessors and examiners typically look for, and Tobias added it to the engagement plan so the evidence would be gathered during testing rather than reconstructed afterwards. Reviewers want to see who tested and why they were qualified and independent; what was in scope, including any segmentation boundaries the client relies on to reduce its compliance scope; when testing took place, with exact dates; how it was done, by reference to a named methodology; what was found, with severities defined in advance; and what happened next, meaning remediation and retest evidence with dates. A report that answers those questions on its own saves the client a week of follow-up questions during an audit.
Retention matters too. PCI DSS, for example, expects penetration testing results and remediation activity results to be kept for at least 12 months, and regulators commonly ask for the previous test when they examine the current one. That creates a tension with the tester's own duty to destroy raw evidence on the contract schedule. The usual answer is that the client keeps the final report and retest letters for as long as its obligations require, while the testing firm destroys raw working evidence, such as screenshots, tool output and notes, once the retest is complete. Prairiefold's MSA said exactly that, and Ruth Mbatha confirmed that the credit union's own records schedule covered the report.
Finally, obligations change. Bill C-36 in Canada, new state privacy laws in the United States, revisions to PCI DSS and updated regulator guidance can all alter what a test must cover or how data must be handled. Ironwhistle reviewed its obligations table for each new engagement rather than reusing the previous one, and recorded the date each source was checked.
Worked problem
Evidence without exposure
Dario gains read access to a share named LOANS containing 18,400 files, many of them scanned loan applications with income details and identification numbers. The RoE forbids copying member data. How should he document the finding?
Show solution
- Record the share path, the account used, the time and how access was obtained.
- Capture a directory listing with file names that contain names redacted, and the total file count.
- Open one file only to confirm content type, and screenshot it with every personal field masked before saving.
- Stop collecting, note the potential privacy impact for the report, and tell Gwendolyn within the day because the exposure is ongoing.
Answer: Prove the access and the type of data exposed with redacted evidence and counts, never copies. The finding's impact is described by data type and volume, not by reproducing the data.
Common mistakes
MistakeAssuming a standard like PCI DSS has the force of law.
InsteadStandards bind through contracts or regulator adoption; know which obligations are legal and which are contractual.
MistakeCopying personal records to prove a finding.
InsteadUse redacted screenshots, counts and descriptions of data types.
MistakeWaiting for the report to mention signs of a real breach.
InsteadTell the client at once; its notification deadlines may already be running.
MistakeRelying on an old summary of PCI DSS testing rules.
InsteadCheck the current version (4.0.1) and the Council's guidance for each engagement.
MistakeIgnoring which regulator will read the report.
InsteadStructure the report for every audience the obligations bring.
Summary and key terms
- Regulations and standards can require testing, constrain how it is done and shape the report.
- Privacy law (GLBA, NCUA Part 748, state laws) drives data minimization and fast escalation of real breaches.
- Financial regulators expect independent testing and evidence of remediation.
- PCI DSS 4.0.1 requirement 11.4 calls for annual and post-change internal and external tests, segmentation testing and retesting, by qualified and independent testers.
- ISO/IEC 27001, SOC 2, NIST CSF 2.0, HIPAA, GDPR and insurer questionnaires also shape scope and reporting.
- Every obligation should map to test coverage, data handling rules and report content.
- Data minimization
- Collecting and keeping only the data needed for a stated purpose.
- PCI DSS
- The Payment Card Industry Data Security Standard, which governs organizations that handle payment card data.
- Segmentation testing
- Testing whether network controls really isolate a sensitive environment from other networks.
- Qualified security assessor
- A person certified by the PCI Security Standards Council to assess compliance with PCI DSS.
- Breach notification
- A legal duty to inform regulators or affected people about certain security incidents.
- Framework
- A structured set of practices adopted voluntarily or because others expect it, such as the NIST Cybersecurity Framework.
- Standard
- A published set of requirements that becomes binding through contracts or regulatory adoption.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Under PCI DSS 4.0.1, how often must internal and external penetration tests be performed at minimum?
Show answer
At least once every 12 months and after any significant infrastructure or application change.
How often must service providers test segmentation controls under PCI DSS?
Show answer
At least every six months, and after changes to segmentation controls.
What is the difference between a regulation and a standard?
Show answer
A regulation is binding law made by a government agency; a standard is published by a body and becomes binding through contracts or adoption.
Why should signs of a real breach be escalated immediately rather than reported at the end?
Show answer
Because the client may have short legal notification deadlines that start when it becomes aware of the incident.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.