|
|
|
|
"SniffUsb 2.0" USB Sniffer for Windows
OverviewSniffUSB 2.0 is a minor update to the predecessor SniffUSB 1.8 by Benoit Papillault. The purpose of this release is actually to update Benoit's prior work to allow it to be built under newer development tools. In particular:
Benoit deserves quite a bit of credit because his V1.8 application and driver ported to these newer tools with very little effort.
This release does not fix any bugs from Benoit's V1.8 release and does not offer any new functionality. After making the initial port of the UsbSnoop driver to WDK 6000 (which went smoothly...) I did make additional modifications to the driver code. Most of these were to make the code more readable - at least to me. The V2.0 UsbSnoop driver changes included:
In addition I removed some functionality:
I did very little work on the SniffUSB MFC application. Changes that I did make include:
SniffUSB 2.0 now supports only Windows XP and higher. Benoit's original SniffUSB V1.8 source and executables can be found at the URL: http://benoit.papillault.free.fr/usbsnoop/
Application OverviewThe SniffUSB main dialog is illustrated below:
Device ListThe top of the display lists USB devices that are present on the host system. Log File ControlsThese controls are provided:
Display Refresh ControlsThese are used to specify when the Device List should be refreshed. Pressing the Refresh button will refresh the display at any time. You can have the display automatically refresh by checking the Auto-Refresh Enable checkbox and then specifying the refresh interval in the companion drop list. Device List ControlsBy default the Device List shows only USB devices that are present on the system. You can also view devices that are not currently present by checking the List Devices Not Present checkbox. Filter ControlsIn order to log USB operations you must install the UsbSnoop filter below the devices that you wish to monitor. Installing a UsbSnoop FilterTo install the UsbSnoop filter follow these steps:
Here the term "installed" may be a little misleading. At this point the system has been configured so that the next time the selected device is started the UsbSnoop filter will be installed - but the filter isn't actually started. The filter will actually be started the next time the selected device is started. If you restart your system, then the filter will be started when the system restarts. If the device is removable, then if you remove and re-plug the device the filter will be started as part of the re-plug process. Alternatively you can press the Replug button in the Filter Control group. This restarts the selected device programmatically and as the selected device is restarted the UsbSnoop filter will actually be loaded below the selected device. Uninstalling a UsbSnoop FilterTo uninstall a UsbSnoop filter follow these steps:
Here the term "uninstalled" may be a little misleading. At this point the system has been configured so that the next time the selected device is started the UsbSnoop filter will be not be installed - but the UsbSnoop filter is actually still running and logging data. You can press the Replug button in the Filter Control group. This restarts the selected device programmatically and as the selected device is restarted the UsbSnoop filter will not be loaded below the selected device. Uninstalling All FiltersPress the Uninstall All button in the Filter Control group. This does the "uninstall" and the "re-plug" operations needed to remove all UsbSnoop filter instances.
Viewing the Log FileThe default viewer simply opens the log file using Notepad. For more readable results, open the log file using WordPad.
License and WarrantyThis program is provided as a service to the Windows system software development community via Printing Communications Assoc., Inc. (PCAUSA) and Benoit Papillault. The right to use this code in your own derivative works is granted so long as your own derivative works include significant modifications of your own. This product includes software developed by PCAUSA and Benoit Papillault. The names of PCAUSA and Benoit Papillault may not be used to endorse or promote products derived from this software without specific prior written permission. Printing Communications Assoc., Inc. (PCAUSA) and Benoit Papillault expressly disclaim any warranty. THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MECHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK ARISING FROM THE USE OF THIS SOFTWARE REMAINS WITH YOU. PCAUSA's entire liability and your exclusive remedy
shall not exceed the price paid for this material. In
no event shall PCAUSA or its suppliers be liable for any
damages whatsoever (including, without limitation, damages for loss of business
profit, business interruption, loss of business
information, or any other pecuniary loss) arising out
of the use or inability to use this software, even if PCAUSA
has been advised of the possibility of such damages.
Because some states/jurisdictions do not allow the exclusion or limitation
of liability for consequential or incidental damages, the above
limitation may not apply to you.
FeedbackThis is brand-new code that I have not been able to test thoroughly. So, I welcome your feedback in the following areas:
My email address is at the bottom of this page.
Download SniffUSB 2.0 Executables
You will need to install the .NET 2.0 framework to provide the necessary MFC and CRT support for SniffUSB. If there is sufficient interest I will make a MSI installer that installs the support for you.
Download SniffUSB 2.0 Source CodeYou can download the SniffUSB source code from the following link:
SniffUSB 2.0 Release NotesYou can view the SniffUSB 2.0 Release Notes from the following link:
Please let me know your experiences with this experimental software. Your feedback is needed if improvements are to be made to this tool. Thomas F. Divine
tdivine@NOpcausaSPAM.com
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
PCAUSA Home ·
Privacy Statement ·
Products ·
Ordering ·
Support ·
Utilities ·
Resources
|