Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / WINDOWS / ENUMERATION

Network Enumeration

This note documents detection patterns related to Network Enumeration within Windows environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security4688Process creationCriticalDetects network discovery commands and scanners.
Sysmon1Process creationCriticalBest execution source for enumeration tooling and lineage.
Sysmon3Network connectionCriticalOutbound probes, SMB touches, and scan traffic.
Sysmon22DNS queryHighName resolution during host discovery.
PowerShell4104Script block loggingCriticalCaptures PowerShell-based network discovery.
Security5156Allowed connectionHighNative connection visibility.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
Burst of host probesPing, SMB, RPC, WinRM attemptsCriticalClassic network recon.
Internal subnet sweepSequential IP touchesCriticalStrong attacker pattern.
AD infra discoveryDC, file server, SQL host targetingHighEnvironment mapping.
DNS burst for many hostsLarge internal name resolutionHighRecon precursor.
Port checks from workstationMultiple destination portsCriticalScan behavior.
Rare admin toolsnltest, net view, arp, routeHighValuable context.

Common Tools

ToolUsage
ping.exeHost discovery
arp.exeNeighbor discovery
net.exeShare / host enumeration
nltest.exeDomain infrastructure discovery
route.exeRouting visibility
tracert.exePath discovery
PowerShellTest-NetConnection / scripted sweeps
nmap.exeFull scanning

Relevant Artifacts

  • Security Event ID 4688
  • Sysmon Event IDs 1, 3, 22
  • Security Event ID 5156
  • PowerShell 4104
  • Prefetch:
    • PING.EXE
    • ARP.EXE
    • NLTEST.EXE
    • NET.EXE
    • NMAP.EXE
  • Amcache / ShimCache
  • Firewall logs
  • DNS cache
  • EDR network graph

MITRE ATT&CK References

  • T1016 System Network Configuration Discovery
  • T1046 Network Service Discovery
  • T1018 Remote System Discovery

Decision Tree

  1. Which network recon tool executed?

    • Native binary
    • PowerShell
    • Scanner
  2. Scope of discovery?

    • Single host
    • Subnet
    • Multi-subnet
  3. Targets sensitive?

    • DC
    • SQL
    • File server
  4. Follow-up activity?

    • Authentication
    • SMB
    • Lateral movement
  5. Expand:

    • DNS
    • Shares
    • Services
  6. Scope:

    • Single host recon
    • Automated sweep
    • Campaign staging

Example Detection Templates

KQL

SecurityEvent
| where EventID == 4688
| where NewProcessName has_any ("ping.exe","arp.exe","nltest.exe","net.exe","route.exe","tracert.exe","nmap.exe")
| project TimeGenerated, Computer, Account, CommandLine
Sysmon
| where EventID == 3
| project TimeGenerated, Computer, Image, DestinationIp, DestinationPort

EQL

process where process.name in ("ping.exe","arp.exe","nltest.exe","net.exe","nmap.exe")
sequence by host.name with maxspan=5m
  [ process where process.name in ("ping.exe","nltest.exe") ]
  [ network where destination.ip != null ]

Sigma

title: Network Enumeration Detection
id: 6f2d1b38-network-enum
status: experimental
description: Detects common internal network discovery commands
references:
  - https://attack.mitre.org/
author: Vergil
date: 2026-03-07
logsource:
  product: windows
  service: security
detection:
  selection:
    NewProcessName|endswith:
      - '\ping.exe'
      - '\arp.exe'
      - '\nltest.exe'
      - '\net.exe'
      - '\nmap.exe'
  condition: selection
fields:
  - NewProcessName
  - CommandLine
falsepositives:
  - Administrative diagnostics
level: medium
tags:
  - attack.discovery

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
Recon burst monitoringAlert on command sequencesCriticalStrong early signal
Internal scan detectionWatch subnet sweepsCriticalDetect broad recon
DNS monitoringDetect internal query burstsHighRecon enrichment
Parent-child correlationIdentify remote shell originHighDistinguish admin vs attacker
EDR network analyticsSequence-based detectionCriticalBetter than single command alerts