Article ID: 892853 - Last Review: December 28, 2006 - Revision: 1.4 Description of Promqry 1.0 and PromqryUI 1.0INTRODUCTIONThis article introduces two tools that enable you to detect a network sniffer that is running on a computer that is running Windows Server 2003, Windows XP, or Windows 2000.On This PageSUMMARYA network
"sniffer" is designed to collect data that is flowing
across a network. The data can be useful for many
purposes, including troubleshooting, network traffic analysis, and security
purposes. However, the data can be used for illegitimate purposes, such as network attack. This article introduces two tools, Promqry and PromqryUI, that allow you to detect network sniffers that are running on Microsoft Windows Server 2003, on Microsoft Windows XP, and on Microsoft Windows 2000. Promqry is a command-line tool that can also be used in scripts. PromqryUI is a tool that has a Windows graphical user interface. Both tools have the same basic functionality:
IN THIS TASKMORE INFORMATIONBackground informationA network "sniffer" is software and hardware that is designed to collect data that is flowing across a network. The data that a sniffer collects can be useful for many purposes, including troubleshooting, network traffic analysis, and security purposes. This type of data can also be used for illegitimate purposes, including data theft, password cracking, and networking mapping (reconnaissance). This type of passive network attack can be difficult to detect. A network sniffer can run in one of two modes:
Promiscuous mode is a state in which a network adapter card copies all the frames that pass over the network to a local buffer, regardless of the destination address. This mode enables network sniffers to capture all network traffic on the sniffer's local subnet or virtual local area network (VLAN). Again, this traffic may include unicast, broadcast, and multicast traffic. You can configure a switch to limit this activity so that the network sniffer can collect only data sent to and from the computer that is running the sniffer (for example, the switch port that the computer that is running the sniffer is plugged into). If a computer has network interfaces that are running in Promiscuous mode, a network sniffer may be running on the computer. Promqry and PromqryUIPromqry and PromqryUI are two tools that detect network interfaces that are running in Promiscuous mode. Promqry is a command-line tool, and PromqryUI is a tool that has a Windows graphical user interface. Both tools have the same basic functionality. They can accurately determine whether a managed computer has network interfaces that are running in Promiscuous mode if the computer is running Windows 2000 or a later version. These tools cannot detect stand-alone sniffers or sniffers that are running on non-Microsoft Windows-based computers. How to obtain the toolsCollapse this image ![]() Collapse this image ![]() Common featuresBoth Promqry and PromqryUI can do the following things:
By default, both tools provide verbose output. Verbose output can be toggled off so that only summary data is provided. Requirements
Known limitationsPromqry and PromqryUI have some limitations, including the following limitations:
Notes on Virtual PC and Virtual ServerPromqry and PromqryUI may report that the physical interface is running in Promiscuous mode on a Windows-based computer that is running Microsoft Virtual PC and/or Microsoft Virtual Server. Virtual PC and Virtual Server will configure the host's physical interface to run in Promiscuous mode.Promqry and PromqryUI report that the host's interface is running in Promiscuous mode in any one of the following conditions:
Promqry 1.0 usagePromqry is a command-line tool that can also be used in scripts. Promqry queries computers for interfaces that are running in Promiscuous mode.To query a local computer's interfaces, run the promqry.exe command. Notes
Notes
Notes
PromqryUI 1.0 usageThe PromqryUI interface has two panes. The left pane lists the systems to query, and the right pane displays the output that is generated when the START QUERY button is clicked.Collapse this image ![]() To add systems to the list of systems to query, click Add. You will be asked whether you want to add a single system or a range of systems to the list. Collapse this image ![]() Single systems can be added by IP address or by name. If a name is added, PromqryUI attempts to resolve the name to an IP address when you click the START QUERY button. If the name fails to resolve to an IP address, the query fails. Collapse this image ![]() When you add a range of systems to the list of systems to query, the start IP address must be less than the end IP address. Collapse this image ![]() After you add systems, click to select the box next to each or range to select the systems that you want to query. Systems and ranges that are not selected will not be queried when you click the START QUERY button. Collapse this image ![]() Any systems that you have added to the list will be automatically saved when you exit PromqryUI in the usual manner (by using the File, Exit menu item or by using the control box). The next time you start PromqryUI, the Systems To Query list is automatically populated with the systems and ranges that were saved. You can use the Edit menu to set the ping option and the verbose option that were described earlier. Collapse this image ![]() Press the START QUERY button to start to query the selected systems. In verbose mode, each interface is listed and whether each interface is running in Promiscuous mode. If no interfaces are found to be running in Promiscuous mode, you will receive a message similar to the message displayed in the graphic below. Collapse this image ![]() If an interface is found to be running in Promiscuous mode, you will receive a message similar to the one displayed in the graphic below. Collapse this image ![]() When PromqryUI (or Promqry) finds a host that has an interface that is running in Promiscuous mode, PromqryUI uses WMI to query the host for additional information to make it easier to identify that host. The following is an example of this data: APPLIES TO
| Article Translations
|
Back to the top









