[.02] New KeyScrambler dosen't run when Firefox is sandboxed

Listing issues addressed in beta version 4.01
Locked
Chicko

[.02] New KeyScrambler dosen't run when Firefox is sandboxed

Post by Chicko » Thu Feb 07, 2013 9:27 am

Hello,

QFX Software just released new KeyScrambler Personal 3.0 and when Firefox is sandboxed, Keyscrambler dosen't run.
http://www.qfxsoftware.com/download.htm
http://download.qfxsoftware.com/downloa ... _Setup.exe

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Post by Guest10 » Thu Feb 07, 2013 12:50 pm

I'm glad you noticed it, because I had not.
I use the Pro version, and not the free version, so I tested only Pro.
You can see if these settings will work for you, as they do for me.

There are 2 Methods of adding additional settings for KeyScrambler described below.
Please read both, and pick the one that you would be more comfortable using.
----
Method (1)
Sandbox Settings > Resource Access > IPC Access > Direct Access
"Add" button: \RPC Control\KSControlEp.Default*
"Add" button: *\BaseNamedObjects*\KSSettingsEvent*
OK
If you only use one sandbox, you are finished.

If you use more than one sandbox, you can repeat the above steps for each sandbox.
Or, you can move the two new settings, so that they will apply to all sandboxes as follows:
Use the Sandboxie Control menu:
Configuration > Edit Configuration
Find the configuration section for the sandbox where you added these new settings.
Move the 2 new lines (shown in bold) so that they are underneath [GlobalSettings].

[GlobalSettings]
...
... (<--your existing settings are here)
...
OpenIpcPath=\RPC Control\KSControlEp.Default*
OpenIpcPath=*\BaseNamedObjects*\KSSettingsEvent*


Save the configuration file, after moving the lines as shown above.
Finished.
----
Or, Method (2)
Copy to the Clipboard the Local Template shown in the code box, and Paste it into a "Create New" window as follows:
For a sandbox where you will use KeyScrambler...
Sandbox Settings > Applications > Local > "Create New" button:

Code: Select all

[Template_Local_KeyScrambler3]
Tmpl.Title=Additional settings for KeyScrambler v3
OpenIpcPath=\RPC Control\KSControlEp.Default*
OpenIpcPath=*\BaseNamedObjects*\KSSettingsEvent*
Tmpl.Class=Local
After you have entered the above local template, select it in the list and click the "Add" button.
Click OK
If you only use that one sandbox you are finished.

If you use multiple sandboxes, you have a choice...
You can apply the local template to each sandbox where you will use it:
Sandbox Settings > Applications > Local
Select the "Additional settings for KeyScrambler v3" template.
Click the "Add" button and then OK
If you create new sandboxes, and want to use these settings in it, you will need to perform the above step for each sandbox, until tzuk adds new settings to the KeyScrambler template in templates.ini

Or, if you prefer, you can apply the new settings to all current and future sandboxes this way...
Move the new local template line to the [GlobalSettings] section of your configuration file.

[GlobalSettings]
...
... (<--your existing settings are here)
...
Template=Local_KeyScrambler3

Save the configuration file.
----
Notes:
Of the two new exclusion settings, the first one seems to be the most important.
But without the second setting, it seemed to be unreliable during my tests.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

mickey

Post by mickey » Thu Feb 07, 2013 1:39 pm

Thank you Guest10 :D

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Fri Feb 08, 2013 4:37 am

Thank you Guest10 :D
I will add the two OpenIpcPath lines to Templates.ini
tzuk

424tsiai
Posts: 31
Joined: Sat Aug 30, 2008 4:56 pm

Post by 424tsiai » Sat Feb 09, 2013 6:40 am

tzuk wrote:Thank you Guest10 :D
I will add the two OpenIpcPath lines to Templates.ini
Are you going to include these two lines to the Next Sandboxie Release?

In the mean while, Sandboxie users must do it manually, right?

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Post by Guest10 » Sat Feb 09, 2013 8:08 am

424tsiai wrote:In the mean while, Sandboxie users must do it manually, right?
That's right.
I prefer using the local template approach, believing that it's easier to remove (and therefore do a bit of clean-up to the configuration file) when the next Sandboxie release makes it unnecessary.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Post by Guest10 » Mon Feb 11, 2013 9:41 am

