7.2.1. Vulnerability Assessments and Penetration Testing
💡 First Principle: Audit credibility depends on auditor independence. An internal team auditing its own work may be biased — intentionally or unintentionally — toward acceptable results. External auditors bring independence at the cost of organizational context. The right audit type matches the required level of assurance to the objective.
Audit types by independence level:
| Type | Auditor | Independence | Use Case |
|---|---|---|---|
| Internal (first-party) audit | Organization's own audit function | Low-Medium | Ongoing compliance monitoring; pre-assessment prep |
| Second-party | Customer audits supplier | Medium | Vendor due diligence; right-to-audit clauses |
| Third-party | Independent certification body | High | Regulatory compliance; customer assurance |
| Regulatory exam | Government regulator | Very High | Regulatory compliance determination |
Key audit frameworks:
| Framework | Issued By | What It Certifies |
|---|---|---|
| SOC 1 (Type I/II) | CPA firm (AICPA, SSAE 18) | Controls at a service organization that affect its customers' financial reporting (e.g., payroll processors) |
| SOC 2 Type I | CPA firm (AICPA) | Controls designed appropriately at a point in time |
| SOC 2 Type II | CPA firm | Controls operated effectively over audit period (6–12 months) |
| ISO 27001 | Accredited certification body | ISMS meets ISO 27001 requirements |
| PCI DSS QSA | Qualified Security Assessor | Cardholder data environment meets PCI DSS |
| FedRAMP | 3PAO | Cloud service meets FedRAMP baseline for US federal use |
SOC 2 reports against the AICPA Trust Services Criteria: Security (always included), Availability, Processing Integrity, Confidentiality and Privacy. SOC 1 and SOC 2 reports are restricted-use (shared with customers, typically under NDA); SOC 3 is a general-use summary of a SOC 2 that can be published.
SOC 2 Type II sampling: the auditor tests a sample of the control's population across the period. Where the control requires every instance to comply (e.g., every access request manager-approved), deviations such as 3 of 25 unapproved requests are reported as exceptions: the control did not operate effectively. Exceptions cannot be fixed retroactively, and significant ones can lead to a qualified opinion.
Testing mandates differ by framework: PCI DSS v4.0 explicitly requires internal and external penetration testing at least every 12 months and after significant change (Req. 11.4), plus quarterly vulnerability scans (Req. 11.3). The HIPAA Security Rule requires an accurate and thorough risk analysis (45 CFR 164.308(a)(1)(ii)(A)) but prescribes no testing method. ISO 27001 and SOC 2 leave penetration testing to the organization's risk-based control selection.
Audit and assessment phases: Audits and control assessments follow the same arc: plan (scope, objectives, criteria and the controls in scope) → collect evidence on how the controls are implemented → evaluate that evidence against the criteria or baseline to identify gaps → report findings and remediation priorities to stakeholders.
Audit finding severity levels:
| Severity | Definition | Required Response |
|---|---|---|
| Material weakness | Significant control failure; reasonable possibility of major consequence | Immediate executive attention; remediation plan |
| Significant deficiency | Less severe than material weakness but merits attention | Management attention; timely remediation |
| Control deficiency | Design or operating effectiveness gap | Scheduled remediation |
| Observation | Best practice suggestion; not a compliance failure | Management discretion |
Auditor opinion types — critical for SOC 2 and financial audit interpretation:
Understanding what an auditor's opinion means is directly tested. Many candidates assume "passed the audit" means "unqualified opinion" — they are not the same.
| Opinion | Meaning | What You Should Do |
|---|---|---|
| Unqualified (clean) | Controls designed and/or operated effectively; no material exceptions found | Accept with normal due diligence review |
| Qualified | Controls were effective except for specific, described exceptions | Evaluate whether exceptions affect your risk; require remediation plan with dates |
| Adverse | Controls did NOT operate effectively; material failures across audit scope | Treat as failed audit; significant vendor risk indicator |
| Disclaimer of opinion | Auditor could not obtain sufficient evidence to form an opinion | Investigate why — scope limitation or access denial is itself a red flag |
A qualified opinion is not a minor footnote — it means the auditor found a condition that materially deviates from the standard. The specific exception described must be read in full. A qualification on the availability criterion from a cloud provider you depend on for production workloads is a material operational risk.
💡 Key Point: The opinion type matters as much as the audit framework. An adverse SOC 2 Type II opinion is worse than no audit at all — it documents that controls failed. A disclaimer of opinion may indicate the vendor denied auditor access to sensitive systems, which itself warrants escalation.
⚠️ Exam Trap: SOC 2 Type I vs. Type II — this distinction is a common exam focus. Type I is a design snapshot ("controls were designed appropriately at this moment"). Type II covers a period and demonstrates operating effectiveness ("controls actually worked throughout the period"). For vendor due diligence, Type II is substantially more valuable. An 18-month-old Type I report provides minimal current assurance.
Reflection Question: A SaaS vendor provides their SOC 2 Type I report from 18 months ago in response to your due diligence questionnaire, claiming it demonstrates their security controls are robust. What three specific questions should you ask about this report, and under what circumstances would you require a more recent or different assessment?