8000 Add option to remove Security Directory by SubstituteR · Pull Request #146 · atom0s/Steamless · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add option to remove Security Directory #146 8000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SubstituteR
Copy link
8000

This resolves error 0x800700C1 in signtool if the PE was previously signed.

Currently only implemented for Variant 3.1 x64

Steps to reproduce:

Use Steamless to remove SteamStub from Oblivion Remastered
Attempt to sign the output binary with signtool
Receive error 0x800700C1
{C1E80824-AF87-4280-86F8-41D01CACFD1B}

This resolves error 0x800700C1 in signtool if the PE was previously signed.
@Aerocatia
Copy link
Aerocatia commented May 28, 2025

Since this is not merged, I will say you can also remove the cert with signtool first before unpacking it (signtool remove /s <exe>)
This makes sure you get a valid exe.

As you probably already know, the current version does not fix the cert offset after removing the .bind section causing it to be out of bounds. Removing it first is also probably cleaner since you don't end up with stale cert data left in the exe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0