Skip to content
Sovereign SecureSovereign Secure

Penetration testing guide

Types of Penetration Testing: Which Test Fits Which Risk

Updated

A side-by-side comparison of the main pen test types: what each one targets, what it typically finds and who needs it, plus a quick way to choose the right test.

Prefer to talk? Call +44 161 523 5276

  • 12 test types compared side by side
  • A quick guide to which test you need
  • The compliance drivers behind each test

The short answer

There are 12 main types of penetration testing: external network, internal network, web application, API, mobile app, cloud, wireless, hardware and IoT, social engineering, AI and LLM, source code review and red teaming. Each covers a different attack route. Most organisations start with an external network test and a web application test, then add others as their risks require.

On this page
  1. What are the different types of penetration testing?
  2. Which type of penetration test do I need?
  3. What types of network penetration test are there?
  4. What types of application penetration test are there?
  5. What do cloud, wireless and hardware tests cover?
  6. Where do social engineering and red teaming fit?
  7. Which assessments are often confused with penetration tests?
  8. How else are penetration tests classified?
  9. Can you combine test types in one engagement?
  10. Why Sovereign Secure
  11. Next step

The types of penetration testing are named after what they attack: your networks, applications, cloud, devices or people. There are 12 in common use, and each finds a different kind of weakness, so the right test depends on where an attacker could get in and what you need to prove. The table below compares all 12; the sections after it show how to choose, and which assessments are often mistaken for pen tests.

Every type follows the same core process of scoping, reconnaissance, exploitation, reporting and retest. What changes is the target and the techniques. If you are new to the subject, our guide to what penetration testing is explains that process first.

What are the different types of penetration testing?

Test type What it targets What it typically finds Who needs it
External network Internet-facing IP addresses, firewalls, VPNs, mail and remote access Exposed or unpatched services, weak remote access, default credentials, open admin interfaces Anyone with internet-facing systems; PCI DSS 11.4.3
Internal network Your network from the inside, usually including Active Directory Paths from a normal user to domain admin, weak passwords, legacy protocols, poor segmentation Organisations with an office or data centre network; PCI DSS 11.4.2
Web application Websites, portals and web apps, logged in and out Broken access control, injection, cross-site scripting, business logic flaws Anyone whose web app holds customer data or takes payments
API REST, GraphQL and SOAP endpoints One customer reading another’s data, missing function-level checks, excessive data exposure SaaS, fintech, and anyone with a mobile app or partner integrations
Mobile app iOS and Android apps and the APIs behind them Sensitive data stored on the device, hard-coded secrets, weak transport security Anyone publishing an app that handles personal or payment data
Cloud AWS, Azure or Google Cloud accounts, and Microsoft 365 Over-privileged identities, public storage, exposed management interfaces, gaps in logging Organisations running production workloads in the cloud
Wireless Corporate, guest and specialist Wi-Fi Weak authentication, guest networks that reach internal systems, rogue access points Offices, shops and warehouses with Wi-Fi on or near the corporate network
Hardware and IoT Devices, firmware and their back-end services, including POS and PIN devices Open debug ports, extractable firmware and keys, insecure update mechanisms Device makers, and retailers and payment firms with device estates
Social engineering Staff, through phishing, phone pretexts and site visits Staff who click or share credentials, weak caller verification, unchallenged visitors Every organisation, especially finance teams and help desks
AI and LLM Chatbots, copilots, AI agents and the tools they can call Prompt injection, leakage of data or system prompts, agents taking actions they should not Anyone putting an AI model in front of users or sensitive data
Source code review Application source code, read by a tester with tool support Injection points, flawed authorisation logic, weak cryptography, secrets in code Software vendors, fintechs, and PCI DSS entities with bespoke code (Requirement 6.2.3)
Red team The whole organisation, against agreed objectives Whether attackers can reach key assets undetected, and how well you respond Mature organisations with a monitored environment and a response team

Which type of penetration test do I need?

Start from two questions: what can an attacker reach, and what do you need to prove, and to whom? This table maps common situations to a starting point:

If you… Start with Then consider
Have internet-facing systems (almost everyone) External network test Web application test for anything users log in to
Take card payments and validate PCI DSS Requirement 11.4 Internal and external tests at network and application layer (11.4.1 to 11.4.3), plus segmentation testing if you use segmentation (11.4.5) Source code review of bespoke payment software (Requirement 6.2.3)
Sell software or SaaS Web application and API tests Cloud test, source code review
Run an office network with Active Directory Internal network test Wireless test, social engineering
Host production workloads in AWS or Azure Cloud test API test of exposed services
Publish a mobile app Mobile app test, including its API Source code review
Have launched an AI assistant or agent AI and LLM test API test of the tools it can call
Test regularly and run a monitored environment Red team assessment Social engineering

ISO/IEC 27001:2022 names no test type: Annex A control 8.8 requires technical vulnerabilities to be managed, 8.29 covers security testing in development and acceptance, and your risk assessment decides which tests provide the evidence. Customer contracts and security questionnaires often name the systems they expect to be tested, so check them before you scope.

What types of network penetration test are there?

There are three: external, internal and segmentation testing. An external test attacks you from the internet, the way any outsider can; an internal test starts from inside, modelling a phished employee or compromised laptop, and usually focuses on Active Directory attack paths because that is where intrusions escalate. Segmentation testing, which PCI DSS Requirement 11.4.5 requires if you use segmentation to reduce scope, checks that out-of-scope networks cannot reach the cardholder data environment. Our network penetration testing service covers all three.

What types of application penetration test are there?

Application tests look at software rather than infrastructure, and their most serious findings are often flaws a scanner cannot recognise, such as one user reaching another user’s data:

Source code review sits alongside these. It reads the code instead of attacking the running application, so it can find flaws that testing from the outside is unlikely to reach.

What do cloud, wireless and hardware tests cover?

These tests follow your systems beyond the traditional network. A cloud penetration test reviews identities, permissions and exposed services within the provider’s published testing rules, because in the cloud, configuration decides much of what an attacker can reach. Wireless testing checks that Wi-Fi authentication is strong and that guest networks are kept apart from internal ones. Hardware and IoT testing opens the device itself: firmware, debug interfaces, stored keys and update mechanisms.

Where do social engineering and red teaming fit?

Social engineering tests the human layer, through phishing campaigns, phone pretexts and attempts to talk past reception. Red teaming combines technical, human and sometimes physical routes into a covert, objective-led attack that also tests whether your defenders notice. A penetration test finds as many weaknesses as possible in a defined scope; a red team tests detection and response. Our comparison of red teaming vs penetration testing explains when each fits. Purple teaming, where testers and defenders work together openly to improve detection, is an exercise rather than a type of penetration test. Every type on this page is carried out by authorised testers, often called ethical hackers, working to a written scope.

Which assessments are often confused with penetration tests?

Two assessments are often bought alongside a pen test but are different work:

Assessment What it is How it differs
Vulnerability scanning Automated checks for known weaknesses, run often No manual exploitation; PCI DSS asks for internal scans every three months (11.3.1) and external scans by an Approved Scanning Vendor (11.3.2)
Firewall configuration review A rule-by-rule review of firewall and network security control configuration Reads the rules instead of attacking through them; PCI DSS 1.2.7 asks for configuration reviews at least every six months

Both feed a test well: a clean rule base and a recent scan let the tester spend their days on what tools cannot find. Providers that sell scanning and testing together usually call it VAPT services (vulnerability assessment and penetration testing).

How else are penetration tests classified?

Beyond the target, types of pen testing are also labelled in four other ways:

  • By knowledge: black box, grey box or white box, depending on how much the tester is told. Our guide to black box vs white box penetration testing covers this.
  • By position: from the internet (external) or from inside the network (internal).
  • By access: unauthenticated, or with test accounts for each user role. Authenticated testing reaches the parts of an application that only logged-in users see.
  • By delivery: a one-off engagement, or continuous testing delivered as a service.

