|
|
@ -1,6 +1,6 @@
|
|
|
|
[Main]
|
|
|
|
[Main]
|
|
|
|
; Last updated date
|
|
|
|
; Last updated date
|
|
|
|
Updated=2017-09-24
|
|
|
|
Updated=2017-10-13
|
|
|
|
; Address to log file (RDP Wrapper will write it, if exists)
|
|
|
|
; Address to log file (RDP Wrapper will write it, if exists)
|
|
|
|
LogFile=\rdpwrap.txt
|
|
|
|
LogFile=\rdpwrap.txt
|
|
|
|
; Hook SLPolicy API on Windows NT 6.0
|
|
|
|
; Hook SLPolicy API on Windows NT 6.0
|
|
|
@ -2185,6 +2185,36 @@ SLInitHook.x86=1
|
|
|
|
SLInitOffset.x86=45636
|
|
|
|
SLInitOffset.x86=45636
|
|
|
|
SLInitFunc.x86=New_CSLQuery_Initialize
|
|
|
|
SLInitFunc.x86=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.14393.1737]
|
|
|
|
|
|
|
|
; Patch CEnforcementCore::GetInstanceOfTSLicense
|
|
|
|
|
|
|
|
LocalOnlyPatch.x86=1
|
|
|
|
|
|
|
|
LocalOnlyOffset.x86=A6198
|
|
|
|
|
|
|
|
LocalOnlyCode.x86=jmpshort
|
|
|
|
|
|
|
|
LocalOnlyPatch.x64=1
|
|
|
|
|
|
|
|
LocalOnlyOffset.x64=8D861
|
|
|
|
|
|
|
|
LocalOnlyCode.x64=jmpshort
|
|
|
|
|
|
|
|
; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
|
|
|
|
|
|
|
|
SingleUserPatch.x86=1
|
|
|
|
|
|
|
|
SingleUserOffset.x86=35AD5
|
|
|
|
|
|
|
|
SingleUserCode.x86=nop
|
|
|
|
|
|
|
|
SingleUserPatch.x64=1
|
|
|
|
|
|
|
|
SingleUserOffset.x64=299A4
|
|
|
|
|
|
|
|
SingleUserCode.x64=Zero
|
|
|
|
|
|
|
|
; Patch CDefPolicy::Query
|
|
|
|
|
|
|
|
DefPolicyPatch.x86=1
|
|
|
|
|
|
|
|
DefPolicyOffset.x86=30039
|
|
|
|
|
|
|
|
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
|
|
|
|
|
|
|
|
DefPolicyPatch.x64=1
|
|
|
|
|
|
|
|
DefPolicyOffset.x64=1AFC5
|
|
|
|
|
|
|
|
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
|
|
|
|
|
|
|
|
; Hook CSLQuery::Initialize
|
|
|
|
|
|
|
|
SLInitHook.x86=1
|
|
|
|
|
|
|
|
SLInitOffset.x86=45724
|
|
|
|
|
|
|
|
SLInitFunc.x86=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
SLInitHook.x64=1
|
|
|
|
|
|
|
|
SLInitOffset.x64=C930
|
|
|
|
|
|
|
|
SLInitFunc.x64=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.14901.1000]
|
|
|
|
[10.0.14901.1000]
|
|
|
|
; Patch CEnforcementCore::GetInstanceOfTSLicense
|
|
|
|
; Patch CEnforcementCore::GetInstanceOfTSLicense
|
|
|
|
LocalOnlyPatch.x86=1
|
|
|
|
LocalOnlyPatch.x86=1
|
|
|
@ -3601,6 +3631,66 @@ SLInitHook.x64=1
|
|
|
|
SLInitOffset.x64=22D5C
|
|
|
|
SLInitOffset.x64=22D5C
|
|
|
|
SLInitFunc.x64=New_CSLQuery_Initialize
|
|
|
|
SLInitFunc.x64=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.16299.0]
|
|
|
|
|
|
|
|
; Patch CEnforcementCore::GetInstanceOfTSLicense
|
|
|
|
|
|
|
|
LocalOnlyPatch.x86=1
|
|
|
|
|
|
|
|
LocalOnlyOffset.x86=A8E08
|
|
|
|
|
|
|
|
LocalOnlyCode.x86=jmpshort
|
|
|
|
|
|
|
|
LocalOnlyPatch.x64=1
|
|
|
|
|
|
|
|
LocalOnlyOffset.x64=8FD01
|
|
|
|
|
|
|
|
LocalOnlyCode.x64=jmpshort
|
|
|
|
|
|
|
|
; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
|
|
|
|
|
|
|
|
SingleUserPatch.x86=1
|
|
|
|
|
|
|
|
SingleUserOffset.x86=39215
|
|
|
|
|
|
|
|
SingleUserCode.x86=nop
|
|
|
|
|
|
|
|
SingleUserPatch.x64=1
|
|
|
|
|
|
|
|
SingleUserOffset.x64=1C774
|
|
|
|
|
|
|
|
SingleUserCode.x64=Zero
|
|
|
|
|
|
|
|
; Patch CDefPolicy::Query
|
|
|
|
|
|
|
|
DefPolicyPatch.x86=1
|
|
|
|
|
|
|
|
DefPolicyOffset.x86=3DC89
|
|
|
|
|
|
|
|
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
|
|
|
|
|
|
|
|
DefPolicyPatch.x64=1
|
|
|
|
|
|
|
|
DefPolicyOffset.x64=12D85
|
|
|
|
|
|
|
|
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
|
|
|
|
|
|
|
|
; Hook CSLQuery::Initialize
|
|
|
|
|
|
|
|
SLInitHook.x86=1
|
|
|
|
|
|
|
|
SLInitOffset.x86=461BD
|
|
|
|
|
|
|
|
SLInitFunc.x86=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
SLInitHook.x64=1
|
|
|
|
|
|
|
|
SLInitOffset.x64=22D5C
|
|
|
|
|
|
|
|
SLInitFunc.x64=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.16299.15]
|
|
|
|
|
|
|
|
; Patch CEnforcementCore::GetInstanceOfTSLicense
|
|
|
|
|
|
|
|
LocalOnlyPatch.x86=1
|
|
|
|
|
|
|
|
LocalOnlyOffset.x86=A8E08
|
|
|
|
|
|
|
|
LocalOnlyCode.x86=jmpshort
|
|
|
|
|
|
|
|
LocalOnlyPatch.x64=1
|
|
|
|
|
|
|
|
LocalOnlyOffset.x64=8FD01
|
|
|
|
|
|
|
|
LocalOnlyCode.x64=jmpshort
|
|
|
|
|
|
|
|
; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
|
|
|
|
|
|
|
|
SingleUserPatch.x86=1
|
|
|
|
|
|
|
|
SingleUserOffset.x86=39215
|
|
|
|
|
|
|
|
SingleUserCode.x86=nop
|
|
|
|
|
|
|
|
SingleUserPatch.x64=1
|
|
|
|
|
|
|
|
SingleUserOffset.x64=1C774
|
|
|
|
|
|
|
|
SingleUserCode.x64=Zero
|
|
|
|
|
|
|
|
; Patch CDefPolicy::Query
|
|
|
|
|
|
|
|
DefPolicyPatch.x86=1
|
|
|
|
|
|
|
|
DefPolicyOffset.x86=3DC89
|
|
|
|
|
|
|
|
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
|
|
|
|
|
|
|
|
DefPolicyPatch.x64=1
|
|
|
|
|
|
|
|
DefPolicyOffset.x64=12D85
|
|
|
|
|
|
|
|
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
|
|
|
|
|
|
|
|
; Hook CSLQuery::Initialize
|
|
|
|
|
|
|
|
SLInitHook.x86=1
|
|
|
|
|
|
|
|
SLInitOffset.x86=461BD
|
|
|
|
|
|
|
|
SLInitFunc.x86=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
SLInitHook.x64=1
|
|
|
|
|
|
|
|
SLInitOffset.x64=22D5C
|
|
|
|
|
|
|
|
SLInitFunc.x64=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.16353.1000]
|
|
|
|
[10.0.16353.1000]
|
|
|
|
; Patch CEnforcementCore::GetInstanceOfTSLicense
|
|
|
|
; Patch CEnforcementCore::GetInstanceOfTSLicense
|
|
|
|
LocalOnlyPatch.x86=1
|
|
|
|
LocalOnlyPatch.x86=1
|
|
|
@ -3661,6 +3751,36 @@ SLInitHook.x64=1
|
|
|
|
SLInitOffset.x64=22D9C
|
|
|
|
SLInitOffset.x64=22D9C
|
|
|
|
SLInitFunc.x64=New_CSLQuery_Initialize
|
|
|
|
SLInitFunc.x64=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.17004.1000]
|
|
|
|
|
|
|
|
; Patch CEnforcementCore::GetInstanceOfTSLicense
|
|
|
|
|
|
|
|
LocalOnlyPatch.x86=1
|
|
|
|
|
|
|
|
LocalOnlyOffset.x86=A8EB8
|
|
|
|
|
|
|
|
LocalOnlyCode.x86=jmpshort
|
|
|
|
|
|
|
|
LocalOnlyPatch.x64=1
|
|
|
|
|
|
|
|
LocalOnlyOffset.x64=8FB41
|
|
|
|
|
|
|
|
LocalOnlyCode.x64=jmpshort
|
|
|
|
|
|
|
|
; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
|
|
|
|
|
|
|
|
SingleUserPatch.x86=1
|
|
|
|
|
|
|
|
SingleUserOffset.x86=2F65C
|
|
|
|
|
|
|
|
SingleUserCode.x86=nop
|
|
|
|
|
|
|
|
SingleUserPatch.x64=1
|
|
|
|
|
|
|
|
SingleUserOffset.x64=19D1C
|
|
|
|
|
|
|
|
SingleUserCode.x64=Zero
|
|
|
|
|
|
|
|
; Patch CDefPolicy::Query
|
|
|
|
|
|
|
|
DefPolicyPatch.x86=1
|
|
|
|
|
|
|
|
DefPolicyOffset.x86=3DF09
|
|
|
|
|
|
|
|
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
|
|
|
|
|
|
|
|
DefPolicyPatch.x64=1
|
|
|
|
|
|
|
|
DefPolicyOffset.x64=12D85
|
|
|
|
|
|
|
|
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
|
|
|
|
|
|
|
|
; Hook CSLQuery::Initialize
|
|
|
|
|
|
|
|
SLInitHook.x86=1
|
|
|
|
|
|
|
|
SLInitOffset.x86=4643F
|
|
|
|
|
|
|
|
SLInitFunc.x86=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
SLInitHook.x64=1
|
|
|
|
|
|
|
|
SLInitOffset.x64=22D9C
|
|
|
|
|
|
|
|
SLInitFunc.x64=New_CSLQuery_Initialize
|
|
|
|
|
|
|
|
|
|
|
|
[SLInit]
|
|
|
|
[SLInit]
|
|
|
|
; Is server
|
|
|
|
; Is server
|
|
|
|
bServerSku=1
|
|
|
|
bServerSku=1
|
|
|
@ -4342,6 +4462,25 @@ bMultimonAllowed.x86 =C1F80
|
|
|
|
ulMaxDebugSessions.x86=C1F84
|
|
|
|
ulMaxDebugSessions.x86=C1F84
|
|
|
|
bFUSEnabled.x86 =C1F88
|
|
|
|
bFUSEnabled.x86 =C1F88
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.14393.1737-SLInit]
|
|
|
|
|
|
|
|
bInitialized.x86 =C1F6C
|
|
|
|
|
|
|
|
bServerSku.x86 =C1F70
|
|
|
|
|
|
|
|
lMaxUserSessions.x86 =C1F74
|
|
|
|
|
|
|
|
bAppServerAllowed.x86 =C1F78
|
|
|
|
|
|
|
|
bRemoteConnAllowed.x86=C1F7C
|
|
|
|
|
|
|
|
bMultimonAllowed.x86 =C1F80
|
|
|
|
|
|
|
|
ulMaxDebugSessions.x86=C1F84
|
|
|
|
|
|
|
|
bFUSEnabled.x86 =C1F88
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bServerSku.x64 =E73D0
|
|
|
|
|
|
|
|
lMaxUserSessions.x64 =E73D4
|
|
|
|
|
|
|
|
bAppServerAllowed.x64 =E73D8
|
|
|
|
|
|
|
|
bInitialized.x64 =E8470
|
|
|
|
|
|
|
|
bRemoteConnAllowed.x64=E8474
|
|
|
|
|
|
|
|
bMultimonAllowed.x64 =E8478
|
|
|
|
|
|
|
|
ulMaxDebugSessions.x64=E847C
|
|
|
|
|
|
|
|
bFUSEnabled.x64 =E8480
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.14901.1000-SLInit]
|
|
|
|
[10.0.14901.1000-SLInit]
|
|
|
|
bInitialized.x86 =C1F6C
|
|
|
|
bInitialized.x86 =C1F6C
|
|
|
|
bServerSku.x86 =C1F70
|
|
|
|
bServerSku.x86 =C1F70
|
|
|
@ -5236,6 +5375,44 @@ bMultimonAllowed.x64 =EE4A8
|
|
|
|
ulMaxDebugSessions.x64=EE4AC
|
|
|
|
ulMaxDebugSessions.x64=EE4AC
|
|
|
|
bFUSEnabled.x64 =EE4B0
|
|
|
|
bFUSEnabled.x64 =EE4B0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.16299.0-SLInit]
|
|
|
|
|
|
|
|
bInitialized.x86 =C6F7C
|
|
|
|
|
|
|
|
bServerSku.x86 =C6F80
|
|
|
|
|
|
|
|
lMaxUserSessions.x86 =C6F84
|
|
|
|
|
|
|
|
bAppServerAllowed.x86 =C6F88
|
|
|
|
|
|
|
|
bRemoteConnAllowed.x86=C6F8C
|
|
|
|
|
|
|
|
bMultimonAllowed.x86 =C6F90
|
|
|
|
|
|
|
|
ulMaxDebugSessions.x86=C6F94
|
|
|
|
|
|
|
|
bFUSEnabled.x86 =C6F98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bServerSku.x64 =ED3E8
|
|
|
|
|
|
|
|
lMaxUserSessions.x64 =ED3EC
|
|
|
|
|
|
|
|
bAppServerAllowed.x64 =ED3F0
|
|
|
|
|
|
|
|
bInitialized.x64 =EE4A0
|
|
|
|
|
|
|
|
bRemoteConnAllowed.x64=EE4A4
|
|
|
|
|
|
|
|
bMultimonAllowed.x64 =EE4A8
|
|
|
|
|
|
|
|
ulMaxDebugSessions.x64=EE4AC
|
|
|
|
|
|
|
|
bFUSEnabled.x64 =EE4B0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.16299.15-SLInit]
|
|
|
|
|
|
|
|
bInitialized.x86 =C6F7C
|
|
|
|
|
|
|
|
bServerSku.x86 =C6F80
|
|
|
|
|
|
|
|
lMaxUserSessions.x86 =C6F84
|
|
|
|
|
|
|
|
bAppServerAllowed.x86 =C6F88
|
|
|
|
|
|
|
|
bRemoteConnAllowed.x86=C6F8C
|
|
|
|
|
|
|
|
bMultimonAllowed.x86 =C6F90
|
|
|
|
|
|
|
|
ulMaxDebugSessions.x86=C6F94
|
|
|
|
|
|
|
|
bFUSEnabled.x86 =C6F98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bServerSku.x64 =ED3E8
|
|
|
|
|
|
|
|
lMaxUserSessions.x64 =ED3EC
|
|
|
|
|
|
|
|
bAppServerAllowed.x64 =ED3F0
|
|
|
|
|
|
|
|
bInitialized.x64 =EE4A0
|
|
|
|
|
|
|
|
bRemoteConnAllowed.x64=EE4A4
|
|
|
|
|
|
|
|
bMultimonAllowed.x64 =EE4A8
|
|
|
|
|
|
|
|
ulMaxDebugSessions.x64=EE4AC
|
|
|
|
|
|
|
|
bFUSEnabled.x64 =EE4B0
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.16353.1000-SLInit]
|
|
|
|
[10.0.16353.1000-SLInit]
|
|
|
|
bInitialized.x86 =C6F7C
|
|
|
|
bInitialized.x86 =C6F7C
|
|
|
|
bServerSku.x86 =C6F80
|
|
|
|
bServerSku.x86 =C6F80
|
|
|
@ -5273,3 +5450,22 @@ bRemoteConnAllowed.x64=EE4A4
|
|
|
|
bMultimonAllowed.x64 =EE4A8
|
|
|
|
bMultimonAllowed.x64 =EE4A8
|
|
|
|
ulMaxDebugSessions.x64=EE4AC
|
|
|
|
ulMaxDebugSessions.x64=EE4AC
|
|
|
|
bFUSEnabled.x64 =EE4B0
|
|
|
|
bFUSEnabled.x64 =EE4B0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[10.0.17004.1000-SLInit]
|
|
|
|
|
|
|
|
bInitialized.x86 =C6F7C
|
|
|
|
|
|
|
|
bServerSku.x86 =C6F80
|
|
|
|
|
|
|
|
lMaxUserSessions.x86 =C6F84
|
|
|
|
|
|
|
|
bAppServerAllowed.x86 =C6F88
|
|
|
|
|
|
|
|
bRemoteConnAllowed.x86=C6F8C
|
|
|
|
|
|
|
|
bMultimonAllowed.x86 =C6F90
|
|
|
|
|
|
|
|
ulMaxDebugSessions.x86=C6F94
|
|
|
|
|
|
|
|
bFUSEnabled.x86 =C6F98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bServerSku.x64 =ED3E8
|
|
|
|
|
|
|
|
lMaxUserSessions.x64 =ED3EC
|
|
|
|
|
|
|
|
bAppServerAllowed.x64 =ED3F0
|
|
|
|
|
|
|
|
bInitialized.x64 =EE4A0
|
|
|
|
|
|
|
|
bRemoteConnAllowed.x64=EE4A4
|
|
|
|
|
|
|
|
bMultimonAllowed.x64 =EE4A8
|
|
|
|
|
|
|
|
ulMaxDebugSessions.x64=EE4AC
|
|
|
|
|
|
|
|
bFUSEnabled.x64 =EE4B0
|
|
|
|