Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sandboxie Plus (open source fork of Sandboxie)
#40
Quote:Sandboxie+ v0.9.0a / 5.51.0:

This build is a Test build, a BETA RELEASE, testing the new functionality to use Windows Filtering Platform (WFP) to implement a per sandbox firewall.

This functionality needs to be enabled in the global Sandboxie settings, and the driver needs to be reloaded (or the PC rebooted) for the feature to be activated. Once this is done the firewall rules which can be configured in the network options of each sandbox, will be enforced by the driver.

If the WFP support is not enabled the same rules still can be set and are used, but will be applied only by a set of user mode hooks, unlike the WFP implementation they will apply only to outgoing connections and there are no enforcement guarantees as user mode hooks can be bypassed or disabled by a malicious application.

The rational behind implementing this functionality in user and kernel mode (driver) instead of driver only is twofold for once it allows for debugging of the rule processing code as booth modes use the same code to make decisions based on the preset rules. Second the WFP callouts are global i.e. they are triggered for any process on the system whether its sandboxed or not, in the lather case they don't do anything and the use of a hash map to identify sandboxed programs that require action should provide optimal performance. That said users who run a 3rd party firewall which they may prefer may not want to many firewalls being active at once, while still wanting to use some per sandbox network rules for compatibility and not security reasons.

Also please note that with this build the old "BlockPort=..." functionality is completely dropped, the default port block rules are now implemented by the new user mode firewall component, if you have custom BlockPort entries in your sandboxie ini they will need to be updated by hand to the new format, for example "BlockPort=137,138,139,445" -> "NetworkAccess=Block;Port=137,138,139,445"

The rules are applied based on a specific decision priority:
  1. A rule for a specified program trumps a rule for all programs except a given one, trumps rules for all programs
  2. A rule with a Port or IP trumps a rule without
    2a. A rule with ip and port trums a rule with ip or port only
    2b. A rule with one ip trumps a rule with an ip range that is besides that on the same level
  3. Block rules trump allow rules
  4. A rule without a protocol means all protocols, a rule with a protocol trumps a rule without if its the only difference
The rule editing UI allows for testing rules, in the row below the rule list one can enter program name, port, ip and protocol to see which rules are in play and which rule will be applied in the end.

When configuring per process network access restrictions and WFP is enabled it is possible to choose between a WFP based approach and the old sandboxie way of blocking the network device end points. The later approach is more absolute, but is know for causing some application to crash.

If you have issues with an update installation, just uninstall the previous version keeping the sandboxie.ini and reinstall the new build.You can support the project through donations, any help will be greatly appreciated.

Changelog

Added
  • added support for Windows Filtering Platform (WFP) to be used instead of the device-based network blocking scheme
    -- to enable this support, add 'NetworkEnableWFP=y' to the global section and reboot or reload the driver
    -- to use WFP for a specified sandbox, add 'AllowNetworkAccess=n' to said box
    -- you can exempt certain processes from blocking by using 'AllowNetworkAccess=program.exe,y'
    -- you can also enable this policy globally by adding 'AllowNetworkAccess=n' to the global section
    -- in this case you can exempt entire boxes by adding 'AllowNetworkAccess=n' to said boxes
    -- specifying 'AllowNetworkAccess=program.exe,n' will block the access only for the named process
    -- Note: WFP is less absolute than the old approach, using WFP will filter only TCP/UDP communication
    -- restricted boxed processes will still be able to resolve domain names using the system service
    -- however, they will not be able to send or receive data packets directly
    -- the advantages of WFP is that filter rules can be implemented by restricting communication only to specified addresses or selected ports using "NetworkAccess=..."
  • added fully functional rule-based packet filter in user mode for the case when "NetworkEnableWFP=y" is not set
    -- the mechanism replaces the old "BlockPort=..." functionality
    -- Note: this filter applies only to outgoing connections/traffic, for incoming traffic either the WFP mode or a third-party firewall is needed
    -- like the old user mode based mechanism, malicious applications can bypass it by unhooking certain functions
    -- hence it's recommended to use the kernel mode WFP-based mechanism when reliable isolation is required
    -- Note: the main reason this mechanism was added in user mode is to allow for easier debugging
  • added new trace option "NetFwTrace=*" to trace the actions of the firewall components
    -- please note that the driver only trace logs the kernel debug output, use DbgView.exe to log
  • API_QUERY_PROCESS_INFO can now be used to get the impersonation token of a sandboxed thread
    -- Note: this capability is used by TaskExplorer to allow inspecting sandbox-internal tokens
    -- Note: a process must have administrative privileges to be able to use this API
  • added a UI option to switch "MsiInstallerExemptions=y" on and off
    -- just in case, if a future Windows build breaks something in the systemless mode
  • added sample code for ObRegisterCallbacks to the driver
  • added new debug options "DisableFileFilter=y" and "DisableKeyFilter=y" that allow to disable file and registry filtering
    -- Note: these options are for testing only and disable core parts of the sandbox isolation
  • added a few command line options to SandMan.exe
Changed
  • greatly improved the performance of the trace log, but it's no longer possible to log to both SandMan and SbieCtrl at the same time
  • changed code integrity verification policies
    -- code signature validation of user mode components is disabled when Windows is booted in test-signing mode
  • reworked process creation code to use PsSetCreateProcessNotifyRoutineEx and improved process termination
Fixed
  • added missing hook for ConnectEx function
