ACE VoIP Directory ToolACE (Automated Corporate Enumerator) is a simple yet powerful VoIP Corporate Directory enumeration tool that mimics the behavior of an IP Phone in order to download the name and extension entries that a given phone can display on its screen interface. In the same way that the "corporate directory" feature of VoIP hard phones enables users to easily dial by name via their VoIP handsets,
ACE was developed as a research idea born from "VoIP Hopper" to automate VoIP attacks that can be targeted against names in an enterprise Directory. The concept is that in the future, attacks will be carried out against users based on their name, rather than targeting VoIP traffic against random RTP audio streams or IP addresses. ACE works by using DHCP, TFTP, and HTTP in order to download the VoIP corporate directory. It then outputs the directory to a text file, which can be used as input to other VoIP assessment tools. ACE is a standalone utility, but its functions are integrated into UCSniff.
ACE currently supports the VoIP corporate directory used in Cisco Unified IP Phones. It works in the following way:
1)Spoofs CDP to get VVID
2)Adds Voice VLAN Interface (VLAN Hop) - subsequent traffic is tagged with VVID
3)Sends DHCP request tagged with VVID
4)Decodes TFTP Server IP Address via DHCP Option 150
5)Sends a TFTP request for IP Phone configuration file
6)Parses file, learning Corporate Directory URL
7)Sends an HTTP GET request for Directory
8)Parses XML Data, writing directory users to a formatted text file
What is VoIP ?
Voice over IP (VoIP) is an exciting technology which provides many benefits and cost effective solutions for communication.
it is is a methodology and group of technologies for the delivery of voice communications and multimedia sessions over Internet Protocol (IP) networks
More and more small and enterprise businesses are replacing their old traditional telephony systems with an IP based ones. A VoIP based PBX can provide many features such as: Multiple Extensions, Caller ID, Voice mail, IVR capabilities, Recording of conversations, Logging, Usage with hardware based telephones or software based (aka soft phones). Now days there are many vendors for PBX, IP telephones, VoIP services and equipment such as: CISCO, AVAYA and ASTERISK, SNOM, THOMSON… With new technology comes a new challenge for both the defensive and offensive side of security, One of the “great” dangers of traditional phone lines was that it was susceptible to eavesdropping. The “old school” way to eavesdrop on somebody’s phone line was to physically connect a small transmitter which was connected inside or outside their premises somewhere along the phone cord.
IP telephony systems are also susceptible to eavesdropping, doing so in an IP environment is a little bit more difficult to execute, detect and require more the knowledge and the right set of tools.
ACE can be used in one of two ways. First, it can auto-discover the TFTP Server IP Address via DHCP, or (second) the user can specify the TFTP Server IP address as a command line parameter of the tool. In either case, you must supply the MAC Address of the IP Phone with the -m option in order for the tool to correctly download the configuration file via TFTP.
Usage requires MAC Address of IP Phone supplied with -m option
Mode to automatically discover TFTP Server IP via DHCP Option 150 (-m)
Mode to specify IP Address of TFTP Server
Mode to specify the Voice VLAN ID
Mode to remove vlan interface
Mode to auto-discover voice vlan ID in the listening mode for CDP
Mode to auto-discover voice vlan ID in the spoofing mode for CDP
Author: Sipera VIPER Lab
Author: Sipera VIPER Lab