{"id":5763,"date":"2018-12-30T01:45:02","date_gmt":"2018-12-30T01:45:02","guid":{"rendered":"http:\/\/www.hexacorn.com\/blog\/?p=5763"},"modified":"2018-12-30T01:45:04","modified_gmt":"2018-12-30T01:45:04","slug":"beyond-good-ol-run-key-part-98","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2018\/12\/30\/beyond-good-ol-run-key-part-98\/","title":{"rendered":"Beyond good ol\u2019 Run key, Part 98"},"content":{"rendered":"\n<p>Scanning the Windows files for possible persistence mechanisms I came across a few interesting strings inside the Natural Language Development Platform 6 library (NaturalLanguage6.dll):<\/p>\n\n\n\n<ul><li>StemmerDLLPathOverride<\/li><li>WBDLLPathOverride<\/li><li>StemmerClass<\/li><li>WBreakerClass<\/li><\/ul>\n\n\n\n<p>Quick google exercise followed and I found this <a href=\"http:\/\/www.avkuzmin.ru\/2007\/07\/wss-30.html\">post<\/a> in Russian that explains that these are actual Registry entries &#8211; by changing them the author was able to use Russian morphology modules for searches on Sharepoint.  <\/p>\n\n\n\n<p>Cool.<\/p>\n\n\n\n<p>Now that I had an idea what it is, I was curious if the entries are used on Windows 10. <\/p>\n\n\n\n<p>Procmon with boot logging enabled confirmed that it is the case &#8211; the C:\\WINDOWS\\system32\\SearchIndexer.exe process looks for the DLLOverridePath entries under the following locations (language may vary on non-English OS versions):<\/p>\n\n\n\n<ul><li>HKLM\\System\\CurrentControlSet\\Control\\ContentIndex\\Language\\English_UK<\/li><li> HKLM\\System\\CurrentControlSet\\Control\\ContentIndex\\Language\\English_US<\/li><li> HKLM\\System\\CurrentControlSet\\Control\\ContentIndex\\Language\\Neutral<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/12\/dlloverride.png\" alt=\"\" class=\"wp-image-5764\" width=\"462\" height=\"49\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/12\/dlloverride.png 959w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/12\/dlloverride-300x33.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2018\/12\/dlloverride-768x83.png 768w\" sizes=\"(max-width: 462px) 100vw, 462px\" \/><\/figure><\/div>\n\n\n\n<p>Since the overridden locations are loaded via LoadLibrary, it is yet another persistence location to look at. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scanning the Windows files for possible persistence mechanisms I came across a few interesting strings inside the Natural Language Development Platform 6 library (NaturalLanguage6.dll): StemmerDLLPathOverride WBDLLPathOverride StemmerClass WBreakerClass Quick google exercise followed and I found this post in Russian that &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2018\/12\/30\/beyond-good-ol-run-key-part-98\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[43,35],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/5763"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=5763"}],"version-history":[{"count":1,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/5763\/revisions"}],"predecessor-version":[{"id":5765,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/5763\/revisions\/5765"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=5763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=5763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=5763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}