Skip to content

IPv4 Routes

Evidence: IPv4 Routes
Description: Collect IPv4 Routes
Category: Network
Platform: windows
Short Name: ipv4
Is Parsed: Yes
Sent to Investigation Hub: Yes
Collect File(s): No

The IPv4 routing table determines how network packets are forwarded from the local system to destination networks. It contains routes to local subnets, default gateways, and any manually configured or dynamically learned routes.

Routing table modifications can indicate network manipulation, VPN usage, or routing-based attacks.

This collector gathers structured data about ipv4 routes.

FieldDescriptionExample
DestinationDestination network address0.0.0.0
MaskNetwork mask0.0.0.0
PolicyForwarding policy0
AdapterNetwork adapter index12
TypeRoute type3 (Indirect)
ProtocolRouting protocol3 (NETMGMT)
AgeRoute age in seconds3600

This collector uses Windows API to enumerate routes:

  • GetIpForwardTable to retrieve routing table
  • Parses each route entry
  • Extracts destination, mask, and next-hop information

Routing tables reveal network topology and potential network manipulation. Investigators use this data to identify VPN or tunnel routes, detect routing table manipulation, understand network architecture, identify static routes to suspicious networks, and detect network-based persistence or C2 infrastructure.