← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Network Rogue DHCP Server MITM Dataset

This hunt uses a simulated network/switch-log dataset (network_rogue_dhcp_mitm_2022-08-06T140000.json) capturing T1557: Adversary-in-the-Middle via a rogue DHCP server, where an adversary who gained physical or wireless access to an internal segment stands up an unauthorized DHCP server that races the legitimate one, handing out a malicious default gateway/DNS server to intercept and manipulate victim traffic.

Step 1: Hypothesis Formation

Hypothesis: DHCP OFFER messages are observed on the network segment originating from a MAC address/IP not on the authorized DHCP server allow-list, and at least one client subsequently receives a lease with a gateway or DNS server IP that does not match the environment's documented network configuration. Indicators:

Null Hypothesis: A legitimate but unauthorized/misconfigured device (e.g., a consumer router accidentally plugged into the network, a test lab DHCP server not properly isolated) is the source, rather than a malicious actor. Invalidate via physical/asset tracing of the switch port and MAC address, and by assessing whether the handed-out configuration facilitates interception (an accidental router misconfig usually doesn't redirect DNS to attacker infrastructure).

Rationale: Rogue DHCP is a classic and highly effective internal MITM technique because it requires no credential compromise - only physical or wireless network access - and can silently redirect all of a victim's traffic; this hunt validates DHCP-snooping-based detection as the primary control.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (6 shown) confirm a rogue DHCP server on an untrusted switch port successfully leased a malicious gateway/DNS configuration to at least one client before DHCP snooping blocked further offers.

Timestamp (UTC)SourceEventDetailsIOC/Why Suspicious?
2022-08-06 14:03:11Port Gi1/0/24DHCPOFFER (untrusted)From MAC 00:0c:29:ab:cd:ef, offering 10.150.0.201Untrusted-port IOC: DHCP snooping identifies this port as an access/untrusted port - no DHCP server should be responding from here per the switch's trust configuration.
2022-08-06 14:03:12WKS-F3-118DHCPACK acceptedRouter=10.150.0.201 (rogue), DNS=10.150.0.201 (rogue) - client raced and accepted the rogue offer before the legitimate server's response arrivedRace-win IOC: rogue server responded faster than the legitimate DHCP server (10.150.0.10), a common outcome when the rogue device is physically closer/less loaded.
2022-08-06 14:03:40WKS-F3-118DNS query for portal.contoso.comResolved to 10.150.0.201 instead of the correct internal IP 10.150.0.20Interception IOC: internal portal resolution hijacked to the rogue server's own IP - enabling credential-harvesting via a fake login page.
2022-08-06 14:04:02Gi1/0/24DHCP snooping violation logged; port automatically err-disabled per switch policySwitch-level control engaged after the second unauthorized OFFER was detectedContainment note: automated switch response limited the blast radius to a single client before wider impact.
--(asset trace)Port Gi1/0/24 traces to a conference room network jack on Floor 3Physical location corroborates a walk-in/insider-access scenario rather than a remote compromise.
2022-08-06 14:20:00WKS-F3-118(impact scope)Client's cached credentials for the internal portal were entered into the rogue page per subsequent user reportConfirmed impact: at least one credential-harvesting success before containment.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - a rogue DHCP server on an untrusted conference-room switch port successfully performed a MITM DNS hijack against at least one client before automated containment!