Can you combine test types in one engagement?

Yes, and it usually saves time. A web application and its API, or external and internal tests with segmentation testing, share reconnaissance and reporting. One scope, one report and one retest also give auditors a single piece of evidence.

Whatever the mix, scope it with the right people in the room. The NCSC’s penetration testing guidance advises involving risk owners and technical staff in scoping, and sharing a current vulnerability assessment with the testers so the test can check how complete it is.

Why Sovereign Secure

  • Every test type in the table: web applications, APIs, networks, cloud, mobile apps, hardware and IoT including POS and PIN devices, wireless, social engineering, red team, source code review and AI/LLM applications, plus vulnerability scanning and firewall review.
  • A PCI SSC Qualified Security Assessor (QSA) company, also a Qualified PIN Assessor and Card Production Security Assessor, so tests are scoped to the evidence your assessor will check.
  • ISO 27001 certified, so your scope, data and findings are handled under a certified information security management system.

Next step

Tell us what you need tested through our penetration testing quote form and we will recommend the right mix of tests with a fixed price, or call +44 161 523 5276.

Free tools and services

Last reviewed October 2026 by the Sovereign Secure assessment team.

Trusted by banks, payment providers and global brands

  • Accor
  • Fiserv
  • JCPenney
  • Ticketmaster
  • Nitecrest
  • Cashplus
  • Ahli United Bank
  • Kuwait Finance House
  • AYA Bank
  • Bank of Palestine
  • Liquid Pay
  • DataFlow Group
  • Wilmington
  • The Growth Company
  • Wahyukart

FAQ

Frequently asked questions

Can't find your answer? Call us on +44 161 523 5276 or send us a message.

What are the main types of pen testing?

The 12 main types are external network, internal network, web application, API, mobile app, cloud, wireless, hardware and IoT, social engineering, AI and LLM, source code review and red teaming. Tests are named after what they attack, and one engagement can combine several.

Which pen test do I need?

Start from what an attacker can reach and what you need to prove. Internet-facing systems call for an external test, anything users log in to needs an application test, and PCI DSS Requirement 11.4 needs internal and external testing, plus segmentation testing where segmentation reduces your scope. The decision table on this page maps common situations to tests.

What is the most common type of pentest?

External network and web application tests are the usual starting point, because they cover what anyone on the internet can reach. Customer security questionnaires also commonly ask for evidence of both.

What are the three types of penetration testing?

When people say three types, they usually mean black box, grey box and white box testing, which describe how much the tester is told in advance rather than what is tested. Our guide to black box vs white box penetration testing compares them.

What is the difference between internal and external penetration testing?

An external test attacks you from the internet, as an outsider would. An internal test starts inside your network, modelling a phished employee or compromised laptop. Our guide to internal vs external penetration testing covers the differences.

Is a vulnerability scan a type of penetration test?

No. A scan is an automated check for known weaknesses; a penetration test is manual work that proves what an attacker could do. Most organisations need both, as our comparison of penetration testing vs vulnerability scanning explains.

Can different types of penetration testing be combined?

Yes. A web application and its API, or external and internal network tests with segmentation testing, are commonly combined into one engagement with one scope, one report and one retest.

Free consultation

Talk to an assessor

We aim to reply within one working day, and send a fixed quote once your scope is confirmed.

  • PCI SSC-approved QSA, QPA, CPSA, P2PE and 3DS assessors
  • IASME-licensed Cyber Essentials certification body
  • Clients across the UK, US, Europe, Middle East and Asia since 2012

“The Cyber Security Services were delivered on time and price was competitive.”

Beverley McGowan, Director, Specialists Hub. Read the full testimonial

By sending this form you agree to us contacting you about your enquiry. See our privacy policy.

We aim to reply within one working day. The first consultation is free.