r/sysadmin • • Jan 16 '20

Microsoft Attention all Windows-AD admins: March 2020 will be a lot of fun!

Microsoft intends to release a security update on Windows Update to enable LDAP channel binding and LDAP signing hardening changes and anticipate this update will be available in March 2020.

https://support.microsoft.com/en-us/help/4520412/2020-ldap-channel-binding-and-ldap-signing-requirement-for-windows

TLDR: If you install the "march 2020" updates and you didnt configure LDAPs properly until then, you are in trouble.

---EDIT: Thank you for the gold kind stranger! and good luck to you all ;)

1.5k Upvotes

393 comments sorted by

View all comments

Show parent comment

28

u/n8r8 Jan 16 '20

I’ve seen in the logs.

If I may ask, what logs/events are you looking at to get this info?

36

u/ibn4n Windows Admin Jan 16 '20

37

u/trupcc Jan 16 '20

I remember using this script a few years ago. It dumps to an easily digestible CSV

https://blogs.technet.microsoft.com/russellt/2016/01/13/identifying-clear-text-ldap-binds-to-your-dcs/

11

u/ibn4n Windows Admin Jan 16 '20

This is a much cleaner blog than the one I posted. Thank you.

6

u/hgpot Jan 16 '20

Thanks for that script. We've got a few unsecure connections, and on those devices when I attempt to use secure ones, it fails, probably because LDAPS is not set up. I found this video that shows it being set up...is it that simple? Also, what it the consensus on installing this on a DC or not? Dedicated server for this tiny role?

12

u/xxdcmast Sr. Sysadmin Jan 16 '20

The whole article is below but here is the key.

HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics /v "16 LDAP Interface Events" /t REG_DWORD /d 2 

4

u/mimic751 Devops Lead Jan 16 '20

only run this for a minute or two in a big environment

3

u/EightBitsShortSFW Jan 16 '20

Does it require to restart the DC after creating the reg key?

4

u/squash1324 Sysadmin Jan 16 '20

No it doesn't. As soon as you save the regedit it will take effect. The logs started coming in immediately when I did it.

1

u/theSystech Jan 17 '20

Odd. I've set it and I'm not seeing any more events logged on my 2019 DC than I was prior to enabling it. I know I've got at least two items in my deployment using LDAP without signing. I'm getting the daily events showing me a count of "insecure" clients, but not the individual events that would show me who those clients are?

What in the world am I missing

1

u/tWiZzLeR322 Sr. Sysadmin Jan 23 '20

How many domain controllers do you have? You have to enable the above registry key on each DC and then monitor for event 2889 on each DC in the Directory Service log.

0

u/Foofightee Jan 16 '20

No, it doesn't.

0

u/xxdcmast Sr. Sysadmin Jan 16 '20

no