+ Post New Thread
Results 1 to 7 of 7
Hardware Thread, USB Sniffer in Technical; This is a bit of a specialist subject so this may or may not catch anyone who knows anything about ...
  1. #1
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118

    Question USB Sniffer

    This is a bit of a specialist subject so this may or may not catch anyone who knows anything about it.

    As per the subject I'm looking for a USB sniffer (hardware or software) so I can interpret some interaction between a printer and software utility. If anyone has used any and can recommend to get or avoid it'd be a big help... The idea is to identify a key sequence that's being sent to the printer for a specific task.

    I hasten to add I have absolutely no ideas on how sniffers should work, or indeed how to utilise the results I get from them so if anyone has any primers on interpreting the data that would be useful too..

    .. and just for the record, I'm not planning anything even remotely illegal..

    Cheers and thanks in advance.

  2. #2

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,126
    Thank Post
    215
    Thanked 1,255 Times in 786 Posts
    Blog Entries
    4
    Rep Power
    505
    give this a read CaptureSetup/USB - The Wireshark Wiki

    shows how to get wireshark to read usb traffic to a VM running under virtualbox

  3. Thanks to Domino from:

    contink (18th March 2009)

  4. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,344
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414
    SniffUsb 2.0 - A USB Sniffer for Windows

    Never used it just found it.

    Ben

  5. Thanks to plexer from:

    contink (18th March 2009)

  6. #4

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,344
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414

  7. #5
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118
    Thanks for the suggestions guys...

    Appreciate the suggestions a la google but what I'm really after is recommendations based on actual experience and usage so whilst they are useful, the real valuable intel is in the experience ... Ta...

  8. #6

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,084
    Thank Post
    853
    Thanked 2,679 Times in 2,272 Posts
    Blog Entries
    9
    Rep Power
    769
    No experience per say on the USB front but it sounds like you want to reverse engineer a protocol to be able to trigger some features or abilities from a bit of custom software. There are some initial writeups on how to get started along with some tools and refferences here:
    Learning how to reverse engineer a Windows USB driver: the Luxeed LED keyboard | Roar of the Jespersaur
    So you want to reverse engineer a USB protocol
    dsd’s weblog Blog Archive Reverse Engineering
    OscopeCapture: Reverse Engineering the USB Protocol? - Reconn's World Project Log

    As to outputting these commands over USB you would either need to replay the commands over the existing driver with the sniffing gear or look into writing your own interface driver:
    The Basics:Getting Started Writing Windows Drivers
    Writing USB Drivers with WDF
    [ame=http://www.amazon.com/Writing-Windows-WDM-Device-Drivers/dp/0879305657]Amazon.com: Writing Windows WDM Device Drivers: Chris Cant: Books[/ame]

  9. Thanks to SYNACK from:

    contink (18th March 2009)

  10. #7
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118
    Quote Originally Posted by SYNACK View Post
    it sounds like you want to reverse engineer a protocol to be able to trigger some features or abilities from a bit of custom software.
    Pretty much... It's a case of looking for the magic command to reset a bit of data on the printer.

    As to outputting these commands over USB you would either need to replay the commands over the existing driver with the sniffing gear or look into writing your own interface driver:
    Right... hopefully I won't need to delve too deeply into that side of things as I've a bod with more experience on that side of things ready to fix that. Appreciate the info though, definitely useful.

SHARE:
+ Post New Thread

Similar Threads

  1. usb
    By shafia2009 in forum Windows
    Replies: 4
    Last Post: 15th March 2009, 10:27 PM
  2. USB Turntable
    By antoeknee in forum General Chat
    Replies: 16
    Last Post: 2nd July 2008, 11:47 AM
  3. USB Pens
    By alan-d in forum Recommended Suppliers
    Replies: 13
    Last Post: 18th June 2007, 07:47 AM
  4. USB Batteries
    By OverWorked in forum Jokes/Interweb Things
    Replies: 4
    Last Post: 11th November 2006, 10:22 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •