{"id":1989,"date":"2017-06-27T22:10:52","date_gmt":"2017-06-27T22:10:52","guid":{"rendered":"http:\/\/obieta.com\/?p=1989"},"modified":"2017-06-27T22:10:52","modified_gmt":"2017-06-27T22:10:52","slug":"case-of-the-logon-attempt-failed-rdp-connection","status":"publish","type":"post","link":"http:\/\/obieta.com\/?p=1989","title":{"rendered":"Case of the Logon Attempt Failed RDP Connection"},"content":{"rendered":"<p>This issue will occur if the dependency services are disabled. Please make sure the following services are enabled and running.<\/p>\n<p>&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0 DNS Client<\/p>\n<p>&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0 Function Discovery Resource Publication<\/p>\n<p>&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0 SSDP Discovery<\/p>\n<p>&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0 UPnP Device Host<\/p>\n<p>We can see from the security logon that successful connections are using\u00a0<strong>Package Name (NTLM only):\u00a0\u00a0\u00a0 NTLM V2<\/strong><\/p>\n<p>On the Server 2008 R2 box, in\u00a0<strong>secpol.msc\u00a0<\/strong>we can see LM &amp; NTLM is refused (As it should be\u2026)<\/p>\n<p><a href=\"https:\/\/chentiangemalc.files.wordpress.com\/2013\/12\/image9.png\"><img loading=\"lazy\" title=\"image\" src=\"https:\/\/chentiangemalc.files.wordpress.com\/2013\/12\/image_thumb9.png?w=526&amp;h=557\" alt=\"image\" width=\"526\" height=\"557\" border=\"0\" \/><\/a><\/p>\n<p>However the client had a group policy, that had been enabled to allow a legacy application to connect to ancient Windows servers, this forced\u00a0<strong>Send LM &amp; NTLM responses<\/strong><\/p>\n<p><a href=\"https:\/\/chentiangemalc.files.wordpress.com\/2013\/12\/image10.png\"><img loading=\"lazy\" title=\"image\" src=\"https:\/\/chentiangemalc.files.wordpress.com\/2013\/12\/image_thumb10.png?w=597&amp;h=544\" alt=\"image\" width=\"597\" height=\"544\" border=\"0\" \/><\/a><\/p>\n<p>Now the\u00a0<strong><em>bad way\u00a0<\/em><\/strong>to fix this, is to change the server to a less secure setting (i.e.\u00a0<strong>Send LM &amp; NTLM responses<\/strong>)<\/p>\n<p>While it is best to eliminate servers that still require LM or NTLM, and use the \u201crefuse LM &amp; NTLM\u201d setting, you can compromise by changing the client policy to allow LM &amp; NTLM, but use NLTM v2 if available, this will at least prevent you from downgrading security on your servers running more recent Windows operating systems.<\/p>\n<p><a href=\"https:\/\/chentiangemalc.files.wordpress.com\/2013\/12\/clip_image002.jpg\"><img loading=\"lazy\" title=\"clip_image002\" src=\"https:\/\/chentiangemalc.files.wordpress.com\/2013\/12\/clip_image002_thumb.jpg?w=438&amp;h=248\" alt=\"clip_image002\" width=\"438\" height=\"248\" border=\"0\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This issue will occur if the dependency services are disabled. Please make sure the following services are enabled and running. &#8211;\u00a0\u00a0\u00a0\u00a0\u00a0 DNS Client &#8211;\u00a0\u00a0\u00a0\u00a0\u00a0 Function Discovery Resource Publication &#8211;\u00a0\u00a0\u00a0\u00a0\u00a0 SSDP Discovery &#8211;\u00a0\u00a0\u00a0\u00a0\u00a0 UPnP Device Host We can see from the security logon that successful connections are using\u00a0Package Name (NTLM only):\u00a0\u00a0\u00a0 NTLM V2 On the Server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts\/1989"}],"collection":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1989"}],"version-history":[{"count":0,"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts\/1989\/revisions"}],"wp:attachment":[{"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1989"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}