Network Scans: The Foundation of Modern Cybersecurity Visibility

Introduction to Network Scans

Network scanning is one of the most fundamental and powerful tools in an engineer’s arsenal. Whether you're an MSP, MSSP, Sales Engineer, SOC analyst, architect, or security practitioner, the ability to discover, enumerate, and assess assets on a network is essential. Network scans provide the visibility required to secure, maintain, and optimize environments — because you cannot defend what you cannot see.

A network scan systematically probes hosts, devices, and services to identify:

  • Active systems
  • Open ports and exposed services
  • Operating systems and fingerprints
  • Application versions
  • Misconfigurations
  • Vulnerabilities
  • Security gaps and attack vectors

From routine health checks to compliance assessments, network scanning plays a central role in understanding an environment’s true state.

Why Network Scanning Matters

Network scans fall into several categories, each serving a specific purpose.

Types of Network Scans

1. Host Discovery (Ping Sweeps)

Identifies which systems are active or reachable on a network.

Common methods:

  • ICMP Echo
  • TCP SYN to common ports
  • ARP scans (ideal for LANs)

Tools: Nmap, Angry IP Scanner, Masscan, SolarWinds, RMM agents

2. Port Scanning

Determines which ports are open, closed, or filtered on a host.

Scan types include:

  • TCP SYN Scan (most common, stealthy)
  • TCP Connect Scan
  • UDP Scan
  • ACK Scan
  • FIN/XMAS/NULL Scans (firewall evasion)

Use cases: firewall reviews, exposure assessments, service discovery

Tools: Nmap, Masscan, Zenmap

3. Service Enumeration & Fingerprinting

Goes beyond open ports to determine what is actually running:

  • Service banner identification
  • Application version detection
  • OS fingerprinting
  • TLS/SSL cipher enumeration

Critical for: patching, vulnerability assessments, identifying legacy services

Tools: Nmap, Netcat, Nessus, OpenVAS

4. Vulnerability Scanning

Evaluates discovered services against known CVEs, misconfigurations, and exposures.

Examples:

  • Missing patches
  • Weak SSL configurations
  • SMB vulnerabilities
  • Misconfigured web services

Tools: Nessus, OpenVAS, Qualys, Rapid7 InsightVM

5. Credentialed Scanning

Logs into systems with authorized credentials to gather deeper, accurate insights.

Benefits:

  • Detects missing patches
  • Reviews local configurations
  • Enumerates installed software
  • Identifies weak permissions

Tools: Nessus, Qualys, Microsoft Defender

6. External Perimeter Scanning

Simulates what attackers see from the internet.

Use cases:

  • Attack surface assessments
  • Shadow IT discovery
  • External exposure validation

Tools: Nmap, Shodan, Censys, Rumble, Tenable ASM

7. Internal Lateral Movement Scanning

Used in Zero Trust and security assessments.

Identifies:

  • Flat networks
  • Open SMB/RDP
  • High-risk lateral movement paths
  • Unknown internal services

Tools: Nmap, BloodHound (AD mapping), Rumble

Common Tools Used in Network Scanning

Edit
ToolPurposeNotes
NmapHost, port, service, OS detectionGold standard; extremely flexible
MasscanUltra-fast internet-scale scanningMillions of packets/sec
NessusVulnerability scanningUsed by most MSSPs
OpenVASOpen-source vuln scannerGood alternative to Nessus
QualysEnterprise scanning / complianceCloud-based
ShodanGlobal internet exposure research“Search engine for devices”
Rumble/RunZeroModern asset discoveryVery strong fingerprinting
Angry IP ScannerSimple discoveryWindows-friendly

Commonly Scanned Ports

Edit
PortProtocolServiceNotesRisk LevelMITRE Technique
22TCPSSHAdmin access, brute-force targetHighT1021.004: SSH
23TCPTelnetLegacy, cleartext authCriticalT1040, T1021
21TCPFTPUnencrypted file transferCriticalT1048: Exfiltration
53UDP/TCPDNSLookup & enumerationHighT1569.002
80TCPHTTPWeb serversHighT1190: Exploit Public-Facing App
443TCPHTTPSSecure webHighT1190
445TCPSMBMajor ransomware vectorCriticalT1021.002
3389TCPRDPRemote desktop; brute-forceCriticalT1021.001
3306TCPMySQLDB exposure riskHighT1078: Valid Accounts
5432TCPPostgreSQLDB exposureHighT1078
27017TCPMongoDBNo auth defaultsCriticalT1190
5060UDPSIPVoIP attacksMediumT1040
8000-9000TCPApp ServersDev/test appsMediumT1190

Mitre Enrichment for Scans

Edit
MITRE IDTechnique NameDescription
T1046Network Service ScanningUsed to discover services on remote systems
T1595Active ScanningReconnaissance and vulnerability discovery
T1021Remote ServicesPivoting and lateral movement using RDP/SSH/SMB
T1018Remote System DiscoveryFinding hosts inside a network
T1190Exploit Public-Facing ApplicationWeb exploitation via open ports
T1078Valid AccountsCompromise of credentials to access DB ports
T1040Network SniffingCleartext protocols such as Telnet/FTP

Scan Types

Edit
Scan TypeMethodExample CommandPurposeMITRE Technique
Host DiscoveryICMP Echo SweepNmap -snDetects live hostsT1018: Remote System Discovery
Host DiscoveryARP ScanNmap --arpLocal network device discoveryT1016: System Network Configuration Discovery
Port ScanTCP SYN ScanNmap -sSStealth scan for open portsT1046: Network Service Scanning
Port ScanTCP Connect ScanNmap -sTFull connection scanT1046
Port ScanUDP ScanNmap -sUDetects UDP servicesT1046
Service EnumerationVersion DetectionNmap -sVIdentifies service versionsT1592: Gather Victim Host Information
OS DetectionTCP/IP FingerprintNmap -OOS identificationT1033: System Owner/User Discovery
Vulnerability ScanNessus ScanNessus DefaultCVE & misconfiguration scanningT1069: Permission Group Discovery
External ScanPerimeter ScanNmap / MasscanInternet-facing exposureT1595: Active Scanning
Internal ScanLateral Movement MappingNmap / RumbleIdentifies open paths & protocolsT1021: Remote Services

Scan Variances

Edit
Scan TypeStrengthsWeaknessRisksBest Use Case
TCP SYN ScanFast, stealthyOnly open ports detectedLow accuracy on filtered portsUse on firewalled networks
TCP Connect ScanReliableSlower; full connectionNoisy; loggedUse when SYN scan blocked
UDP ScanFinds UDP servicesSlow & unreliableHigh false positivesUse targeted, not wide
Version ScanIdentifies servicesMore intrusiveTriggers IDS/IPSUse internally
OS DetectionFingerprint OSMay be inaccurateCan be blockedUse for mapping
External ScanInternet exposureLimited visibilityCloud firewalls hide portsUse for perimeter testing