Repository navigation
v1.6.4
This is a security and stability release. Upgrading is recommended.
-
Fixed bugs that could crash lsass.exe (which reboots the domain controller): a 1-character password when BlockSequentialChars or BlockRepeatingChars is on, a group name of 256 or more characters in ApplyToTheseGroupsOnly, and passwords or account names longer than 256 characters or NULL parameters. (AD itself doesn't pass those last two to password filters, but the filter no longer depends on that.)
-
Fixed several ways the filter could silently stop checking passwords: a space after a comma in ApplyToTheseGroupsOnly, registry values of the wrong type, a blank BlocklistFileName, a byte order mark at the start of the blocklist file, passwords containing a null character, any account whose name merely starts with krbtgt_, and password changes made right after startup.
-
Reloading the blocklist no longer blocks password changes. With a 1-million-line blocklist, password changes used to stall for about 20 seconds every time the file was reloaded. A blocklist file that is still being saved is no longer loaded half-written.
-
A blocklist line containing only ! no longer blocks every password, and blank lines no longer cause an error to be logged on every password change.
-
The log file is now accessible only by SYSTEM and Administrators.
-
The x64 DLLs in v1.6.2 and v1.6.3 were compiled for newer CPUs (-march=rocketlake and -march=x86-64-v3) and execute AVX instructions on every password change, so they could crash lsass.exe on CPUs or VMs without AVX. v1.6.4 runs on any x64 CPU.
-
New: an ARM64 build, for domain controllers running Windows Server on ARM64.
-
PassFiltExTest: passwords can now be piped in, and the new --edgecases option tests unusual and malformed input.
Upgrade notes
- Spaces around the commas in ApplyToTheseGroupsOnly are now ignored.
- Only
krbtgtandkrbtgt_<digits>(the RODC krbtgt accounts) are exempt from the filter. - If a registry setting exists but can't be read (for example, because it's the wrong type), an error is logged and the previous value is kept.
- Log files archived by older versions keep their old permissions, so you may want to delete them.
What's in the zip
x64\PassFiltEx.dll: for x64 domain controllers (almost all of them)ARM64\PassFiltEx.dll: for ARM64 domain controllersPassFiltExBlocklist.txt(sample),README.md,LICENSE.md
Copy the DLL that matches your domain controller's architecture to C:\Windows\System32. See README.md for the rest of the installation steps.
SHA256:
x64\PassFiltEx.dll:CFADAC67CAE87F4301513DD4317983DE1CD15020EBCB8F9DABBD0FDCB3A5AE5BARM64\PassFiltEx.dll:62222963110520019FDFC9FA1F53FCA6D722E24A6C39584CD4B65E7E2F1F6B95
See #41 for details and test results.
Full Changelog: v1.6.3...v1.6.4