<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Networking Archives - Wiredwolf Canada</title>
	<atom:link href="https://catastrophe.wiredwolf.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>https://catastrophe.wiredwolf.com/category/networking/</link>
	<description></description>
	<lastBuildDate>Sat, 17 Feb 2024 05:40:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.6</generator>
	<item>
		<title>Proxmox &#8211; Post 2</title>
		<link>https://catastrophe.wiredwolf.com/proxmox-post-2/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 17 Feb 2024 05:40:45 +0000</pubDate>
				<category><![CDATA[Microsoft Server]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Proxmox]]></category>
		<guid isPermaLink="false">https://catastrophe.wiredwolf.com/?p=22477</guid>

					<description><![CDATA[<p>As the trials continue, so do the posts. For this post I am relaying what I've discovered about trying to migrate a VM from VMware to Promox VE. The original VM: 4 vCore x 1 socket 8 GB memory 1 x 250 GiB VMDK 1 x 1.1 TiB VMDK Windows 2016 Standard Granted, I have  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/proxmox-post-2/">Proxmox &#8211; Post 2</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>As the trials continue, so do the posts.</p>
<p>For this post I am relaying what I&#8217;ve discovered about trying to migrate a VM from VMware to Promox VE.</p>
<p>The original VM:</p>
<ul>
<li>4 vCore x 1 socket</li>
<li>8 GB memory</li>
<li>1 x 250 GiB VMDK</li>
<li>1 x 1.1 TiB VMDK</li>
<li>Windows 2016 Standard</li>
</ul>
<p>Granted, I have made things more difficult by having multiple network segments.&nbsp; In my last post I think I mentioned setting up multiple VLANs, Bridges, and Interfaces in Proxmox.&nbsp; This was because I&#8217;ve gone back and forth between two networks, and my Synology NAS straddles both.&nbsp; I ended up adding the Synology NAS to as storage to the same Promox host twice, once per network, to hopefully make network access more efficient to the mass storage device.</p>
<p>Over the past week I have been working with the ovftool to migrate the file server to Promox, each time taking in excess of 24 hours and inevitable session timeouts, causing the import to stall and ultimately fail.&nbsp; Since you cannot pick up where you left off (that would be a sweet feature to ask for) the process has been started multiple times.&nbsp; This last attempt today, however, completed in just 8 hours successfully, so evidently my theory on network traffic efficiency won out.</p>
<p>The first step &#8211; use the VMware ovftool (installed to Proxmox VE server) to import the desired VM:</p>
<p>ovftool &#8211;overwrite vi://192.168.155.81/FileServ /pve-zfs</p>
<p>The second step &#8211; use qm to import the VM to Promox:</p>
<p>qm importovf 210 /pve-zfs/FileServ.ovf /pve-zfs</p>
<p>Once completed, the VM showed up in Proxmox as expected, as ID 210, but without a network interface (which is also expected).</p>
<p>First challenge &#8211; machine is not bootable.</p>
<p>Referencing Promox support documentation on importing VMs:&nbsp; <a href="https://pve.proxmox.com/wiki/Migrate_to_Proxmox_VE#Post_Migration">Migrate to Proxmox VE &#8211; Proxmox VE</a></p>
<p>Convert the SCSI disks to IDE or SATA.&nbsp;&nbsp;</p>
<ul>
<li>Detach disk</li>
<li>Change format to IDE or Sata</li>
<li>Connect&nbsp;</li>
</ul>
<p>Still no joy.&nbsp; Disks were converted fine.&nbsp;&nbsp;<br />
I then added a CDROM to the VM and booted to a Windows Server 2016 install media ISO &#8211; confirmed that C:\ is the %systemroot%.&nbsp;&nbsp;</p>
<p>I then went back to the hardware and made a few edits:</p>
<ol>
<li>Converted the Machine version to q35 from default i440fx</li>
<li>Converted the SCSI Controller to PVSCSI</li>
<li>Converted the Processors from kvm64 to host</li>
</ol>
<p>Still no joy &#8211; machine does appear to boot it just can&#8217;t find a boot partition.</p>
<p>Maybe the OVF will give me some insights? Before getting that desperate, I tried one last thing &#8211; I switched the BIOS from SeaBIOS to OVMF (UEFI).</p>
<p>Bingo &#8211; the machine instantly booted successfully.</p>
<p>Lesson learned &#8211; don&#8217;t rely on the qm importovf to properly read the OVF and translate it to the same profile in Proxmox.&nbsp; Make sure you have your hardware profile from VMware before&nbsp;</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/proxmox-post-2/">Proxmox &#8211; Post 2</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Office 365 Hybrid to On Premises Exchange &#8211; Mail Flow How-To</title>
		<link>https://catastrophe.wiredwolf.com/office-365-hybrid-to-on-premises-exchange-mail-flow-how-to/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 20 Apr 2020 23:20:59 +0000</pubDate>
				<category><![CDATA[Microsoft Exchange]]></category>
		<category><![CDATA[Microsoft Office 365]]></category>
		<category><![CDATA[Networking]]></category>
		<guid isPermaLink="false">https://catastrophe.wiredwolf.com/?p=20807</guid>

					<description><![CDATA[<p>Migrating to Office 365 can be a time consuming endeavor and require that it be conducted in stages.  When moving batches of mailboxes the On-Prem Exchange server shows the mailboxes as "Remote Mailbox" and while appears to be aware of the mailbox, is not immediately able to route mail between the On-Premises Mailboxes and the  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/office-365-hybrid-to-on-premises-exchange-mail-flow-how-to/">Office 365 Hybrid to On Premises Exchange &#8211; Mail Flow How-To</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Migrating to Office 365 can be a time consuming endeavor and require that it be conducted in stages.&nbsp; When moving batches of mailboxes the On-Prem Exchange server shows the mailboxes as &#8220;Remote Mailbox&#8221; and while appears to be aware of the mailbox, is not immediately able to route mail between the On-Premises Mailboxes and the Remote Mailboxes.</p>
<p>There are a series of steps that must be taken to ensure mail flow:</p>
<ol>
<li>If using Azure AD Connect and filtering by OU or Security Group &#8211; make sure all mailbox users AD accounts are synchronized to Azure AD/Office 365
<ol>
<li>Add all Mail Users
<ol>
<li>In AD this can be easily accomplished with a simple Powershell script:<br />
<blockquote><p>Get-ADUser -Filter &#8216;Enabled -eq $true -and Mail -like &#8220;*@*&#8221;&#8216; | ForEach-Object {Add-ADGroupMember -Identity &#8216;Office365Users&#8217; -Members $_ }</p></blockquote>
<p><em>Where &#8220;Office365Users&#8221; is your security group</em></li>
</ol>
</li>
<li>Add all Contacts</li>
<li>Add all Distribution Lists</li>
<li>Add all Mail-Enabled Security Groups</li>
</ol>
</li>
</ol>
<p>For mail from&nbsp;<em>from</em> Office 365&nbsp;<em>to</em> Exchange On-Premises (Performed in Office 365 Exchange Admin Center):</p>
<ol>
<li>Create an Internal Relay to On-Prem Exchange connector (in EAC)</li>
</ol>
<p>For mail&nbsp;<em>to</em> Office 365&nbsp;<em>from</em> Exchange On-Premises (Performed in On-Premises Exchange Server):</p>
<ol>
<li>Create a&nbsp;<em>tenant.mail.onmicrosoft.com</em> in Accepted Domains and set to&nbsp;<em>Internal Relay</em></li>
<li>Create an &#8220;<em>O365 Relay</em>&#8221; Send Connector
<ol>
<li>FQDN of the connector (<em>mail.domain.com &#8211; the FQDN public name of the On-Premises Exchange server</em>)</li>
<li>Address Scope &#8211;&nbsp;<em>tenant.mail.onmicrosoft.com</em></li>
<li>Smart Host &#8211; the MX provided by Microsoft Office 365 Domains DNS configuration (I.E.&nbsp;<em>domain-com.mail.protection.outlook.com</em>)</li>
<li>Source Server: The On-Premises Exchange server</li>
</ol>
</li>
</ol>
<p>Make sure to check any firewall rules that restrict WAN to LAN to port 25 to specific addresses.&nbsp; Use this list <a href="https://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges">https://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges</a> to set up your rules to lock down unauthorized access to Port 25 inbound.</p>
<table class="table">
<tbody>
<tr>
<td>10</td>
<td>Allow<br />
Required</td>
<td>Yes</td>
<td><code>*.mail.protection.outlook.com</code><br />
<code>40.92.0.0/15, 40.107.0.0/16, 52.100.0.0/14, 104.47.0.0/17, 2a01:111:f400::/48, 2a01:111:f403::/48</code></td>
<td><strong>TCP:</strong>&nbsp;25</td>
</tr>
</tbody>
</table>
<p>The post <a href="https://catastrophe.wiredwolf.com/office-365-hybrid-to-on-premises-exchange-mail-flow-how-to/">Office 365 Hybrid to On Premises Exchange &#8211; Mail Flow How-To</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Security Audits &#8211; Tracking down the Source Workstation</title>
		<link>https://catastrophe.wiredwolf.com/security-audits-tracking-down-the-source-workstation/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 30 May 2018 01:24:05 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=14506</guid>

					<description><![CDATA[<p>In the past few months a number of my clients have been experiencing some pretty intense attacks on their networks.  Notably using open RDP ports to connect to PC's and launch username/password combo attacks. Some of these attacks have been pretty basic and if I didn't have security auditing enabled may not have even noticed  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/security-audits-tracking-down-the-source-workstation/">Security Audits &#8211; Tracking down the Source Workstation</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In the past few months a number of my clients have been experiencing some pretty intense attacks on their networks.&nbsp; Notably using open RDP ports to connect to PC&#8217;s and launch username/password combo attacks.</p>
<p>Some of these attacks have been pretty basic and if I didn&#8217;t have security auditing enabled may not have even noticed them.&nbsp; But I do, and I get email notification when an account is locked, which prompts me to go see what&#8217;s happening.</p>
<p>Before you say, &#8220;Hey, RDP open to the public is just ASKING for trouble!&#8221; &#8211; I already know this.&nbsp; In fact, I&#8217;ve been documenting the experiences.&nbsp; However, when a lot of this was originally set up the Internet was a safer place and the tools to exploit and attack networks were far less sophisticated.&nbsp; I now encourage all of my clients to pay a bit more attention to security concerns and start closing some of these transitional gaps.</p>
<p>Anyway, one of the biggest frustrations I&#8217;ve experienced is the ridiculous way Microsoft records Security Audit information.&nbsp;&nbsp;</p>
<blockquote><p>The computer attempted to validate the credentials for an account.</p>
<p>Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0<br />
Logon Account: LIBRARY<br />
Source Workstation:<br />
Error Code: 0xC0000064</p></blockquote>
<p>Note that Source Workstation is blank or NULL.&nbsp; It isn&#8217;t always.&nbsp; Sometimes it&#8217;s some other nonsensical entry (MSTSC, RACCESS, etc.) that cannot be resolved on the domain or network.&nbsp; The point is, the information provided is basically useless.&nbsp; I know someone is trying, I just don&#8217;t know where it&#8217;s coming from.&nbsp; If I can&#8217;t source it, I can&#8217;t stop it.</p>
<p>In this particular case it was a workstation with a Public RPD connection available.&nbsp; The user was actually sitting in front of the workstation for a change, but it was still being used to brute force attack a number of accounts.</p>
<p>While the Security Logs can&#8217;t tell me the source, NETLOGON can.&nbsp;&nbsp;</p>
<p>Here&#8217;s how to go about finding the source:</p>
<p>Open a CMD prompt (as Administrator) on the domain controller (PDC Emulator)</p>
<blockquote><p><b>nltest /dbflag:0x2080ffff</b></p></blockquote>
<p>This turns on debug logging for the Netlogon service on the DC</p>
<p>Now go review the log entries:&nbsp; Start &#8211;&gt; Run &#8211;&gt; &#8220;<strong>%windir%\debug\netlogon.log</strong>&#8221;</p>
<p>When you&#8217;re done, unless you don&#8217;t mind the netlogon.log file growing at an alarming rate, turn off the debug logging:</p>
<blockquote><p><b>nltest /dbflag:0x0</b></p></blockquote>
<p>Now, the netlogon.log will be completely stuffed with helpful information, but it&#8217;s information overload.&nbsp; This is what you&#8217;re looking for:</p>
<blockquote><p>SamLogon: Transitive Network logon of</p></blockquote>
<p>Paste that into your Find and you&#8217;ll start seeing responses like this:</p>
<p>05/29 15:36:42 [LOGON] [10684] <strong><em>&lt;&lt;DOMAIN&gt;&gt;</em></strong>: SamLogon: Transitive Network logon of (null)\MARK from&nbsp; (via <strong><em>&lt;&lt;WORKSTATION&gt;&gt;</em></strong>) Returns 0xC0000064</p>
<p>More sophisticated attacks don&#8217;t have a NULL domain, and we&#8217;ve been seeing a lot of very targeted attacks where the hacker network knows the custom RDP port, the domain, and the username.&nbsp; I haven&#8217;t yet determined how they know this, but it is pretty accurate.&nbsp; As I&#8217;ve documented though, brute force attacks against networks with progressive security policies such as account lockout policies and complex password compliance with regularly changed passwords makes this a very inefficient way to break in.&nbsp; Having said that, it only takes one&#8230;&nbsp;&nbsp;</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/security-audits-tracking-down-the-source-workstation/">Security Audits &#8211; Tracking down the Source Workstation</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Hardening RDP Security &#8211; Logon Auditing</title>
		<link>https://catastrophe.wiredwolf.com/hardening-rdp-security-logon-auditing/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 10 May 2018 20:20:02 +0000</pubDate>
				<category><![CDATA[Microsoft Server]]></category>
		<category><![CDATA[Microsoft Workstation]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[audit]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[ransom ware]]></category>
		<category><![CDATA[ransomware]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[security]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=14489</guid>

					<description><![CDATA[<p>If you don't care about the story that's ok - just skip down to the Logon Auditing section. Recently I had a client contact me. Their primary application is Oracle-based and was no longer functioning.  I quickly logged into the server and discovered immediately that it was hit with a Ransomware bug. The whole server  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/hardening-rdp-security-logon-auditing/">Hardening RDP Security &#8211; Logon Auditing</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you don&#8217;t care about the story that&#8217;s ok &#8211; just <a href="#logon_auditing">skip down to the Logon Auditing section</a>.</p>
<p>Recently I had a client contact me. Their primary application is Oracle-based and was no longer functioning.&nbsp; I quickly logged into the server and discovered immediately that it was hit with a Ransomware bug. The whole server was encrypted.</p>
<p>I didn&#8217;t even bother trying to investigate.&nbsp; I shut the server down immediately and started the process of a full recovery.&nbsp; That&#8217;s when I discovered that the Ransomware had also encrypted all of the local backups &#8211; not just for this server, but all backups for all systems.</p>
<p>Fortunately, I always push for redundant off-site backups.&nbsp; In this case Acronis Cloud to the rescue.&nbsp; It took about 4 hours but the server was fully restored to a time prior to the hack.&nbsp; In that four hour period I did some investigation.</p>
<ol>
<li>The account that I found logged in was named &#8220;admin&#8221;.&nbsp; I confirmed that this account did not exist in Active Directory, therefore it was a local account to the server.</li>
<li>The server was using a custom RDP port, but that port was open to the public because there are third party Oracle specialists who occasionally have to service this system.</li>
</ol>
<p>I wasn&#8217;t too worried about the admin account returning (though I did check) since it was a fully recovery, but I did review the local accounts. I still am not certain how the hackers got in, but I&#8217;m suspecting it was a man-in-the-middle RDP brute-force attack.</p>
<p>Anyway, long story short, the custom RDP port was restricted (no more public access) along with any other open server, and the server was restored fully with no real harm done.</p>
<p>However, this is only part of the story.&nbsp; Over the past few weeks I&#8217;ve been encountering issues with other client networks being attacked.&nbsp; Users are being locked out, sometimes instantaneously after having their passwords changed.&nbsp; The security logs on the DC&#8217;s showed the same thing &#8211; a roughly 15 minute period where an unknown system (usually came up as MSTSC) was attempting to brute-force the the password.</p>
<p>This ended up presenting a whole field of frustration.&nbsp; Microsoft Security Logs do not appear to record much in the way of relevant information.&nbsp; It showed the username, usually without the domain, but not always, and MSTSC as the &#8216;Workstation&#8217;.&nbsp; Since there is no system on the network named MSTSC I could only surmise that these were RDP attempts.&nbsp; But to which system?&nbsp; Several workstations have custom RDP ports open to the public.</p>
<p>After some searching I came up with a plan.</p>
<ol>
<li>I need to see where the attacks are coming from and hopefully block them.&nbsp; Are the attacks from a compromised PC on the network or from the outside?&nbsp; To do this, I need to see what traffic is coming in on the router.&nbsp; This will be a different blog entry.&nbsp; Most of my clients have SonicWALL routers and as I discovered SonicWALL routers do not log Firewall Rule Hits.&nbsp; I did find a way to monitor the traffic, but it wasn&#8217;t directly obvious so I&#8217;ll blog how to get monitoring working on SonicWALL routers.</li>
<li>I need to start monitoring the DC for invalid login attempts.&nbsp; That&#8217;s what this blog entry is all about.</li>
<li>I need to be notified when attacks are happening.</li>
<li>I need to start pro-actively blocking the attacks.&nbsp; I&#8217;m actually still looking for a solution for this.</li>
</ol>
<p>So, monitoring the DC turned out to be an exercise in frustration. The Security Logging cannot be adjusted or adapted to provide more information.&nbsp;</p>
<p><strong>TCPView</strong></p>
<p>A solution that I found proposed was to run TCPview.&nbsp; Which I did and found it to be less than helpful.&nbsp; For one thing, TCPview, while a fantastic tool, is also a bit of a pig, like most network monitoring utilities, and the overworked DC had issues running the program.&nbsp; It&#8217;s also a reactive solution &#8211; you have to know the attack is happening to know to use the tool.</p>
<p><strong id="logon_auditing">RDPGuard</strong></p>
<p>I tried installing RDPGuard.&nbsp; This is another excellent utility (Trial for 30 days only though) but discovered that unless the attacks were directed against the server itself, it wasn&#8217;t really going to help source the attack.&nbsp; The attacks were against the workstations, not the servers, so while it functioned as expected, it didn&#8217;t really help.</p>
<p><strong>Microsoft Network Manager</strong></p>
<p>I installed the Microsoft Network Manager 3.4 and configured it for parsing Windows TCP captures.&nbsp; However, this isn&#8217;t ideal either as again, this is a reactive solution that is based around extensive network monitoring, which is also a bit of a pig, and unless you capture huge amounts of data to parse, it&#8217;s window is too small.&nbsp; Capturing even 5 minutes of data can be more than 1 GB of logging.&nbsp; I did manage to run a capture while an attack was happening but was unable to determine exactly what protocol I should be monitoring.&nbsp; I read that I should filter using ProtocolName == &#8220;NRPC&#8221; but that showed absolutely nothing.</p>
<p><strong>Logon Auditing</strong></p>
<p>Logon Auditing is a good idea regardless of whether you are having issues or not.&nbsp; All administrators should know if user accounts are being accessed incorrectly, even if only to know which users are having trouble logging in.&nbsp; Administrators shouldn&#8217;t be waiting for accounts to get locked out to determine if there&#8217;s an issue.&nbsp; An issue could be there without getting to that stage.</p>
<p>This is the process I use to set up auditing:</p>
<ol>
<li>GPO &#8211; Default Domain Controllers Policy<br />
(Click on the thumbnails to get the full picture)<br />
<a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-1.png"><img decoding="async" class="alignnone size-thumbnail wp-image-14494" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-1-150x150.png" alt="" width="150" height="150" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-1-66x66.png 66w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-1-100x100.png 100w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-1-150x150.png 150w" sizes="(max-width: 150px) 100vw, 150px" /></a>&nbsp;<a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-2.png"><img decoding="async" class="alignnone size-thumbnail wp-image-14495" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-2-150x150.png" alt="" width="150" height="150" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-2-66x66.png 66w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-2-100x100.png 100w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-2-150x150.png 150w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDCP-2-300x300.png 300w" sizes="(max-width: 150px) 100vw, 150px" /></a></li>
<li>GPO &#8211; Default Domain Policy<br />
<a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDP-1.png"><img decoding="async" class="alignnone size-thumbnail wp-image-14496" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDP-1-150x150.png" alt="" width="150" height="150" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDP-1-66x66.png 66w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDP-1-100x100.png 100w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDP-1-150x150.png 150w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/05/DDP-1-300x300.png 300w" sizes="(max-width: 150px) 100vw, 150px" /></a></li>
<li>Download/Install <a href="https://www.netwrix.com/account_lockout_examiner.html" target="_blank" rel="noopener">Netwrix Account Lockout Examiner</a></li>
<li>Configure Account Lockout Examiner
<ol>
<li>File &#8211;&gt; Settings</li>
<li>Managed Objects &#8211; Edit &#8211; set to All DC&#8217;s</li>
<li>Notifications &#8211; Send notifications to a monitored email address and provide the SMTP server configuration (server and port)<br />
&#8211; does not do authenticated SMTP</li>
<li>Add all users you want to monitor &#8211; including Administrator and Guest<br />
(I just add every user &#8211; you just know it&#8217;s the one you&#8217;re not watching that&#8217;s being hacked)</li>
</ol>
</li>
</ol>
<p>That&#8217;s it.&nbsp; Wait for emails to come in or check on it regularly.&nbsp; It runs as a service so even if the console is not running it&#8217;s still collecting data and sending notifications.</p>
<p>By turning on the Password Lockout settings hackers only get 10 attempts before the account is locked out for (at least) 15 minutes.&nbsp; With enforced password complexity requirements, this would make brute force attacks pretty difficult.</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/hardening-rdp-security-logon-auditing/">Hardening RDP Security &#8211; Logon Auditing</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Security &#8211; Hardening RDP connections</title>
		<link>https://catastrophe.wiredwolf.com/security-hardening-rdp-connections/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 20 Feb 2018 22:12:37 +0000</pubDate>
				<category><![CDATA[Microsoft Workstation]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[RDP]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=14479</guid>

					<description><![CDATA[<p>Recent Update - Hardening RDP Security with Logon Auditing When I wrote the blog post below, I had not actually experienced any issues.  I already locked out access to servers I manage by using IP restrictions, and I wasn't generally too worried about workstations because I do push my clients to adhere to good password policies.   [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/security-hardening-rdp-connections/">Security &#8211; Hardening RDP connections</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recent Update &#8211;&nbsp;<a href="https://catastrophe.wiredwolf.com/hardening-rdp-security-logon-auditing/">Hardening RDP Security with Logon Auditing</a></p>
<p>When I wrote the blog post below, I had not actually experienced any issues.&nbsp; I already locked out access to servers I manage by using IP restrictions, and I wasn&#8217;t generally too worried about workstations because I do push my clients to adhere to good password policies.&nbsp; Given that I manage 30 networks and over 600 systems, this seemed to be pretty safe.</p>
<p>Recently I had an issue where user accounts were getting locked out, but not by the user.&nbsp; Not just one user, and not just one network, but different users on unrelated networks.&nbsp; When I started digging into it, I discovered that IP&#8217;s originating from countries all over the world were actively trying to brute force passwords using RDP.</p>
<p>What concerned me the most was how specific the attacks were.&nbsp; They were targeting workstations with custom RDP ports (Port Redirections as described below) and even monitoring for&nbsp;<em>changes</em> in the custom ports.&nbsp; For one user I grew concerned that the redirect port 3344 was too low and too easy to find, so moved it up to 25698.&nbsp; Without skipping a beat the attacks resumed on the new port.&nbsp; In addition to the port, they were targeting a specific username &#8211; the actual user of that PC.&nbsp; The only thing they were missing (most of the time) was the domain itself, and obviously the password.</p>
<p>After ramping up some security measures, enhanced router logging and reporting, and turning on some auditing policies, it became clear that this is a widespread issue that was quietly targeting almost every network I manage.&nbsp; Before I knew it, one of my clients who had an old 2003 server that was unfortunately exposed to the Public interface, got hacked and encrypted with Ransomware.</p>
<p>The fundamental issue I found with RDP security, while it does utilize SSL encryption, is that Microsoft has not hidden or even randomized the salt used for the encryption.&nbsp; The &#8220;Man in the Middle&#8221; attack can therefore insert itself into the connection and collect all kinds of data about the connection state, including last used username.</p>
<p>So ignore the post below where I say RDP is secure.&nbsp; It&#8217;s wrong.&nbsp; RDP is not secure in and of itself.&nbsp; If you cannot restrict access by IP then use something else.&nbsp; VPN appears to be the favored approach (client VPN to the router/gateway) or move to a third party connection broker such as TeamViewer.</p>
<p>I am leaving the old post as a reminder that I do not know everything, and in this case I was wrong.&nbsp; The MSP was right to recommend against RDP and possibly should have even refused to do the work.&nbsp;</p>
<p>However, since they did do the work, they should have at least inserted some measures to ensure getting in one machine did not mean being able to get into all machines.&nbsp; The processes I describe in this article should be followed regardless as best practices for security. I say this because the same issue happened to one of my networks (described above) but they were not able to get any further than that one server.&nbsp; The MSP in question still did crappy work, but I will give them credit for making the recommendations to not use RDP in the first place.</p>
<hr>
<p>I had a friend contact me recently about concerns using Remote Desktop Services.&nbsp; Staff at his office wanted to be able to work from home.&nbsp; RDP is built in to all Professional/Business Class operating systems, and it&#8217;s free.&nbsp;</p>
<p>Apparently the IT company they use recommended against it, declaring that Remote Desktop Protocol is highly insecure.&nbsp; The company did end up getting their RDP connections but no attention to improving security was observed.</p>
<p>Months later, the network was hacked.&nbsp; Ground Zero was a conference room PC that had an open RDP connection to the public and was somehow compromised.&nbsp; The IT company used this opportunity to say, &#8220;See? We told you this would happen.&#8221;</p>
<p>This is my blog so I feel I am entitled to have an opinion on this.</p>
<ol>
<li>RDP itself is not insecure.&nbsp; It is an encrypted connection (128-bit) that requires an authenticated connection.&nbsp; It has policies in place that prevent things like user accounts with no passwords from connecting.&nbsp; User accounts must either be local administrators&nbsp;<em>or</em> be added to the Remote Desktop Users security group.&nbsp;&nbsp;</li>
<li>In my opinion the IT company in question here was right to inform the client of the security risks, but instead of just setting up the RDP connections should have also taken steps to harden the network security around the workstations that were opened up for remote connectivity.&nbsp; Stepping up now with &#8220;we told you so&#8221; is a dick move.&nbsp; If I was a decision maker at this company, I would be deciding to find another IT company.</li>
</ol>
<p>Common security pitfalls setting up RDP:</p>
<ul>
<li>All Windows PC&#8217;s have a local built-in Administrator account as well as an initial administrator-level user account that was created when the PC was set up.&nbsp; Typically Administrator is disabled, but equally typically on a Windows domain network, the initial user account that was created when the PC was set up has a weak or non-existent password.&nbsp; This local user account is in the local Administrators group which is by default a member of the Remote Desktop Users group. (It should be noted that the username for this account could be anything &#8211; avoid using &#8220;user&#8221; or the PC name as the username for setting up the PC so it can&#8217;t be easily guessed.)</li>
<li>Default RDP port is 3389.&nbsp; It is possible to override this port in the registry but typically there&#8217;s no need.&nbsp; However, if you have 1 public IP address and 3 remote desktop users each wanting to connect to his or her own workstation, you have to set different ports for each workstation.&nbsp; This is done on the router and it&#8217;s called Port Redirection:
<ul>
<li>Workstation1 &#8211; Local IP: <strong>10.0.0.11</strong> RDP 3389 &#8211; Public IP 206.56.98.125 Port <strong>56896</strong></li>
<li>Workstation2 &#8211; Local IP: <strong>10.0.0.12</strong> RDP 3389 &#8211; Public IP 206.56.98.125 Port <strong>56897</strong></li>
<li>Workstation3 &#8211; Local IP: <strong>10.0.0.13</strong> RDP 3389 &#8211; Public IP 206.56.98.125 Port <strong><strong>56898</strong></strong>&nbsp;</li>
</ul>
</li>
<li>Some ISP&#8217;s change the Public IP&#8217;s for their customers frequently.&nbsp; This can make using RDP access difficult if the Public IP changes &#8211; the users won&#8217;t know that the IP changed and the connection will be broken.&nbsp; There are two solutions for this:
<ul>
<li>Obtain a Static IP from your ISP and/or</li>
<li>Utilize DDNS (<em>Dynamic</em> Domain Naming System)DDNS allows you to register a hostname.domain that links to your Public IP, no matter what your Public IP may be today.&nbsp; This is accomplished by installing an agent on the network that sends a constant heartbeat to a public service that tracks the IP changes.&nbsp;&nbsp;Utilizing DDNS is a good idea and many commercial and even some consumer level routers support it from common DDNS providers.&nbsp; It&#8217;s anywhere from reasonably cheap to completely free.&nbsp;</li>
</ul>
</li>
</ul>
<p>There are a number of easy-to-do tasks that can help prevent unauthorized access.&nbsp; On a Windows Domain this can done by using Group Policies but if you don&#8217;t have a Windows Domain you can still do a lot at the workstation level by getting familiar with the Local Policies.</p>
<ol>
<li>Ensure all local accounts are secured with strong passwords:
<ol>
<li>Start -&gt; Programs -&gt; Administrative Tools -&gt; Local Security Policy -&gt; Account Policies -&gt; Password Policy<br />
<a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-PasswordPol.png"><img decoding="async" class="alignnone size-full wp-image-14480" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-PasswordPol.png" alt="" width="512" height="165" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-PasswordPol-200x64.png 200w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-PasswordPol-300x97.png 300w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-PasswordPol-400x129.png 400w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-PasswordPol.png 512w" sizes="(max-width: 512px) 100vw, 512px" /></a><br />
I actually recommend a &#8220;Minimum password length&#8221; of &#8217;10&#8217; but the important bit is the &#8220;Password must meet complexity requirements&#8221;.&nbsp; This ensures that users cannot just put in &#8220;1234567&#8221; or &#8220;password&#8221; as a password.<br />
<em>Remember to reset the passwords of the local accounts, and disable the Administrator account if it&#8217;s not already.</em></li>
</ol>
</li>
<li>Set an account lockout policy:
<ol>
<li>Start -&gt; Programs -&gt; Administrative Tools -&gt; Local Security Policy -&gt; Account Policies -&gt; Account Lockout Policy<br />
<a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-ACCT-LCK-Pol.png"><img decoding="async" class="alignnone size-full wp-image-14481" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-ACCT-LCK-Pol.png" alt="" width="538" height="109" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-ACCT-LCK-Pol-200x41.png 200w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-ACCT-LCK-Pol-300x61.png 300w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-ACCT-LCK-Pol-400x81.png 400w, https://catastrophe.wiredwolf.com/wp-content/uploads/2018/02/LSC-ACCT-LCK-Pol.png 538w" sizes="(max-width: 538px) 100vw, 538px" /></a><br />
This is a solid way to prevent brute force attacks.&nbsp; With complicated passwords and getting locked out 30 minutes at a time it&#8217;s next to impossible to guess a password.</li>
</ol>
</li>
<li>Limit which accounts can log in using Remote Desktop:
<ol>
<li>Start -&gt; Programs -&gt; Administrative Tools -&gt; Local Security Policy -&gt; Local Policies -&gt; User Rights Assignment
<ol>
<li>Open Allow log on through Remote Desktop Services</li>
<li>Remove Administrators</li>
</ol>
</li>
<li>Add users to the Remote Desktop Services Security Group manually</li>
</ol>
</li>
</ol>
<p style="padding-left: 60px;"><em>If you find a user account is constantly locked due to attempts to brute-force the password, start logging the IP&#8217;s of the attackers and set up additional firewall rules to block future attempts from these sources.&nbsp; Unless it&#8217;s from bots on many systems specifically attacking your systems this should put an end to the attacks pretty quick.</em></p>
<p>This is the easy stuff and if you are using a Windows Domain then using Group Policies makes it easier to apply these settings to all workstations, or if that&#8217;s too intrusive then you can separate out only the PC&#8217;s and Users who require RDS (Remote Desktop Services) and apply to only those systems.</p>
<p>More complex considerations are:</p>
<ul>
<li><strong>Two Factor Authentication</strong></li>
<li><strong>Signed Certificates</strong> &#8211; Password Protected</li>
<li><strong>IP restrictions</strong> (limit which public IP&#8217;s can remotely connect)*</li>
</ul>
<p><strong>Two Factor Authentication</strong> just means that two authentication methods must be passed successfully to connect.&nbsp; In this case, the user connects to the PC, logs in successfully using the Windows credentials, but is blocked from getting a desktop until another password prompt is successfully passed.</p>
<p><strong>Two Factor Authentication</strong> is not built into connecting directly to Windows workstations and is a third party application that must be purchased or subscribed to.&nbsp; If security is important to you then the costs associated shouldn&#8217;t really stop you.&nbsp; I did some digging and found the costs to be generally quite reasonable. (I looked at <a href="http://duo.com" target="_blank" rel="noopener">Duo</a>)</p>
<p><strong>Signed Certificates</strong> (as opposed to Self-Signed Certificates) can be used but this is far more complicated to set up (and more costly).&nbsp; The idea is to limit RDP access to the host PCs by requiring a signed and authenticated certificate using pre-shared keys to be installed to the remote PCs.&nbsp; Basically, both ends of the connection must have the same certificate installed or the connection is dropped, even if Windows Authentication is successful.</p>
<p>On a workstation level this is probably not very practical.&nbsp; I&#8217;ve never tried it either so I&#8217;m not even sure it would work, but in theory it should.&nbsp; It&#8217;s a good idea but really only if you are also implementing <strong>RDP Gateway</strong> technologies to add additional security layers &#8211; in which case you have other options as well.&nbsp; Plus to do it properly you shouldn&#8217;t use the same certificate for each system but rather purchase individual certificates for individual systems &#8211; which is a substantial yearly cost even at $100 per workstation.</p>
<p><strong>IP Restrictions</strong> is probably one of the easiest ways to secure RDP connections but it can also be a bit inconvenient.&nbsp; Basically, your router firewall rules specify which IP&#8217;s are permitted to connect to which PC&#8217;s.&nbsp; Anyone probing your network looking for a way in will never even see an open port because the router will drop all traffic that doesn&#8217;t come from the specified IP&#8217;s.&nbsp; The downside is the remote user must always be using the same IP to connect from.&nbsp; The remote user can&#8217;t take his or her notebook to the local Starbucks to use the free WiFi to remotely connect.</p>
<p>I had a thought about this though.&nbsp; In the same way that you can use DDNS to make the host network easy to find for the end user, you may be able to use the same concept in reverse to allow users to connect from anywhere by using a DDNS client on each workstation.&nbsp; The connection is still restricted by IP but the IP can now be dynamic because it&#8217;s using the remote users DDNS client to get constant updates.&nbsp; As long as the router can resolve names to an IP (internal DNS) and allows you to specify a host name vs strictly IP&#8217;s, I can&#8217;t see why this wouldn&#8217;t work.&nbsp; I do this with VPN connections all the time in SonicWALL routers.</p>
<p>Getting back to the original reason for the post &#8211; the IT company mentioned above did none of these things.&nbsp; The ground-zero PC was hacked into, then used to plant malicious software that spread throughout the network.&nbsp; The hackers were able to get different types of remote connectivity to the other workstations and presumably the server to further compromise the security of the network.&nbsp; Even if the original door was closed (the conference computer), access was still assured by way of the other systems.&nbsp; Egg cracked wide open.</p>
<p>In addition to hardening the security of the RDP connection, it&#8217;s critical that systems are well protected by up-to-date antivirus software.&nbsp; One in particular AV suite I like is from Kaspersky.&nbsp; It&#8217;s protection is first class and it has features that renders it virtually bulletproof from tampering.&nbsp; Even if there is unauthorized access to the PC, the remote user can do nothing to defeat the antivirus.&nbsp; Somehow the hacker got in the door but got blocked at the elevator.</p>
<p>The final consideration is always the big picture.&nbsp; Let&#8217;s say the hacker does somehow get past all of this security and manages to get a desktop session.&nbsp; At this point, how secure is your network from malicious activity?&nbsp; The AV software on the PC may prevent the hacker from installing malicious software, but will that stop data theft?&nbsp; This is where, on business networks with Windows domain management, I tend to push to get user data away from the workstation. Using Group Policies I redirect user data to the file servers and I lock down all the shares to prevent &#8216;public&#8217; access.&nbsp; Even if a hacker finds himself on a desktop without a domain account, there&#8217;s virtually no corporate data he or she can access.&nbsp;</p>
<p>Anyway, the scope of this post is to harden RDP connectivity.&nbsp; I&#8217;ll talk about how to secure internal networks in separate posts.</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/security-hardening-rdp-connections/">Security &#8211; Hardening RDP connections</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VMware ESXi &#8211; Network Interfaces</title>
		<link>https://catastrophe.wiredwolf.com/vmware-esxi-network-interfaces/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 28 Aug 2017 23:06:16 +0000</pubDate>
				<category><![CDATA[Microsoft Server]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[TCP]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=13749</guid>

					<description><![CDATA[<p>One issue I have fought with repeatedly is the selection of Virtual Network Interfaces (NICs) and configuring them properly for best throughput. For some reason, the ESXi host always wants to assign the Intel E1000 virtual NIC.  Yet if you do any reading on this, you'll quickly find that actually using this driver is frowned  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-network-interfaces/">VMware ESXi &#8211; Network Interfaces</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One issue I have fought with repeatedly is the selection of Virtual Network Interfaces (NICs) and configuring them properly for best throughput.</p>
<p>For some reason, the ESXi host always wants to assign the Intel E1000 virtual NIC.&nbsp; Yet if you do any reading on this, you&#8217;ll quickly find that actually using this driver is frowned upon. Exactly why, I can&#8217;t remember.&nbsp; Just don&#8217;t use it.</p>
<p>Instead you are supposed to select the VMXNet 3 driver.&nbsp; This is a fully feature-packed driver and in my experience it does operate very well in Windows environments&#8230; but not without some tweaking.</p>
<p>The biggest issue seems to be related to some of the Offload features that are always on by default:</p>
<ul>
<li>IPv4 Checksum Offload &#8211; set to Disable</li>
<li>Large Send Offload V2 (IPv4) &#8211; set to Disable</li>
<li>Large Send Offload V2 (IPv6) &#8211; set to Disable</li>
<li>Receive Side Scaling &#8211; set to Disable</li>
<li>Recv Segment Coalescing (IPv4) &#8211; set to Disable</li>
<li>Recv Segment Coalescing (IPv6) &#8211; set to Disable</li>
<li>TCP Checksum Offload (IPv4) &#8211; set to Disable</li>
<li>TCP Checksum Offload (IPv6) &#8211; set to Disable</li>
<li>UPD Checksum Offload (IPv4) &#8211; set to Disable</li>
<li>UDP Checksum Offload (IPv4) &#8211; set to Disable</li>
</ul>
<p>The other item that can cause issues is the Receive Side Scaling.&nbsp; Based on what I read, Receive Side Scaling is for when you want to distribute your network connectivity CPU load across all CPU cores.&nbsp; In theory this should work great, but in practice I have found it doesn&#8217;t work very well.&nbsp; I always turn it off.</p>
<p>I have found not all features for the VMXNET3 adapter are present on older Windows Server installations.&nbsp; Server 2012 &#8211; 2016 have the Receive Side Scaling and Recv Segment Coalescing features where Server 2008 R2 doesn&#8217;t.</p>
<p>There are other Offload features that you shouldn&#8217;t touch or should ensure they are turned on:</p>
<ul>
<li>Offload IP Options</li>
<li>Offload Tagged traffic</li>
<li>Offload TCP Options</li>
</ul>
<p>Particularly with Active Directory, some of these features are actually required for the server to process correctly.</p>
<p>Hope this helps someone else out there who&#8217;s struggled constantly with ESXi network efficiency issues.&nbsp;</p>
<ul>
<li>edited Thursday June 14, 2018 (missing Recv Segment Coalescing and Receive Side Scaling) &#8211; encountered abysmal network connectivity on two separate host server VM&#8217;s because I missed this the first time around &#8211; cost me many hours of painful file copying until I resolved it (again)</li>
</ul>
<p>The post <a href="https://catastrophe.wiredwolf.com/vmware-esxi-network-interfaces/">VMware ESXi &#8211; Network Interfaces</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Slow Servers</title>
		<link>https://catastrophe.wiredwolf.com/slow-servers/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 30 Dec 2016 21:00:59 +0000</pubDate>
				<category><![CDATA[Microsoft Server]]></category>
		<category><![CDATA[Networking]]></category>
		<guid isPermaLink="false">http://catastrophe.wiredwolf.com/?p=12927</guid>

					<description><![CDATA[<p>Microsoft has done some strange things and even though I have many years in this business I continue to uncover oddities on a regular basis. The most recent was an issue with a client SBS 2011 server that was running horribly slow. This server has been an issue for the client for years.  A particular  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/slow-servers/">Slow Servers</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Microsoft has done some strange things and even though I have many years in this business I continue to uncover oddities on a regular basis.</p>
<p>The most recent was an issue with a client SBS 2011 server that was running horribly slow.</p>
<p>This server has been an issue for the client for years.&nbsp; A particular application that uses SQL seems to cause the most issues prompting a reboot of the server every week.&nbsp; The server runs anywhere from a day to a few days before bogging down so badly it needs to be rebooted again.</p>
<p>As usual I started looking through the performance monitor, checking for disk thrashing, high CPU usage, and memory pigs.&nbsp; This server is running MS Exchange and MS SQL, both of which are performance hogs, but I&#8217;ve already curtailed their resource access to prevent the server from completely tanking.</p>
<p>Anyway, I started digging into the networking and discovered something odd.&nbsp; The server has two Network Adapters (which is normal) and one of those network adapters is disabled (also normal).</p>
<p><a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_46_06-1.png"><img decoding="async" class="alignnone size-full wp-image-12928" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_46_06-1.png" alt="" width="530" height="157" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_46_06-1-200x59.png 200w, https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_46_06-1-300x89.png 300w, https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_46_06-1-400x118.png 400w, https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_46_06-1.png 530w" sizes="(max-width: 530px) 100vw, 530px" /></a></p>
<p>What wasn&#8217;t normal was what I found in the Advanced &#8211;&gt; Advanced Settings</p>
<p><a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_49_22-2.png"><img decoding="async" class="alignnone wp-image-12929" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_49_22-2.png" alt="" width="241" height="268" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_49_22-2-200x223.png 200w, https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_49_22-2-270x300.png 270w, https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_49_22-2.png 355w" sizes="(max-width: 241px) 100vw, 241px" /></a></p>
<p>Local Area Connection 2 was being given order preference despite the fact that the NIC was currently disabled.</p>
<p><a href="https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_53_17-3.png"><img decoding="async" class="alignnone wp-image-12930" src="https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_53_17-3.png" alt="" width="243" height="270" srcset="https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_53_17-3-200x222.png 200w, https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_53_17-3-270x300.png 270w, https://catastrophe.wiredwolf.com/wp-content/uploads/2016/12/2016-12-30-12_53_17-3.png 355w" sizes="(max-width: 243px) 100vw, 243px" /></a></p>
<p>In the Provider Order the Microsoft Remote Desktop Session Host Service was also being given higher preference.</p>
<p>What?? That&#8217;s BACKWARDS! In my office, that&#8217;s a pseudonym for &#8220;Microsoft&#8221;.</p>
<p>Trust me &#8211; changing the order of preference to Microsoft Windows Network and setting the active/dominant NIC to the top of the order makes a <em>huge difference</em> in the performance of the server.</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/slow-servers/">Slow Servers</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
