usbip-win icon indicating copy to clipboard operation
usbip-win copied to clipboard

USBIP Win - Sign by EV CodeSign certificate

Open koudis opened this issue 4 years ago • 40 comments

Hello all,

it will be really nice to have usbip win driver signed properly. The driver must be signed by EV CodeSign cert which is not cheap.

Once the community agrees that the driver is stable I can discuss with our CEO about signing the driver by our EV Cert.

@cezanne let me known when the EV CodeSign will be needed.

koudis avatar Jun 25 '20 18:06 koudis

@koudis: It's great to hear the news from you. EV certificate will be required for using usbip-win at production level.

But usbip-win kernel drivers are still unstable and lacks some functionality such as application compatibility. Current WDM-based vhci does not solve several issues such as #111 even though a commercial virtual USB product has no problem. Maybe, most application and USB libraries depend on microsoft provided pure root hub(usbhub.sys or usbhub3.sys).

Thus, I’m currently developing a kmdf-based vhci via UDE(USB device emulation).

cezanne avatar Jun 26 '20 22:06 cezanne

Come on

hnwentao avatar Jul 12 '20 08:07 hnwentao

@cezanne When do you expect the Project to be this far?

I am really interested in using this code without breaking my computers security.

Thanks anyway for the work yet done!

Ale268 avatar Aug 08 '20 19:08 Ale268

@Ale268 :

When do you expect the Project to be this far?

My hope answers that this project requires 4~6 months until vhci(UDE) deserves an EV certificate. 😕

cezanne avatar Aug 29 '20 12:08 cezanne

Most anti-cheat software complains when driver test signing is on, meaning I can't use usbip until the client drivers are signed for release.

Is there a specific list of issues that are blocking the certification process or a concrete roadmap for a production version? I'd like to see if there's anything I can do, even if I only ever did device drivers on linux and that was years ago.

saulrh avatar Oct 18 '20 19:10 saulrh

My hope answers that this project requires 4~6 months until vhci(UDE) deserves an EV certificate.

Would this also eliminate the need for bcdedit.exe /set TESTSIGNING ON? If so I am very eager to get this as it allows using USBIP on a windows PC with secure boot enabled.

septatrix avatar Oct 18 '20 19:10 septatrix

You can use EfiGuard!

DocMAX avatar Jan 08 '21 09:01 DocMAX

Any news on this topic? could we organize a crowdfunding if the certification is expensive?

mahdibx avatar Jan 16 '21 00:01 mahdibx

Any progress about the certification? We want to use usbip binaries in our commercial software, and can help to get the driver signed. Is there any dedicated time for the code sign certification?

versaloon avatar Mar 06 '21 09:03 versaloon

BTW: we plan to use usbip as PC driver for our wireless USB hardwares

versaloon avatar Mar 06 '21 09:03 versaloon

This would be great :)

dpvdberg avatar Apr 14 '21 22:04 dpvdberg

Hi all :),

we are still waiting for stable version. How it looks, @cezanne ?

koudis avatar Apr 15 '21 18:04 koudis

Hi everyone, do we have any updates on this? Even an update on the estimate would be nice :)

MinHyukPark121 avatar May 12 '21 08:05 MinHyukPark121

Hi everyone, do we have any updates on this? Even an update on the estimate would be nice (:

joaoabreufilho avatar Jul 09 '21 19:07 joaoabreufilho

@cezanne any updates? Once the cross-signed cert gets implemented, I can remove the need for a hardware USB switch for my project.

TheMohawkNinja avatar Aug 30 '21 01:08 TheMohawkNinja

very intersted on this topic :-)

kadrim avatar Sep 08 '21 01:09 kadrim

Any news on this topic?

sensiki avatar Sep 25 '21 10:09 sensiki

This would be nice to have. These are some prices: DigiCert $700USD/yr, EV sectigo $400/yr, EV certum EV - $426 Cloud based, EV certum Open Source $55/yr for OSS projects, cloud based, not EV @cezanne I'd be willing to donate something and I'm sure others would as well

alexmi256 avatar Nov 17 '21 01:11 alexmi256

up

Comodo - $279/yr, EV if for 2yrs

I'm curious though, is anyone using it in a "production" or "connected" environment and still accept the risk?

maxdd avatar Jan 11 '22 13:01 maxdd

Any news on this ? I am happy on contributing with a EV certificate if needed..

forlayo avatar Jun 13 '22 09:06 forlayo

@forlayo: I would appreciate your EV certificate. However, usbip-win vhci drivers should get attestation sign at MS partner portal after the EV certificate is registered in my partner portal. But I'm not sure that an EV certificate can be registered into multiple accounts. If it's not possible, you may be asked to provide your partner account or create my account on your partner portal. Or you can contribute to sign vhci drivers yourself.

A newly released 0.3.6-dev package has MS signed vhci drivers. I managed to acquire an EV certificate but its validation period will expire soon. Thus, another EV might be needed.

cezanne avatar Jun 18 '22 07:06 cezanne

A newly released 0.3.6-dev package has MS signed vhci drivers. I managed to acquire an EV certificate but its validation period will expire soon. Thus, another EV might be needed.

I confirm this works as expected.

lebtron avatar Jun 19 '22 15:06 lebtron

A newly released 0.3.6-dev package has MS signed vhci drivers. I managed to acquire an EV certificate but its validation period will expire soon. Thus, another EV might be needed.

Could we know when the current EV Certificate will expire?

MinHyukPark121 avatar Jun 20 '22 04:06 MinHyukPark121

I guess you should wrap

  Enable test signing
  > bcdedit.exe /set TESTSIGNING ON
  reboot the system to apply

in something like "if not a signed release"

maxdd avatar Jun 20 '22 06:06 maxdd

@MinHyukPark121 :

Could we know when the current EV Certificate will expire?

Maybe after 3 months. However, once signed package can be safely installed with no test mode even though the certificate expires. Expiration matters only for package signing.

cezanne avatar Jun 20 '22 08:06 cezanne

@maxdd:

in something like "if not a signed release"

Good comment. thanks.

cezanne avatar Jun 20 '22 08:06 cezanne

Happy to contribute to signing cert!

As an alternative, would something like EfiGuard be of any use to workaround the signing requirement in trusted environments? https://muffsec.com/blog/how-to-use-efiguard-to-disable-patchguard/

paulpv avatar Sep 21 '22 01:09 paulpv

If somebody send me OV sign for signing I will try to sign drivers by the sign. I did it with my OV sign successfully and drivers were installed under Win10 LTSC19 well.

CpServiceSpb avatar Sep 27 '22 22:09 CpServiceSpb

@cezanne if you can guide me to set up my certificate on my partner portal to sign the driver I'll be happy on help signing it for you. I've just received my EV certificate today.

forlayo avatar Nov 25 '22 16:11 forlayo

@forlayo if you can you can try it to your own to sign the drivers using utilities from Visual Studioand DDK and got the EV by you. Uf you doon' t have the utilities I can send you it which I signed my driver by OV on previous year.

CpServiceSpb avatar Nov 26 '22 14:11 CpServiceSpb