VoIP Hopper
VoIP Hopper is a security tool that performs VLAN hop tests and VoIP infrastructure security assessments. It enables rapid testing of VLAN security and VoIP network configurations through CDP sniffing and spoofing.
Description
VoIP Hopper is a GPLv3 licensed security tool written in C that rapidly executes VLAN Hop security tests. Primarily designed for VoIP infrastructure security testing, it also serves as a general VLAN security assessment tool. The tool helps identify VLAN misconfigurations and potential security weaknesses in VoIP deployments.
Key use cases include testing Cisco IP phone VLAN hopping, CDP protocol analysis, and Avaya DHCP option discovery. Security professionals use it to validate voice VLAN isolation and detect improper switch configurations that could allow data and voice traffic mixing.
The tool supports multiple VoIP vendors including Cisco (SIP/SCCP firmware) and Avaya systems, making it versatile for enterprise VoIP security audits.
How It Works
VoIP Hopper operates by manipulating network interfaces to hop between VLANs, primarily targeting VoIP-specific protocols like CDP (Cisco Discovery Protocol) and DHCP options used by VoIP phones. In CDP sniff mode (-c 0), it captures CDP packets to discover voice VLAN configurations. CDP spoof mode (-c 1) crafts spoofed CDP packets with phone-specific parameters (Device ID, Platform, Software version) to trick switches into assigning voice VLAN access.
VLAN Hop mode (-v) creates subinterfaces for specific VLAN IDs while ARP analysis and MAC spoofing maintain stealth. Avaya mode (-a) exploits DHCP option 176/242 for VLAN discovery. The tool uses libpcap for packet capture and requires root privileges for raw socket operations and interface manipulation.
Installation
sudo apt install voiphopperFlags
Examples
voiphopper -i eth0 -zvoiphopper -lvoiphopper -i eth0 -m 00:07:0E:EA:50:86voiphopper -i eth0 -c 0voiphopper -i eth0 -c 1 -E 'SIP00070EEA5086' -P 'Port 1' -C Host -L 'Cisco IP Phone 7940' -S 'P003-08-8-00' -U 1voiphopper -i eth0 -c 1 -E 'SEP0070EEA5086' -P 'Port 1' -C Host -L 'Cisco IP Phone 7940' -S 'P00308000700' -U 1voiphopper -i eth0 -m 00:07:0E:EA:50:86 -c 1 -E 'SEP00070EEA5086' -P 'Port 1' -C Host -L 'Cisco IP Phone 7940' -S 'P003-08-8-00' -U 1voiphopper -i eth0 -avoiphopper -i eth0 -v 200voiphopper -i eth0 -t 0