針對上篇分析的三大攻擊手法,部署分層技術防禦:從核心網路設備到存取層,構建「防偽、防竄、防繞」立體防線。
arp 192.168.1.10 00-11-22-33-44-55 ARPA
shutdown/restrict/protect 動作。interface FastEthernet0/1
switchport mode access
switchport port-security
switchport port-security mac-address 0011.2233.4455
switchport port-security maximum 1
switchport port-security violation shutdown
ip verify source port-security
IP 位址本質不可信,建立多層驗證:
| 攻擊手法 | 主要防禦技術 | 部署層級 | 殘留風險 |
|---|---|---|---|
| 手動改 IP | 靜態 ARP 綁定 | 核心層 (L3) | 可配合 MAC 偽裝繞過 |
| MAC 偽裝 | 交換器埠安全 / IP-MAC-Port 綁定 | 存取層 (L2) | 極難繞過 (需物理接管埠) |
| 跨網段盜用 IP | VLAN + ACL | 彙聚/核心層 | 僅限單一 VLAN 影響 |
| IP Spoofing | 入口過濾 (BCP38/ufRPF) + 加密驗證 | 邊界/應用層 | 需端到端加密徹底解決 |