Skip to content

Commit ae70e70

Browse files
committed
Driver: updated to RS6
1 parent 73e2986 commit ae70e70

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

src/BlackBoneDrv/BlackBoneDrv.c

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ NTSTATUS BBInitDynamicData( IN OUT PDYNAMIC_DATA pData )
269269
if (ver_short != WINVER_81)
270270
return STATUS_NOT_SUPPORTED;
271271
#elif defined (_WIN10_)
272-
if (ver_short < WINVER_10 || WINVER_10_RS5 < ver_short)
272+
if (ver_short < WINVER_10 || WINVER_10_RS6 < ver_short)
273273
return STATUS_NOT_SUPPORTED;
274274
#endif
275275

@@ -443,6 +443,23 @@ NTSTATUS BBInitDynamicData( IN OUT PDYNAMIC_DATA pData )
443443
pData->ExRemoveTable -= 0x34;
444444
break;
445445
}
446+
else if (verInfo.dwBuildNumber == 18362)
447+
{
448+
pData->ver = WINVER_10_RS6;
449+
pData->KExecOpt = 0x1C3;
450+
pData->Protection = 0x6FA;
451+
pData->EProcessFlags2 = 0x850; // MitigationFlags offset
452+
pData->ObjTable = 0x418;
453+
pData->VadRoot = 0x658;
454+
pData->NtCreateThdIndex = 0xBD;
455+
pData->NtTermThdIndex = 0x53;
456+
pData->PrevMode = 0x232;
457+
pData->ExitStatus = 0x710;
458+
pData->MiAllocPage = 0;
459+
if (NT_SUCCESS( BBScanSection( "PAGE", (PCUCHAR)"\x48\x83\xC7\x18\x48\x8B\x17", 0xCC, 7, (PVOID)&pData->ExRemoveTable ) ))
460+
pData->ExRemoveTable -= 0x34;
461+
break;
462+
}
446463
else
447464
{
448465
return STATUS_NOT_SUPPORTED;

src/BlackBoneDrv/Private.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ typedef enum _WinVer
162162
WINVER_10_RS3 = 0x0A03, // Fall creators update
163163
WINVER_10_RS4 = 0x0A04, // Spring creators update
164164
WINVER_10_RS5 = 0x0A05, // October 2018 update
165+
WINVER_10_RS6 = 0x0A06, // May 2019 update
165166
} WinVer;
166167

167168
extern PLIST_ENTRY PsLoadedModuleList;

0 commit comments

Comments
 (0)