ISSUES OF PROTECTING STP AGAINST ATTACKS USING THE ROOT GUARD MECHANISM ON ACCESS/DISTRIBUTION LAYER SWITCHES
Abstract
The article examines the problem of protecting the data link layer of a corporate network against attacks aimed at spoofing the root bridge in STP and RSTP protocols. The relevance of the study is determined by the fact that, without additional protection mechanisms, an attacker with access to a switch port can send forged BPDU packets with a higher priority and trigger an unauthorized topology change. This may lead to spanning tree recalculation, temporary loss of connectivity, and conditions for traffic interception or disruption. The purpose of the study is to experimentally evaluate the effectiveness of the Root Guard mechanism in a heterogeneous network infrastructure based on Cisco Catalyst 2960, MikroTik, and Eltex MES1428 switches. During the experiment, an attack was simulated using the Yersinia tool, the network behavior with disabled and enabled protection was compared, and vendor-specific differences in Root Guard configuration and diagnostics were analyzed. The results showed that, without protection, the attacking host successfully became the root bridge in all tested scenarios, causing instability in the network topology. After Root Guard was enabled, forged superior BPDU packets were blocked, and protected ports were placed into a blocking state, preventing unauthorized Root Bridge changes. The study concludes that Root Guard is an effective mechanism for protecting L2 topology, but its correct use requires consideration of vendor-specific implementation features and proper security event monitoring.
Online viewer
References
- Малыгин, В. С. Исследование работы технологий STP, RSTP при различных показателях их характеристик / В. С. Малыгин, В. И. Фрейман // Инновационные технологии: теория, инструменты, практика. – 2022. – Т. 1. – С. 327–333. – EDN EAUKDH.
- Чайка, Е. Ю., Шкуренков, Е. С. Атака на протокол STP: Man in the Middle. Методики тестирования и защиты / Е. Ю. Чайка, Е. С. Шкуренков // Актуальные исследования. – 2025. – № 27 (262). – С. 37–48 – URL: https://apni.ru/article/12611-ataka-na-protokol-stp-man-in-the-middle-metodiki-testirovaniya-i-zashity.
- IEEE Std 802.1D-2004. IEEE Standard for Local and Metropolitan Area Networks: Media Access Control (MAC) Bridges. — IEEE, 2004. — 281 p.
- IEEE Std 802.1w-2001. IEEE Standard for Local and Metropolitan Area Networks — Common Specifications: Rapid Reconfiguration of Spanning Tree. — IEEE, 2001. — 54 p.
- Seaman, M. An Overview of IEEE 802.1 Spanning Tree Protocols / M. Seaman // IEEE 802.1 Working Group Documents. – 2009. – 38 p. – URL: https://www.ieee802.org/1/files/public/docs2009/aq-seaman-merged-spanning-tree-protocols-0509.pdf.
- Cisco Systems. Understanding and Configuring Spanning Tree Root Guard and BPDU Guard // Cisco Documentation. – 2019. – URL: https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/10588-74.html.
- Уймин, А. Г. Компьютерные сети. L2-технологии: практикум для СПО / А. Г. Уймин. – Саратов, Москва: Профобразование, Ай Пи Ар Медиа, 2024. – 105 с.
License
Copyright (c) 2025 M. A. Rufin, M. V. Vasiliev (Author)