{"id":1439,"date":"2023-04-10T11:07:17","date_gmt":"2023-04-10T16:07:17","guid":{"rendered":"https:\/\/zewwy.ca\/?p=1439"},"modified":"2023-04-10T17:33:56","modified_gmt":"2023-04-10T22:33:56","slug":"asus-calling-microsoft","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2023\/04\/10\/asus-calling-microsoft\/","title":{"rendered":"ASUS calling Microsoft"},"content":{"rendered":"<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Back_Story\"><\/span>Back Story<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>I&#8217;ll try to keep this post short as I&#8217;m behind on many other posts I have to finish. hahah :S<\/p>\n<p>Anyway, I was thinking it&#8217;s time to update my pihole, when I checked the admin web interface to check for clients to see who&#8217;d still be using it for DNS, and then I&#8217;d make a list and be prepared to change them as required (any outside of DHCP of course, as I&#8217;d simply change the IP there). Now you might be wondering, why change the IP address? Which is a fair question, I could just update the one in question, but I had bigger plans to move it to another server, I didn&#8217;t want to give the other server multiple IPs, so I figured it be easier to spin up the new service on that server and simply change the DNS on the DHCP server\/service. Anyway&#8230; where was I, oh right, checking the web admin I noticed the top client was my new ASUS RT-AX88U. I was hoping to get a model that supported Tomato like the old RT-N16 I had for so many years which I recently broke and so replaced it with this unit. It currently can&#8217;t run Tomato like I managed to do with the RT-N16. So, I just had configured it for AP mode. Figured it doesn&#8217;t need to do much else for now besides serve unreal good WiFi.<\/p>\n<p>Yet it&#8217;s calling home to &#8220;dns.msftncsi.com&#8221;, when I looked up this domain it seems to be used mostly by windows machines to check to make sure they are online.<\/p>\n<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Fix_This\"><\/span>Fix This<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>Looking a bit further into it I managed to find <a href=\"https:\/\/www.reddit.com\/r\/pihole\/comments\/5nkjfp\/excessive_requests_to_dnsmsftncsicom_for_asus\/\">this magical Reddit post<\/a> (I really love reddit, I&#8217;ve found so many helpful posts there). Anyway let&#8217;s see if we can follow the steps on this router.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Step_1_%E2%80%93_Enable_Access\"><\/span>Step 1 &#8211; Enable Access<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The source uses telnet, but I&#8217;m not a fan of transferring creds in cleartext, unless I know for certain it&#8217;s a completely isolated network. Since the router supports SSH, I enabled that instead and logged in. *note* I had to remove the fingerprint from the old RT-N16 I used to SSH into.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Step_2_%E2%80%93_Gain_Shell_Access_to_your_Router\"><\/span>Step 2 &#8211; Gain Shell Access to your Router<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>login &amp; password is the same as the web interface.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/JdVK8BG.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/JdVK8BG.png\" alt=\"\" width=\"625\" height=\"533\" \/><\/a><\/p>\n<p>K, with that done, let&#8217;s see if we can edit the nvram, but let&#8217;s take a look as the OP suggests.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Step_3_%E2%80%93_Look_deep_into_NVRAM\"><\/span>Step 3 &#8211; Look deep into NVRAM<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>nvram show | sort | less<\/pre>\n<p>I used the less command instead, as my old linux instructor once said &#8220;less is more&#8221; using less you can use the up and down arrow keys to scroll through the results, and look-e-here: (Press Q to exit less)<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Step_4_%E2%80%93_Finding_the_Droids\"><\/span>Step 4 &#8211; Finding the Droids<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/i.imgur.com\/qSp7Atv.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/qSp7Atv.png\" alt=\"\" width=\"462\" height=\"101\" \/><\/a><\/p>\n<p>The droids I was after. Time to eliminate them.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Step_5_%E2%80%93_Kill_the_Probe_Content_Droid\"><\/span>Step 5 &#8211; Kill the Probe Content Droid<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>nvram set dns_probe_content=127.0.0.1<\/pre>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Step_6_%E2%80%93_Kill_the_Probe_Host_Droid\"><\/span>Step 6 &#8211; Kill the Probe Host Droid<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>nvram set dns_probe_host=\"\"<\/pre>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Step_7_%E2%80%93_Prevent_Droid_Resurrection\"><\/span>Step 7 &#8211; Prevent Droid Resurrection<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>nvram commit<\/pre>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Step_8_%E2%80%93_Fully_Enforce_Your_New_Empire\"><\/span>Step 8 &#8211; Fully Enforce Your New Empire<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>reboot<\/pre>\n<p>Verify:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/oKupuXC.png\" \/><\/p>\n<p>Noice!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Back Story I&#8217;ll try to keep this post short as I&#8217;m behind on many other posts I have to finish. hahah :S Anyway, I was thinking it&#8217;s time to update my pihole, when I checked the admin web interface to check for clients to see who&#8217;d still be using it for DNS, and then I&#8217;d &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2023\/04\/10\/asus-calling-microsoft\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ASUS calling Microsoft&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[6,8],"tags":[433,348,434,228],"class_list":["post-1439","post","type-post","status-publish","format-standard","hentry","category-networking","category-server-administration","tag-asus","tag-dns","tag-microsoft","tag-pihole"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1439"}],"version-history":[{"count":1,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1439\/revisions"}],"predecessor-version":[{"id":1440,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1439\/revisions\/1440"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}