What is an external penetration test?
External testing is conducted from outside the organization's security perimeter, usually as seen from the internet, with the goal of finding vulnerabilities an external attacker could exploit. That is the definition in NIST SP 800-115, NIST's technical guide to information security testing and assessment.
NIST describes how an external test usually runs. It starts with reconnaissance: public registration data, DNS records and other public information that reveal system names, IP addresses and technologies. Testers then use network discovery and scanning to find external hosts and the services listening on them, and attack the application protocols your perimeter lets through, such as web and email. Servers that can be reached from outside are tested for weaknesses that might allow access to internal servers and private information, and testers look for access paths such as wireless access points, modems and portals to internal servers.
In practice the targets are what you expose to the internet: websites, web applications, APIs, internet-facing hosts and services, and remote access. The PCI SSC penetration testing guidance says an external test should include both application-layer and network-layer testing, and remote access vectors such as VPN connections.
What is an internal penetration test?
For internal testing, NIST says assessors work from the internal network and assume the identity of a trusted insider or an attacker who has penetrated the perimeter defenses. The aim is to show what that attacker could exploit and the damage they could cause.
According to NIST SP 800-115, internal testing focuses on system-level security and configuration, including application and service configuration, authentication, access control and system hardening. Testers are often given some access, normally as general users with the information a user at that level would have, and sometimes up to administrator level, depending on the goals. From there they try to gain more access through privilege escalation, for example from a user account to an administrator account. Because the test happens behind the perimeter, it is less limited than an external test, although internal firewalls and switches may still get in the way.
External vs internal: side by side
| External penetration test | Internal penetration test | |
|---|---|---|
| Starting point | Outside your security perimeter, usually the internet | Inside your network |
| Plays the part of | An outside attacker | A trusted insider, or an attacker who has already got past the perimeter |
| Typical targets | Websites, web apps, APIs, internet-facing hosts and services, remote access such as VPN | Internal hosts, servers, applications and services, and the controls between network segments |
| What it shows | What an outsider could exploit, and whether exposed servers lead to internal servers or private data | Configuration, authentication, access control and hardening weaknesses, and whether a user can escalate to administrator |
| Access given to testers | Usually just the agreed scope | Normally general user access, sometimes more, depending on the goals |
| PCI DSS v4.0.1 | Requirement 11.4.3 | Requirement 11.4.2 |
When do you need each?
It depends on who is asking and which systems they care about.
- PCI DSS. Both. Under PCI DSS v4.0.1, Requirement 11.4.2 covers internal and 11.4.3 external penetration testing. Each is performed per the entity's defined methodology, at least once every 12 months and after any significant infrastructure or application upgrade or change, by a qualified internal resource or qualified external third party with organizational independence (the tester does not have to be a QSA or ASV). Requirement 11.4.1 says the methodology must include testing from both inside and outside the network. If you use segmentation to isolate the cardholder data environment, 11.4.5 adds testing of those controls at least once every 12 months, and every six months for service providers under 11.4.6. The requirement text is reproduced in Microsoft's PCI DSS Requirement 11 guidance; the standard itself is in the PCI SSC document library.
- CMMC Level 3. Requirement CA.L3-3.12.1e calls for penetration testing at least annually or when significant security changes are made. NIST's discussion in SP 800-172 says penetration testing can be conducted internally or externally. Our CMMC penetration testing guide covers what each CMMC level requires.
- Cyber insurance. The applications we reviewed ask about penetration testing without splitting it into external and internal. The Corvus Smart Cyber application (version 3.2, September 2024) asks whether you conduct penetration testing of your network at least annually. The Beazley InfoSec application asks how often you pen test (quarterly, semi-annually or annually), and asks separately about internal and external vulnerability scanning.
- SOC 2 and customer security reviews. Ask the auditor or customer which systems they expect the test to cover. Our guide to SOC 2 penetration testing requirements explains what the criteria say, and our guide to what's in a penetration test report covers the evidence reviewers look for.
For timing beyond PCI DSS, our guide to how often to run a penetration test compares the main drivers.
Which comes first, external or internal?
If you are doing both, NIST SP 800-115 says the external test usually takes place first. This matters most when the same testers run both: it keeps them from learning details of your network architecture or configuration that an outside attacker would not have, which would make the external test less realistic.
Black box, grey box and white box
These terms describe how much the tester knows before starting. The PCI SSC penetration testing guidance defines them:
- Black box: testing performed without prior knowledge of the internal structure, design or implementation of the target.
- Grey box: testing performed with partial knowledge.
- White box: testing performed with knowledge of the internal structure, design or implementation, such as full details of the network and applications.
The same guidance says PCI DSS penetration tests are typically white box or grey box, because they yield more accurate results and a more comprehensive test than a pure black box test, which may need more time, money and resources to meet PCI DSS requirements. Box type is separate from starting point: an external test can be black box or grey box, and so can an internal one. NIST SP 800-115 uses related terms, overt and covert, for whether your IT staff know the test is happening.
How do you scope each test?
Good scoping is most of the work. Write it down before testing starts, and give every provider the same scope so quotes are comparable.
External scope
- Every domain, subdomain and public IP address in scope, and who owns or hosts each one.
- The web applications and APIs, and whether testing is authenticated, with which user roles.
- Remote access such as VPN portals, which PCI SSC guidance includes in external tests.
- Services you restrict to specific IP addresses. PCI SSC guidance says an external test should assess that access too, so the tester may need to be allowed in.
Internal scope
- The starting point and level of access, for example a general user account on a company device.
- The network segments and critical systems in scope, and any that are off limits.
- Segmentation controls to test, if you rely on them to keep sensitive systems apart.
For both
- Rules of engagement agreed before testing starts: the testing window, contacts, what is off limits and what happens if something breaks. NIST warns that penetration testing can damage systems or make them inoperable, so it should be performed only after careful consideration, notification and planning.
- Retesting. PCI DSS Requirement 11.4.4 says penetration testing is repeated to verify corrections, so agree how retests work.
Our pen test cost guide covers how scope drives price.
Is an external vulnerability scan the same as an external pen test?
No. The PCI SSC guidance draws the line: a vulnerability scan identifies, ranks and reports vulnerabilities, while a penetration test identifies ways to exploit vulnerabilities to circumvent or defeat security features. PCI DSS treats them as separate requirements too: external vulnerability scans by an Approved Scanning Vendor at least once every three months (Requirement 11.3.2), and external penetration testing at least once every 12 months (11.4.3). Our guide to the difference between a pen test and a vulnerability scan goes into more detail.
How does AvalonX fit?
AvalonX tests from the outside. 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. We do not run internal network penetration tests. If you need internal testing, for example under PCI DSS Requirement 11.4.2, that needs a different engagement, with a tester working from inside your network. Whether a test meets a specific requirement is for you and your assessor to decide.
These are our published plans, as they appear on our pricing page:
| Plan | Price | Targets | Penetration testing |
|---|---|---|---|
| Essentials | $249/month | Up to 3 | A full pen test every 90 days |
| Pro | $599/month | Up to 10 | A full pen test every 30 days |
| 360 | $899/month | Up to 10 | A full pen test every 7 days |
If you want to see what your domain shows an outsider before you scope a test, start with a free external vulnerability scan. It is a scan, not a penetration test. New exploited vulnerabilities are tracked on Signal, our threat-intelligence feed.
Quick answers
What is the difference between external and internal penetration testing?
An external test attacks your systems from outside your security perimeter, usually from the internet, the way an outside attacker would. An internal test starts inside your network, as a trusted insider or an attacker who has already got past the perimeter, to show what they could reach and whether they could gain more privileges.
What does an external penetration test find?
Weaknesses an outside attacker could exploit in what you expose to the internet, such as websites, web applications, APIs, internet-facing hosts and services, and remote access like VPN portals. NIST says externally accessible servers are tested for vulnerabilities that might allow access to internal servers and private information.
What does an internal penetration test find?
What an attacker could do from inside your network. NIST says internal testing focuses on system-level security and configuration, including application and service configuration, authentication, access control and system hardening, and on whether testers can escalate from user to administrator privileges.
Does PCI DSS require both internal and external penetration testing?
Yes. PCI DSS v4.0.1 Requirement 11.4.2 covers internal and 11.4.3 external penetration testing. Each must follow your defined methodology and run at least once every 12 months and after any significant infrastructure or application upgrade or change, by a qualified tester with organizational independence.
Should external or internal testing come first?
If you are doing both, NIST SP 800-115 says the external test usually takes place first. That stops testers from picking up insider knowledge of your network that a real outside attacker would not have.
What are black box, grey box and white box penetration tests?
They describe how much the tester knows before starting. Black box means no prior knowledge of the target, grey box means partial knowledge and white box means full knowledge. PCI SSC guidance says PCI DSS tests are usually white box or grey box, because they give more accurate results than a pure black box test.
Does AvalonX do internal penetration testing?
No. AvalonX Artemis tests websites, web apps, APIs and internet-facing hosts from the outside. Internal network testing needs a different engagement, with a tester working from inside your network.
Related guides
Sources
Last reviewed 5 December 2026. Summaries, not legal advice.
- NIST SP 800-115, Technical Guide to Information Security Testing and Assessment, September 2008: sections 2.4.1 (external and internal), 2.4.2 (overt and covert) and 5.2 (penetration testing). https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-115.pdf
- PCI Security Standards Council, Information Supplement: Penetration Testing Guidance, version 1.1, September 2017: sections 1.3, 2, 2.1 and 2.2. https://www.pcisecuritystandards.org/documents/Penetration-Testing-Guidance-v1_1.pdf
- PCI Security Standards Council, document library (PCI DSS v4.0.1). https://www.pcisecuritystandards.org/document_library/
- Microsoft Learn, Microsoft Entra ID and PCI-DSS Requirement 11 (reproduces the PCI DSS defined approach requirements 11.3 and 11.4), updated June 2026. https://learn.microsoft.com/en-us/entra/standards/pci-requirement-11
- NIST SP 800-172, Enhanced Security Requirements for Protecting Controlled Unclassified Information, February 2021: requirement 3.12.1e discussion. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-172.pdf
- Corvus Insurance, Smart Cyber Insurance Application, version 3.2, September 2024, question 17. https://help.corvusinsurance.com/hubfs/Corvus%20Smart%20Cyber%20Application.pdf
- Beazley, InfoSec Application, security testing frequency question. https://prod.dxp.beazley.com/globalassets/product-documents/application/beazley-tmb-infosec-application.pdf