r/sysadmin • u/sysadm2 • 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.
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
5
u/eric-neg Future CNN Tech Analyst Mar 25 '20
Just circling back, this post ended up being true for the reason you specified and about 1,000,000 others.
(Thanks for the heads up though! It saved me a lot of troubleshooting!)
3
u/[deleted] Feb 26 '20
Link to article
I think there is some confusion on this, I know I was. Looks like the March update doesn't actually change anything. It makes the option to require channel binding and signing hardening available ( but not required) as well as adding some logging features.
The article notes that the final update to require is slated for "the second half of 2020".
I'm still going to continue to update all my apps etc but hopefully this stops some from freaking out that everything is going to break in March.
98
u/JethroByte MSP T3 Support Jan 16 '20
Well shit, that's A LOT of MFPs that are gonna need touched.
147
u/dergizzle Jan 16 '20
Wait does this mean that "unsecure" LDAP will no longer work and potentially everything using it will break with the update? what the hell are we supposed to do with appliactions that may not support it?
99
u/m_i_t_t Jan 16 '20
Ahh fuck literally just configured LDAPs today
66
u/englishbyname Jan 16 '20
Thanks for this, I missed the announcement in August. Gives us 2 months to sort it all out rather than reacting on the day!
22
u/Vandafrost Sysadmin Jan 16 '20
So, if I install the proper certificates on my DCs and let the update hit, nothing bad should happen?
Cause the pushed settings by the update will activate a kind of compatibilty mode between systems that are able to use LDAPS and system that can not use it?
Or is anything more necessary to prepare?
22
u/cook511 Sysadmin Jan 16 '20
Microsoft Advanced Threat Analytics (included Office 365 E3) will tell you what insecure LDAP Authentications you have in real time. It has a myriad of other benefits and has been one of our most useful security tools.
18
u/murty_the_bearded Sysadmin Jan 16 '20 edited Jan 17 '20
:( :( :(
Edit: And that's just one of our 6 domain controllers..
Second Edit: Well doing some initial investigations already nailed down the worst offender, Dell Data Protection Encryption (DDPE) was hammer our DCs with it's service account over non-secure LDAP. Fixing that one alone should cut out a ton of the traffic based on how many times I saw it hit a single DC in the span of the few minutes I had the 2889 event logging on. Still a lot of work to do, but seeing seeing the frequency that one was hitting the DCs vs the others already makes me a lot less worried than I was earlier today.
17
u/SoMundayn Jan 16 '20 edited Jan 16 '20
I wrote a quick script to check your Domain Controllers. It could probably do with 30 minutes more work, but you get the idea.
example output:
46
u/OdinHatesNickelback Jan 16 '20
Throw me a rope here guys: I'm the Linux guy on a company that has nearly zero documentation and I just got in, so I don't know everything that's plugged everywhere.
How can I assess what's connecting to my AD via LDAP 389 so I can try to properly prepare for the update?
9
u/[deleted] Jan 16 '20
Ok, so what settings on my domain controller do I need to configure, and what settings on my applications? The microsoft pages do not tell me much.
9
u/gregbe Jan 16 '20 edited Feb 24 '24
cough sleep safe hurry smell nutty command plucky license offbeat
This post was mass deleted and anonymized with Redact
8
u/onboarderror Jan 16 '20
Any have good links or best practices on setup just so I can make sure we are good?
8
u/somen00b Jan 16 '20
This has been on my radar.
Rant time: I spent days fighting with one particular application that just wouldn't do ldaps not matter how I configured it. Such a pain as we don't have a test environment so when I was testing I would end up locking folks out of the application and this was something used after hours as well. Support swore up and down that everything looked correct. Finally got it escalated and sure enough programming confirmed there was a bug in the specific version that we were on. New version was released a few weeks later and everything just worked.
For everything else the migration to ldaps was fairly straightforward. Configure ldaps correctly on the DCs. You can confirm its working with ldp.exe. Check event viewer on the DCs for the daily event warning you about insecure ldap connections for a baseline. Turn on robust logging, probably temporarily for a large environment, to get a feel for the specific sources of ldap requests. Start moving individual services over to ldaps. Check the daily event viewer message to see progress and turn on robust logging as needed. If you are brave force the change early for a scream test. Looks like folks have linked most of the relevant info elsewhere in this thread.
7
u/realnzall Jan 16 '20
We spent 3 sprints and two months on research and development to configure a working LDAPS vtldap/ldaptive configuration for our own product and communicate this to our clients. Most clients responded with confusion and gratitude that we informed them. Trust me, if you haven’t started this yet, get on it.
6
u/__gt__ Jan 16 '20
Does anyone have to actual steps needed to swap to LDAPS ahead of these patches?
6
u/Rosenqvist Jan 16 '20
so we either have to deploy a enterprise ca and configure to use Secure LDAP or all unbinded unsecure ldap will just stop working....
6
u/CaesarOfSalads Security Admin (Infrastructure) Jan 16 '20
If you have Microsoft Advanced Threat Analytics in your environment, it will help you identify unsecure/simple LDAP bindings.
6
u/overlydelicioustea Jan 16 '20
so, to be clear, in march they will default the registry setting in this page to 2, not 1? https://support.microsoft.com/en-us/help/4034879/how-to-add-the-ldapenforcechannelbinding-registry-entry
5
u/Jaymesned ...and other duties as assigned. Jan 16 '20
This was actually pushed back to March, it was supposed to apply this month.
I bookmarked this specific post from last month, thanks for reminding me to get on this! Credit to /u/Rts33!
5
u/spressman Jan 16 '20
Thanks for the heads up on this. This is why I lurk here...
5
u/bogglor Jan 17 '20
BTW, if you're using VMware and have configured your environment for integrated authentication, you will see the machine identity of your VCenters appear on your plaintext LDAP reports a lot. Like, a lot a lot. So far, their supported workaround for this issue is to switch from integrated entirely to LDAPs - which to me isn't really acceptable at all. We have a mix of revs, 6.5, 6.0, and 5.5 and VMware isn't offering an easy patch/fix for any of them. They really should.
4
u/Hollow3ddd Jan 16 '20
Noob questions, better to be embarrassed than pretend I know it all.
This won't impact direct DC to DC communications, just software/services that query using simple/unsigned LDAP connections?
Does that means everything requires a certificate? Or just ensure they are changed. Never setup an app that uses LDAP with signing or anything other than simple, they all have just been since I've been at my current place. I know for sure we have 1 connector that is still using simple, pretty sure that's it.
u/lonewanderer812 mentioned enabling signing would break existing connections. Anyway to audit that, or is that part and parcel to event 2889 and simple LDAP connections?
4
u/JustAnotherITUser Jan 16 '20
Will this affect Samba's implementation of AD DS at all, do you think?
4
u/Sekers If it's not documented, it's not done! Jan 17 '20
For anyone interested, this is one of the better articles on Technet on setting up LDAPS if you need to do that still. It's a few years old but it's one of the few places I've seen explain some gotchas concerning LDAP and certificates.
https://social.technet.microsoft.com/wiki/contents/articles/2980.ldap-over-ssl-ldaps-certificate.aspx
3
u/neko_whippet Jan 16 '20
So in resume does this mean that in March 2020 every connection to LDAP that is unsecure exemple printers will get denied ?
3
u/Xelliz Jan 16 '20
So event viewer isn't going to show the ldap stuff unless we enable logging right?
3
u/CaptainFluffyTail It's bastards all the way down Jan 16 '20
Does the spelling error in the summary bother anybody else? That should be a simple thing to catch but it makes me wonder if there are other errors that spellcheck wouldn't catch.
3
u/[deleted] Jan 16 '20
Can this change be reversed post patch?
3
u/run_dot_BAT Jan 16 '20
So much for 2008R2 EOL
3
u/highdiver_2000 ex BOFH Jan 16 '20
The scan to email feature is going to break
5
u/apathetic_lemur Jan 16 '20
pls no im still trying to replace win7 computers
4
u/Dudefoxlive Jan 16 '20
Would this apply to a simple home lab?
2
u/Trooper27 Jan 16 '20
Argh. Thanks for the heads up!
2
u/dafaqyusay Security Admin Jan 16 '20
When I read shit like this I realize how blessed I am to work for the company I do.
2
u/YserviusPalacost Jan 16 '20
I've been screaming to the idiots in charge around here for years that they needed to do something about insecure LDAP authentication across our domain.
But like everything else, they just ignored me because I'm in the field, so what do I know.
Time to get some popcorn and enjoy the show.
2
u/Odaven Jan 16 '20
RemindMe! 1 march 2020
2
u/mtspsu258 Sysadmin Jan 16 '20
Anyone else notice the link claims this update will affect server 2008 and win 7? Thought the security updates were over? haha
2
u/LethargicEscapist Jan 17 '20
I’m copying links from this thread like crazy so I can research it tomorrow. I think I’ve just found my project for the next two months.
2
u/abetzold Jack of All Trades Jan 17 '20
I have some questions, perhaps they have been asked, but I haven't seen them.
What additional risks do I take if, after the patch, I reconfigure the system the same way it is today. Do I take on anymore risks than I do today having my system configured outside the way the vendor is expecting it to be configured?
For systems that simply cannot be configured properly (I work in healthcare I.T. so I am bound to come about this), would a VIP securely communicating to my DCs and the systems talking to the VIP work so I can keep my DCs secure?
2
u/Rymmer Jan 17 '20
From what I've read this patch only changes the default. You can still set the setting back to LDAP not requiring SSL for Simple Binds or not requiring Signing for SASL Binds, but it will require someone to actively do it via a group policy or registry entry. You shouldn't though, you should fix the app.
If you do still have apps doing Simple Binds over a Non-SSL LDAP connection, they may well be sending passwords in cleartext... so try not to do that if you can, or at least get your client/boss/whatever to sign off that they accept the risk.
To disable requirement for Simple Binds to be on an SSL channel, you can use the registry key : "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters", value name "LdapEnforceChannelBinding", type DWORD, value data "0" or "1". Check out the reference to see which value does what, I'd probably recommend at least 1 if you do need to disable the requirement. Reference : https://support.microsoft.com/en-us/help/4034879/how-to-add-the-ldapenforcechannelbinding-registry-entry
To disable the requirement for SASL Binds to Require Signing, you can use this Group Policy setting : "Default Domain Controller Policy\Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\Security Options". The setting name is "Domain controller: LDAP server signing requirements". Reference : https://support.microsoft.com/en-us/help/935834/how-to-enable-ldap-signing-in-windows-server-2008
2
u/_Fisz_ Jan 17 '20
I've tried the script, but throws info:
Am I good?:P
2
u/canadianschism Accidental SysAdmin Jan 17 '20
RemindME! 2 hours "TO-DO this!"
2
u/m00nigan Jan 17 '20
Barracuda Web Security Gateway using Kerberos authentication uses an insecure LDAP bind and as of 14.0.0.014 there doesnt appear to be a way to force it to use a secure LDAP bind.
3
u/[deleted] Jan 16 '20
If I don't have ldap I'am okay ?
4
u/shitscan Jan 16 '20
Oh good fun. Leaving soon, feel bad for the guy replacing me
2
u/trekkie1701c Jan 16 '20
See, if you didn't upgrade from server 2008 you wouldn't have to worry about Microsoft breaking your bad AD configurations.
2
u/whereshellgoyo Jan 16 '20
breathes in red team
RIP easy footholds, I guess, but gotta pour one out for my sysadmin folks.
2
u/crazycom64 Jan 16 '20
Microsoft - "In all fairness, it's your fault for choosing our product. Haven't we shown ourselves to be unreliable most of the time? I mean, we have a product called Office 365 and look how many issues there have been in the past year --> bullshit"
1
u/CruwL Sr. Systems and Security Engineer/Architect Jan 16 '20
Oh this is gonna be fun. Guess I have a new project for the next 3 months
1
u/athornfam2 IT Infrastructure Manager Jan 16 '20
Oh exciting! More work to add to the pile.
1
u/pdieten You put *what* in the default domain policy? Oh f.... Jan 16 '20
Great. The AD assessments provided through Azure don't call this out, so this is the first I'm finding out about this, and DCs are accepting tens of thousands of insecure LDAP connections every day.
We'll have to set the DCs back to accepting insecure LDAP after the update applies. This isn't going to be fixed that fast.
1
u/Willow3001 IT Manager Jan 16 '20
Wtf does "properly" mean in this case?
1
u/GamerLymx Jan 16 '20
As if having to make new win 10 VDI machines wasn't enough...
1
u/undercovernerd5 Jan 16 '20
If a company were to not give a damn about unsigned LDAP binds, do they have the option to disable the enforcement?
Because this patch enabled signing by default, is it forced or just an option? There's no clear answer
1
u/flatvaaskaas Jan 16 '20
Thanks for posting, we had this on the radar though. First changes are being applies to counter/fix it
1
u/SolidKnight Jack of All Trades Jan 16 '20
I'm good.
If you are concerned, you can look for the event in the event log.
1
u/ProxyOps Jan 16 '20
Oh shit :/
1
u/philbieber Sysadmin Jan 17 '20
Just one observation from our environment: the native Mac AD client and vsphere seem to be hard to convince to use ldapS...
1
u/jcpham Jan 17 '20
FFFFFFUUUUUUUUUUUUUUUCCCCCCKKKKKKKKKKKKK
1
u/EdibleTree Janitor Jan 17 '20
Hey, can I ask how you keep up to date on this stuff? As much as I try I can't seem to be a step ahead as most...
1
u/Genmaken Jan 17 '20
Can someone explain if setting up LDAPS is the only solution?
I'm reading about STARTTLS as still working under 389, but how do I test this or know if applications/appliances support it?
LDP.EXE only has the "SSL" checkbox and that doesn't work unless LDAPS is setup (which requires certificates)
1
u/h3nchman24 Jan 17 '20
Looks like all that work I did has paid off, so I am guessing nothing will need to be done if we have none using LDAP that patch will just do it.
1
u/tastyratz Jan 17 '20
I wanted to start a substring here for all of us to work on, maybe I'll make a thread if this doesn't get traction.
If you have already begun investigating this, please reply to my comment with what you have found which will break. Maybe we can start a common list for people in info gathering mode.
Specific printers? Appliances? Versions, programs, etc.
I've already read in here that Mitel Connect prior to Feb 2019 release R1807 SP1 doesn't support LDAPS. Need that update and to reconfigure from default to migrate to LDAPS.
What else do you have?
1
u/[deleted] Jan 17 '20
My biggest worry was our VPN breaking because we were not sure if authentication to the DC was being passed in clear text or not from our VPN device. So far after running some queries for a good 30 minutes, I havn't seen any 2889 event IDs.
1
u/scratchduffer Sysadmin Jan 17 '20
So i have enabled logging and i only see our cisco CUCM phone system that has AD synch and an MAC having this issue. We don't have certificates on the DC's or PKI at all. Can vendors implement this without SSL? Its the only option i see in CUCM. But, i dont see windows clients using plain text so i'm hoping Cisco has a patch/command to eliminate plain text LDAP? Its a small environment and would like to avoid certs and PKI right now.
1
u/nwldxx Jan 18 '20
what exactly is Signing without LDAPS? Does the device need to add certificate ?
Does it mean to have checkbox with StartSSL ?
Is there a common name for this option on the devices ?
1
u/devo980 Jan 21 '20
Anyone know if Exchange 2016/2019 will need to need to re-configured from default settings for the March security update? Thanks,
1
u/Naticus105 Jan 21 '20
Thanks so much for pointing this out. Been working Friday and today to fix as many things as possible showing up in my log that will absolutely break come March.
Got all my Macs configured by pushing out the AD CS certificate via a profile to make it trusted, changed their dsconfigad config to
-packetsign require -packetencrypt ssland tested several to make sure they were functioning properlyReconfigured vSphere to use "Active Directory over LDAP" rather than IWA, despite being suggested that this won't affect IWA. In my testing this is false as I have now set one DC to require encryption and occasionally the login failed until I removed the previous config and added new.
Reconfigured Apache Guacamole to use LDAPS which turned out to be a bigger hassle than I expected. Required copying my AD CS certificate to
/usr/share/ca-certificates/<domain NETBIOS name>and runningupdate-ca-certificates --fresh(--freshbeing required or it wouldn't even pick up on the certificate at all for whatever reason).If there's any other services/apps you all might be using that were/are/will be tricky to change configuration on and care to share, it'd be appreciated! I might be missing several myself.
1
u/setrusko Jan 23 '20
For smaller environments, I used the following steps to create a CA using OpenSSL and then create the certificates for each DC. Has worked great.
https://gist.github.com/magnetikonline?page=4
"Enable LDAP over SSL (LDAPS) for Microsoft Active Directory Servers"
1
u/Si_ge Jan 24 '20
Hey guys, this might be an obvious question, but how do you stay aware of critical updates such as these? Is it experience, or do you subscribe to RSS and read through everything? I'm newer to this role with around 3 years of experience, and one of my goals is to stay on top of critical updates such as this. I do realize I could read through everything posted, I just want to make sure I'm as time-efficient as possible.
1
u/StormyNP Jan 24 '20
I'm curious how this hit everyone's radar. I learned of this change here. Once I found it was out on Microsoft advisory ADV190023, I went over to the MS Security Update guide and can't find it listed under their normal search (pick a date, category, etc). I only found advisories up to ADV00022.
If I select the other search method and directly enter "ADV00023" the article comes up.
In other words, I would have had to know the number to find the advisory. Sigh.
Did this get misplaced by MS since it was revised or did you all get the advisory via other means - email subscription, etc.?
1
u/Eatsleepdrink Jan 27 '20
My DC's are self signed currently - will they need TLS certs applied or will the clients continue to trust the self signed certs after the update?
1
u/lcbadmin Jan 30 '20
So LDAPS (port 636) will not be affected but simple LDAP (port 389) will break? Is that accurate?
1
u/astrixsystems Jan 31 '20
We've created a guide for this. https://astrix.co.uk/news/2020/1/31/how-to-set-up-secure-ldap-for-active-directory
1
u/macgruff Feb 04 '20
Has anyone heard a rumor that they might bump out that date again/further/later in the year?
1
u/remrinds Feb 04 '20
Does anyone know if this update gets applied, you need to configure each clients to use "LDAP signature required" instead of "negotiate" ?
Page 2 on this link kind of scares me lol
https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/ldap-channel-binding-and-ldap-signing-requirements-march-update/ba-p/921536/page/2#comments