Free tech learning for everyone, from basics to pro

Network SecurityNetworking SecurityIntermediate

How to test network security: a step-by-step checklist

In short: Testing network security means checking, in a planned way, that your network only allows what it should. Start with written permission and a clear scope, list every device, scan for open ports and services, review firewall rules and admin access, check Wi-Fi, prove that segments really are separated, confirm that logging works, then report and retest. Repeat the checks regularly, not just once.

Quick answer

In short: to test network security, (1) get written permission and agree the scope, (2) build an inventory of every device, (3) scan for open ports and services, (4) review firewall rules and remote access, (5) check Wi-Fi and device admin settings, (6) test that network segments are really separated, (7) confirm that logging and alerts work, and (8) report the findings, fix them and test again.

Testing network security step by stepScopewhat, when,whoInventoryfind everydeviceScanports,servicesCheckconfigfirewall,Wi-Fi, adminVerifysegments,loggingReportfix andretest
Figure 1. A simple, repeatable order: know what you have before you test how well it is protected.

Step 1: permission and scope

Never scan or test a network you do not own or have written permission to test. Even at your own workplace, get approval from the person responsible, agree the time window and tell the help desk so nobody mistakes your scan for an attack. Write down what is in scope (for example the head office LAN, the guest Wi-Fi and the internet-facing firewall) and what is not (for example a supplier's system). See testing network security: test plans for a full template.

Step 2: build an inventory

You cannot protect what you do not know about. List switches, routers, firewalls, access points, servers, printers, cameras and anything else with an IP address. Combine sources: the DHCP lease table, the switch MAC address tables, the firewall's connected devices, your monitoring tool and a discovery scan. Unknown devices are often the most interesting finding of the whole test.

Step 3: scan for open ports and services

A port scan shows which services each device offers to the network. On a lab or a network you are authorised to test, Nmap is the usual tool:

nmap -sV 192.168.10.0/24

Look for services that should not be there: Telnet, old SMB, remote desktop open to every network, web admin pages on printers and cameras, or databases reachable from user VLANs. Our Nmap lab walks through this safely. A vulnerability scanner then checks the versions it finds against known flaws (see vulnerability scanning types).

Step 4: review firewall rules and remote access

  • Export the rule base and look for any-any rules, rules nobody can explain and rules with zero hits for months.
  • Check what is open from the internet. Scan your public IP addresses from outside, or use your firewall's own view of published services.
  • Confirm that VPN and remote access use multi-factor authentication and up-to-date firmware.
  • Check that management interfaces (SSH, HTTPS admin) are only reachable from a management network.

Step 5: check Wi-Fi and device administration

  • Wi-Fi uses WPA2-Enterprise or WPA3, not open or WEP networks; the guest network cannot reach internal systems.
  • Look for rogue access points that someone plugged in without permission.
  • No default passwords on switches, printers, cameras or access points; admin accounts are individual, not shared.
  • Firmware is supported and recently updated.

Step 6: prove segmentation works

Diagrams often say the camera VLAN cannot reach the finance servers. Test it. From a laptop placed in each segment, try to reach systems in the others with ping, a port scan or a simple connection test. Every unexpected success is a finding. This is one of the most valuable tests because it shows how far an attacker could move after one device is compromised.

Step 7: check logging and alerting

Run a harmless, noisy action, such as a port scan from a test laptop or a few failed admin logins, and check whether your firewall, SIEM or monitoring tool recorded it and raised an alert. If nobody would notice your test, nobody would notice a real attacker.

Step 8: report, fix and retest

FindingRiskFixOwner
Telnet enabled on 6 switchesHighDisable Telnet, use SSH onlyNetwork team
Guest Wi-Fi can reach printersMediumAdd firewall rule, client isolationNetwork team
No alert for repeated admin login failuresMediumForward logs, create alertSecurity team

Rank findings by risk, give each an owner and a date, then retest to confirm the fix worked.

When to bring in a penetration tester

This checklist finds most common weaknesses. A professional penetration test goes further: it tries to chain weaknesses together the way a real attacker would. It is worth doing at least yearly for important networks, after major changes, or when a standard such as PCI DSS requires it. See internal and external network testing.

Real-world example: the forgotten camera recorder

A school ran this checklist for the first time. The inventory step found a camera recorder that nobody had on their list. The port scan showed its web admin page open to the whole staff network, still using the default password, and the segmentation test showed it could reach the internet freely. Moving it to the camera VLAN, changing the password and blocking its internet access took one afternoon.

Practice

What must you have before testing any network?
Written permission and an agreed scope from the person responsible for the network.
Why is a segmentation test so valuable?
It shows how far an attacker could move after compromising one device, and whether separation in the design really works.
How can you check that logging works?
Run a harmless, noisy action such as a port scan or failed logins and confirm it was recorded and raised an alert.

Frequently asked questions

How do you test network security?

Get written permission and agree the scope, build an inventory, scan for open ports and services, review firewall rules and remote access, check Wi-Fi and device admin access, prove segmentation works, check logging, then report, fix and retest.

Is it legal to test network security?

Only on networks you own or where you have written permission from the owner. Scanning or testing other people's systems without permission can be illegal in many countries.

What tools are used for network security testing?

Common free tools include Nmap for discovering hosts and open ports, vulnerability scanners such as OpenVAS/Greenbone, Wireshark for traffic analysis, and the firewall's own logs and rule reports.

What is the difference between a vulnerability scan and a penetration test?

A vulnerability scan automatically lists known weaknesses. A penetration test goes further: a skilled tester tries to exploit weaknesses, chain them together and show the real impact.

How often should network security be tested?

Run vulnerability scans regularly (many organisations scan monthly or continuously), review firewall rules at least yearly, and test after major changes. Compliance standards may require specific intervals.

Related guide: Types of vulnerability assessment and how they differ from penetration tests

Key takeaways

  • Always test with written permission and a clear scope.
  • Inventory first, then scan ports, services and versions.
  • Review firewall rules, remote access, Wi-Fi and admin settings.
  • Prove segmentation and logging work, then report, fix and retest.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: