Hong Kong · Critical infrastructure
Cap. 653: what Hong Kong’s critical infrastructure law says about penetration testing
A plain-English guide to the security risk assessment, penetration test and tester qualifications in the Code of Practice, with links to the official text.
Last reviewed 20 October 2026 by OptimaTech Limited. General information, not legal advice.
Short answer
Yes, for designated operators. The Code of Practice under the Protection of Critical Infrastructures (Computer Systems) Ordinance (Cap. 653) says each security risk assessment “should include a vulnerability assessment and a penetration test” (section 6.3.4), carried out by a tester with “appropriate professional qualification” (section 6.3.6). Assessments are due at least once every 12 months.12
The three obligations, and where testing fits
OCCICS groups operators’ duties into three categories. Penetration testing sits inside the second: the annual computer-system security risk assessment.2
| Obligation | Timing (OCCICS) | Role of penetration testing |
|---|---|---|
| Security risk assessment | First within 12 months of designation, then at least every 12 months; written report within 3 months after the deadline | Should include a vulnerability assessment and a penetration test (CoP 6.3.4); the test report is an annex to the risk assessment report (CoP 6.3.7(k)) |
| Security audit | First within 24 months, then at least every 24 months; report within 3 months | Annex G’s sample audit assumptions note that the audit itself does not include penetration testing, so the test comes from the risk assessment |
| Incident reporting | Serious incidents within 12 hours of becoming aware; others within 48 hours; written report within 14 days | Regular testing reduces the chance of reaching this stage |
What the Code of Practice says about the test itself
- Attacker’s view. The test “should be carried out from the position of a potential attacker or based on threat intelligence” (6.3.6).1
- Qualified testers. It “should be conducted by a tester having suitable knowledge, relevant experience and appropriate professional qualification” (6.3.6).1
- Recognised certifications. The 6.3.6 table includes CREST Certified Infrastructure Tester, CREST Certified Web Applications Tester, CREST Certified Simulated Attack Specialist and Manager, Offensive Security Certified Professional, GIAC Penetration Tester and others.1
- Operational technology. Where live testing could disrupt operations, the Code allows alternatives such as testing in an offline environment or targeting critical peripheral nodes (6.5.9).1
How Blacklock PTaaS and OptimaTech help
Accredited testing
Blacklock announced CREST accreditation for its penetration testing services on 9 May 2025.3
Evidence for the annex
Executive, Developer and Full Penetration Test reports, plus a test certificate, ready to attach to your risk assessment report.4
Between assessments
Continuous scanning keeps watch between annual tests, with retesting once fixes are deployed.
Sources
- OCCICS, Code of Practice v1.0, sections 6.3.4, 6.3.6, 6.3.7, 6.5.9 and Annex G.
- OCCICS, Three categories of obligations for CI operators.
- Blacklock, Blacklock Security achieves CREST accreditation, 9 May 2025.
- Blacklock, On-demand manual penetration testing.