SOC 2 Penetration Testing for SaaS & Startups
Independent penetration-test evidence for the CC7 series and vulnerability-management criteria, scoped to the system in your SOC 2 report and delivered with a retest closure report.
What a SOC 2 auditor expects from a penetration test
SOC 2 is an attestation report issued by a CPA firm against the AICPA Trust Services Criteria. The criteria do not contain a sentence that says "perform a penetration test every year". What they do contain is a set of expectations about system operations and monitoring (the CC7 series) and about how an organisation identifies and manages vulnerabilities in the systems it has described. In practice, the evidence most auditors expect for those criteria is an independent penetration test of the in-scope system, followed by proof that the findings were fixed. The standard itself does not prescribe a specific test type, depth or frequency, so confirm the exact wording with your auditor before you scope the engagement.
The distinction between report types matters for timing. A Type I report looks at whether controls are designed properly at a point in time. A Type II report looks at whether they operated effectively over a review period, commonly several months. For Type II, auditors generally want to see that the test, the remediation and the verification all happened inside that period, and that the findings were tracked to closure rather than filed away. A penetration test report with no retest is a weaker piece of evidence than a report plus a closure document that shows the fixes held.
Auditors also look for independence. A test run by the engineers who built the system is useful engineering practice, but it is not the third-party evidence the criteria are usually read to require. ZeroTrace is an independent penetration-testing company based in Karachi, Pakistan, working remotely with SaaS companies and startups worldwide; our testers hold OSCP, PNPT, CEH, CRTA, CAP and CNSP certifications and every engagement is covered by an NDA signed before testing starts.
What to put in scope
Scope follows the system description in your SOC 2 report. If your report describes a multi-tenant web platform with an API and a cloud back end, the auditor will expect the test to cover that platform, not a marketing site. The usual SOC 2 scope, as set out in our compliance mapping table, is the web application and its API, plus the cloud account they run in.
- Web application. Every customer-facing role, from read-only user to organisation administrator, tested for authentication, session handling, access control between roles and tenants, and business-logic flaws. See website penetration testing.
- API. The REST, GraphQL or SOAP services behind the web and mobile clients, tested with at least two accounts per role and two tenants so that object-level and function-level authorisation can be checked properly. See API penetration testing.
- Cloud account. IAM, storage, network boundaries, secrets and logging in the AWS, Azure or Google Cloud account that hosts the system, audited against CIS Benchmarks and mapped to the SOC 2 control list. See cloud security assessment.
- Mobile application, if your system description includes one. Android and iOS builds, on-device storage and the backend calls they make. See mobile penetration testing.
- Internal network, where the service depends on offices, VPNs or Active Directory rather than a pure cloud footprint. See network penetration testing.
If you are unsure where the boundary sits, bring your draft system description to the scoping call. Agreeing scope against that document is the quickest way to avoid an auditor asking for a second test later.
How the engagement runs
- Scoping call and NDA. We agree the applications, API specification, roles, tenants, environments and testing window, and sign an NDA before any testing starts.
- Quote. A scoped quote in PKR or USD within one business day. Pricing is per scope, not per hour, and every quote includes the full report and the 30-day retest.
- Testing. A web application typically takes 3 to 7 working days and an API 2 to 5 working days; cloud and mobile scopes are fixed on the scoping call. Grey-box testing with one account per role finds more in the same time than black-box testing.
- Reporting. One report: an executive summary for management and detailed technical findings for engineers, with every finding carrying a CVSS score, reproduction steps, evidence and a fix.
- Retest. One free retest within 30 days of the report, producing a closure report that documents which findings were fixed and verified.
| Stage | Typical time | What we need from you |
|---|---|---|
| Scoping call, NDA and quote | One business day for the quote | System description, URLs, role and endpoint counts |
| Web application testing | 3 to 7 working days | One test account per role, written authorisation |
| API testing | 2 to 5 working days | Specification or collection, two accounts per role and tenant |
| Cloud account assessment | Set on the scoping call | A read-only audit role in the account |
| Reporting | Follows testing | A contact for the findings walkthrough |
| Retest and closure report | Within 30 days of the report | Notice that fixes are deployed |
Deliverables for your auditor
- One comprehensive report. An executive summary: a risk overview and business-impact statement written for management and for the auditor's first read. Then detailed technical findings: every finding with a CVSS score, step-by-step reproduction, request and response evidence or screenshots, and remediation guidance your developers can act on.
- Retest closure report. Issued after the free retest within 30 days, recording which findings were verified as fixed. This is the document that turns a list of vulnerabilities into evidence of an operating control.
- Letter of attestation. A letter of attestation can be issued on request for customers, investors or auditors who need confirmation that a test took place without receiving the full report.
Reports are written in English and structured so that the auditor can trace each finding from discovery to closure. Findings, credentials and client data are handled under the NDA and deleted securely after the engagement.
Proof: an API tested on the road to SOC 2 Type II
A B2B collaboration platform serving more than 200 enterprise customers asked ZeroTrace to test its REST API as part of a SOC 2 Type II roadmap. Across more than 120 endpoints we found 11 critical and high-severity issues, including 72 endpoints without tenant isolation, a mass-assignment flaw that let any team member become an organisation administrator, and a CSRF and stored XSS chain leading to account takeover. Testing took 15 business days. All findings were remediated and verified on retest, and the client went on to achieve SOC 2 Type II and retain its largest customer. Read the SaaS API case study.
Common questions about SOC 2 penetration testing
Does SOC 2 require a penetration test?
Not in so many words. The Trust Services Criteria describe outcomes, such as monitoring for vulnerabilities and responding to them, rather than naming a specific test. Most auditors treat an independent penetration test as the expected evidence for the CC7 series and for vulnerability management, and will ask for it. Because the standard leaves the method open, confirm with your auditor what they expect to see and when.
When in the audit period should the test happen?
For a Type II report, inside the review period, with enough time left to fix findings and complete the retest before the period closes. Many companies test early in the period so that remediation and the closure report fall comfortably within it. For a Type I report, before the point-in-time assessment date.
Can we submit a vulnerability scan instead?
A scan is useful and auditors like to see one running regularly, but it is not the same evidence. A scanner cannot log in as two tenants and check whether one can read the other's data, and that class of flaw is where SaaS breaches usually come from. Our engagements use scanners to assist and a certified tester to decide what is real and prove it.
How often should we test for SOC 2?
SOC 2 does not fix a frequency. Annual testing aligned to the audit period is the most common pattern, with an additional test after a major change to the system described in the report. Agree the cadence with your auditor and record it in your policy so the control is defined before it is tested.
Does the test have to run against production?
Not necessarily, but the environment should be representative of the system described in the report. Exploitation is controlled and proportionate, and for production systems we agree a testing window and a contact who can reach us during testing. A staging copy is recommended when you want more aggressive testing.
If a SOC 2 audit is on your calendar, send the system description, the application URL and a rough count of roles and endpoints through the compliance request form, or write to contact@zerotrace.pk or WhatsApp +92 310 0371620. You will have a scoped quote in PKR or USD within one business day, and a plan that fits the audit period.