Discussion Locked

Need Custom Passfilt.dll instructions

0 helpful
16 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

After a fruitless search, I turn to you my peers for this one.

I wanted to create a custom Passfilt.dll. I know how to install and use the one shipped. I am looking for the instructions on how to create a custom dll.

I know the instructions are on the nt4sp2 cd.
But I am unable to find it anywhere in my vast msdn collection or online.

The msdn talks in loops and all of the platform sdks I found were of no help.

If someone can find me the instructions I would be most appreciative.

16 replies

by buffalodan

An interesting white hat crackers web site, with some excellent NT security tools.

such as:

*******************************************

strongpass

A DLL that works like passfilt.dll, but enforces some extra password policies to make it harder for password crackers like L0phtcrack to crack LANMAN hashes of the passwords.

OS: Windows NT 4.0

Version: 1.0

File Size: 8 kb

Downloads: 5434 since 1999.09.07

Author: Arne Vidstrom

*******************************************
Here's the web site link:
http://ntsecurity.nu/toolbox/

Good luck, have fun....

(as always, test in a non-production environment first...)

by rkelly

Microsoft provides a sample password filter (Pwdfilt.dll) for administrators who want to increase password policy. The source code for Pwdfilt.dll is available in the Platform SDK under samples\Winbase\Security\Winnt\Pwdfilt. For addition information on Pwdfilt.dll, see the Readme.txt file that accompanies the sample.

If you cannot find the file drop me an e-mail and I'll forward it to you. I've got access to all the SDKs going back to the dark ages. E-mail address is the same as my user ID.

by lordinfidel

Thank you for all of your responses. I am still going over all of the different links.

Some of them thought have only brought me to places I have already been. But I don't want to discredit these answers yet.

What I am looking for is the elusive file in SP2 that supposedly has a file in it that has the instructions on how to create the "custom" dll. Basically I want to remove the special characters section of the passfilt.dll. I don't want to use all of the requirements that passfilt has.

Everything that I have found up to this point, talks in circles and references that read me file. I have followed the paths in every platform sdk I could find dated back to 1998. I might have misssed some though.

The sp2 on ms site does not contain the support section that is normally on the cd. So that is a bust. And I can no longer find the original sp2 cd.

The instructions for the notification setup has a reference to the passfilt dll but gives you no clues as to what parameters to edit/add. It again was cryptic at best.

I appreciate everyones hard work, but the answer is still out there.

rkelly@remarc.co.uk is on the right track. Hopefully he has the file I am looking for.

by rziminski

HOWTO: Password Change Filtering & Notification in Windows NT

Q151082

Sample Code

/*++

Copyright (c) 1995, 1996 Microsoft Corporation

Module Name:

pswdntfy.c

Abstract:

This module illustrates how to implement password change
notification and password filtering in Windows NT 4.0.

Password change notification is useful for synchronization of
non-Windows NT account databases.

Password change filtering is useful for enforcing quality or
strength of passwords in an Windows NT account database.

This sample illustrates one approach to enforcing additional
password quality.

Author:

Scott Field (sfield) 14-May-96

--*/

#include
#include "ntsecapi.h" // \mstools\samples\win32\winnt\security\include\

#ifndef STATUS_SUCCESS
#define STATUS_SUCCESS ((NTSTATUS)0x00000000L)
#endif

NTSTATUS
NTAPI
PasswordChangeNotify(
PUNICODE_STRING UserName,
ULONG RelativeId,
PUNICODE_STRING Password
)
/*++

Routine Description:

This (optional) routine is notified of a password change.

Arguments:

UserName - Name of user whose password changed

RelativeId - RID of the user whose password changed

NewPassword - Cleartext new password for theuser

Return Value:

STATUS_SUCCESS only - errors from packages are ignored.

--*/
{

#ifdef DEBUG
LPWSTR String;

String = HeapAlloc(GetProcessHeap(), 0,
Password->Length + UserName->Length + (256*sizeof(WCHAR)));

swprintf(String,
L"Password for account %.*ls (rid 0x%x) changed to %.*ls\n",
UserName->L

by lordinfidel

I would like to thank everyone. After corresponding with rkelly, I beleive he is correct in the assumption that MS leads us to believe that making the dll is possible.

It appears that you can only rely on the dll that they supply and use it to be notified of password changes.

I really wanted to create basically a "password filter" with the requirements of my choice. Not the ones supplied by MS.

The instructions/code, that is supplied. Only let's you reference the passfilt.dll. It does not tell you how to alter the dll's filter parameters. It does show you though how to set up being notified of changes.

Which is not what I wanted to do. It looks like third party tools are going to be the way to go with this.

Again I appreciate everyone's hard work and will issue out points. It appears that MS has sent us on a wild goose chase.

This discussion is closed to new replies.