SnoopWare / usbsnoop

Log USB packets going from Windows device driver to hardware device and vice-versa
GNU General Public License v2.0
99 stars 22 forks source link

I got the warning "Snpys bridge is not available (check Readme for instructions)", how could I fix that? #10

Open Fengzi2333 opened 5 years ago

Fengzi2333 commented 5 years ago

I did follow the instructions but it doesn't help. Then I tried to compile the source code but it just Could NOT find WDK (missing: WDK_LATEST_NTDDK_FILE), but I did installed the WDK. Much thanks for any help.

Maheswari01A commented 4 years ago

Me too face the same issue. Can anyone giude on this?

dmikushin commented 4 years ago

We do not search for WDK ourselves, there is an external CMake file which does the WDK search logic for us: https://github.com/SergiusTheBest/FindWDK/blob/c966cc79efab091e00ad305335c2c3103481fd42/cmake/FindWdk.cmake What is your OS where it's failing?

trevarj commented 4 years ago

Happening for me too on Windows 10. I have installed the Win 10 SDK through the Visual Studio 2019 Build tools and the most recent WDK (Windows Driver Kit)

troth530 commented 8 months ago

The main problem is probably the service is not installing. This is a windows security issue and shows up for Win7 and Win10, likely all windows versions.
image

Not only does Windows not start the service, it does not install it in services, so I cannot simply manually start the service. There are 2 files in C:\Windows\System32\drivers that have a digital signature, but it is signed by Snoopware, maybe windows triggers that as an issue.

dmikushin commented 8 months ago

@troth530 , please make sure that you enforce the system to boot in the mode that allows self-signed drivers as explained here: https://github.com/SnoopWare/usbsnoop?tab=readme-ov-file#deployment

In Windows 10, it is no longer possible to "trust" a driver if you wish to do so. The system is locked in a way that everyone has to be authorized by Microsoft to ship a driver. This is possible to do for usbsnoop, but needs some sponsorship.

Sod-Almighty commented 6 months ago

Then why don't you detect that it's running on Windows 10 or Windows 11 and throw up a big dialog box saying "DOES NOT WORK ON WINDOWS 10"??

That way we wouldn't waste our time trying to troubleshoot something that flat-out does not, and will not function.

dmikushin commented 6 months ago

Then why don't you detect that it's running on Windows 10 or Windows 11 and throw up a big dialog box saying "DOES NOT WORK ON WINDOWS 10"??

It does work on Windows 10, you should throw up a big dialog box "I DON'T UNDERSTAND WHAT I READ" for yourself.

Sod-Almighty commented 6 months ago
  1. You just said it doesn't.
  2. I'm running Windows 11 and it's not working. If extra steps are needed to make it work, why aren't they mentioned in the readme file included with the product?
dmikushin commented 6 months ago
  1. You just said it doesn't.

I did not. There is a problem with your reading skill.

2. I'm running Windows 11 and it's not working. If extra steps are needed to make it work, why aren't they mentioned in the readme file included with the product?

The steps that you refuse to read are provided in the README section mentioned above: https://github.com/SnoopWare/usbsnoop?tab=readme-ov-file#deployment