Once the new settings are added to templates.ini, they will no longer be needed in the sandboxie.ini file. I have written a removal tool that can remove these new settings from sandboxie.ini, using the Sandboxie program "SbieIni.exe".

Copy/Paste the text in the code box into a Notepad document, and save it with a .cmd extension.
I called it Undo1.cmd, and have made a zipped copy available for download at:
https://dl.dropbox.com/u/16046062/Sandboxie/Undo1.zip

Move the .cmd file to Sandboxie's 'Program Files' folder and double-click it in Windows Explorer.
It will examine [GlobalSettings] and every sandbox 3 times - once for each of the possible settings - and remove those settings.
One thing that it does not do is remove the Local Template, if you added it.
There are instructions listed at the end of the .cmd file on how you can get Sandboxie Control to delete the local template - AFTER you have used the .cmd file.

Code: Select all

@echo off
Rem Don't have any programs running sandboxed when you run this.

Rem Check to see if this .cmd script is in the same folder as 'SbieIni.exe'
if not exist sbieini.exe (goto error)

echo.
echo Please wait.
echo Checking [GlobalSettings] and all sandboxes.
echo.
echo Working...

sbieini delete GlobalSettings Template Local_KeyScrambler3
sbieini delete GlobalSettings OpenIpcPath *\BaseNamedObjects*\KSSettingsEvent*
sbieini delete GlobalSettings OpenIpcPath "\RPC Control\KSControlEp.Default*"

sbieini query /boxes * > Boxes.txt
for /f %%a in (Boxes.txt) do (sbieini delete %%a Template Local_KeyScrambler3)
for /f %%a in (Boxes.txt) do (sbieini delete %%a OpenIpcPath *\BaseNamedObjects*\KSSettingsEvent*)
for /f %%a in (Boxes.txt) do (sbieini delete %%a OpenIpcPath "\RPC Control\KSControlEp.Default*")
if exist Boxes.txt (del Boxes.txt)

goto end

:error
echo.
echo This script must be run from Sandboxie's Program Files folder.
echo Typically, that's "C:\Program Files\Sandboxie"
echo The folder should already contain: "SbieIni.exe"
echo.
pause

:end

exit
------

AFTER you run this command script...
To remove the "Local_KeyScrambler3" template, if it was created:

1) (Choose any sandbox) > Sandbox Settings > Applications > Local

2) Click on: "Additional settings for KeyScrambler v3"
to highlight it.

3) Click the Remove button.
(you will NOT see a [+] beside the entry)

4) Click the OK button.

5) Click on "Yes" to "...delete this application configuration",
if it lists the "Additional settings for KeyScrambler v3" template.

6) Click OK
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

AMD
Posts: 76
Joined: Sun Aug 19, 2012 10:23 am

Post by AMD » Mon Feb 11, 2013 6:31 pm

Guest 10, thank you for posting that info as Keyscrambler 3 was not protecting IE9 on my system either. I shifted the template line up and into global settings so its universal for all sandboxes.

Can you tell me if I need to remove the original template(default built in template) I have for Keyscrambler?

Many Thanks

Andy

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Post by Guest10 » Wed Feb 13, 2013 6:47 pm

AMD wrote:Can you tell me if I need to remove the original template(default built in template) I have for Keyscrambler?
Sorry, somehow I didn't see your post earlier.
Leave the original KeyScrambler template setting, probably listed under Software Compatibility, since you will still need it in the future.

The local template, and the line "Template=Local_KeyScrambler3" line under [GlobalSettings], can be removed after the next version of Sandboxie is installed. I wouldn't be in any hurry though. If you needed to revert to v3.76, you would need to use the additional settings for KeyScrambler because they would not be in the templates.ini file for 3.76.

[Edit: Personally, I find the latest KeyScrambler update v3.0.2.1 (released 2/13) to be buggy. I'll be checking to see if there's anything else that needs to be done with it's settings]
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Mon Feb 25, 2013 2:32 pm

Version 4.01.02 includes the fixes to the KeyScrambler template. Thanks again Guest10.
tzuk

Locked

Who is online

Users browsing this forum: No registered users and 1 guest