Limit Access to system fonts

If it's not about a problem in the program
Post Reply
sandyXXX
Posts: 3
Joined: Tue Jan 23, 2018 2:38 pm

Limit Access to system fonts

Post by sandyXXX » Tue Jan 23, 2018 3:38 pm

Hi, I'm using unregistered version 5.22

Quick- Can we control which fonts can be access by program(chrome) running under Sandboxie?
Why- To have different fonts fingerprint other than system installed chrome.

What I want to do-
Browser (running under Sandboxie) access direct registry to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts and few more to access system fonts in order to work and if block its access to that registry browser show some random symbols insteat of text.

so i exported above registry hive in Sandboxie RegHive and block direct access to it particulary in .ini file, but of no use

I want to force programs to use fonts loaded in RegHive of that sandbox (if its possible what I am thinking) and not the system defaults.

Thanks

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: Limit Access to system fonts

Post by Barb@Invincea » Tue Jan 23, 2018 4:07 pm

Hello sandyXXX,

Please have a look at the restriction settings below:
https://www.sandboxie.com/ResourceAccessSettings#key

Regards,
Barb.-

sandyXXX
Posts: 3
Joined: Tue Jan 23, 2018 2:38 pm

Re: Limit Access to system fonts

Post by sandyXXX » Tue Jan 23, 2018 4:49 pm

well instrunction to force programs(chrome) to access specific registry(fonts loading) through sandbox RegHive instead of system is not provided.

Is there any way to do that?

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: Limit Access to system fonts

Post by Barb@Invincea » Wed Jan 24, 2018 9:49 am

Hello sandyXXX,

Sandboxie is an isolation tool that allows you to run applications without letting them modify your host.
We do offer some ways to block access to registry keys, paths and files (as listed on my previous response). You can try blocking the key you mentioned on your post and see if that works at all. Or try blocking access to the folder where the fonts are located.

Here's an example of how to block a registry key:
https://www.sandboxie.com/ClosedKeyPath

So, for your case you want to do something like:
ClosedKeyPath=chrome.exe,HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts

Regards,
Barb.-

Syrinx
Sandboxie Guru
Sandboxie Guru
Posts: 620
Joined: Fri Nov 13, 2015 4:11 pm

Re: Limit Access to system fonts

Post by Syrinx » Thu Jan 25, 2018 8:47 pm

If you are using a persistent box, eg one that doesn't auto-delete, this would be easier to pull off. In such a case you can add any registry entries or files to the sandbox. The sandboxed entries are ALWAYS checked first. As such, if the reg entries or files already exist inside these will be used. It can be a bit more complex if you want to auto-delete the box on close but so long as you can 'backup' the desired defaults and restore them with a script in the 'delete phase' of the box it is actually still possible. In addition a mesh of specific Write*Path=rules (Instead of Closed) might be able to aid you in your endeavor here.
Goo.gl/p8qFCf

sandyXXX
Posts: 3
Joined: Tue Jan 23, 2018 2:38 pm

Re: Limit Access to system fonts

Post by sandyXXX » Sat Jan 27, 2018 2:47 am

Syrinx wrote:
Thu Jan 25, 2018 8:47 pm
If you are using a persistent box, eg one that doesn't auto-delete, this would be easier to pull off. In such a case you can add any registry entries or files to the sandbox. The sandboxed entries are ALWAYS checked first. As such, if the reg entries or files already exist inside these will be used. It can be a bit more complex if you want to auto-delete the box on close but so long as you can 'backup' the desired defaults and restore them with a script in the 'delete phase' of the box it is actually still possible. In addition a mesh of specific Write*Path=rules (Instead of Closed) might be able to aid you in your endeavor here.
Yes! Thanks you
This is what I want to do, I have a "persistent box" and want some specific registries that program running in sandboxie are using from host system directly (I see their resource access using "Process monitor" tool) not to be blocked but access it from sanbox registry

Can you expain with example as I'm learning so didn't get all of it
Like if I want the control what fonts sandboxed program can use
then where to duplicate host registries into sandbox and also if in case of files/folder (for fonts we might have some folder of fonts that have all system fonts) that registry use where it should be copied in sandbox.

As i tried copying host system Registry Hive into sandbox RegHive but it didn't work.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest