Port Scanning
Also called network scanning.
Probing hosts to discover open ports and reachable services.
What it is
Systematically sending probes to a range of ports or hosts to learn which services are listening and reachable. Techniques range from full-connect scans to stealthier half-open and crafted-flag scans meant to avoid logging.
Why it matters
Scanning is a near-universal precursor to attack, so its fingerprints in logs and flow data often mark the earliest detectable stage of an intrusion or an internal pivot.
In practice
Spotting a single internal host sequentially touching port 445 across an entire subnet. Reconnaissance ahead of lateral movement.
What to look for
- One source hitting many ports or hosts in a short time.
- SYN packets without completed handshakes.
- Internal scanning from a workstation.
Common mistake
Ignoring internal scans. Scanning from inside often means an attacker is mapping the network.
Use it in CyberKit
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Nmap Open source
Scans hosts for open ports and services, the same view an attacker gets.
-
Shodan Commercial
A search engine for internet facing devices, useful for seeing what you expose.
-
Nuclei Open source
Runs template based checks for exposures and misconfigurations across many targets.
Read next
- Flow Data: Summarized session metadata: who talked to whom, without payloads.
- East-West Traffic: Traffic moving between internal hosts rather than in and out.
- Intrusion Detection System: A sensor that watches traffic and alerts on malicious activity.