Penetration Testing Types Explained: 11 Kinds of Pen Tests and When You Need Each
Web app, API, cloud, AI, physical and more. Learn the 11 main types of penetration testing, what each finds and which your program needs.

There are 11 common types of penetration testing: web application, API, mobile application, external network, internal infrastructure, wireless, cloud, AI and machine learning, OT and IoT, physical security and social engineering. Each targets a different attack surface. Most mid-market and enterprise programs combine several types, test at least annually and after major changes, and retest every fix.
What is a penetration test?
A penetration test is a human-led, authorized attempt to find and exploit weaknesses in systems, people or facilities, then show what an attacker could actually reach. NIST's SP 800-115, its technical guide to security testing and assessment, describes penetration testing as security testing in which assessors mimic real-world attacks to identify ways to circumvent security features.
The key word is human. Automated scanners find known issues. Pen testers chain small issues into real attack paths.
What is the difference between a vulnerability scan and a pen test?
| Vulnerability scan | Penetration test | |
|---|---|---|
| Who runs it | Automated tool | Qualified human testers |
| Goal | Find known weaknesses | Prove exploitability and impact |
| Frequency | Continuous to monthly | Typically annual and after major change |
| Depth | Broad, shallow | Narrow, deep |
| False positives | Common | Validated by testers |
| Output | List of findings | Attack narrative, evidence, risk ratings |
You need both. Scanning catches drift between tests; pen testing shows what scanning misses.
What are the 11 types of penetration testing?
| Type | What testers target | When you especially need it |
|---|---|---|
| Web application | Authentication, session handling, injection, access control in web apps | You run customer-facing web apps or portals |
| API | Broken object-level authorization, authentication, rate limits, data exposure | Your product or partners rely on APIs |
| Mobile application | App binaries, local storage, API calls, platform protections | You ship iOS or Android apps |
| External network | Internet-facing hosts, services and exposed management interfaces | Always, as a baseline |
| Internal infrastructure | Lateral movement, privilege escalation, Active Directory paths | You want to know what an insider or compromised laptop could reach |
| Wireless | Wi-Fi configuration, rogue access points, segmentation | You run office or facility networks |
| Cloud | IAM misconfigurations, exposed storage, cross-account paths | You run workloads in AWS, Azure or Google Cloud |
| AI and machine learning | Prompt injection, data leakage, insecure output handling, excessive agent permissions | You build or deploy AI features or agents |
| OT and IoT | Industrial control systems, devices, firmware, protocols | You operate manufacturing, utilities or connected devices |
| Physical security | Badge access, tailgating, locks, facility controls | You protect offices, data centers or sensitive sites |
| Social engineering | Phishing, vishing, pretexting against staff | Always; people are part of the attack surface |
Common testing references include the OWASP Web Security Testing Guide for web apps, the OWASP API Security Top 10 for APIs, the OWASP Mobile Application Security Testing Guide for mobile and the OWASP Top 10 for LLM Applications for AI systems.
Which pen tests does your program need?
Start from your attack surface and obligations, not a menu:
- Everyone: external network and social engineering.
- SaaS companies: add web application, API and cloud.
- Companies with apps: add mobile application.
- Companies building AI features: add AI and machine learning testing. See shadow AI for the people side of AI risk.
- Companies with offices or facilities: add internal infrastructure, wireless and physical.
- Manufacturing, energy and healthcare devices: add OT and IoT.
The human element still matters most. Verizon's 2026 Data Breach Investigations Report found the human element was involved in 62% of breaches, which is why social engineering testing pairs well with a phishing simulation program.
How often should you run penetration tests?
Many programs test at least annually and after significant change. For payment environments, PCI DSS v4.0.1 Requirement 11.4 requires internal and external penetration testing at least once every 12 months and after significant infrastructure or application upgrades or changes, plus segmentation testing.
SOC 2 and ISO 27001 do not prescribe a fixed pen test schedule, but auditors and enterprise buyers routinely ask for a recent third-party pen test summary in security questionnaires.
What should happen after a pen test?
A pen test report is not the finish line. A mature program:
- Rates findings by real exploitability and business impact.
- Assigns every finding to a named owner with a due date.
- Tracks fixes to completion.
- Retests to confirm each fix worked.
- Feeds results into the risk register and compliance evidence.
Where does VY fit?
VY Transform covers all eleven penetration test types listed above. Qualified testing partners deliver each human-led pen test, and VY Transform manages the engagement from scoping to final report, followed by remediation and retesting. Results connect into live risk signals so teams fix what matters most first. Confirm availability and scope with the VY team. See how VY Transform tests systems.
What is the bottom line?
Pick pen test types based on your real attack surface, test at least annually and after major change, and never stop at the report. The value of a pen test is the fixed and retested finding, not the PDF.
Frequently asked questions
Frequently asked questions
Direct answers about types of penetration testing.
What are the main types of penetration testing?
The main types are web application, API, mobile application, external network, internal infrastructure, wireless, cloud, AI and machine learning, OT and IoT, physical security and social engineering testing. Each targets a different part of the attack surface.
What is the difference between a vulnerability scan and a penetration test?
A vulnerability scan is an automated check for known weaknesses. A penetration test is a human-led exercise in which qualified testers try to exploit weaknesses and chain them together to show real impact. Scans are frequent and broad; pen tests are deeper and periodic.
How often should you run a penetration test?
Many programs test at least annually and after significant changes. PCI DSS v4.0.1 Requirement 11.4 requires internal and external penetration testing at least once every 12 months and after significant infrastructure or application changes. Higher-risk systems may warrant more frequent testing.
Do SOC 2 and ISO 27001 require penetration testing?
Neither names a fixed pen test requirement the way PCI DSS does, but auditors and customers commonly expect it as evidence for vulnerability management and risk assessment controls. Many enterprise security questionnaires ask for a recent third-party pen test summary.
What is AI penetration testing?
AI penetration testing evaluates AI and machine learning systems for weaknesses such as prompt injection, sensitive data disclosure, insecure output handling and excessive permissions. Testers often reference the OWASP Top 10 for Large Language Model Applications.
What happens after a penetration test?
Findings should be prioritized by real risk, assigned to owners, fixed and then retested to confirm the fix worked. PCI DSS explicitly requires exploitable vulnerabilities found in testing to be corrected and testing repeated to verify the corrections.



