Skip to content

Commit

Permalink
1.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Nov 27, 2023
1 parent 12a85fb commit 018140b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Sandboxie/core/svc/ProcessServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,18 @@ std::wstring GetPebString(HANDLE ProcessHandle, PEB_OFFSET Offset)
#ifdef _WIN64
is64BitOperatingSystem = TRUE;
#else // ! _WIN64
isWow64Process = CSbieAPI::IsWow64();
static bool IsWow64 = false;
static bool init = false;
if (!init)
{
ULONG_PTR wow64;
if (NT_SUCCESS(NtQueryInformationProcess(NtCurrentProcess(), ProcessWow64Information, &wow64, sizeof(ULONG_PTR), NULL))) {
IsWow64 = !!wow64;
}
init = true;
}

isWow64Process = IsWow64;
is64BitOperatingSystem = isWow64Process;
#endif _WIN64

Expand Down
10 changes: 10 additions & 0 deletions Sandboxie/install/Templates.ini
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,16 @@ OpenIpcPath=*\BaseNamedObjects*\PS_SERVICE_STARTED
OpenIpcPath=\RPC Control\protected_storage


#
# usefull exceptions for confidential boxes
#

[Template_LessConfidentialBox]
Tmpl.Title=Allow some windows processes to access processes in a confidential box
Tmpl.Class=Misc
DenyHostAccess=audiodg.exe,n


#
# Custom handling for special images
#
Expand Down

0 comments on commit 018140b

Please sign in to comment.