Skip to main content

SOC 2 penetration testing

Whether a penetration test is expected for your SOC 2 examination is a question for your auditor. A test can give them evidence that your security controls work. Here is what to scope, and what the report needs.

What SOC 2 is

SOC 2 is part of the AICPA’s SOC suite of services, which CPAs provide in connection with the controls of a service organisation. SOC 2 reports use the AICPA’s Trust Services Criteria, which are control criteria for evaluating and reporting on controls over the security, availability, processing integrity, confidentiality or privacy of information and systems.

The criteria are written for the auditor’s examination, so the question to settle first is what evidence your auditor expects. 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 can ask for a recent independent test.
Where the pen test sits in a SOC 2 yearFour steps: the testing firm tests your systems, you fix what it finds, you keep the report and retest as evidence, and the auditor examines your controls.1TestPen testing firmTests the systemsin scope2FixYour teamFixes findingsby severity3EvidenceReport + retestKept for theaudit period4ExamineYour auditorReviews controlsand evidence
The testing firm and the auditor are separate. Ask your auditor what they expect to see before you scope the 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

Order of work for a SOC 2 penetration testFour steps: ask the auditor what evidence they expect, scope from your SOC 2 system description, test inside the examination period, then fix, retest and hand over the report.1Ask the auditorWhat evidence,and when2ScopeFrom your systemdescription3TestInside theexamination period4Fix and hand overRetest, then givethe report
Agree the first step before you request quotes, so firms price the right scope.
  • 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, such as 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.

What the pen test report needs

Work from the report format your auditor asks for and from CREST’s guide to penetration testing. CREST says a good report will include the names, roles and qualifications of the testers, date of the report, type of test undertaken and test scope. Ask the firm to report the outcome of the test in business risk terms.

What to ask for in a pen test report you will hand to an auditorSix parts: executive summary, scope matching the system in your SOC 2 description, testers and dates, findings with severity, fix recommendations, and retest results.1Executive summaryResults in business risk terms2ScopeMatches the system in your SOC 2 report3Testers and datesFalls inside the examination period4FindingsSeverity, evidence, affected systems5FixesWhat to change, and who owns it6RetestProof that fixes worked
Check dates and scope first: a report that does not match your system or period is hard for an auditor to use.

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

Frequently asked

Does SOC 2 require a penetration test?

Your auditor decides what evidence they expect for your examination, so ask them before you commission a test. A penetration test can give them evidence about whether your security controls work. Agree its scope, timing and report format with them first.

Who carries out a SOC 2 examination?

Your auditor, a CPA, provides the SOC examination and 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?

Only if someone asks for it, such as a customer or prospect. If they do, ask which report and period they want to see, then work back to what your auditor needs.

Can one test serve SOC 2 and ISO 27001?

Possibly, 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