caosdoar / SteelBattalionDriver

A Windows 64bit Driver for the Steel Battalion controller
GNU General Public License v3.0
47 stars 8 forks source link

Split on signing #3

Open Graem117 opened 4 years ago

Graem117 commented 4 years ago

Hey man, I be willing to split the cost if you want to get this signed. Would love to be able to use this with starwars squadrons.

Graem117 commented 4 years ago

I also found this that might help

https://www.unknowncheats.me/forum/anti-cheat-bypass/323626-sign-driver-windows-x64-10-8-1-7-self-signed-certificate.html

caosdoar commented 4 years ago

@Graem117 you offer is very kind but I am not very keen in managing others people money, with something I am not sure I can follow through.

The driver needs to be approved by microsoft and I am not an experienced driver developer. So I am unaware of the amount of work/time it will require. But the code is available for anyone to give it a try.

About the link you share. That is for auto-signing the drivers, something that was possible with older versions of windows, but not with the most recent ones of Windows 10. Now it is required not only to be signed by the developer (what requires to pay for a certificate) but to be signed by Microsoft as well, and that means to go through a certification process with them.

You can find more information about the process (including the changes in Windows 10 I am refering) here: https://docs.microsoft.com/en-us/windows-hardware/drivers/dashboard/get-a-code-signing-certificate

Regards, Oscar.

The-Math-God commented 4 years ago

Then please start a Kickstarter to get these drivers signed because I want to use this with star wars squadron but it won't start when in test sign mode

naz-drala commented 4 years ago

Looks like you can self sign the driver

http://woshub.com/how-to-sign-an-unsigned-driver-for-windows-7-x64/

Graem117 commented 4 years ago

Not sure if that works with windows 10

Graem117 commented 4 years ago

Looks like you can self sign the driver

http://woshub.com/how-to-sign-an-unsigned-driver-for-windows-7-x64/

But if you can do it, please let me know how you did it.

naz-drala commented 4 years ago

Nope, looks like I was wrong. You still need to turn on test mode to use the driver even after going through all that. drat

naz-drala commented 4 years ago

NEVER MIOND ON THE NEVER MIND!!!

After following the directions on that site (the cert tools are here C:\WinDDK\7600.16385.1\bin\amd64, and inf2cat tool is here C:\WinDDK\7600.16385.1\bin\amd64)

Then you need to right click on the steelbattalion cat file and select properties. Go the the digital signature tab. Select the signer and hit details. Hit view cert Then install it to local machine -> trusted root certification authorities and local machine -> trusted publishers If you installed the driver with test on then uninstall it selecting delete driver then scan for hardware changes

Capture

Graem117 commented 4 years ago

Woah really!? Wtf! Okay so I am trying to understand, this works for windows 10 right? Cause I dont see winddk on the main C drive?

naz-drala commented 4 years ago

Yes it works in win 10 You need to install the sdk, that installs all the tools you need. http://www.microsoft.com/en-us/download/details.aspx?id=11800 The instructions for setting up the cert start at Tools for Signing Drivers

Graem117 commented 4 years ago

Okay I got the tools, so I install the driver while test is on right?

naz-drala commented 4 years ago

No, install after.

Graem117 commented 4 years ago

Okay I am in cert install and I cant seem to find the trusted root certification authorities and local machine ![Uploading image.png…]()

naz-drala commented 4 years ago

Capture1 Capture2

Graem117 commented 4 years ago

Oh I have to make the certificate right? I thought it was to use the existing one.

naz-drala commented 4 years ago

Yea, you need to go all the steps to make the cert and attach it to the cat file.

Graem117 commented 4 years ago

Ooooh okay knew there was something there, okay wanted to be sure. Thanks!

Graem117 commented 4 years ago

Okay certificate is installed, and now for the actual process itself, need to know the steps.

Graem117 commented 4 years ago

So do I plug it in, device manager, install driver? or is there something else involved

naz-drala commented 4 years ago

If you have followed all the steps on that website I have linked and built the certifacte and used pnputil to install the certifacte to the driver. all you have to do is Then you need to right click on the steelbattalion cat file and select properties. Go the the digital signature tab. Select the signer and hit details. Hit view cert Then install it to local machine -> trusted root certification authorities and local machine -> trusted publishers Now you can install the driver and it show up as signed.

Graem117 commented 4 years ago

I am getting errors when I install the driver? I did all the steps and even check the certificate manger its there.

Graem117 commented 4 years ago

image

Graem117 commented 4 years ago

Oh wait, let me try something

Graem117 commented 4 years ago

Oh wait do I need to have the pedals attached?

naz-drala commented 4 years ago

No you do not need the pedals attached. You need to add both the cer file and the cat file added to the local machine trusted root and trusted publisher

Graem117 commented 4 years ago

Mmmm I am gonna start over again to be sure I feel like I am missing something

Graem117 commented 4 years ago

Dont know if its too much to ask for a image step by step? or a youtube vid?

Graem117 commented 4 years ago

Only thing I think is different for this image

Graem117 commented 4 years ago

I found the cert2spc in image

Graem117 commented 4 years ago

instead of the C: tools in the link you gave to me

Graem117 commented 4 years ago

Okay I found the issue, When I create the Cat file and get it self signed it does not work even though it states it worked in the cmd

image

Graem117 commented 4 years ago

Okay certificate is okay, and driver does install, but still having issue trying to decipher this what you type "If you installed the driver with test on then uninstall it selecting delete driver then scan for hardware changes"

Graem117 commented 4 years ago

So I installed it in test sign mode and it does work, when I turn test mode off it does not work anymore.

Graem117 commented 4 years ago

Okay so I disabled secure boot, and did a number of way to install it. No success still getting this error. It only works when I have bcd test sign on. I have no idea where I am having trouble here.

image

Graem117 commented 4 years ago

The only thing I can think of is window version, or the order of how this driver is installed thats causing issue (Which the creator of this has stated above). I might take a look at this steel battalion setup and see if I can make that work.(https://sourceforge.net/projects/steel-batallion-64/)

Might give the signed tutorial one final shot before giving up.

Graem117 commented 4 years ago

Main reason I think it could potentially still work is the comments of the self signed tutorial has people saying it works to even close to this current month. So there has to be something.

Graem117 commented 4 years ago

Ya 3rd time no luck, so doing research, reason being this does not work is due to the kernel sys files. The driver installs fine, but ounce it loads the sys files it can detect there not signed and causes it to not work. I think it worked for you is cause you have a version of windows thats not been updated or its a 32 bit system.

Graem117 commented 4 years ago

Got it to work using the steel batallion 64 method that I linked above