<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Troubleshooting on MentalityXt</title><link>http://xtpol.com/tags/troubleshooting/</link><description>Recent content in Troubleshooting on MentalityXt</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 20 Nov 2024 11:34:00 +0800</lastBuildDate><atom:link href="http://xtpol.com/tags/troubleshooting/index.xml" rel="self" type="application/rss+xml"/><item><title>Active Directory Pentesting: Troubleshooting Tool Issues</title><link>http://xtpol.com/p/active-directory-tool-troubleshooting/</link><pubDate>Wed, 20 Nov 2024 11:34:00 +0800</pubDate><guid>http://xtpol.com/p/active-directory-tool-troubleshooting/</guid><description>&lt;h2 id="1-garbled-output-in-wmiexec"&gt;&lt;a href="#1-garbled-output-in-wmiexec" class="header-anchor"&gt;&lt;/a&gt;1. Garbled Output in wmiexec&#10;&lt;/h2&gt;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;span class="lnt"&gt;2&#10;&lt;/span&gt;&lt;span class="lnt"&gt;3&#10;&lt;/span&gt;&lt;span class="lnt"&gt;4&#10;&lt;/span&gt;&lt;span class="lnt"&gt;5&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# Run this on the target host first&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;chcp&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# Assume it returns 936&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# Then run wmiexec with the encoding option&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;python wmiexec.py -codec cp936 -hashes :2b2ddd54e1f78fab85e7c662f672f30e MAIN/administrator@192.168.0.111&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;&lt;img src="http://xtpol.com/zh/p/active-directory-tool-troubleshooting/image-0001.zh.webp" alt="" loading="lazy" decoding="async"&gt;&#10;&lt;/p&gt;&#10;&lt;h2 id="2-unable-to-install-vmware-tools"&gt;&lt;a href="#2-unable-to-install-vmware-tools" class="header-anchor"&gt;&lt;/a&gt;2. Unable to Install VMware Tools&#10;&lt;/h2&gt;&lt;p&gt;I ran into this while setting up an Active Directory environment. My vulnerable Windows Server 2012 R2 machine wouldn&amp;rsquo;t install VMware Tools, which made transferring files and copying and pasting a real pain. The Chinese tutorials I found online all had problems.&lt;/p&gt;&#10;&lt;p&gt;&lt;a class="link" href="https://netwoven.com/cloud-infrastructure-management/windows-server-2012-r2-error-required-kb2919355/" target="_blank" rel="noopener"&#10; &gt;https://netwoven.com/cloud-infrastructure-management/windows-server-2012-r2-error-required-kb2919355/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;This article explains what to do. Things will go wrong if you don&amp;rsquo;t follow the steps in order, though there are still a few minor issues. The solution is below.&lt;/p&gt;&#10;&lt;p&gt;What you need to download&lt;/p&gt;&#10;&lt;p&gt;#Windows8.1-KB2919442-x64 is available at this URL; download this one too&lt;/p&gt;&#10;&lt;p&gt;&lt;a class="link" href="https://www.microsoft.com/en-us/download/details.aspx?id=42162" target="_blank" rel="noopener"&#10; &gt;https://www.microsoft.com/en-us/download/details.aspx?id=42162&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Windows patch download: Windows8.1-KB2919355-x64 is available at &lt;a class="link" href="https://www.microsoft.com/en-us/download/details.aspx?id=42335" target="_blank" rel="noopener"&#10; &gt;https://www.microsoft.com/en-us/download/details.aspx?id=42335&lt;/a&gt;. Download all of the files.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Run Windows Update and install everything, including optional updates&lt;/li&gt;&#10;&lt;li&gt;Run clearcompressionflag.exe (downloaded with the servicing stack fix). It runs in the background, so wait a minute before installing the fix&lt;/li&gt;&#10;&lt;li&gt;Manually download and install the patches in this order&lt;/li&gt;&#10;&lt;li&gt;Windows8.1-KB2932046-x64&lt;/li&gt;&#10;&lt;li&gt;Windows8.1-KB2934018-x64&lt;/li&gt;&#10;&lt;li&gt;Windows8.1-KB2937592-x64&lt;/li&gt;&#10;&lt;li&gt;Windows8.1-KB2938439-x64&lt;/li&gt;&#10;&lt;li&gt;Windows8.1-KB2959977-x64&lt;/li&gt;&#10;&lt;li&gt;Windows8.1-KB2919442-x64&lt;/li&gt;&#10;&lt;li&gt;Windows8.1-KB2919355-x64&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;Restart whenever prompted after installing them.&lt;/p&gt;&#10;&lt;p&gt;Then install VMware Tools.&lt;/p&gt;&#10;&lt;p&gt;&lt;a class="link" href="https://packages.vmware.com/tools/releases/" target="_blank" rel="noopener"&#10; &gt;https://packages.vmware.com/tools/releases/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Pick whichever version you like and download its ISO file, like this one.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="http://xtpol.com/zh/p/active-directory-tool-troubleshooting/image-0002.zh.webp" alt="" loading="lazy" decoding="async"&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;Add a new CD/DVD drive and mount the ISO. You&amp;rsquo;ll then see a drive like this under Computer.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="http://xtpol.com/zh/p/active-directory-tool-troubleshooting/image-0003.zh.webp" alt="" loading="lazy" decoding="async"&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="http://xtpol.com/zh/p/active-directory-tool-troubleshooting/image-0004.zh.webp" alt="" loading="lazy" decoding="async"&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;Open it.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="http://xtpol.com/zh/p/active-directory-tool-troubleshooting/image-0005.zh.webp" alt="" loading="lazy" decoding="async"&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;Run the installer, keep clicking Next, and you&amp;rsquo;re done.&lt;/p&gt;&#10;</description></item></channel></rss>