79% vs 51%: independent neobanks lag on app security. Read the report

Security

Security

Penetration Testing License: Which Countries Require One in 2026?

We checked 50 countries and the EU. Eleven require a license or registration to sell penetration tests to any client. Rules, costs and official sources, checked in November and December 2026.

Short answer: We checked 50 countries and the EU.

Eleven countries require a license or registration for any client: Singapore, Malaysia, Vietnam, Egypt, Jordan, Ghana, Tanzania, Saudi Arabia and Indonesia (for online platforms), plus Zambia and Turkey once their licensing opens.

In the EU, larger providers must also register under NIS2.

Five more are worth watching: Nigeria, Ethiopia and Bahrain have a license on the way. In Mexico and the Republic of the Congo, a license is in force but may or may not cover penetration testing.

In the other countries we checked, the rules only apply when you test for government, critical infrastructure or banks.

How we checked

We needed this answer ourselves: Ostorlab sells security testing in many countries, and we wanted to know which of them need a license first. So we read each country's law and its regulator's pages, many of them only published in Arabic, Chinese, French, Japanese, Korean, Portuguese, Russian, Spanish, Thai, Turkish or Vietnamese. We then checked every claim a second time against the same sources, between 25 November and 2 December 2026. Each section links to its source. Where the law is silent, we say so rather than guess.

This guide is about licenses for companies that sell testing. It doesn't cover certifications for individual testers, such as OSCP or CEH, because few countries make them mandatory. Two exceptions: Jordan requires the lead tester on every pentest to hold a certification its national cybersecurity center approves, and Dubai requires them for testers working for its government and critical infrastructure.

This is a summary of public rules, not legal advice. Rules change, so check the official source before you rely on it.

What we did not expect

  • Ghana enforces its license. In August 2026, its Cyber Security Authority fined two providers for testing without a license, and also fined a client for hiring one.
  • Several licenses are recent. Jordan (March 2026) and Tanzania (January 2025) now require one for penetration testing, for private clients too, and Ghana has enforced its license since 2023.
  • Belgium's private security law requires a license for security consultants, but says IT security advice doesn't count. Australia's state security laws also license security consultants, and they don't make that exception for IT.
  • Some licenses are only open to locals. The companies that run China's mandatory security assessments must employ only Chinese citizens, and Tunisia's certified audit companies must be Tunisian-owned.

Which countries require a license to sell penetration tests?

Eleven countries have a license or registration that applies to any client, most of them in Southeast Asia, the Middle East and Africa. Two of them, Zambia and Turkey, are not open yet.

World map of the 50 countries we checked, colored by when a company needs a license to sell penetration tests there
Figure 1: The 50 countries we checked, by when a company needs a license to sell penetration tests there. Grey countries were not checked, and the EU NIS2 registration is not shown. Source: each country's law or regulator, linked in the sections below, checked 25 November to 2 December 2026.

In these eleven countries, you need the license or registration even if your client is a private company, and in Zambia and Turkey you will once licensing opens. Indonesia's is a registration for online platforms, not a testing license. The EU row is different: it's a registration, and only larger providers need it. The "Covers automated scanning?" column tells you whether a company that only sells automated vulnerability scanning, with no hands-on testing, also needs the license.

Country What you need Covers automated scanning? Can a foreign company get it? Cost
Singapore Penetration testing service license (Cybersecurity Act 2018) No, vulnerability assessment alone is not licensed Yes, no local company needed S$2,500 for 5 years
Malaysia NACSA penetration testing license (Cyber Security Act 2024) The tool itself needs no license, but the service may Yes, with Malaysian company registration (SSM) and address RM1,000 a year per service
Vietnam Cybersecurity product and service business license (Law 116/2025) Yes, scanning is named Only through a company established in Vietnam VND 8 million, valid 10 years
Egypt NTRA cybersecurity services registration Yes, vulnerability assessment has its own category Not stated in the rules EGP 30,000 to 125,000 for penetration testing, for 3 years
Jordan NCSC license for penetration testing services (Cybersecurity Law 16/2019) Yes, scans are part of the licensed method Only through a company registered in Jordan JOD 3,500 for 3 years
Ghana Cyber Security Authority license (Cybersecurity Act 2020) Yes, vulnerability assessment is licensed with it Yes, but it must first register its company in Ghana's official company registry. A company with no presence in Ghana must partner with a licensed Ghanaian provider Not published, valid 2 years
Tanzania TCRA license for cybersecurity services Not stated Not stated for cybersecurity licenses TZS 3.5 million for 5 years, plus 1% of turnover
Zambia Cyber Security Act 2025 license Yes, vulnerability assessment is listed Not stated Not published; licensing is not open yet
Saudi Arabia NCA cybersecurity service provider registration Yes, it covers any cybersecurity service Only with a Saudi commercial register and address Free
Turkey Cyber Security Presidency certification (Law 7545) Rules not issued yet Rules not issued yet Not published
Indonesia PSE registration for online platforms Yes, for platforms used in Indonesia Yes, foreign platforms are named Not published
EU NIS2 registration as a managed security service provider Depends on the service Yes, through an EU representative No fee set by NIS2

Which countries could require a license soon?

Five countries are close to a license, or have one that may cover penetration testing.

Country What is coming Status
Nigeria NITDA license for software testing organizations, security testing included Signed in July 2026, not in force yet
Mexico Federal authorization for "information security" services under the private security law In force, but no official text says whether it covers penetration testing
Ethiopia License for cybersecurity products and services (Proclamation 1426/2026) Published in July 2026, in force from about July 2027
Bahrain Licensing of cybersecurity service providers Announced in the 2025 to 2028 national strategy, no rules yet
Republic of the Congo Approval for security audit experts (Decree 2025-511) In force since December 2025; covers penetration testing in mandatory audits, unclear for other clients

Where do the rules only apply to government, critical infrastructure or banks?

In these countries, a private company can buy a pentest from any provider. The rules in this section only apply to certain clients: public bodies, critical infrastructure operators, regulated banks and, in China, any organization whose systems the state rates as important. Qatar, South Korea and Japan's IPA list are included because they run approval schemes, but using them is voluntary.

Country Required approval Who must use it
United Kingdom CHECK (NCSC), CBEST (Bank of England) Public sector and critical infrastructure; financial firms selected for CBEST
EU DORA threat-led penetration testing (TLPT) Financial entities selected by their regulator
France PASSI (ANSSI) Security controls the State orders on vital operators' systems
Spain ENS declaration or certification IT suppliers to Spanish public bodies
UAE (Dubai) DESC Cyber Force Dubai government, semi-government and critical infrastructure
Qatar NCSA penetration testing accreditation No one: it is voluntary, open to providers located in Qatar
Oman MTCIT security assessment accreditation Government bodies
Kuwait CBK-approved assessor Banks, for their yearly cyber audit
India CERT-In empanelment Government, stock market firms (SEBI) and payment aggregators (RBI)
China Approved security assessor Systems rated level 3 or higher on China's 5-level security scale, private companies included
South Korea Designated information-protection consulting company Optional for critical infrastructure assessments
Japan ISMAP, IPA service list Cloud sold to government (ISMAP); the IPA list is a buyer preference
Taiwan Cyber Security Management Act Government and critical infrastructure
Philippines DICT D-TAP accreditation Government agencies that outsource their assessments
Thailand Critical infrastructure testing rules Critical infrastructure, which must use certified, independent testers
Bangladesh Bangladesh Bank approval Banks and financial institutions signing a service agreement abroad
Pakistan PTA certification, nCERT registration Telecom operators; public bodies can use nCERT-registered firms
Kazakhstan State Technical Service or accredited testing laboratory E-government and critical digital systems
United States FedRAMP, CMMC Cloud sold to federal agencies; defense contractors
Canada Contract Security Program Federal contracts with security requirements
Mexico CNBV bank rules Banks, which must use an independent, certified third party
Brazil CMN Resolution 4,893, BCB Resolution 85 Banks and payment institutions, which must use an independent tester
Argentina BCRA rules Banks, payment providers and major payment systems, which must use independent third parties
Chile Cybersecurity Framework Law certification Operators of vital importance
Tunisia ANCS-certified auditors Public bodies, telecom and hosting providers and critical infrastructure, for their yearly audit
Kenya Critical infrastructure regulations Critical infrastructure owners, who must notify before outsourcing
South Africa Joint Standard 2 of 2024 Financial institutions, which must run penetration tests

