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

The new version of Tencent's installer identifies the sandbox limitation and prevents the installation from proceeding. #3000

Open
ZSJsts opened this issue Jun 1, 2023 · 9 comments
Labels
Confirmation pending Further confirmation is requested UAC related User Account Control issues

Comments

@ZSJsts
Copy link

ZSJsts commented Jun 1, 2023

Describe what you noticed and did

When running the installer in the sandbox, if you select "Make app think they are running elevated". It will say have no right to install here (can't write).
However, if I do not select this option.The installer will install the files directly to the file location on the external host machine (I am still running the installer from inside the sandbox).(virtual machine escape)

I searched the history of issues in the community and I found that only in #2305 there was a similar problem. However, it was caused by someone used the special account "Administrator". I using a new account created with a Microsoft account (which of course is also an administrator)

Please note that I have successfully installed TIM in sandboxie at least 1 month ago. But TIM has recently blocked my login and it is not working properly in sandbox. I had to reinstall it. https://dldir1.qq.com/qqfile/qq/TIM3.4.7/TIM3.4.7.22084.exe
https://dldir1.qq.com/qqfile/qq/PCQQ9.7.8/QQ9.7.8.29042.exe

How often did you encounter it so far?

always

Affected program

tencent program

Download link

not

Where is the program located?

I tried to install it only inside a sandbox, but I wasn't able to achieve it.

Expected behavior

Stop him from escaping. Or install smoothly under the "Make app think they are running elevated" condition

What is your Windows edition and version?

WIN10 pro 22H2

In which Windows account you have this problem?

A Microsoft account (Administrator).

Please mention any installed security software

ESET

What version of Sandboxie are you running?

sandboxie plus 1.9.6

Is it a new installation of Sandboxie?

I have been using the same version for some time.

Is it a regression?

No response

In which sandbox type you have this problem?

In a standard isolation sandbox (yellow sandbox icon).

Can you reproduce this problem on a new empty sandbox?

I can confirm it also on a new empty sandbox.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

No response

@ZSJsts ZSJsts added the Confirmation pending Further confirmation is requested label Jun 1, 2023
@okrc
Copy link
Contributor

okrc commented Jun 1, 2023

cmd

md "C:\Program Files (x86)\Tencent\"

@bastik-1001
Copy link
Contributor

Some developer trying to prevent his software to be run within Sandboxie needs to be questioned on their end. Sandboxie might be able to do some things to make it harder, but ultimately it seems to fail if the one that seeks to prevent it, is doing everything he can, with or without a valid reason.

What made me listen up, however is this:

The installer will install the files directly to the file location on the external host machine (I am still running the installer from inside the sandbox).(virtual machine escape)

This, when it turns out to be true, violates Sandboxies security properties.

@isaak654
Copy link
Collaborator

isaak654 commented Jun 4, 2023

For nearly two years, compatibility issues with Sandboxie have been relegated to a secondary role... I used to be more inclined to test software with my known issues list and even provide workarounds, but now, not so much. My current expectation is that this will be taken into account at some point.

@ZSJsts
Copy link
Author

ZSJsts commented Jun 5, 2023

#3000 (comment)
It doesn't work (I didn't run it... cause the folder exists on both my host computer and my virtual machine).
But I realized that if there was a permission problem, then I should change it to the root directory. I tried it, and it installed successfully. The problem is solved.I am now able to install successfully with the simulated UAC setup!

So far it seems that if you don't restrict it on the UAC (no revocation, no emulation). Tencent installs software that installs files on the real path of the host (e.g. tencent/QQ/bin/qq.exe is on the host path). lol. It looks like it has completely turned into the unsafe software that the sandbox author points to in the text warning next to the undo UAC.
whatever, thanks everyone.

@okrc
Copy link
Contributor

okrc commented Jun 5, 2023

@ZSJsts I meant to create the folder in the sandbox

@ZSJsts
Copy link
Author

ZSJsts commented Jun 5, 2023

@ZSJsts I meant to create the folder in the sandbox我打算在沙盒中创建文件夹

As I said It already exists on the path both in the sandbox or the host machine. I don't need to create it again...

EDIT: Markdown quote fix

@isaak654 isaak654 added the UAC related User Account Control issues label Jun 5, 2023
@qwinsi
Copy link

qwinsi commented Jun 23, 2023

Here are links for some recent versions on Tencent official website

https://dldir1.qq.com/qqfile/qq/PCQQ9.7.9/QQ9.7.9.29065.exe 205 MB 2023-06-06
https://dldir1.qq.com/qqfile/qq/PCQQ9.7.8/QQ9.7.8.29042.exe 218 MB 2023-05-31
https://dldir1.qq.com/qqfile/qq/PCQQ9.7.7/QQ9.7.7.29006.exe 218 MB 2023-05-09
https://dldir1.qq.com/qqfile/qq/PCQQ9.7.6/QQ9.7.6.28995.exe 218 MB 2023-04-10
https://dldir1.qq.com/qqfile/qq/PCQQ9.7.5/QQ9.7.5.28965.exe 211 MB 2023-03-13

https://dldir1.qq.com/qqfile/qq/PCQQ9.7.1/QQ9.7.1.28934.exe 210 MB 2023-01-13

@bastik-1001
Copy link
Contributor

The installer will install the files directly to the file location on the external host machine (I am still running the installer from inside the sandbox).(virtual machine escape)

Could that be related to #3160?

@Crystal-RainSlide
Copy link

You may try extract the content of the installer with various tools.

The latest QQ 9.9.8 can be extracted with just 7-Zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmation pending Further confirmation is requested UAC related User Account Control issues
Projects
None yet
Development

No branches or pull requests

6 participants