Firefox Sandboxed and Keepass with Kee extension

If it's not about a problem in the program
Post Reply
Red.Dwarf
Posts: 13
Joined: Mon Aug 19, 2013 8:58 am

Firefox Sandboxed and Keepass with Kee extension

Post by Red.Dwarf » Wed Jan 03, 2018 7:01 pm

I have been having trouble with Firefox 52.* ESR Keepass and Kee (previously known as keefox) extension which allows integration of Keepass with Firefox.

It used to work fine but recently Kee and Keepass are constantly prompting for access when Firefox is running sandboxed. I do not run Keepass sandboxed BTW and previously that was not a problem. With Firefox not sandboxed I was asked once for the access but not again as it should remember it. That is not happening with Firefox & Kee when they are running sandboxed. It's driving me crazy constantly ie every half an hour or whenever my pc returns from standby, asking me to re-authorize the connection.

I do run multiple sandboxed Firefoxes and both are prompting for authorization at very regular intervals.

I am guessing that something has been changed with sandboxie which is causing these problems. The question is how do I make it so that this does not happen and it remembers the authorization?

I have tried changing the Resource Access->File Access->direct Access settings and I have added the kee extension folder in firefox profile folder. That has made no difference.

How do I solve this?
Windows 7 x64 SP1
Intel Core i7-3770K stock speed
Asus P8Z77-V Premium with 2x8GB Crucial + 2x4GB 1600MHz Samsung Green memory
5 Hard drives 250,250,500,500,1000 & Asus/Intel SSD Caching of system drive

bjm
Posts: 460
Joined: Sat Aug 02, 2008 4:24 pm

Re: Firefox Sandboxed and Keepass with Kee extension

Post by bjm » Thu Jan 04, 2018 9:55 am

Red.Dwarf wrote:
Wed Jan 03, 2018 7:01 pm
I have been having trouble with Firefox 52.* ESR Keepass and Kee (previously known as keefox) extension which allows integration of Keepass with Firefox.
Um, doesn't Firefox 52.* ESR require KeeFox.
Version 1.7.2 Released Sept. 3, 2017 843.9 KiB Works with Firefox 32.0 - 56.*, Thunderbird 32.0 - 56.*
https://addons.mozilla.org/en-US/firefo ... /versions/
Welcome to Kee 2.0
The new name for KeeFox
Version 2.0 brings exciting new features and some enforced changes in order to support Firefox 57 and higher.

This add-on requires a newer version of Firefox (at least version 56.0). You are using Firefox 52.0.
https://addons.mozilla.org/en-US/firefox/addon/keefox/
Sandboxie 5.25.4 - W10 Home 1709 - WebrootSA 9.0.20.31 - Chrome

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

Re: Firefox Sandboxed and Keepass with Kee extension

Post by Barb@Invincea » Thu Jan 04, 2018 10:05 am

---- Mini Update---
I am uninstalling this extension as it is keeping me from using Firefox (both ESR and Quantum) outside Sandboxie. It bombards me with prompts regarding Authorization every time I type something. I don't think this is a Sandboxie issue.

---------------------------------------------------------------------------------------------------------------------------------------------
Hello Red.Dwarf

I am trying to find the download links for the addons you mentioned but they all seem to require the latest version of Firefox. I found Keefox 1.70 (which installed Keepass version 2.35), however I couldn't find a Kee version that is supported by FF 52. Even with version 1.70, the login (Hotmail) I created was scrambled and unusable (outside Sandboxie). Can you please clarify which versions are you using and where to get them from?

Did you have to make any changes to Firefox in order for the addons to work in the past?
Please post the results or running Resource Access Monitor:
https://www.sandboxie.com/ResourceAccessMonitor

If you want to try running it Sandboxed, here's a related thread:
viewtopic.php?f=17&t=22136
I am guessing that something has been changed with sandboxie which is causing these problems
Which version of Sandboxie are you using? Does it work fine on previous versions?
Does the issue follow you to a new Sandbox with default settings?

Regards,
Barb.-

Red.Dwarf
Posts: 13
Joined: Mon Aug 19, 2013 8:58 am

Re: Firefox Sandboxed and Keepass with Kee extension

Post by Red.Dwarf » Thu Jan 04, 2018 9:35 pm

Sorry about the confusion. Yes I am using Keefox, I looked at the Firefox Kee/Keefox extension page and used the name which is showed there.

I am using Keefox 1.7.2, Keepass 2.36 and Sandboxie 5.22 with Firefox 52.5.3 ESR updated from previous 52.x install outside sandboxes. Sandboxes were not deleted. This was downloaded from the other versions on the mozilla extension page.
https://addons.mozilla.org/en-US/firefo ... /versions/

This has been an issue for a while but the repeated authorisation has increased. It now requires authorisation about every half an hour when keepass is loaded. It requests authorisation when my PC returns from standby, it requests authorisation continually and is a real nuisance. Outside the sandbox it doesn't ask for authorisation if/when I run Firefox outside a sandbox, rarely and only as a trial or to upgrade.

Sandboxie resource access log, there are 2 logs, which I started prior to going into standby and then copied the logs.
2======================================= marks the 2nd log. I have just opened Keepass and there is an authorisation dialogue showing on this Sandboxed Firefox browser yet again. :evil:

Code: Select all

(Drive)     \Device\CdRom0
(Drive)     \Device\HarddiskVolume2
(Drive)     \Device\HarddiskVolume3
(Drive)     \Device\HarddiskVolume4
(Drive)     \Device\HarddiskVolume5
(Drive)     \Device\HarddiskVolume6
(Drive)     \Device\IsoCdRom0
Clsid       -------------------------------
Clsid       {00000000-0000-0000-C000-000000000046} Shortcut
File/Key    -------------------------------
Image       -------------------------------
Image       *:\program files (x86)\internet\browsers\opera\49.0.2725.64\opera.exe
Image       *:\program files (x86)\internet\browsers\opera\49.0.2725.64\opera_crashreporter.exe
Image       c:\progra~1\internet\outpos~1\wl_hook.dll
Image       c:\program files (x86)\internet\browsers\opera\49.0.2725.64\opera_browser.dll
Image       c:\program files (x86)\utilities\explorer+shell+taskbar\windowmenuplus\windowmenuplusdll.dll
Image       c:\program files\utilities\explorer+shell+taskbar\filebox extender\filebxh32.dll
Image       c:\program files\utilities\prio\prio32.dll
Image       c:\program files\utilities\security\sandboxie\32\sbiedll.dll
Image       c:\windows\system32\api-ms-win-core-synch-l1-2-0.dll
Image       c:\windows\system32\apphelp.dll
Image       c:\windows\system32\bcrypt.dll
Image       c:\windows\system32\credui.dll
Image       c:\windows\system32\cryptnet.dll
Image       c:\windows\system32\cryptui.dll
Image       c:\windows\system32\d3d11.dll
Image       c:\windows\system32\d3d8thk.dll
Image       c:\windows\system32\d3d9.dll
Image       c:\windows\system32\dbghelp.dll
Image       c:\windows\system32\dhcpcsvc.dll
Image       c:\windows\system32\dwmapi.dll
Image       c:\windows\system32\dwrite.dll
Image       c:\windows\system32\dxgi.dll
Image       c:\windows\system32\dxva2.dll
Image       c:\windows\system32\fwpuclnt.dll
Image       c:\windows\system32\hid.dll
Image       c:\windows\system32\imm32.dll
Image       c:\windows\system32\iphlpapi.dll
Image       c:\windows\system32\ncrypt.dll
Image       c:\windows\system32\netapi32.dll
Image       c:\windows\system32\netutils.dll
Image       c:\windows\system32\oleacc.dll
Image       c:\windows\system32\propsys.dll
Image       c:\windows\system32\samcli.dll
Image       c:\windows\system32\secur32.dll
Image       c:\windows\system32\srvcli.dll
Image       c:\windows\system32\uxtheme.dll
Image       c:\windows\system32\version.dll
Image       c:\windows\system32\webio.dll
Image       c:\windows\system32\winhttp.dll
Image       c:\windows\system32\winmm.dll
Image       c:\windows\system32\winnsi.dll
Image       c:\windows\system32\winspool.drv
Image       c:\windows\system32\wkscli.dll
Image       c:\windows\system32\wship6.dll
Image       c:\windows\system32\wshtcpip.dll
Image       c:\windows\system32\wtsapi32.dll
Image       c:\windows\syswow64\advapi32.dll
Image       c:\windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll
Image       c:\windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll
Image       c:\windows\syswow64\api-ms-win-downlevel-ole32-l1-1-0.dll
Image       c:\windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll
Image       c:\windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll
Image       c:\windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll
Image       c:\windows\syswow64\comdlg32.dll
Image       c:\windows\syswow64\crypt32.dll
Image       c:\windows\syswow64\cryptbase.dll
Image       c:\windows\syswow64\gdi32.dll
Image       c:\windows\syswow64\iertutil.dll
Image       c:\windows\syswow64\kernel32.dll
Image       c:\windows\syswow64\kernelbase.dll
Image       c:\windows\syswow64\lpk.dll
Image       c:\windows\syswow64\msasn1.dll
Image       c:\windows\syswow64\msctf.dll
Image       c:\windows\syswow64\msvcrt.dll
Image       c:\windows\syswow64\normaliz.dll
Image       c:\windows\syswow64\nsi.dll
Image       c:\windows\syswow64\ntdll.dll
Image       c:\windows\syswow64\ole32.dll
Image       c:\windows\syswow64\oleaut32.dll
Image       c:\windows\syswow64\profapi.dll
Image       c:\windows\syswow64\psapi.dll
Image       c:\windows\syswow64\rpcrt4.dll
Image       c:\windows\syswow64\sechost.dll
Image       c:\windows\syswow64\shell32.dll
Image       c:\windows\syswow64\shlwapi.dll
Image       c:\windows\syswow64\sspicli.dll
Image       c:\windows\syswow64\urlmon.dll
Image       c:\windows\syswow64\user32.dll
Image       c:\windows\syswow64\userenv.dll
Image       c:\windows\syswow64\usp10.dll
Image       c:\windows\syswow64\wininet.dll
Image       c:\windows\syswow64\wintrust.dll
Image       c:\windows\syswow64\wldap32.dll
Image       c:\windows\syswow64\ws2_32.dll
Image       c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll
Ipc         -------------------------------
Ipc         \RPC Control\epmapper
Ipc         \RPC Control\keysvc
Ipc         \SBIE_DummyJob_opera.exe_29
Ipc         \SBIE_DummyJob_opera.exe_30
Ipc         \Sessions\1\BaseNamedObjects\CrSharedMem_76ca17d22de87ac998cdca0ff390134fa3407668701fc8b9abdb2de65a305c9e
Ipc         \Sessions\1\BaseNamedObjects\CrSharedMem_e7cd97bb3ab3ccf9a4c3ab1f9325aab54f5ece9408d28b6cfb54aebd4776407a
Ipc         \Sessions\1\BaseNamedObjects\DFolderHook64-32
Ipc         \Sessions\1\BaseNamedObjects\OperaCrashReporterException5964
Ipc         \Sessions\1\BaseNamedObjects\OperaCrashReporterException8548
Ipc         \Sessions\1\BaseNamedObjects\OperaCrashReporterInitEvent8432
Ipc         \Sessions\1\BaseNamedObjects\OperaCrashReporterInitEvent9136
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_5964
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_8432
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_8548
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_DummyEvent_9136
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_cryptsvc
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_DcomLaunch
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_RpcSs
Ipc         \Sessions\1\BaseNamedObjects\SboxSession
Ipc         \Sessions\1\BaseNamedObjects\windows_shell_global_counters
Ipc      O  \KnownDlls\kernel32.dll
Ipc      O  \KnownDlls\user32.dll
Ipc      O  \KnownDlls32\advapi32.dll
Ipc      O  \KnownDlls32\api-ms-win-downlevel-advapi32-l1-1-0.dll
Ipc      O  \KnownDlls32\api-ms-win-downlevel-normaliz-l1-1-0.dll
Ipc      O  \KnownDlls32\api-ms-win-downlevel-ole32-l1-1-0.dll
Ipc      O  \KnownDlls32\api-ms-win-downlevel-shlwapi-l1-1-0.dll
Ipc      O  \KnownDlls32\api-ms-win-downlevel-user32-l1-1-0.dll
Ipc      O  \KnownDlls32\api-ms-win-downlevel-version-l1-1-0.dll
Ipc      O  \KnownDlls32\COMDLG32.dll
Ipc      O  \KnownDlls32\CRYPT32.dll
Ipc      O  \KnownDlls32\CRYPTBASE.dll
Ipc      O  \KnownDlls32\gdi32.dll
Ipc      O  \KnownDlls32\IERTUTIL.dll
Ipc      O  \KnownDlls32\kernel32.dll
Ipc      O  \KnownDlls32\KERNELBASE.dll
Ipc      O  \KnownDlls32\LPK.dll
Ipc      O  \KnownDlls32\MSASN1.dll
Ipc      O  \KnownDlls32\MSCTF.dll
Ipc      O  \KnownDlls32\MSVCRT.dll
Ipc      O  \KnownDlls32\NORMALIZ.dll
Ipc      O  \KnownDlls32\NSI.dll
Ipc      O  \KnownDlls32\ole32.dll
Ipc      O  \KnownDlls32\OLEAUT32.dll
Ipc      O  \KnownDlls32\profapi.dll
Ipc      O  \KnownDlls32\PSAPI.DLL
Ipc      O  \KnownDlls32\rpcrt4.dll
Ipc      O  \KnownDlls32\SHELL32.dll
Ipc      O  \KnownDlls32\SHLWAPI.dll
Ipc      O  \KnownDlls32\SspiCli.dll
Ipc      O  \KnownDlls32\URLMON.dll
Ipc      O  \KnownDlls32\user32.dll
Ipc      O  \KnownDlls32\USERENV.dll
Ipc      O  \KnownDlls32\USP10.dll
Ipc      O  \KnownDlls32\WININET.dll
Ipc      O  \KnownDlls32\WINTRUST.dll
Ipc      O  \KnownDlls32\WLDAP32.dll
Ipc      O  \KnownDlls32\WS2_32.dll
Ipc      O  \RPC Control\dhcpcsvc6
Ipc      O  \RPC Control\DNSResolver
Ipc      O  \RPC Control\lsapolicylookup
Ipc      O  \RPC Control\LSARPC_ENDPOINT
Ipc      O  \RPC Control\nlaapi
Ipc      O  \RPC Control\SbieSvcPort
Ipc      O  \Sessions\1\Windows\ApiPort
Ipc      O  \Sessions\1\Windows\SharedSection
Ipc      O  \ThemeApiPort
Pipe        -------------------------------
Pipe        \Device\KsecDD
Pipe        \Device\NamedPipe\mojo.5960.4244.1445452310146370813
Pipe        \device\namedpipe\mojo.5960.4244.1445452310146370813
Pipe        \Device\NamedPipe\mojo.5960.4244.16446507691651527218
Pipe        \device\namedpipe\mojo.5960.4244.16446507691651527218
Pipe        \device\namedpipe\mojo.5960.4244.17856590264675303492
Pipe        \Device\NamedPipe\mojo.5960.4244.17856590264675303492
Pipe        \device\namedpipe\mojo.5960.4244.17856590264675303492
Pipe        \Device\NamedPipe\mojo.5960.4244.17933346932480096346
Pipe        \device\namedpipe\mojo.5960.4244.17933346932480096346
Pipe     O  \Device\Afd
Pipe     O  \Device\NetBT_Tcpip_{14DA0874-8116-49EC-BD08-F47E17DC5F45}
WinCls      -------------------------------
WinCls   O  Shell_TrayWnd
WinCls   X  Progman