No license is needed in Germany, Italy, the Netherlands, Switzerland, Hong Kong and New Zealand. Belgium, Colombia and Australia have general security licenses worth a look: see Countries where no pentest license is needed.

If you sell from abroad, where do you start?

Not every country on the list matters the same way. If you sell testing from outside these countries, this is the order we would work in:

  1. Singapore and Malaysia first. Both licenses cover foreign companies selling to clients there, and both are open to them. Singapore doesn't even ask for a local company, and Malaysia only asks for a company registration and an address.
  2. Ghana and Jordan next, because clients get fined too. Buyers there have a reason to ask for your license number before they sign.
  3. Plan a local company or a licensed partner for Vietnam, Jordan, Saudi Arabia and Ghana. Only a company registered in the country can hold the license or registration there, and in Ghana a foreign company with no presence must partner with a Ghanaian-owned licensed provider.
  4. Everywhere else, look at who the client is. A bank, a public body or a critical infrastructure operator brings its own approval rules. A private company usually doesn't.

Countries where you need a license or registration for any client

These eleven countries require a license or registration whoever the client is, and the EU adds a registration for larger providers. Each entry says who needs it, whether a foreign company can get it and, where published, what it costs.

Singapore

Singapore licenses penetration testing under the Cybersecurity Act 2018, through the Cybersecurity Services Regulation Office (CSRO).

  • Who needs it: any company selling penetration testing to clients in Singapore, including foreign companies selling remotely and resellers. No Singapore company is needed.
  • Not covered: only penetration testing and managed SOC monitoring are licensed. CSA states that vulnerability assessment, which scans for flaws without compromising defenses, "is not a licensable cybersecurity service" (CSA consultation response).
  • Cost: S$2,500 for a business (S$1,250 for an individual), valid 5 years. Processing takes about 8 weeks.
  • Certification: licensees must also hold the Cyber Trust Mark (Promoter, Tier 3) or ISO/IEC 27001, with a deadline of 30 June 2027.
  • Penalty: up to S$50,000, 2 years in prison, or both.

Source: Cybersecurity Act 2018, GoBusiness license page, CSRO FAQ. Banks: see what MAS expects you to test.

Malaysia

Under the Cyber Security Act 2024 (Act 854), penetration testing and managed SOC monitoring need a license from NACSA, the National Cyber Security Agency.

  • Who needs it: any company that provides or advertises penetration testing in Malaysia, foreign companies included. Testing systems hosted outside Malaysia is out of scope.
  • What you need: Malaysian company registration (SSM) and, for foreign companies, a Malaysian correspondence address (NACSA application page).
  • Tools: the tools themselves need no license. NACSA does not say whether a service delivered mostly by a tool needs one.
  • Cost: RM1,000 per service per year for a company (RM400 for an individual).
  • Penalty: up to RM500,000, 10 years in prison, or both.

Source: Act 854, NACSA licensing FAQ. Banks: see what BNM's RMiT asks you to test.

Vietnam

Since 1 July 2026, selling cybersecurity products and services in Vietnam, security testing and scanning included, requires a business license (Law 116/2025 and Decree 332/2026).

  • Who can hold it: only a company established under Vietnamese law, foreign-invested ones included. For testing services it needs a legal representative of Vietnamese nationality and at least 5 qualified staff resident in Vietnam.
  • Cost: VND 8 million, plus VND 2 million for each extra service type. The license lasts 10 years.

Source: Law 116/2025, Decree 332/2026, Circular 152/2026/TT-BTC on fees (in Vietnamese).