Download
[-] The following 1 user says Thank You to harlan4096 for this post:
  â€˘ silversurfer
Reply


Messages In This Thread
Sandboxie 5.41.0 - by harlan4096 - 10 June 20, 08:01
Sandboxie Plus 5.41.2 - by harlan4096 - 21 June 20, 06:23
Sandboxie Plus 5.42 - by harlan4096 - 05 July 20, 06:10
Sandboxie Plus 5.42.1 - by harlan4096 - 20 July 20, 16:43
Sandboxie Plus 5.43 - by harlan4096 - 06 September 20, 08:03
Sandboxie Plus 5.43.5 - by harlan4096 - 15 September 20, 07:10
Sandboxie Plus 5.43.6 - by harlan4096 - 11 October 20, 06:33
Sandboxie Plus 5.43.7 - by harlan4096 - 04 November 20, 06:51
Sandboxie Plus 5.44.1 - by harlan4096 - 17 November 20, 07:55
Sandboxie Plus 5.45.0 - by harlan4096 - 08 December 20, 10:27
Sandboxie Plus 5.45.1 - by harlan4096 - 24 December 20, 18:29
Sandboxie Plus 5.45.2 - by harlan4096 - 30 December 20, 07:25
Sandboxie Plus v0.5.3 / 5.45.3 - by harlan4096 - 03 January 21, 14:03
Sandboxie v0.5.5 / 5.46.4 - by harlan4096 - 20 January 21, 06:58
Sandboxie v0.6.0 / 5.46.5 - by harlan4096 - 27 January 21, 06:52
Sandboxie v0.7.0 / 5.48.0 - by harlan4096 - 16 February 21, 06:46
Sandboxie v0.7.3 / 5.49.5 - by harlan4096 - 31 March 21, 07:23
Sandboxie+ v0.9.0a / 5.51.0 - by harlan4096 - 30 July 21, 06:52
Sandboxie+ v0.9.1 / 5.51.1 - by harlan4096 - 02 August 21, 06:56
Sandboxie+ v0.9.2 / 5.51.2 - by harlan4096 - 07 August 21, 10:28
Sandboxie+ v0.9.4 / 5.51.4 - by harlan4096 - 23 August 21, 07:22
Sandboxie+ v0.9.5 / 5.51.5 - by harlan4096 - 31 August 21, 07:03
Sandboxie+ Release v1.3.3 / 5.58.3 - by harlan4096 - 13 September 22, 10:32
Sandboxie+ Release v1.3.4 / 5.58.4 - by harlan4096 - 20 September 22, 06:08
Sandboxie+ Release v1.3.5 / 5.58.5 - by harlan4096 - 27 September 22, 06:28
Sandboxie+ Release v1.5.3 / 5.60.3 - by harlan4096 - 08 November 22, 08:25
Sandboxie Plus 1.6.3 / 5.61.3 - by harlan4096 - 23 December 22, 05:45
Sandboxie Plus v1.6.4 / 5.61.4 - by harlan4096 - 01 January 23, 08:27
Sandboxie Plus v1.6.5 / 5.61.5 - by harlan4096 - 11 January 23, 06:05
Sandboxie Plus 1.6.6 / 5.61.6 - by harlan4096 - 17 January 23, 07:20
Sandboxie Plus v1.6.7 / 5.61.7 - by harlan4096 - 25 January 23, 07:20
Sandboxie Plus v1.7.2 / 5.62.2 - by harlan4096 - 06 February 23, 09:27
Sandboxie v1.8.0 / 5.63.0 - by harlan4096 - 28 February 23, 09:26
Sandboxie 1.8.2 / 5.63.2 - by harlan4096 - 03 April 23, 10:13
Sandboxie-Plus v1.9.0 - by harlan4096 - 17 April 23, 08:35
Sandboxie Plus 1.9.1 / 5.64.1 - by harlan4096 - 24 April 23, 08:19
Sandboxie Plus 1.9.7 / 5.64.7 - by harlan4096 - 09 June 23, 08:47
Sandboxie Plus 1.9.8 / 5.64.8 - by harlan4096 - 22 June 23, 08:57
Sandboxie 1.11.2 / 5.66.2 - by harlan4096 - 10 September 23, 07:49
Sandboxie 1.11.3 / 5.66.3 - by harlan4096 - 28 September 23, 07:42
Sandboxie 1.11.4 / 5.66.4 - by harlan4096 - 07 October 23, 06:23
Sandboxie Plus 1.12.8 / 5.67.8 - by harlan4096 - 01 February 24, 10:18
Sandboxie-Plus 1.13.3 - by harlan4096 - 16 March 24, 07:56
Sandboxie Plus 5.41.1 - by harlan4096 - 19 June 20, 06:38

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
Windows Repair Toolbox 3.0.4.0
An updated version...harlan4096 — 16:25
SecureAPlus 6.8.1
SecureAPlus 6.8.1:...harlan4096 — 16:22
CrystalDiskInfo 9.3.0
Changes in 9.3.0: ...harlan4096 — 06:59
Microsoft OneDrive on the web is adding ...
Microsoft has anno...harlan4096 — 06:08
Vivaldi Stable 6.7 (3329.21)
Vivaldi Stable 6.7...harlan4096 — 17:09

[-]
Birthdays
Today's Birthdays
No birthdays today.
Upcoming Birthdays
No upcoming birthdays.

[-]
Online Staff
There are no staff members currently online.

>