all-soc-level-12026.04.19
haadi@portfolio: ~

haadi@portfolio:~$ cat network-discovery-detection.md

Room notes · SOC Level 1 · Network security

Network DiscoveryDetection

Discovery techniques and their detection signatures

What This Room Covers

How attackers perform network discovery after initial access, and how SOC analysts detect reconnaissance activity in network logs and SIEM data.


Key Concepts Learned

Network discovery is Phase 2 of the Unified Kill Chain: the attacker is already inside. When an attacker lands on their initial host, they immediately begin mapping the internal network: what other hosts exist, what services are running, what credentials they have access to. Detecting this activity is how SOC teams identify active intrusions before the attacker reaches their objective.

Discovery techniques and their detection signatures

Discovery TechniqueTool UsedDetection Signature
Host discovery (ping sweep)nmap -sn, pingICMP echo requests from one host to many destinations in rapid succession
Port scanningnmap -sSSYN packets from one host to many ports on one or more targets
Service enumerationnmap -sVMultiple connection attempts with specific probes to identified open ports
DNS enumerationnslookup, digHigh-frequency DNS queries for internal hostnames
SMB enumerationnet view, enum4linuxSMB session establishment to many hosts
ARP scanningarp-scanARP requests for many IPs in rapid succession from one host

The internal scan is more suspicious than external An external Nmap scan against a network perimeter is common: pen testers, vulnerability scanners, and attackers all do this. An internal host conducting a port scan of other internal systems is a much stronger indicator of active compromise or insider threat. Internal-to-internal scanning should always be investigated.

Baselines enable anomaly detection A vulnerability scanner legitimately scans the network on a schedule: this generates detection signatures identical to attacker scanning. The difference is context: authorized scanner on a known schedule during business hours versus unknown host scanning at 3 AM. SIEM rules for discovery detection need to account for authorized scanning activity to avoid false positive noise.


How This Applies to Real SOC Work

Detecting network discovery is detecting the attacker's reconnaissance phase after initial access. Finding this activity early: before lateral movement and privilege escalation: significantly limits the damage scope.

Originally published on GitHub

view-source
haadi@portfolio: ~

haadi@portfolio:~$ cat meta

  1. category: room notes
  2. path: SOC Level 1
  3. module: Network security
  4. topic: Network Security
  5. difficulty: Easy
  6. published: 2026.04.19
  7. read: 2 min

Next writeup

Keepreading