2=======================================

Clsid       -------------------------------
Clsid       {00000000-0000-0000-C000-000000000046} Shortcut
File/Key    -------------------------------
Image       -------------------------------
Image       c:\windows\system32\fwpuclnt.dll
Image       c:\windows\system32\wship6.dll
Image       c:\windows\system32\wshtcpip.dll
Ipc         -------------------------------
Ipc         \RPC Control\epmapper
Ipc         \RPC Control\keysvc
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_cryptsvc
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_DcomLaunch
Ipc         \Sessions\1\BaseNamedObjects\SBIE_BOXED_ServiceInitComplete_RpcSs
Ipc      O  \RPC Control\dhcpcsvc6
Ipc      O  \RPC Control\DNSResolver
Ipc      O  \RPC Control\lsapolicylookup
Ipc      O  \RPC Control\nlaapi
Ipc      O  \RPC Control\SbieSvcPort
Pipe        -------------------------------
Pipe     O  \Device\Afd
Pipe     O  \Device\NetBT_Tcpip_{14DA0874-8116-49EC-BD08-F47E17DC5F45}
WinCls      -------------------------------
WinCls   O  Shell_TrayWnd
WinCls   X  Progman

--------------MERGED POST -------------------
I have just run a none sandboxed Firefox with a test profile which has keefox installed. NO authorisation requests! I have closed Keepass and re-run Keepass and I get an authorisation request from my other Sandboxed Firefox but not the none sandboxed Firefox or this sandboxed Firefox.

I have closed the none sandboxed Firefox and re-run it and no authorisations are requested. It is only sandboxed Firefoxes which have the problem. It seems to alternate between the two sandboxed Firefoxes.
Windows 7 x64 SP1
Intel Core i7-3770K stock speed
Asus P8Z77-V Premium with 2x8GB Crucial + 2x4GB 1600MHz Samsung Green memory
5 Hard drives 250,250,500,500,1000 & Asus/Intel SSD Caching of system drive

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

Re: Firefox Sandboxed and Keepass with Kee extension

Post by Barb@Invincea » Fri Jan 05, 2018 3:24 pm

Hello Red.Dwarf,

I installed Keefox 1.7.2, plus I upgraded KeePass to match your version -2.36- but the only one available was 2.37 (I was on 2.35 prior to that)...Found 2.36 on their website but it redirects to 2.37, so that's what I am using at the moment.
I am running Sandboxie latest beta 5.23.3 + FF ESR v52.5.3 (64bits) + Win 7 x64

I was receiving annoying amounts of authorization messages when I was using 2.35 (outside Sandboxie), but I have only received one since upgrading to 2.37 and rebooting the VM. See if updating to the latest version helps. You will probably have to delete your sandbox contents as well.

Regards,
Barb.-

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests