Red team / offensive security

Scanning & Enumeration

Overview

Scanning identifies what's active and exposed on an authorized network; enumeration digs deeper into what those scans reveal.

Key concepts

  • Open/closed/filtered ports
  • Banner grabbing, service version detection
  • False positives vs. false negatives

How it works

Scanning is the process of identifying active devices, ports, services, and potential weaknesses on an authorized network — helping testers understand what's exposed and what needs further review.

Enumeration goes a level deeper — gathering detailed information from discovered services and systems, potentially identifying usernames, groups, shares, software versions, directories, permissions, and service settings.

Port and service states

TermMeaning
Host discoveryIdentifying devices that are active on a network.
PortA numbered communication endpoint used by network services.
Open portAccepting network connections.
Closed portReachable but not accepting connections.
Filtered portStatus can't be determined because a firewall or filter is blocking communication.
ServiceA program that listens for connections and provides a network function.

Identifying what's running

TermMeaning
Banner grabbingIdentifying service information provided by a system.
Service version detectionDetermining the software and version running on an open service.
Vulnerability scanAn automated process checking systems for known vulnerabilities and insecure settings.
False positiveA result that incorrectly reports a vulnerability or security issue.
False negativeA result that fails to identify a real vulnerability or security issue.