Egypt

Since 2024, the National Telecom Regulatory Authority (NTRA) registers providers of cybersecurity services to clients in Egypt, with separate categories for penetration testing and vulnerability assessment.

  • Who needs it: "any natural or legal person" providing these services in Egypt. Egyptian clients may not contract an unregistered provider, and government, critical infrastructure and telecom operators may only use Level 1 providers.
  • Cost: penetration testing EGP 125,000 (Level 1) or 30,000 (Level 2), vulnerability assessment EGP 50,000 or 15,000, plus an application fee of EGP 2,000 (Level 1) or EGP 1,000 (Level 2). Registration lasts 3 years.
  • Foreign companies: the framework neither requires an Egyptian company nor says a foreign one can register. Ask NTRA first.

Source: NTRA cybersecurity services framework, June 2024 (archived copy, in Arabic).

Jordan

Jordan's Cybersecurity Law (Law 16 of 2019) bans providing any cybersecurity service without a license from the National Cyber Security Center (NCSC). The licensing system of 2024 and the penetration testing instructions published on 19 March 2026 put it into practice.

  • Who needs it: any provider working in Jordan. Clients may only buy from licensed providers and can be fined for using an unlicensed one.
  • Who can hold it: a legal person registered under Jordanian law, with at least 3 testers. The lead needs a degree, an NCSC-approved certification and 5 years of experience.
  • Foreign providers: government, state-owned companies and critical infrastructure need NCSC approval to use services from outside Jordan, and licensees may only subcontract to other licensees.
  • Cost: JOD 350 to apply, then JOD 3,500 for 3 years.
  • Penalty: at least JOD 1,000 for working without a license, and up to JOD 100,000 under the law.

Source: Cybersecurity Law 16 of 2019, licensing system No. 76 of 2024, NCSC licensing instructions and publication notice, 2025 penalty instructions (in Arabic).

Ghana

Under the Cybersecurity Act 2020 (Act 1038), no one may provide a cybersecurity service without a license from the Cyber Security Authority (CSA), which licenses vulnerability assessment and penetration testing by name.

  • Status: enforced since October 2023. In August 2026, the CSA fined two providers for working without a license (GH₵120,000 and GH₵360,000), and fined a client for hiring one.
  • Foreign companies: can get the license, but must first register their company with the Registrar-General, Ghana's official company registry. A foreign company that will not operate in Ghana must show it has a partnership with a Ghanaian-owned licensed provider.
  • Cost: not published. A license lasts 2 years.

Source: Cybersecurity Act 2020, CSA licensing FAQ, CSA press releases.

Tanzania

Since January 2025, anyone providing cybersecurity services in Tanzania needs an individual license from the Tanzania Communications Regulatory Authority (TCRA).

  • What counts: "cybersecurity consultancy services including penetration testing" and managed security operations centers. Applications must include professional certificates for key staff.
  • Cost: TZS 175,000 to apply and TZS 3.5 million to issue, plus a yearly royalty of 1% of turnover. The license lasts 5 years.
  • Clients: organizations served by the national CERT must "engage licensed security penetration testers". TCRA's statistics page lists 38 entries under cybersecurity services.

Source: GN 56 of 2025, GN 157 of 2025, GN 570 of 2023.

Zambia

Zambia's Cyber Security Act 2025, in force since 12 May 2025, says "a person shall not provide a cyber security service without a licence". The Act lists penetration testing, vulnerability assessment, cyber audit and red teaming as such services, and bars critical infrastructure owners from hiring unlicensed providers. The penalty is up to 500,000 penalty units, 5 years in prison, or both. No license categories or fees have been published yet, and there is no licensing portal.

Source: Cyber Security Act No. 3 of 2025.

Saudi Arabia

Since 1 August 2022, companies providing cybersecurity services to organizations in Saudi Arabia must register with the National Cybersecurity Authority (NCA). Registration is free but needs a Saudi commercial register and national address, so in practice a Saudi company.

