Skip to content
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

Sign the .tmp file that gets dropped when installing or updating Sandboxie Plus #2643

Closed
bastik-1001 opened this issue Jan 28, 2023 · 6 comments
Assignees
Labels
Feature Request New feature or idea Sbie Installer Sandboxie installer Status: Added in Next Build Added in the next Sandboxie version

Comments

@bastik-1001
Copy link
Collaborator

Is your feature request related to a problem or use case?

The installer itself is signed, but when the installer is executed it drops a .tmp file that gets executed to install Sandboxie Plus.

The installer drops a file C:\Users\[username\AppData\Local\Temp\[string].tmp\Sandboxie-Plus-[architecture]-[version].tmp that gets run to install the program, but that binary is not signed by any signature.

Describe the solution you'd like

That the .tmp is signed with some valid certificate.

Since the file gets executed as a binary file, and the installer is signed, the chain should be complete and some security software could "respect" the installation process as being more legitimate (even though that is not entirely justified).

Describe alternatives you've considered

No response

@bastik-1001 bastik-1001 added the Feature Request New feature or idea label Jan 28, 2023
@DavidXanatos
Copy link
Member

DavidXanatos commented Jan 28, 2023

Well... this behavior is how innosetup does it, I can look if there is a newer innosetup version which may behave better.
Or some innosetup expert may chime in and tell us how to improve on this behavior.

@DavidXanatos DavidXanatos added Help Wanted Extra help is needed Sbie Installer Sandboxie installer labels Jan 28, 2023
@bastik-1001
Copy link
Collaborator Author

Well, if that is somewhat complicated, I don't think it should be something to waste resources to.

If someone knows how to improve that easily, then it would be nice to see that changed. Until then, there is no problem with that issues staying open as a reminder that this could be improved.

@isaak654
Copy link
Collaborator

isaak654 commented Mar 29, 2024

I have just found an article that should help with this issue: https://blog.osarmor.com/340/innosetup-sign-installer-uninstaller/

If you use Inno Setup to create the installer of your software you can follow these steps to digitally sign the installer, uninstaller (e.g unins000.exe) and also the .tmp file executed by the installer and uninstaller during the installation or uninstallation

This is related to the topic Avast alert, suspicious TMP file in Release v1.13.4, so it is in your interest to sign the .tmp file.

@offhub
Copy link
Collaborator

offhub commented Mar 31, 2024

https://jrsoftware.org/ishelp/index.php?topic=setup_signtool

@isaak654 isaak654 changed the title Sign the dropped .tmp file that gets dropped to install or upgrade Sandboxie Sign the .tmp file that gets dropped when installing or updating Sandboxie Plus Jun 23, 2024
@bastik-1001
Copy link
Collaborator Author

Are there any issues with the way the signing process would be altered or is there another reason why this is not done?

@githubusername2024

This comment was marked as off-topic.

isaak654 referenced this issue Oct 29, 2024
@isaak654 isaak654 added Status: Added in Next Build Added in the next Sandboxie version and removed Help Wanted Extra help is needed labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or idea Sbie Installer Sandboxie installer Status: Added in Next Build Added in the next Sandboxie version
Projects
None yet
Development

No branches or pull requests

5 participants