Changeset 96166 in vbox
- Timestamp:
- Aug 12, 2022 11:58:35 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp
r96138 r96166 5262 5262 "NtCreateFile(%ls) failed: VERR_SUPDRV_APIPORT_OPEN_ERROR\n" 5263 5263 "\n" 5264 "Error getting %s\\ApiPort in the driver from vbox drv.\n"5264 "Error getting %s\\ApiPort in the driver from vboxsup.\n" 5265 5265 "\n" 5266 5266 "Could be due to security software is redirecting access to it, so please include full " … … 5343 5343 * Before the 2nd respawn we set up a child protection deal with the 5344 5344 * support driver via /Devices/VBoxDrvStub. (We tried to do this 5345 * during the early init, but in case we had trouble accessing vboxdrv we5346 * retry it here where we have kernel32.dll and others to pull in for5347 * better diagnostics.)5345 * during the early init, but in case we had trouble accessing vboxdrv 5346 * (renamed to vboxsup in 7.0 and 6.1.34) we retry it here where we 5347 * have kernel32.dll and others to pull in for better diagnostics.) 5348 5348 */ 5349 5349 if (iWhich == 2) … … 6827 6827 * call protection software that is in the habit of patching half of the ntdll 6828 6828 * and kernel32 APIs in the process, making it almost indistinguishable from 6829 * software that is up to no good. Once we've opened vboxdrv , the process6830 * should be locked down so thighly that only kernel software and csrss can mess6831 * with the process.6829 * software that is up to no good. Once we've opened vboxdrv (renamed to 6830 * vboxsup in 7.0 and 6.1.34), the process should be locked down so tightly 6831 * that only kernel software and csrss can mess with the process. 6832 6832 */ 6833 6833 DECLASM(uintptr_t) supR3HardenedEarlyProcessInit(void) … … 6970 6970 if (cArgs >= 1 && suplibHardenedStrCmp(papszArgs[0], SUPR3_RESPAWN_1_ARG0) == 0) 6971 6971 { 6972 SUP_DPRINTF(("supR3HardenedVmProcessInit: Opening vbox drvstub...\n"));6972 SUP_DPRINTF(("supR3HardenedVmProcessInit: Opening vboxsup stub...\n")); 6973 6973 supR3HardenedWinOpenStubDevice(); 6974 6974 g_enmSupR3HardenedMainState = SUPR3HARDENEDMAINSTATE_WIN_EARLY_STUB_DEVICE_OPENED; … … 6976 6976 else if (cArgs >= 1 && suplibHardenedStrCmp(papszArgs[0], SUPR3_RESPAWN_2_ARG0) == 0) 6977 6977 { 6978 SUP_DPRINTF(("supR3HardenedVmProcessInit: Opening vbox drv...\n"));6978 SUP_DPRINTF(("supR3HardenedVmProcessInit: Opening vboxsup...\n")); 6979 6979 supR3HardenedMainOpenDevice(); 6980 6980 g_enmSupR3HardenedMainState = SUPR3HARDENEDMAINSTATE_WIN_EARLY_REAL_DEVICE_OPENED;
Note:
See TracChangeset
for help on using the changeset viewer.