Join our Newsletter — 33% off our NHI Course

HSRP and GLBP Hijacking

HSRP and GLBP hijacking is the abuse of first-hop redundancy protocols to impersonate or seize the active gateway role. An attacker can divert traffic through a rogue device, so defenders should authenticate gateway peers where supported, isolate routing infrastructure, and alert on unexpected virtual MAC movement or role changes.

How HSRP and GLBP Hijacking Works

HSRP and GLBP are first-hop redundancy protocols that let multiple routers present a shared default gateway. Hijacking happens when a rogue device successfully joins or impersonates that gateway relationship and begins influencing which router hosts or forwards traffic.

The core security issue is trust at the local gateway boundary. If an attacker can speak the protocol, win the election, or impersonate the virtual gateway, user traffic may be redirected through equipment they control, observe, or manipulate.

Why Gateway Hijacking Is Dangerous

These protocols sit on a high-value choke point: the first hop off a subnet. A successful hijack can place the attacker between endpoints and external networks, which creates interception, traffic tampering, session disruption, and denial-of-service opportunities.

The danger is often less about a single packet and more about control of traffic flow. Once the active gateway role changes unexpectedly, the attacker may be able to capture DNS queries, web sessions, internal service calls, or management traffic that assumes the default gateway is trustworthy.

How Organisations Detect Exposure

Exposure begins with knowing where HSRP or GLBP is actually used and whether those segments are reachable by untrusted devices. Teams should verify which interfaces carry redundancy peers, whether the control plane is confined to trusted VLANs, and whether gateway peers are authenticated where the platform supports it.

Detection relies on spotting protocol anomalies, not just outages. Unexpected virtual MAC movement, repeated role changes, duplicate active gateway announcements, or a peer appearing from an unfamiliar port or subnet can all indicate abuse or misconfiguration.

Hardening and Response Measures

The safest posture is to keep gateway redundancy local, tightly scoped, and observable. That means restricting who can participate in the redundancy group, limiting adjacency to known infrastructure, and applying the vendor-supported authentication or control-plane protections available for the platform.

If hijacking is suspected, responders should treat it like a traffic-diversion incident: remove the rogue peer, restore the trusted gateway role, inspect affected hosts for session interruption or credential exposure, and review switch and router logs for the first point of takeover. The BGP and Routing Security Guide is useful broader reading on routing integrity, hijack detection and response patterns that often help frame gateway-abuse investigations.

Risk and Threat Considerations

Because HSRP and GLBP are designed to make failover transparent, a successful hijack can look operationally normal while shifting a subnet’s trust anchor to an attacker-controlled device. That makes the abuse attractive for interception, persistence, and stealthy traffic manipulation.

Failure mechanism: The attacker abuses protocol trust to become the active or preferred gateway, then routes traffic through a rogue path or suppresses legitimate forwarding.

Impact: Organisations can lose traffic integrity and confidentiality, experience selective or total connectivity disruption, and miss the compromise until users report latency, resets, or routing instability.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, CIS Controls v8 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-53 Rev 5 AC-4 — Information Flow Enforcement Gateway hijacking changes how traffic flows across a subnet.
IA-3 — Device Identification and Authentication Redundancy peers must prove they are trusted network devices.
SI-4 — System Monitoring Unexpected role changes and virtual MAC movement require monitoring.
Recommendation — Enforce trusted routing paths and block unauthorized gateway participation. Authenticate gateway peers before allowing them to influence forwarding. Alert on anomalous gateway role changes and virtual MAC movement.
CIS Controls v8 CIS-12 — Network Infrastructure Management First-hop redundancy is a network infrastructure control that needs hardening and oversight.
Recommendation — Harden and monitor redundancy protocols on network infrastructure devices.
NIST Zero Trust (SP 800-207) AC-4 — Access Enforcement Zero Trust principles favor explicit control over trust boundaries and traffic paths.
Recommendation — Limit trust at the gateway boundary and verify infrastructure peers explicitly.

Practitioner Guidance

What to watch for: Treat gateway redundancy as a monitored control, not just a resilience feature. If a subnet shows unexplained virtual MAC changes, gateway role churn, or peers appearing outside the expected infrastructure boundary, investigate immediately and validate the control-plane membership against your asset inventory.

Governance implication: Ownership should sit with network operations and security together, because the control protects both availability and traffic trust. Document which segments are allowed to use first-hop redundancy, who may change those settings, and how alerts are triaged when the active gateway changes unexpectedly.