Quick answers
What is penetration testing?
Penetration testing is security testing in which testers mimic real-world attacks to find ways around the security features of an application, system or network. NIST SP 800-115 says it often involves real attacks on real systems and data, using the same tools and techniques attackers use.
What are the phases of a penetration test?
NIST SP 800-115 describes four: planning, where rules are agreed and goals set; discovery, where testers gather information and look for vulnerabilities; attack, where they try to exploit them to confirm they are real; and reporting, which runs alongside the other three and ends in a written report.
What is the difference between a penetration test and a vulnerability scan?
A vulnerability scan is an automated check for the possible existence of known weaknesses. A penetration test tries to exploit weaknesses to confirm they are real and show what an attacker could reach. The AvalonX free offering is an external vulnerability scan, not a pen test.
What are black box, grey box and white box penetration tests?
They describe how much the tester knows at the start. In a black box test the client shares nothing, in a grey box test it shares partial details, and in a white box test it can share full details of the network and applications. PCI guidance says PCI DSS tests are typically white box or grey box.
Who needs a penetration test?
Any business that is asked for one by a payment card standard, an auditor, an insurer or a customer. PCI DSS requires internal and external tests at least once every 12 months and after significant changes. SOC 2 and the current HIPAA Security Rule do not mandate one, and some cyber insurance applications ask whether you test at least annually.
How is AI changing penetration testing?
AI systems can now find and fix some real vulnerabilities. In DARPA's AI Cyber Challenge, whose final results were announced in August 2025, finalists' systems found 54 unique synthetic vulnerabilities across 63 challenges, patched 43, and found 18 real ones. Google's Big Sleep team called its own results highly experimental, so judge any AI-driven test by its scope, evidence and report.
What does NIST say penetration testing is?
The US National Institute of Standards and Technology (NIST) covers it in SP 800-115, Technical Guide to Information Security Testing and Assessment. That guide describes penetration testing as security testing in which assessors mimic real-world attacks to find ways around the security features of an application, system or network. It adds that a test often involves launching real attacks on real systems and data, using the tools and techniques attackers use. The NIST glossary carries the same definition, alongside shorter ones such as testing that checks how far a system resists active attempts to compromise its security.
The key idea is chaining. SP 800-115 says most penetration tests look for combinations of vulnerabilities that together give more access than any single one would. It lists what a test can tell you:
- How well a system tolerates real-world attack patterns.
- How sophisticated an attacker would need to be to compromise it.
- Which extra countermeasures could reduce the threats against it.
- Whether your defenders detect the attack and respond well.
The guide is also plain about the risk. Penetration testing is labor-intensive and needs real expertise, and systems can be damaged or made inoperable during a test. Experienced testers reduce that risk but cannot remove it, which is why NIST says a test should only follow careful consideration, notification and planning.
What are the phases of a penetration test?
SP 800-115 describes four phases. It calls this one example, and says there are many acceptable ways to group the work.
- Planning. Rules are identified, management approval is finalized and documented, and testing goals are set. No testing happens in this phase.
- Discovery. Testers gather information, such as host names, IP addresses, running services and software versions, and scan for targets. They then compare what they found against vulnerability databases, such as the National Vulnerability Database, and their own knowledge.
- Attack. Testers try to exploit the potential vulnerabilities, to confirm they are real. A successful exploit can open up more access, which sends testers back to discovery. NIST draws this as a loop between the two phases.
- Reporting. This runs alongside the other three. The plan or rules of engagement are written during planning, logs are kept during testing, and the final report describes the vulnerabilities found, rates their risk and explains how to fix them.
Other methods split the work differently. The Penetration Testing Execution Standard (PTES) uses seven sections, from pre-engagement interactions to reporting. Our guide to choosing a penetration testing company explains how to check which method a provider follows.
What types of penetration test are there?
Tests are usually named after what is being attacked, and from where. These are the common types.
| Type | What it tests | Useful reference |
|---|---|---|
| External network | Internet-facing systems, tested from outside as an outside attacker would. Testers start from public information and try to get past perimeter defenses. | NIST SP 800-115 |
| Internal network | Testing from inside your network, playing a trusted insider or an attacker who is already in. Testers often start with ordinary user access and try to raise their privileges. | NIST SP 800-115 |
| Web application | Websites and web apps: logins, sessions, user roles, input handling and business logic. | OWASP Web Security Testing Guide |
| API | The interfaces your apps, customers and partners call. The first risk in the 2023 OWASP list is broken object level authorization, where one user can reach another user's data. | OWASP API Security Top 10 (2023) |
| Cloud | Your accounts and workloads at a cloud provider. Providers set their own rules: AWS lets customers test a list of its services without prior approval, but does not allow testing of AWS's own infrastructure. | AWS penetration testing policy |
| Social engineering | People rather than systems: phishing emails or phone calls that try to trick staff into revealing passwords or other information. | NIST SP 800-115 |
Two details from SP 800-115 are worth knowing. When both internal and external tests are planned, the external test usually comes first, so testers do not pick up insider knowledge that a real outside attacker would not have. And the results of social engineering tests should be used to improve security, not to single out individuals.
What are black box, grey box and white box tests?
These terms describe how much the tester knows before starting. The PCI Security Standards Council's penetration testing guidance defines them:
- Black box. No prior knowledge of the internal structure, design or implementation of what is being tested. The client provides no information before testing starts.
- Grey box. Partial knowledge. The client may share some details of the target systems.
- White box. Full knowledge. The client may share complete details of the network and applications.
Black box sounds the most realistic, but the same guidance says PCI DSS tests are typically white box or grey box, because they give more accurate results and test the environment more thoroughly. A pure black box test may need more time, money and resources to meet the requirements. Sharing details lets testers spend their time finding problems, not rediscovering your setup.
A separate question is whether your own IT team knows the test is happening. SP 800-115 calls a test run with the IT staff's knowledge and consent overt, and one run without their knowledge, but with senior management's permission, covert. Covert testing shows how well your team detects and responds to an attack. NIST notes it does not try to find every vulnerability and is often slower and more expensive. Overt testing costs less, carries less risk and is used more often.
Who needs a penetration test, and why?
Most businesses buy a pen test because someone they answer to asks for one. These are the common drivers for US businesses.
| Driver | What it says | Source |
|---|---|---|
| PCI DSS v4.0.1 | For businesses that store, process or transmit payment card data. Requirement 11.4 calls for a defined testing methodology, plus internal (11.4.2) and external (11.4.3) penetration tests at least once every 12 months and after any significant infrastructure or application upgrade or change, by a qualified tester with organizational independence. | PCI SSC |
| SOC 2 | The AICPA Trust Services Criteria name penetration testing as one type of evaluation management may use. They do not require one or set a frequency. If the controls you describe to your auditor include a pen test, expect to show one. | AICPA |
| HIPAA Security Rule | The current rule does not mention penetration testing. It requires an accurate and thorough risk analysis and periodic evaluations. A January 2025 HHS proposal would require a pen test at least once every 12 months; as of 5 December 2026 the Federal Register lists it as a proposed rule only. | 45 CFR 164.308, 90 FR 898 |
| Cyber insurance | Some applications ask directly. The Corvus Smart Cyber Insurance application (version 3.2, September 2024) asks whether you conduct penetration testing of your network at least annually. | Corvus |
| Customer security reviews | Larger customers may ask for a recent penetration test report, with its scope and dates, in a security questionnaire before they sign. | The customer's own review |
For the detail, see our guides to SOC 2 penetration testing requirements, whether HIPAA requires penetration testing and how often to run a penetration test.
How is a pen test different from a vulnerability scan?
A vulnerability scan is an automated check for known weaknesses. A penetration test goes further and tries to exploit them. In the words of SP 800-115, vulnerability scanners "check only for the possible existence of a vulnerability", while the attack phase of a pen test exploits it to confirm it exists. PCI DSS treats them as separate requirements: vulnerability scans fall under Requirement 11.3 and penetration tests under 11.4.
Both are useful. A scan is quick and repeatable, and good for spotting known issues between tests. A pen test shows what an attacker could actually do with them. Our guide to the difference between a pen test and a vulnerability scan covers when you need each.
What do you get at the end of a pen test?
A report. NIST says the final report generally describes the vulnerabilities found, presents a risk rating and gives guidance on fixing them. The PCI guidance sets the bar higher than a list: "Merely reporting lists of vulnerabilities is not helpful." A good report states clearly what was tested, how it was tested and what was found. Our guide to what's in a penetration test report explains what auditors and customers look for.
Price and frequency depend mainly on scope. Our pen test cost guide collects published 2026 price ranges by test type, and our guide to continuous penetration testing compares one-off tests with testing through the year.
How is AI changing penetration testing?
AI is starting to do parts of the job, and the public evidence is still early. Three sourced points:
- AI systems can find and fix real bugs. In DARPA's AI Cyber Challenge (AIxCC), a two-year competition whose final results were announced on 8 August 2025, the finalists' AI systems found 54 unique synthetic vulnerabilities across 63 challenges and patched 43 of them. They also found 18 real, non-synthetic vulnerabilities, which DARPA said were being disclosed to open-source maintainers.
- The researchers are careful about it. Google's Big Sleep team reported in November 2024 that its AI agent found an exploitable stack buffer underflow in SQLite before it appeared in an official release. The team said it believed this was the first public example of its kind, but called the results highly experimental and said a target-specific fuzzer would be at least as effective.
- AI is also a new thing to test. Apps built on large language models bring their own risks. The OWASP Top 10 for LLM Applications (2025 edition) puts prompt injection first.
What AI does not change is what you should ask of any test: what was in scope, what was actually exploited or verified, what evidence backs each finding, and whether the report helps you fix things. Our guide to choosing a penetration testing company turns those questions into a checklist that works for AI-driven and human-led testing alike.
How does AvalonX fit?
AvalonX is a US penetration testing company. Its platform, AvalonX Artemis, runs AI-driven penetration tests against websites, web apps, APIs and internet-facing hosts, and reports every finding ranked by severity, with evidence and a recommended fix. Those are the external, web application and API types in the table above. These are our published plans, as they appear on our pricing page:
| Plan | Price | Targets | Penetration testing | 12 months at list price |
|---|---|---|---|---|
| Essentials | $249/month | Up to 3 | A full pen test every 90 days | $2,988 |
| Pro | $599/month | Up to 10 | A full pen test every 30 days | $7,188 |
| 360 | $899/month | Up to 10 | A full pen test every 7 days | $10,788 |
A test from us is evidence for your auditor, assessor, insurer or customer to weigh. It does not by itself make you compliant with PCI DSS, SOC 2, HIPAA or any other framework. If you only want to see what is exposed today, start with our free external vulnerability scan below. It is a scan, not a penetration test.
Related guides
Sources
- NIST Computer Security Resource Center, Glossary: penetration testing, viewed 5 December 2026. https://csrc.nist.gov/glossary/term/penetration_testing
- NIST, SP 800-115, Technical Guide to Information Security Testing and Assessment, September 2008 (sections 2.4, 5.2 and 5.3). https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-115.pdf
- PCI Security Standards Council, Information Supplement: Penetration Testing Guidance, version 1.1, September 2017. https://www.pcisecuritystandards.org/documents/Penetration-Testing-Guidance-v1_1.pdf
- PCI Security Standards Council, PCI DSS v4.0.1, June 2024, Requirements 11.3 and 11.4 (document library). https://www.pcisecuritystandards.org/document_library/
- AICPA, 2017 Trust Services Criteria (with revised points of focus, 2022), CC4.1 points of focus. https://www.aicpa-cima.com/resources/download/2017-trust-services-criteria-with-revised-points-of-focus-2022
- eCFR, 45 CFR 164.308, Administrative safeguards (current text). https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C/part-164/subpart-C/section-164.308
- HHS Office for Civil Rights, HIPAA Security Rule To Strengthen the Cybersecurity of Electronic Protected Health Information, proposed rule, 90 FR 898, 6 January 2025. https://www.federalregister.gov/documents/2025/01/06/2024-30983/hipaa-security-rule-to-strengthen-the-cybersecurity-of-electronic-protected-health-information
- Federal Register, documents matching RIN 0945-AA22, checked 5 December 2026. https://www.federalregister.gov/documents/search?conditions%5Bterm%5D=0945-AA22
- Corvus Insurance, Smart Cyber Insurance application, version 3.2, September 2024, question 17. https://help.corvusinsurance.com/hubfs/Corvus%20Smart%20Cyber%20Application.pdf
- OWASP, Web Security Testing Guide (stable version 4.2). https://owasp.org/www-project-web-security-testing-guide/
- OWASP, API Security Top 10, 2023 edition. https://owasp.org/API-Security/editions/2023/en/0x11-t10/
- Amazon Web Services, Penetration Testing policy, viewed 5 December 2026. https://aws.amazon.com/security/penetration-testing/
- The Penetration Testing Execution Standard (PTES). http://www.pentest-standard.org/index.php/Main_Page
- DARPA, AI Cyber Challenge (AIxCC) final results, 8 August 2025. https://www.darpa.mil/news/2025/aixcc-results
- Google Project Zero, From Naptime to Big Sleep, 1 November 2024. https://projectzero.google/2024/10/from-naptime-to-big-sleep.html
- OWASP GenAI Security Project, Top 10 for LLM Applications, 2025 edition. https://genai.owasp.org/llm-top-10/
Last reviewed 5 December 2026. Summaries, not legal advice. Standards and policies change, so check each source before you rely on it.