SOC 2 penetration testing
If customers ask for your SOC 2 report, they are asking how well your controls protect their data. How a penetration test supports a SOC 2 examination, and how to scope one.
What SOC 2 is
SOC 2 is part of the AICPA’s SOC suite of services: an independent examination of the controls at a service organisation, reported against the AICPA’s Trust Services Criteria. The criteria cover five areas: security, availability, processing integrity, confidentiality and privacy. Which areas a report covers depends on the service and what its customers rely on.
The AICPA describes the criteria as outcome-based. They set out what controls should achieve, not how, so there is no fixed test list. That is where a penetration test comes in.
Where a pen test fits
- Evidence for security controls: a test shows whether access control, configuration and change processes hold up against a skilled attacker.
- Risk assessment: the findings feed your own assessment of risk to the service.
- Remediation trail: a report, the fixes and a retest give the auditor a clear record.
- Customer questions: customers reading your report may also ask for a recent independent test.
The auditor decides what evidence it needs. Talk to them before you commission the test, so the scope, timing and report format work for the examination.
How to scope it
- Start from the system described in your SOC 2 report: the service, and the infrastructure, software and data behind it.
- Cover the parts customers rely on: usually the application, its API, and the cloud environment it runs in.
- Agree with your auditor when in the examination period the test should take place.
- Ask for a report that states scope, dates, method and findings clearly, with a retest of fixed issues.
- If you also hold ISO 27001, scope one test to cover both where you can.
Choosing a testing firm
Keep the testing firm independent of the auditor and of the team that runs the systems. Ask for a sample report, check the firm has tested similar services, and confirm who will do the work and what they are accredited to. The questions to ask and the report checklist help you compare firms on the same terms.
Next steps
Sources
- AICPA & CIMA: SOC suite of services
- AICPA & CIMA: 2017 Trust Services Criteria (revised points of focus, 2022)
Frequently asked
Does SOC 2 require a penetration test?
The Trust Services Criteria are outcome-based: they describe what your controls should achieve, not a list of tests to run. A penetration test is a common way to show that security controls work, and your auditor will say what evidence it expects for your examination.
Who carries out a SOC 2 examination?
An independent auditor, a CPA firm, examines your controls against the AICPA’s criteria and issues the report. The penetration testing firm is separate: it tests your systems and gives you evidence for the auditor to consider.
Why would a UK company need SOC 2?
Usually because customers ask for it. SOC 2 is an AICPA framework, so it comes up most when selling services to organisations that use it to assess their suppliers, especially in the US.
Can one test serve SOC 2 and ISO 27001?
Often, if the scope covers the systems in both. Agree the scope with both auditors in mind, and make sure the report is clear about what was tested and when.
Compare UK penetration testing companies
Filter firms by service and accreditation, then contact the ones you like.
Browse the directory