On this page
A network penetration test answers one of two questions. An external test asks: what can someone on the internet reach, and can they get in? An internal test asks: if someone is already inside, through a phished laptop, a rogue device or a compromised account, how far can they go? Both matter, they find different problems, and many organizations need both. This guide explains what each covers, what testers usually find, and how to decide where to start.
External network penetration testing
What it covers
An external test targets everything you expose to the internet:
- Websites, portals and their hosting
- Remote access: VPN gateways, remote desktop, SSH
- Mail servers, DNS and file transfer services
- Cloud-hosted servers and load balancers
- Forgotten assets: old subdomains, staging servers, test environments
The last item is often the most valuable. Organizations rarely have a complete list of what they expose, so an external test starts with attack surface discovery: finding subdomains and live hosts from public data, then probing each one. Our subdomain enumeration guide explains how that works, and WhyXpose Attack Surface Discovery automates it.
Typical findings
- Services that should not be public, such as databases, admin panels or monitoring dashboards
- Software with known vulnerabilities (CVEs) that has not been patched
- Remote access without multi-factor authentication
- Weak or outdated TLS configuration
- Staging or old environments with default credentials or debug features
- Subdomains pointing at cloud resources that no longer exist (subdomain takeover)
Where testing starts
External tests are usually black-box: testers start with your domain names or IP ranges, just like an outside attacker. See black-box penetration testing for how that works and when it fits.
Internal network penetration testing
What it covers
An internal test assumes the outer wall has been breached and looks at what happens next:
- Workstations and servers on the corporate network
- Active Directory or other directory services
- Internal applications such as HR, finance and admin tools
- Network segmentation between offices, departments, production and payment environments
- File shares, printers and other shared services
Where testing starts
Internal tests begin from an agreed foothold. Common starting points are a laptop connected to the office network, a VPN account with normal user rights, or a virtual machine placed inside your network. The foothold is agreed in the rules of engagement before testing starts.
Typical findings
- Active Directory weaknesses. Misconfigured permissions, over-privileged service accounts and weak password policies often create a path from a normal user to domain administrator.
- Weak or reused credentials. The same local administrator password on many machines lets one compromise spread quickly.
- Legacy protocols. Name-resolution fallbacks and older protocols that are still enabled can expose credentials on the local network (see below).
- Flat networks. Without segmentation, a user laptop can reach servers, databases and management interfaces it never needs.
- Unpatched internal systems. Internal servers are often patched less often than internet-facing ones.
- Sensitive data on open shares. Documents with passwords, keys or personal data readable by every employee.
Legacy protocols and NTLM relay
Windows networks often keep older protocols switched on for compatibility, long after anything needs them:
- LLMNR, NBT-NS and mDNS. When DNS cannot resolve a name, Windows falls back to asking the whole local network. Any machine on the segment can answer that broadcast, impersonate the requested host and capture the user’s NTLM authentication attempt. Testers check whether these fallbacks are enabled and whether captured hashes are weak enough to crack.
- Missing SMB signing. Without required SMB signing, a captured authentication attempt can be relayed to another server and used to act as that user (NTLM relay). If the relayed account has admin rights on the target, one poisoned request can become a compromised server.
Fix: disable LLMNR and NBT-NS through Group Policy, limit mDNS where it is not needed, require SMB signing on servers and workstations, and reduce NTLM use in favor of Kerberos where you can.
Active Directory specifics
Active Directory is usually where an internal test is won or lost. Beyond broad permission problems, testers look for a few well-known weaknesses:
- Kerberoastable service accounts. Any domain user can request a Kerberos service ticket for an account with a service principal name (SPN). The ticket is encrypted with that account’s password, so a weak password can be cracked offline. Service accounts are often over-privileged and rarely rotated, which makes this a common route to high privileges.
- AS-REP roasting. Accounts with Kerberos pre-authentication disabled hand out data that can also be attacked offline, without any credentials at all.
- Misconfigured AD Certificate Services (AD CS) templates. Certificate templates that let ordinary users request certificates for other identities, or that grant overly broad enrollment rights, can turn a normal account into a domain administrator.
Fix: use long, random passwords or group Managed Service Accounts (gMSA) for service accounts, keep their privileges to the minimum, enable Kerberos pre-authentication on every account, and review AD CS templates and enrollment permissions regularly.
The most useful output of an internal test is often an attack path: the chain of small weaknesses that leads from an ordinary account to full control. Fixing one link in the chain can break the whole path.
Side-by-side comparison
| Aspect | External test | Internal test |
|---|---|---|
| Question answered | Can an outsider get in? | How far can an insider or intruder go? |
| Starting point | Domains and IP ranges | An agreed foothold inside the network |
| Typical approach | Black-box | Grey-box (a normal user account) |
| Main targets | Internet-facing hosts and services | Active Directory, internal servers, segmentation |
| Common findings | Exposed services, known CVEs, forgotten assets | Privilege escalation paths, weak credentials, flat networks |
| Where it is done | Remotely | Remotely through VPN or a placed machine, or on site |
Which one do you need first?
- Start external if you have never mapped what you expose, you run many websites and subdomains, or you have had recent changes to hosting or cloud.
- Start internal if you have a large office or corporate network, rely on Active Directory, or worry about phishing and insider risk.
- Do both if you need a full picture for leadership, customers or auditors. Testing them together also shows how an external foothold could connect to internal weaknesses.
Whichever you choose, pair the network test with tests of the applications on it. A web app or API can be the way in even when the network is well configured: see web application penetration testing.
How to prepare
- List the domains, IP ranges, offices and network segments in scope.
- Agree the test windows and any systems that are fragile or off-limits.
- For internal tests, agree the foothold: a device, a VPN account or a virtual machine.
- Name a technical contact who can respond quickly during testing.
Network penetration testing with WhyXpose
Our network penetration testing covers both external and internal networks. External tests start with attack surface discovery and AI-guided recon, so forgotten hosts are found before testing begins. Every finding is validated by a certified pentester, scored with CVSS 3.1 and delivered to your dashboard with a fix, then retested when you ship it. If you are unsure which test fits, talk to us and we will recommend a scope.
Put this guide into practice
External and internal network tests, including Active Directory, starting with attack surface discovery.
Explore network pentesting