Testing guide · 2026

External vs internal penetration testing: what's the difference?

An external penetration test attacks you from outside your security perimeter, usually from the internet, to find what an outside attacker could exploit. An internal test starts inside your network, as a trusted insider or an attacker who has got past the perimeter, to show how far they could get. That is how NIST SP 800-115 defines them. PCI DSS requires both; many other reviews just ask for a pen test, so check which systems they mean.

Last reviewed 5 December 2026 · By AvalonX

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

Sources: NIST SP 800-115, section 2.4.1; PCI SSC Penetration Testing Guidance, section 2.2; PCI DSS v4.0.1 Requirement 11.4 (PCI SSC).
External penetration testInternal penetration test
Starting pointOutside your security perimeter, usually the internetInside your network
Plays the part ofAn outside attackerA trusted insider, or an attacker who has already got past the perimeter
Typical targetsWebsites, web apps, APIs, internet-facing hosts and services, remote access such as VPNInternal hosts, servers, applications and services, and the controls between network segments
What it showsWhat an outsider could exploit, and whether exposed servers lead to internal servers or private dataConfiguration, authentication, access control and hardening weaknesses, and whether a user can escalate to administrator
Access given to testersUsually just the agreed scopeNormally general user access, sometimes more, depending on the goals
PCI DSS v4.0.1Requirement 11.4.3Requirement 11.4.2

When do you need each?

It depends on who is asking and which systems they care about.

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:

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

Internal scope

For both

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:

Every paid plan is a 12-month agreement, billed monthly. Details on the pricing page and in our terms.
PlanPriceTargetsPenetration testing
Essentials$249/monthUp to 3A full pen test every 90 days
Pro$599/monthUp to 10A full pen test every 30 days
360$899/monthUp to 10A 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.

  1. 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
  2. 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
  3. PCI Security Standards Council, document library (PCI DSS v4.0.1). https://www.pcisecuritystandards.org/document_library/
  4. 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
  5. 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
  6. Corvus Insurance, Smart Cyber Insurance Application, version 3.2, September 2024, question 17. https://help.corvusinsurance.com/hubfs/Corvus%20Smart%20Cyber%20Application.pdf
  7. Beazley, InfoSec Application, security testing frequency question. https://prod.dxp.beazley.com/globalassets/product-documents/application/beazley-tmb-infosec-application.pdf

Start with a free external vulnerability scan.

See what anyone on the internet can see about a domain you own. It is a scan, not a penetration test, and the report comes to your work email.

Run a free external vulnerability scan

Free · Only for domains you own