Skip to content

Commit 5e3bc31

Browse files
committed
bypass for RODC krbtgt_xxxxxx accounts
bypass for RODC krbtgt_xxxxxx accounts
1 parent 203dce8 commit 5e3bc31

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

PassFiltEx.c

+7
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,13 @@ __declspec(dllexport) BOOL CALLBACK PasswordFilter(_In_ PUNICODE_STRING AccountN
467467
goto End;
468468
}
469469

470+
if (wcsncmp(L"krbtgt_", AccountNameCopy, wcslen(L"krbtgt_")) == 0)
471+
{
472+
EventWriteStringW2(L"[%s:%s@%d] Always allowing password change for RODC krbtgt account.", __FILENAMEW__, __FUNCTIONW__, __LINE__);
473+
474+
goto End;
475+
}
476+
470477
memcpy_s(&PasswordCopy, sizeof(PasswordCopy) - 1, Password->Buffer, Password->Length);
471478

472479
// Only print out the password in DEBUG builds. It is a security risk.

PassFiltEx.rc

0 Bytes
Binary file not shown.

PassFiltEx_1.1.9.zip

83.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)