reactos/base/system
George Bișoc 2092dc06bb
[WINLOGON][HACK] Allow network services access to default window station
HHHHHHHHHHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACCCCCCCCCCCCCCCCCCCCCCCKKKKKKKKKKKKKKKKKK!!!

There are two problems concerning with network services. First, a window station should be created for every network service process that gets started although this doesn't happen. Instead, network services like RPCSS and DNS service host process (svchost.exe) attempt to access the default window station (Winsta0).
This is because the access token of these two network service processes have an authentication ID that is uniquely generated. This is incorrect, because NetworkService is a special account with its own designed authentication ID for it. As a matter of fact, no window station is created for a network service and as such
both RPCSS and DNS svchost.exe attempt to access Winsta0 which they cannot.

The second problem, albeit not quite relevant to the first one but still worth mentioning nevertheless, is that network services have an access token that is primary which it should be an impersonation token. These problems all come from LSASS as LSA infrastructure is responsible for creating access tokens with security
context for objects.

For the moment being, add a hack on Winlogon that gives allow access to the default window station to network services. When LSASS and involved components are fixed, this hack must be removed.
2022-05-06 10:09:49 +02:00
..
autochk [FFS] Remove the FFS/UFS driver 2021-07-30 17:14:57 +03:00
bootok Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
chkdsk [TRANSLATION] Chinese Traditional (zh-TW) translation update (#3954) 2021-10-10 15:00:44 +03:00
diskpart [DISKPART] Fixed Volume Number & Label Issue (#4471) 2022-05-03 16:06:02 +02:00
dllhost [DLLHOST] Add dllhost to make the device driver extractor for my Lenovo T400 happy 2018-08-11 22:25:30 +02:00
expand [EXPAND] Sync with Wine Staging 3.3. CORE-14434 2018-04-01 13:12:40 +01:00
format [TRANSLATION] Review & update Simplified Chinese (zh-CN) translation (#3933) 2022-03-31 20:30:52 +03:00
logonui Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
lsass [LSASS] Initialize SAM before starting the security services 2019-08-10 14:36:10 +02:00
msiexec [WINESYNC] msiexec: Enable compilation with long types. 2022-03-20 19:28:44 +01:00
regsvr32 [TRANSLATION] Review & update Simplified Chinese (zh-CN) translation (#3933) 2022-03-31 20:30:52 +03:00
rundll32 [TRANSLATION] Review & update Simplified Chinese (zh-CN) translation (#3933) 2022-03-31 20:30:52 +03:00
runonce [TRANSLATION] Review & update Simplified Chinese (zh-CN) translation (#3933) 2022-03-31 20:30:52 +03:00
services [TRANSLATION] Update Hong Kong Chinese (zh-HK) translation - Part 2 (#4347) 2022-03-31 17:10:21 +03:00
smss [SMSS] Use NULL for NULL pointers. 2021-11-22 00:16:32 +01:00
subst [TRANSLATION] Chinese Traditional (zh-TW) translation update (#3954) 2021-10-10 15:00:44 +03:00
userinit [REACTOS] Add '\n' to debug logs 2022-05-04 03:28:38 +03:00
winlogon [WINLOGON][HACK] Allow network services access to default window station 2022-05-06 10:09:49 +02:00
CMakeLists.txt [DLLHOST] Add dllhost to make the device driver extractor for my Lenovo T400 happy 2018-08-11 22:25:30 +02:00