A licensing framework (RFCS-1:2026) went to public consultation in February 2026. As drafted, it requires a company established in Saudi Arabia, delivery from within the Kingdom and no access to client data from abroad, and lets licensees subcontract only to other licensees. It is not final yet.

Source: NCA registration FAQ, NCA Investor Guide, RFCS-1:2026 draft. Banks: see what SAMA asks you to test.

Turkey

Turkey's Cyber Security Law (Law 7545) requires cybersecurity companies to be certified by the Cyber Security Presidency within one year of its implementing rules. Working without approval can mean 2 to 4 years in prison and a judicial fine. The implementing rules are not in force yet. Drafts published for comment in November 2026 would require yearly penetration tests by independent companies the Presidency authorizes.

Source: Law 7545, draft cyber resilience regulation (in Turkish).

Indonesia

Indonesia requires private electronic system operators (PSE), foreign ones included, to register before their platform is used in the country. Unregistered platforms can be blocked. This is a platform registration, not a testing license: it matters for scanning and testing platforms delivered online, not for a pentest delivered as a report. The rules put the duty on whoever operates the platform and don't mention resellers.

Source: Ministerial Regulation 5/2020, as amended by Regulation 10/2021.

European Union (NIS2)

NIS2 covers managed security service providers, and its recitals name penetration testing and security audits among their services. Providers with 50 or more staff, or both turnover and balance sheet above EUR 10 million, register once in the EU country of their main establishment. Providers outside the EU name a representative in an EU country where they offer services. It's a registration with security and incident-reporting duties, not a license to sell.

Source: Directive (EU) 2022/2555.

Countries to watch

Five countries are on the way to a license, or have one whose scope is unclear. Nigeria, Ethiopia and Bahrain have rules signed, published or announced, and Mexico and the Republic of the Congo have a license in force that may or may not cover penetration testing.

Nigeria

In July 2026, NITDA signed guidelines saying software built or changed for use in Nigeria must be tested by a licensed software testing organization before deployment, penetration testing included. Applicants need Nigerian company registration (CAC). Fees are ₦20 million, ₦10 million or ₦2.5 million depending on the system's impact level. Neither guideline has a start date yet.

Source: National Software Testing Guideline, Licensing Guideline.

Mexico

Mexico's Federal Private Security Law lists "information security" as a private security service, which needs federal authorization (SSPC) and a Mexican company. No official text says whether penetration testing falls in it. In the official register of 1,465 authorized companies (November 2026), only 8 hold this category, and one of them is a cybersecurity firm. A bill filed in September 2026 would add "vulnerability analysis" to the category. Separately, CNBV rules require banks to have penetration tests done at least twice a year by an independent third party whose staff hold specialized certifications.

Source: Federal Private Security Law, SSPC requirements, April 2026, authorized company register, September 2026 bill, CNBV rules (in Spanish).

Ethiopia

Proclamation 1426/2026 bans providing cybersecurity products or services without a license, and counts penetration testing as part of a critical infrastructure audit. A directive from INSA, the national information security agency, will list which services need the license. Conditions include security clearance, minimum capital and a permanent address in Ethiopia. It was published on 21 July 2026 and applies one year later. Source: Proclamation No. 1426/2026.

Bahrain

No license yet, but the National Cyber Security Strategy 2025 to 2028 says "structured licensing processes for cybersecurity service providers will be developed". Source: strategy summary.

Republic of the Congo

Since December 2025, security audit experts need approval from the national information security agency. Individuals must be Congolese, and companies must be Congolese with at least 2 approved local auditors. A related decree on mandatory security audits lists penetration testing as part of them. The decrees don't say whether testing outside those audits needs it. Source: Decrees 2025-511 and 2025-515 (in French).

Countries where only government, critical infrastructure or bank work needs one

In these countries, any provider can test for a private company. Approval rules only apply to public bodies, critical infrastructure operators, regulated banks and, in China, systems the state rates as important.

Europe

United Kingdom. Two schemes matter here. CHECK is the NCSC's approval for testing government and critical national infrastructure: membership is free, but testers need SC clearance and a UK Cyber Security Council testing title. CBEST is the Bank of England's tests of selected systemically important financial firms, and only CREST members the Bank has accredited can run them. CREST membership costs from about £10,500 in the first year, then from £7,500 a year (CREST fees).

EU (DORA). Financial entities chosen by their regulator must run threat-led penetration testing (TLPT) at least every 3 years. The test team needs a manager with 5 years of experience, at least two testers with 2 years each, indemnity insurance and, if external, five references, so an automated or AI tool alone does not qualify (DORA, Delegated Regulation 2025/1190). See also DORA testing for mobile banking apps.

France. When the State orders a security control on an operator of vital importance, ANSSI or a provider it has qualified (PASSI) does it. This may widen soon: the NIS2 bill the Assemblée nationale adopted on 17 November 2026 would make NIS2 entities turn first to providers that hold an ANSSI qualification and pay corporate tax in France. The bill still goes back to the Senate (bill text, in French).

Spain. IT suppliers to Spanish public bodies must meet the Esquema Nacional de Seguridad, with a declaration for basic-category systems or a certification for medium and high ones (Royal Decree 311/2022).

Middle East

UAE (Dubai). Dubai government, semi-government and critical infrastructure must buy from providers certified under DESC's Cyber Force program. To get certified, a provider needs a UAE trade license, CREST penetration testing accreditation if it is not a CREST member, and Dubai Police clearance for its team. The testers it sends must also hold the qualifications DESC sets for penetration testing. Applying is free, and the certificate is renewed every year (Cyber Force guidelines).

Qatar. The NCSA accreditation for penetration testing is voluntary and only open to providers located in Qatar, and no rule we found obliges anyone to use it. It costs QAR 10,000 to apply, QAR 40,000 on award and QAR 30,000 to renew (accreditation, fees).

Oman. MTCIT accredits penetration testing and vulnerability assessment providers for government bodies. It asks for an Omani commercial registration, a technical team that is 30% Omani and security clearance, and the work is done on the client's premises by default. The initial assessment costs OMR 1,050 to 2,450 (accreditation, fees).

Kuwait. Here the rule is for banks: a yearly cyber audit by a CBK-approved assessor, and CBK approval before using cloud services for sensitive data (CBK cybersecurity framework).

Asia-Pacific

India. Government bodies, SEBI-regulated firms and RBI-regulated payment aggregators must use CERT-In empanelled auditors (SEBI CSCRF, RBI directions, CERT-In list).

China. This is the one country in this group where private companies are covered too. The state rates information systems on a 5-level security scale, and any organization with a system at level 3 or higher needs a yearly security assessment by an approved assessor. Assessors must be Chinese-funded and employ only Chinese citizens, so a foreign company can sell an ordinary pentest but not this assessment (MLPS measures, 2007, in Chinese).

South Korea. The science and ICT ministry designates information-protection consulting companies, which need at least 10 technical staff and KRW 1 billion in equity. Using one is optional: critical infrastructure operators can also turn to KISA, ETRI, a sector center or their own team (KISA, in Korean).

Japan. Neither of Japan's two lists is a testing license. Government bodies buy cloud services registered under ISMAP as a rule, and the IPA service list of security services, vulnerability assessment included, is a reference for buyers. Listing costs ¥40,000 to review, then ¥180,000 a year, or ¥270,000 for assessment that includes penetration testing (fees, in Japanese).

Taiwan. Government agencies and critical infrastructure must pick contractors with sound security measures or a third-party certification (Cyber Security Management Act, in Chinese). The Ministry of Digital Affairs also rates security vendors, but no law requires the rating.

Philippines. Government agencies can test in-house or hire a provider accredited under DICT's vulnerability assessment and penetration testing program, D-TAP (DICT).

Thailand. On critical information infrastructure, penetration testers must hold industry-recognized certifications and be independent of the system (2021 code of practice, in Thai). NCSA's separate provider certification is not required for this.

Bangladesh. Banks and financial institutions need Bangladesh Bank's approval before signing a cross-border service agreement, which would include hiring a testing provider based abroad (ICT security guideline).

