Attackers do not always break in through the front door. Some exploit an exposed service on the internet; others start inside, through a phishing email, a stolen VPN password or a compromised contractor laptop. That is why network penetration testing is usually split into two perspectives: external testing, which looks at your organization from the internet, and internal testing, which starts from inside your network.
This guide explains internal vs external penetration testing: what each one covers, the issues each typically finds, how they differ, what compliance standards require and how to decide which test, or which combination, you need.
An external penetration test assesses everything an attacker can reach from the internet without any prior access. Testers start from the outside, usually with nothing more than your company name, domains or IP ranges, and try to find a way in.
We initially decided to use Split Query for all our heavy queries. But after a while, we noticed response times were growing significantly on our paginated endpoints — lists returning between 10 and 100 records. Why? Because joining 15 different tables for 10 records (Single Query) is blazing fast, whereas firing 16 separate queries for those same 10 records (Split Query) was causing slowness due to network round-trip latency.
An external test answers one question: can an outsider get in? See our External Penetration Testing service for details.
An internal penetration test starts from a position inside your network, typically the access a regular employee or a compromised workstation would have. The question it answers is different: if an attacker gets in, how far can they go?
This approach is often called assumed breach. It accepts a hard truth: perimeter defenses eventually fail, whether through phishing, a stolen password or a vulnerable device. What matters then is whether an attacker can turn one compromised machine into control of the whole environment.
In many internal tests, a combination of these issues leads from a standard user account to full domain administrator rights. See our Internal Network Penetration Testing service for details.
| External penetration testing | Internal penetration testing |
|---|---|---|
Starting point | The internet, with no access | Inside the network, with user-level or network-level access |
Simulates | An outside attacker | A compromised employee device, malicious insider or attacker after initial access |
Main question | Can an attacker get in? | How far can an attacker go once inside? |
Typical targets | Public IPs, VPN, email, exposed services, internet-facing applications | Active Directory, internal servers, file shares, databases, segmentation |
Typical findings | Exposed services, missing MFA, unpatched edge devices, forgotten assets | Weak credentials, AD misconfigurations, lateral movement paths, flat networks |
How it is performed | Remotely, from the provider’s systems | On site, through VPN or via a device or virtual machine placed in your network |
Defenses tested | Perimeter controls and exposure management | Internal hardening, identity security, segmentation and detection |
The two perspectives are most revealing together, because real attacks rarely stop at the perimeter. A typical attack path, of the kind both tests are designed to uncover, looks like this:
An external test alone would report “VPN without MFA”. An internal test alone would report “weak service account password”. Together they show the full path from the internet to complete compromise, and that adding MFA to the VPN and fixing service account hygiene each break the chain.
For most organizations the answer is both, but priorities differ.
Start with external testing if:
Prioritize internal testing if:
If your business runs mostly in the cloud with few on-premises systems, the traditional internal network may matter less than identity and cloud configuration. In that case, combine external testing with cloud penetration testing rather than a classic internal test.
PCI DSS v4.0.1 is the most explicit standard. Requirement 11.4 calls for both perspectives:
PCI DSS defines internal testing as testing both from inside the cardholder data environment and into it from trusted and untrusted internal networks.
Other frameworks, such as ISO/IEC 27001 and SOC 2, do not prescribe internal and external tests in the same way, but auditors commonly expect regular testing that covers both the perimeter and the internal environment. See our PCI DSS Penetration Testing service for compliance-focused testing.
Internal testing needs a foothold in your network. The common options are:
The right option depends on what you want to simulate. Testing from a standard user workstation is the most realistic test of what happens after a successful phishing attack.
For an external test:
For an internal test:
For both, agree on emergency contacts and how critical findings will be reported during the test. Our guide to what to expect in a penetration test report explains what you should receive at the end.
External penetration testing tells you whether an attacker can get in. Internal penetration testing tells you what happens when they do. Because real attacks combine both, the clearest picture of your risk comes from testing both perspectives and looking at how weaknesses connect from the internet all the way to your most critical systems.
Want to see your network from an attacker’s perspective? Explore our External and Internal Network Penetration Testing services, or talk to our team to plan an engagement. To build these skills in-house, see our Network Penetration Testing Training.
Subscribe to our cyber security newsletter