Network and infrastructure penetration testing
An internet-facing service and a server on an internal segment present different questions. Decide where the test should start and what it may reach. Define any Active Directory work up front rather than assuming it is part of an internal network test.
For the first conversation
- An external or internal test, or both, with a rough asset count.
- The environments involved: office network, cloud, or Active Directory, for example.
- Systems that must be excluded and any limits on testing hours.
Leave passwords, tokens, source files, and customer data out of the contact form.
Network boundaries to consider
| Area | What is examined |
|---|---|
| Internet-facing services | The public servers, VPNs, and other exposed services named in scope. |
| Internal network | What is reachable from an agreed starting point and where segmentation limits that access. |
| Active Directory | Identity settings and permissions in the domains covered by the test. |
| Service configuration | Settings and versions on agreed assets, subject to the restrictions on critical systems. |
The system owner must authorize the work. The written scope sets out what can be assessed.
Testing reference: NIST SP 800-115, Penetration Testing Execution Standard (PTES).
What a finding looks like
Sample report · all data is fictional
WS-CONTOH-01
Database service reachable from the internet with default credentials
Exposed Service with Default Credentials
- Risk rating
- Critical CVSS 3.1: 9.8 AV:N
/AC:L /PR:N /UI:N /S:U /C:H /I:H /A:H - Affected
- 203.0.113.10 : 5432/tcp
Note: For management: treat as an emergency, not a scheduled fix.
Summary
The database port answers on a public address and accepts the vendor default password. No authentication restriction stands between the internet and the database.
Evidence
$ nmap -sV -p 5432 203.0.113.10 5432/tcp open postgresql PostgreSQL DB 12.x
The account used was the vendor default, unchanged.
Note: For operations: the exact host and port, before any change.
Impact
All data in the database can be read, changed, or deleted.
Recommendation
Remove the public exposure, rotate every credential, and review access logs for the exposure period.
Note: For your team: exposure, credential, and log review together.
Status
Open
Note: Re-tested from outside the network after the port is closed.
The infrastructure test report
| Report section | Contents |
|---|---|
| Exposure summary | Which services or systems were affected and what that means for day-to-day operations. |
| Asset-level findings | The affected assets, the access available during the test, and the evidence recorded within scope. |
| Fix priorities | Changes for systems and network teams, such as adjusting segmentation or access settings. |
Download the sample report (PDF) ↗ A fictional scenario, not a client report.
Questions before booking
How is an infrastructure pentest priced?
The quote depends on the approximate number of hosts and segments, where the test starts, and whether it includes Active Directory. Operational restrictions also matter when they limit when or how critical assets can be tested.
Should we choose an internal or an external test?
Choose external to assess services reachable from the internet. Choose internal to assess what can be reached from an agreed point inside your network. Each tells you something the other does not.
Does an internal test include Active Directory?
Not by default. If it matters to your project, name the domains, access boundaries, and areas to assess in the written scope.
How do we plan around day-to-day operations?
Flag busy periods and services that must not be disrupted. Before testing starts, agree on testing windows, excluded actions, who to contact, and when to stop.
Discuss your network and operating constraints
Send the system you want tested, roughly how big it is, and your target date.