Pakistan. Telecom operators need a yearly on-site audit by a PTA-certified firm registered in Pakistan, under the PTA's 2025 critical telecom security regulations. Public bodies can hire firms registered with nCERT, which foreign companies can only join through a local branch (nCERT).

Kazakhstan. E-government and critical digital systems must pass compliance testing, manual penetration testing included, by the State Technical Service or an accredited laboratory (Order 111/НҚ, in Russian).

North and South America

United States. There is no federal license. FedRAMP applies to cloud sold to federal agencies, and CMMC to defense contractors. Some state private investigator laws can cover forensics, but Texas says cybersecurity work needs no license (Texas Occupations Code).

Canada. No federal license either, and the provinces mostly stay out of it: British Columbia exempts advice on protecting electronic data (B.C. Reg. 207/2008), while Ontario and Quebec license private investigators, which matters for forensics. Federal contracts with security requirements need Contract Security Program screening, open only to organizations based in Canada. For banks, OSFI Guideline B-13 expects regular testing but no tester accreditation.

Brazil and Argentina. Both put the duty on banks and ask for no tester accreditation. Since March 2026, Brazilian banks and payment institutions must run penetration tests at least once a year, done independently by a specialist they hire (CMN Resolution 4,893 and BCB Resolution 85, in Portuguese). In Argentina, banks, payment providers and major payment systems must have vulnerability tests done by independent third parties (BCRA rules, in Spanish).

Chile. Operators of vital importance must have their cybersecurity plans certified every 2 years by certifiers on a registry the National Cybersecurity Agency will keep. That registry is not published yet (Law 21,663).

Africa

Tunisia. Public bodies, telecom and hosting providers, critical infrastructure and other listed organizations need a yearly security audit by ANCS-certified experts, under Decree-Law 2023-17. Only Tunisian-owned companies with Tunisian auditors can run it (audit requirements, in Arabic).

Kenya. Critical infrastructure owners must tell the national cybercrime committee (NC4) in writing before they outsource (Legal Notice 44 of 2024). A certification scheme for providers is planned.

South Africa. The private security law does not mention cybersecurity. The rule is for finance: since June 2025, banks, insurers and other covered financial institutions must run penetration tests on critical systems, at least once a year for internet-facing ones, with no accreditation required (Joint Standard 2 of 2024).

Countries where no pentest license is needed

Germany, Italy, the Netherlands, Switzerland, Hong Kong and New Zealand have no license for selling penetration tests. In EU countries, larger providers still register under NIS2. Three more have a general security license worth knowing about: Belgium's excludes IT, Colombia's never mentions it, and the Australian states' don't exclude it.

Belgium. The private security law licenses security consultants, but advice that only concerns IT systems and their data is excluded (Law of 2 October 2017).

Colombia. No cybersecurity license. Decree-Law 356 of 1994 licenses "security advisory, consulting and investigation services" but never mentions IT, and no official text we found applies it to penetration testing.

Australia. There is no cyber license, but New South Wales, Victoria and Queensland license security consultants in wide terms, with no exception for IT. If you also give security advice there, ask the state regulator (NSW class 2 licenses).

How do you check that your pentest provider is licensed?

  1. Find out which rule applies to you, using the tables under "Which countries require a license to sell penetration tests?" and "Where do the rules only apply to government, critical infrastructure or banks?"
  2. Ask the provider for its license or registration number.
  3. Check it in the official register, not on the provider's website. Singapore's CSRO list, Malaysia's NACSA holder list, Saudi Arabia's NCA entity list, Egypt's NTRA register (tra.gov.eg was down for maintenance in early December 2026), Ghana's CSA license checker, the CREST marketplace and the NCSC CHECK finder.
  4. Check the scope and dates. A license for managed SOC services does not cover penetration testing, and Malaysian licenses expire after a year.
  5. If a partner sells you the test, ask who does the work. See "Does a local partner's license cover a foreign testing company?"

For what a pentest itself should cost, see How Much Does an Application Penetration Test Cost in 2026?

