SOC 2 does not explicitly require penetration testing. The AICPA Trust Services Criteria name penetration testing only as one example of a "separate evaluation" under criterion CC4.1, and points of focus are guidance rather than mandatory controls. In practice, most SOC 2 auditors expect to see an independent penetration test of the in-scope system, and enterprise customers reviewing your report usually ask for one, so most SaaS companies commission at least one test a year.
A SOC 2 report is issued by a licensed CPA firm under AICPA attestation standards. A penetration testing provider, including Asfaleia Tech, does not issue SOC 2 reports or opinions; the pentest is evidence you give to your auditor and your customers. This guide explains where testing fits, how to time it, what to scope and what the report must show.
What SOC 2 actually says about penetration testing
SOC 2 examinations use the AICPA's 2017 Trust Services Criteria, which were updated with revised points of focus in 2022. The criteria describe outcomes, and each organisation designs its own controls to meet them. Points of focus illustrate what those controls might cover, but the AICPA guidance states that an assessment of whether every point of focus has been addressed is not required.
Penetration testing appears in the points of focus for CC4.1, the first monitoring criterion. CC4.1 requires the entity to select, develop and perform ongoing and/or separate evaluations to ascertain whether the components of internal control are present and functioning. Its point of focus on different types of evaluations says management uses a variety of ongoing and separate evaluations, including penetration testing, alongside examples such as independent certification against established specifications and internal audit assessments.
So penetration testing is one way to meet CC4.1, not the only one, and some audit firms accept other regular independent assessments. Still, a penetration test is the most direct way to show that technical controls work, and it supports several other criteria at once.
Which Trust Services Criteria a pentest supports
The criteria below are from the current 2017 Trust Services Criteria (Security, also called the Common Criteria). One well-scoped test can evidence all of them.
| Criterion | What it covers | How a penetration test helps |
|---|---|---|
| CC4.1 | Ongoing and separate evaluations of internal control | Independent test of whether technical controls work; penetration testing is named as an example |
| CC4.2 | Evaluating and communicating control deficiencies promptly | Findings, severity ratings and remediation tracking show deficiencies were identified and acted on |
| CC7.1 | Detection and monitoring to identify configuration changes that introduce vulnerabilities and susceptibility to newly discovered vulnerabilities | Complements vulnerability scanning, which a CC7.1 point of focus describes; finds what scanners miss |
| CC3.2 and CC3.4 | Identifying and analysing risks, including those from significant changes | Results feed the risk assessment and show how new features or architecture changes were assessed |
| CC6.1 to CC6.8 | Logical access, boundary protection and protection against malicious software | Tests authentication, authorisation, tenant isolation, network exposure and cloud access controls directly |
| CC8.1 | Change management | Testing before or after major releases evidences that security is considered when systems change |
A CC7.1 point of focus refers to vulnerability scans run periodically and after significant change, and many auditors treat regular scanning as close to essential there. Penetration testing is a deeper, manual exercise; you generally need both. Our comparison of penetration testing and vulnerability assessment explains why one does not replace the other.
The AICPA has also published exposure drafts of proposed 2027 Trust Services Criteria, open for comment until 15 January 2027. The draft restructures and renumbers several criteria, including monitoring and change management. If approved, the new criteria would apply to engagements beginning on or after 31 December 2027, with early adoption permitted. Confirm with your auditor which version your next examination will use.
What auditors and enterprise customers expect
Your auditor will look at the controls you have described in your system description. If your control set says "an independent penetration test of the production environment is performed annually and findings are remediated according to severity", the auditor will test that control: they will ask for the report, check the dates fall within or appropriately relate to the review period, and sample findings to confirm they were tracked and closed. If you write the control, you must operate it, so do not over-promise in your first control set.
Your customers are often stricter than your auditor. Enterprise procurement and security teams typically ask for:
Regulated customers will also map your testing against their own obligations; see our guides to NYDFS Part 500, HIPAA and the FTC Safeguards Rule.
Timing a pentest for Type I and Type II
| Aspect | SOC 2 Type I | SOC 2 Type II |
|---|---|---|
| What the auditor examines | Design and implementation of controls as of a specific date | Design, implementation and operating effectiveness of controls over a review period |
| Role of the pentest | Shows the control exists and has been performed at least once | Shows the control operated during the period, with findings tracked to closure |
| Best timing | Before the Type I date, leaving time to fix serious findings | Within the review period, early enough that remediation and retest also fall inside it |
| Common mistake | Testing after the as-of date, so it cannot evidence the control | Testing in the last weeks of the period, leaving open critical findings in the report |
For a Type I, schedule the test so the report, and ideally the fixes for any critical or high findings, are complete before your as-of date.
For a Type II, the review period most commonly runs for 12 months, although shorter periods are used. Aim to test in the first half of the period. That leaves time to remediate and retest inside the period, and keeping the annual test date consistent avoids gaps between reports.
If your report is several months old, customers may ask for a bridge letter. It is signed by your management, not the CPA firm, covers the gap since your last review period and carries no auditor assurance, so a recent pentest summary is a useful companion.
What to scope
A SOC 2 examination covers a defined system: the infrastructure, software, people, procedures and data used to deliver the service described in your report. For a typical SaaS company, the pentest should cover:
If budget is limited, prioritise the production application, its APIs and the cloud account that hosts them.
Keep the pentest scope consistent with the system boundaries in your SOC 2 system description. If you test in staging rather than production, document why it is representative.
What the pentest report must show
A report that supports SOC 2 should clearly show:
The last item is the one most often missing, and open critical findings without follow-up raise questions under CC4.2. Our guide to what a penetration test report should include and our explanation of penetration testing methodology go into more detail.
Sharing results with customers
Your SOC 2 report is a restricted-use document, intended for knowledgeable users such as your customers and their auditors, and it is usually shared under a non-disclosure agreement. A full pentest report needs similar care, because it is effectively a map of where your system was weak. The common approach is layered:
Ask for a customer-facing letter as a deliverable at the start of the engagement.
How often to test
SOC 2 sets no frequency. Auditors and customers commonly expect at least one independent test a year, plus testing after significant changes such as a new product, an authentication overhaul or a cloud migration. Fast-moving teams often test core applications every six months or before major releases. Write the frequency into your security policy and follow it.
For a broader view across standards, see how often to do a penetration test. If you also hold or plan ISO 27001, our comparison of SOC 2 and ISO 27001 explains how one testing programme can serve both, and our SOC 2 Type II guide covers the audit itself.
Frequently asked questions
Is penetration testing mandatory for SOC 2?
No. The AICPA Trust Services Criteria do not mandate any specific control, including penetration testing. Penetration testing is named as an example of a separate evaluation in the points of focus for CC4.1, and points of focus are guidance rather than requirements. In practice, most auditors expect one and most enterprise customers ask for one, so treat it as a de facto requirement.
Which SOC 2 criteria does a penetration test map to?
A penetration test most directly supports CC4.1 (separate evaluations) and CC4.2 (communicating and remediating deficiencies). It also provides evidence for CC7.1 alongside vulnerability scanning, for the logical access criteria in CC6, for risk assessment under CC3 and for change management under CC8.1.
When should we run the pentest for a SOC 2 Type II audit?
Run it early in the review period, ideally in the first half. That leaves time to remediate findings and retest within the same period, so the auditor sees a complete cycle of testing, tracking and verified fixes. Testing in the final weeks often leaves open critical findings in the evidence.
Can our own engineers do the SOC 2 penetration test?
An internal test can count as an ongoing evaluation, but auditors and customers generally expect an independent third party for the annual test, because independence is what makes it a credible separate evaluation. If you use internal testing, document the testers' independence from the systems they test, and expect customers to ask for an external report regardless.
Can we share our pentest report with customers?
Yes, but share a summary or attestation letter rather than the full technical report. The letter should confirm scope, dates, methodology, a summary of findings by severity and the retest outcome. Reserve the full report for customers with a clear need, and share it under an NDA, as you would your SOC 2 report.
Asfaleia Tech is registered with Egypt's National Telecom Regulatory Authority (NTRA) as a Tier 1 cybersecurity services provider for penetration testing, vulnerability assessment and red team services. We are not a CPA firm and do not issue SOC 2 reports; we perform the independent penetration testing that auditors and customers expect to see. We work with organisations in Egypt, Saudi Arabia, the UAE, the wider Middle East, the United States and worldwide, testing remotely and reporting in English. Engagements are affordable because they are scoped to what needs testing, and every engagement includes an executive summary, proof-of-exploit evidence, remediation guidance and a retest. Explore penetration testing for US companies, our SOC 2 support, and our web application, API and cloud penetration testing services, and book a free 30-minute consultation to plan a test that fits your audit period.