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

SB+ 0.96, 0.98d is disguising host Windows version as detected by some installers #1426

Closed
alasalto opened this issue Dec 11, 2021 · 10 comments
Labels
Issue: Reproduced Issue reproduced without uncertainties Known Issue Old known Sandboxie issues

Comments

@alasalto
Copy link

Freefilesync software (https://freefilesync.org/) installer shows up the same issue with SB+. It´s unable to install as of version 11.14 when using SB+ v0.96 on a Win10Pro 21H1 system. The FreeFileSync Installer refuses to install in a fresh sandbox. The error message points out to a min Windows version needed: Windows 7 or later. Adding 'OverrideOsBuild=7601' parameter didn't work neither.

Testing FFF ver 11.15 still happening. The program refuses to install showing up an error dialog: "FreefileSync 11.15 requires Windows 7 or later to run"

Originally posted by @alasalto in #605 (comment)

@isaak654
Copy link
Collaborator

Adding 'OverrideOsBuild=7601' parameter didn't work neither.

That parameter never worked since the beginning. Just for the record, it was added in Sandboxie/core/dll/userenv.c:
48488df?diff=unified#diff-3434716960b35ef0cac23943b4c76a5a8f1fc5f60e76e5e9b3e860120ad82d4d

I think it's just a matter to decide if fixing the not working code or undo it for good.

About the rest of the issue, please test Plus 1.0.2. I can't reproduce it with this version.

@DavidXanatos DavidXanatos added Status: Added in Next Build Added in the next Sandboxie version Status: Fixed in Next Build Fixed in the next Sandboxie version and removed Status: Added in Next Build Added in the next Sandboxie version labels Dec 11, 2021
@alasalto
Copy link
Author

Testing again SB+ 1.03 w/ OverrideOsBuild=7601 parameter. The problem still persists.
SB+ notificaion dialog shows the following error:
FreeFileSync_11.15_Windows_Setup.exe (7936): SBIE2224 Sandboxed program has crashed: FreeFileSync_11.15_Windows_Setup.exe [FreeFileSyncToInstallH]
On installer side, it shows: Runtime error and installation ends abruptly.

@isaak654
Copy link
Collaborator

isaak654 commented Dec 17, 2021

On installer side, it shows: Runtime error and installation ends abruptly.

Please report the exact runtime error, thank you.
Do you use a third-party security software besides Sandboxie?

@alasalto
Copy link
Author

On installer side, it shows: Runtime error and installation ends abruptly.

Please report the exact runtime error, thank you. Do you use a third-party security software besides Sandboxie?

Sorry Sir, I have just forgotten it to state properly:

Tested on a Standard isolation sandbox

FreeFileSync_11.15_Windows_Setup.exe - Application Error

The instruction at 0x0000000000000001 referenced memory at 0x0000000000000001. The memory could not be read.
Click OK to terminate the program

OK

And installer reported this one:

Error

Runtime error 216 at 00000001

OK

@isaak654
Copy link
Collaborator

It looks like "Runtime error 216" could indicate the presence of one or more viruses, see Error Message: Runtime Error 216

@alasalto
Copy link
Author

alasalto commented Dec 17, 2021

Thank you for pointing it out. AV does not detect unusual activities as regards of a virus nor was detected. Moreover, it is worth noting that this error does not occur when running installer from outside the sandbox. V

@diversenok
Copy link
Collaborator

It looks like "Runtime error 216" could indicate the presence of one or more viruses

Runtime error 216 has nothing to do with viruses. It means that a program that is written in Delphi got an access violation before exception handling was fully initialized. Nothing more, nothing less.

@isaak654
Copy link
Collaborator

isaak654 commented Dec 17, 2021

It looks like "Runtime error 216" could indicate the presence of one or more viruses

Runtime error 216 has nothing to do with viruses. It means that a program that is written in Delphi got an access violation before exception handling was fully initialized. Nothing more, nothing less.

So even MSFT provided an oversimplified explanation on that error code, good to know...
I think it's time to reopen this issue, I've just tested this behavior on 1.0.3 and I can confirm it.

@isaak654 isaak654 reopened this Dec 17, 2021
@isaak654 isaak654 added Confirmation Pending Further confirmation is requested Issue: Reproduced Issue reproduced without uncertainties Known Issue Old known Sandboxie issues and removed Status: Fixed in Next Build Fixed in the next Sandboxie version Confirmation Pending Further confirmation is requested labels Dec 17, 2021
@DavidXanatos
Copy link
Member

without OverrideOsBuild=7601 free fiel sync seams to me to install just fine, the issue is that if we tell the program we are win 7 it will screw somethign up so imho everythign works on our side as intended

@alasalto
Copy link
Author

without OverrideOsBuild=7601 free fiel sync seams to me to install just fine, the issue is that if we tell the program we are win 7 it will screw somethign up so imho everythign works on our side as intended

Thank you for your response. I really appreciate your work. Just in case this long standing issue deserves your attention again. The behavior or both programs is what it seems to me that SB+ is disguising host Windows ver. The program to be installed is not functioning as expected since as soon as I try to install the software it shows an error dialog stating that at least Windwos 7 ver is required. Tested again thoroughly on Windows 10 Pro 21H1 and SB+ 096, 0.98d, 1.03 &1.04 unfortunately the error persists in all cases.


Setup

FreeFileSync 11.15 requires Windows 7 or later to run!

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Reproduced Issue reproduced without uncertainties Known Issue Old known Sandboxie issues
Projects
None yet
Development

No branches or pull requests

4 participants