Does a local partner's license cover a foreign testing company?

Many testing companies sell abroad through local partners. Whether the partner's license covers the company doing the work depends on the country:

License or accreditation Does the partner's license cover the company doing the work?
CREST penetration test Yes, with conditions. CREST's code of conduct counts subcontracted consultants as the member company's staff. The test runs under the partner's methodology, with qualified testers, and the client is told the work is done under the CREST name.
CBEST (UK) No. The testing company itself must be accredited.
DESC Cyber Force (Dubai) No. Testers must be employees of an approved provider.
Indonesia PSE Unlikely. Registration falls on whoever runs the platform, and the rules don't mention resellers.
Saudi NCA registration Not stated in the current rules. The draft license would cover companies working through a licensed partner.
Egypt NTRA registration Not stated. The client contracts with the registered partner, but the rule covers "any person" providing the service.
Jordan NCSC license No. A licensee may only subcontract to another licensee.
Ghana CSA license Not stated. The CSA says a foreign provider that will not operate in Ghana must show a partnership with a Ghanaian-owned licensed provider. It does not say the partner's license covers you.

Where the text is silent, ask the regulator in writing before you rely on a partner.

Source: CREST Code of Conduct v26, CBEST implementation guide, DESC Cyber Force guidelines.

Do AI-run penetration tests need a license?

The licensing laws in this guide regulate the service of penetration testing. None of the ones we read has an exception for tests run by AI. If you buy or sell AI-run pentests in Singapore, Malaysia, Vietnam, Egypt, Jordan, Ghana, Tanzania, Saudi Arabia or Zambia, ask the regulator how the rules apply.

Some bank and government testing rules also require named human testers:

For SOC 2, see Can SOC 2 Accept an AI-Conducted Penetration Test?

Where does Ostorlab fit?

Where a law or a regulator names who may run a test, that provider runs it. Ostorlab covers the releases between those accredited assessments, not the mandated assessment itself. A bank that needs a licensed or accredited pentest once a year still ships new app versions every few weeks, and each of them can be tested.

Disclosure: Ostorlab publishes this blog and sells security testing, including Agentic Pentest. This guide is reviewed every quarter.

Frequently asked questions

Do you need a license to do penetration testing?

In most countries, no. Eleven of the 50 countries we checked have a license or registration that applies to any client, most of them in Southeast Asia, the Middle East and Africa. Indonesia's only covers online testing platforms, and Zambia and Turkey have not opened theirs yet. Elsewhere, the rules only apply when you test for government, critical infrastructure or banks.

Does a foreign company need a license to sell pentests in Singapore?

Yes. Singapore's license covers foreign companies selling to clients in Singapore, including remotely, and resellers. No Singapore company is needed. A business license costs S$2,500 for 5 years.

Is vulnerability scanning covered by these licenses?

It depends on the country. Singapore does not license vulnerability assessment on its own, and in Malaysia the tools themselves need no license, though a service using them may. Vietnam names scanning in its license, and Egypt has a separate vulnerability assessment category.

No country makes CREST a general legal requirement to sell penetration tests. Two programs depend on it: the Bank of England's CBEST tests of major financial firms, and Dubai's DESC Cyber Force for government work, which asks providers that are not CREST members for CREST penetration testing accreditation. Many buyers also ask for it.

Can a local partner's license cover a foreign testing company?

Sometimes. CREST lets accredited members subcontract under conditions. CBEST and Dubai's DESC Cyber Force do not, and Indonesia's PSE registration falls on whoever runs the platform. Jordan only allows subcontracting to other licensees. Saudi Arabia's, Egypt's and Ghana's current rules don't say.

Do AI-run penetration tests need a license?

The licensing laws we read regulate the penetration testing service, and none has an exception for tests run by AI, so ask the regulator how the rules apply to AI-run tests in your country. DORA TLPT and CBEST require qualified human testers, so an AI-only test does not meet them.

Free scan

Scan your own app for free

or book a demo

Keep reading

Related articles

Browse the blog