{"id":3532,"date":"2022-11-16T16:26:35","date_gmt":"2022-11-16T16:26:35","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=3532"},"modified":"2023-01-03T16:59:32","modified_gmt":"2023-01-03T16:59:32","slug":"netapp-running-smb-version-1-impacted-by-microsoft-windows-kb5019964-for-cve-2022-37967","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=3532","title":{"rendered":"NetApp Running SMB version 1 Impacted by Microsoft Windows (KB5019964) for CVE-2022-37967"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>NOTE: See <a href=\"https:\/\/geekmungus.co.uk\/?p=3619\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/geekmungus.co.uk\/?p=3619<\/a> for the most up to date article!<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We&#8217;ve had an issue with the recent &#8220;<a href=\"https:\/\/support.microsoft.com\/en-gb\/topic\/november-8-2022-kb5019964-os-build-14393-5501-5c195bd1-91d5-402e-a973-813373ba4357\" data-type=\"URL\" data-id=\"https:\/\/support.microsoft.com\/en-gb\/topic\/november-8-2022-kb5019964-os-build-14393-5501-5c195bd1-91d5-402e-a973-813373ba4357\">Security Update for Microsoft Windows (KB5019964)<\/a>&#8221; update, as by the looks of it a load of other people.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In our case we are running Microsoft Windows 2016 domain controllers, the NetApp filers are pretty old we&#8217;re readying to migrate off them; they only support SMB version 1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We suddenly got reports that accessing the shares via a UNC with the hostname did not work from Microsoft Windows machines giving an error along the lines of name not found. Using the IP address within the UNC path worked fine from a Microsoft Windows machine. Additionally using the UNC with the hostname from Apple Mac workstations and Linux clients (Samba client) worked fine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Symptoms<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We first started with the name resolution, DNS was resolving fine. NETBIOS also appeared to be fine. Essentially:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\\\\server1 &#8211; Does not work, name is not resolved, even though DNS works fine.<br>\\\\172.16.10.10 &#8211; Does work fine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Diagnosis<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After much checking we found that the Kerberos authentication tickets were not working. Essentially when using the IP address we think that NTLM authentication is being used rather than Kerberos, hence why using the IP works while the hostname does not; that is the same for the Apple Mac and Linux clients.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Running a &#8220;klist&#8221; from affected clients we saw this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Current LogonId is 0:0x4b7cb6d6\n\nCached Tickets: (2)\n\n#0&gt;     Client: USER123 @ DOMAIN.COM\n        Server: krbtgt\/DOMAIN.COM @ DOMAIN.COM\n        KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96\n        Ticket Flags 0x40e10000 -&gt; forwardable renewable initial pre_authent name_canonicalize\n        Start Time: 11\/16\/2022 10:59:20 (local)\n        End Time:   11\/16\/2022 20:59:20 (local)\n        Renew Time: 11\/23\/2022 10:59:20 (local)\n        Session Key Type: AES-256-CTS-HMAC-SHA1-96\n        Cache Flags: 0x1 -&gt; PRIMARY\n        Kdc Called: DC1.DOMAIN.COM\n\n#1&gt;     Client: USER123 @ DOMAIN.COM\n        Server: cifs\/server1.domain.com @ DOMAIN.COM\n        KerbTicket Encryption Type: RSADSI RC4-HMAC(NT)\n        Ticket Flags 0x40a10000 -&gt; forwardable renewable pre_authent name_canonicalize\n        Start Time: 11\/16\/2022 10:59:20 (local)\n        End Time:   11\/16\/2022 20:59:20 (local)\n        Renew Time: 11\/23\/2022 10:59:20 (local)\n        Session Key Type: AES-256-CTS-HMAC-SHA1-96\n        Cache Flags: 0\n        Kdc Called: DC1.DOMAIN.COM<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Notice the &#8220;Session Key Type: AES-256-CTS-HMAC-SHA1-96&#8221; on the #1 key. It is AES-256-CTS-HMAC-SHA1-96 not RSADSI RC4-HMAC(NT), The NetApp is on a software version that can&#8217;t work with the later cipher type. Hence the issues across two other NetApp arrays running the same version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This was confirmed on the NetApp logs saying an &#8220;unsupported cipher&#8221; was being used.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resolution<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It turned out the issue was down to a recent Microsoft Windows update to our domain controllers. The following patch which was applied overnight 15th november 2022 to 16th November 2022 was the cause of the issue:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>November 8, 2022\u2014KB5019964<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Security Update for Microsoft Windows (KB5019964) &#8211; Installed 15\/11\/2022<br>CVE-2022-37967<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So we removed the patch from all domain controllers which had been installed overnight and this resolved the issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The difference in behavior was visible through the tickets issues, we first ran a &#8220;klist purge&#8221; to clear the client of the TGS ticket with the incorrect cipher type and then attempting the connection to the NetApp via the UNC path with the hostname which was now successful. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The klist output of the TGS ticket for the NetApp before and after the patch was removed is given below. Firstly before (patch was removed)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\n\n#2&gt;     Client: USER123 @ DOMAIN.COM\n        Server: cifs\/server1.domain.com @ DOMAIN.COM\n        KerbTicket Encryption Type: RSADSI RC4-HMAC(NT)\n        Ticket Flags 0x40a10000 -&gt; forwardable renewable pre_authent name_canonicalize\n        Start Time: 11\/16\/2022 13:29:45 (local)\n        End Time:   11\/16\/2022 23:29:45 (local)\n        Renew Time: 11\/23\/2022 13:29:45 (local)\n        Session Key Type: AES-256-CTS-HMAC-SHA1-96\n        Cache Flags: 0\n        Kdc Called: DC1.DOMAIN.COM\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then the TGS klist output after the patch has been removed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>After (patch is removed)\n\n#1&gt;     Client: USER123 @ DOMAIN.COM\n        Server: cifs\/server1.domain.com  @ DOMAIN.COM\n        KerbTicket Encryption Type: RSADSI RC4-HMAC(NT)\n        Ticket Flags 0x40a10000 -&gt; forwardable renewable pre_authent name_canonicalize\n        Start Time: 11\/16\/2022 14:12:26 (local)\n        End Time:   11\/16\/2022 23:47:44 (local)\n        Renew Time: 11\/23\/2022 13:47:44 (local)\n        Session Key Type: RSADSI RC4-HMAC(NT)\n        Cache Flags: 0\n        Kdc Called: DC1.DOMAIN.COM<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once the Session Key Type: RSADSI RC4-HMAC(NT) was being shown for the TGS Tickets from the NetApps the issue was resolved.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Any remaining issues should be able to be resolved by a reboot of the machine or a &#8220;klist purge&#8221; run from the command prompt to flush the incorrect cipher TGS and use a working one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We&#8217;re then aiming to move off the NetApps posthaste to allow us to put this patch back in place in the long term to remediate the Kerberos vulnerabilities it has. This particular patch however has been known to cause other problems even with those who have AES-128 and above enabled and don&#8217;t use legacy ciphers, so waiting on Microsoft for updates on that one.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-born-039-s-tech-and-windows-world wp-block-embed-born-039-s-tech-and-windows-world\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"QxsL6UO4fO\"><a href=\"https:\/\/borncity.com\/win\/2022\/11\/10\/updates-for-windows-nov-2022-changes-in-netlogon-and-kerberos-protocol-causing-issues\/\">Updates for Windows (Nov. 2022): Changes in Netlogon and Kerberos protocol &#8211; causing issues<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Updates for Windows (Nov. 2022): Changes in Netlogon and Kerberos protocol &#8211; causing issues&#8221; &#8212; Born&#039;s Tech and Windows World\" src=\"https:\/\/borncity.com\/win\/2022\/11\/10\/updates-for-windows-nov-2022-changes-in-netlogon-and-kerberos-protocol-causing-issues\/embed\/#?secret=p1cre0KrzX#?secret=QxsL6UO4fO\" data-secret=\"QxsL6UO4fO\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Additional Information<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" href=\"https:\/\/support.microsoft.com\/en-gb\/topic\/november-8-2022-kb5019964-os-build-14393-5501-5c195bd1-91d5-402e-a973-813373ba4357\" target=\"_blank\">https:\/\/support.microsoft.com\/en-gb\/topic\/november-8-2022-kb5019964-os-build-14393-5501-5c195bd1-91d5-402e-a973-813373ba4357<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/learn.microsoft.com\/en-gb\/windows\/release-health\/windows-message-center#2952\" target=\"_blank\">https:\/\/learn.microsoft.com\/en-gb\/windows\/release-health\/windows-message-center#2952<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/support.microsoft.com\/help\/5020805\" target=\"_blank\">https:\/\/support.microsoft.com\/help\/5020805<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/support.microsoft.com\/help\/5021130\" target=\"_blank\">https:\/\/support.microsoft.com\/help\/5021130<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/support.microsoft.com\/help\/5021131\" target=\"_blank\">https:\/\/support.microsoft.com\/help\/5021131<\/a><br><a rel=\"noreferrer noopener\" href=\"https:\/\/support.microsoft.com\/en-gb\/topic\/november-8-2022-kb5019964-os-build-14393-5501-5c195bd1-91d5-402e-a973-813373ba4357\" target=\"_blank\">https:\/\/support.microsoft.com\/en-gb\/topic\/november-8-2022-kb5019964-os-build-14393-5501-5c195bd1-91d5-402e-a973-813373ba4357<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/kb.netapp.com\/Advice_and_Troubleshooting\/Data_Storage_Software\/ONTAP_OS\/Cannot_connect_or_browse_to_a_CIFS_server_via_hostname%2C_however%2C_access_via_IP_works\">https:\/\/kb.netapp.com\/Advice_and_Troubleshooting\/Data_Storage_Software\/ONTAP_OS\/Cannot_connect_or_browse_to_a_CIFS_server_via_hostname%2C_however%2C_access_via_IP_works<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/support.microsoft.com\/en-gb\/topic\/kb5021131-how-to-manage-the-kerberos-protocol-changes-related-to-cve-2022-37966-fd837ac3-cdec-4e76-a6ec-86e67501407d\">https:\/\/support.microsoft.com\/en-gb\/topic\/kb5021131-how-to-manage-the-kerberos-protocol-changes-related-to-cve-2022-37966-fd837ac3-cdec-4e76-a6ec-86e67501407d<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/learn.microsoft.com\/en-gb\/openspecs\/windows_protocols\/ms-kile\/6cfc7b50-11ed-4b4d-846d-6f08f0812919\">https:\/\/learn.microsoft.com\/en-gb\/openspecs\/windows_protocols\/ms-kile\/6cfc7b50-11ed-4b4d-846d-6f08f0812919<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/stories.schubergphilis.com\/potential-fix-for-kdc-kerberos-issues-after-patching-for-cve-2022-37966-a12b6fba167f\">https:\/\/stories.schubergphilis.com\/potential-fix-for-kdc-kerberos-issues-after-patching-for-cve-2022-37966-a12b6fba167f<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/unsplash.com\/@adigold1\" data-type=\"URL\" data-id=\"https:\/\/unsplash.com\/@adigold1\" target=\"_blank\" rel=\"noreferrer noopener\">Image Attribution<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>NOTE: See https:\/\/geekmungus.co.uk\/?p=3619 for the most up to date article! We&#8217;ve had an issue with the recent &#8220;Security Update for Microsoft Windows (KB5019964)&#8221; update, as by the looks of it a load of other people. In our case we are running Microsoft Windows 2016 domain controllers, the NetApp filers are pretty old we&#8217;re readying to &#8230; <a title=\"NetApp Running SMB version 1 Impacted by Microsoft Windows (KB5019964) for CVE-2022-37967\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=3532\" aria-label=\"Read more about NetApp Running SMB version 1 Impacted by Microsoft Windows (KB5019964) for CVE-2022-37967\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":3535,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,37,14,22],"tags":[],"class_list":["post-3532","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-active-directory","category-kerberos","category-microsoft-windows","category-security"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3532"}],"version-history":[{"count":5,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3532\/revisions"}],"predecessor-version":[{"id":3627,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3532\/revisions\/3627"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/media\/3535"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}