<?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>Best Practices Archives - Wiredwolf Canada</title>
	<atom:link href="https://catastrophe.wiredwolf.com/category/best-practices/feed/" rel="self" type="application/rss+xml" />
	<link>https://catastrophe.wiredwolf.com/category/best-practices/</link>
	<description></description>
	<lastBuildDate>Fri, 18 Oct 2024 23:45:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Windows Security &#8211; LAPS</title>
		<link>https://catastrophe.wiredwolf.com/windows-security-laps/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 22 Nov 2022 03:03:29 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Microsoft Server]]></category>
		<category><![CDATA[Microsoft Workstation]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://catastrophe.wiredwolf.com/?p=22027</guid>

					<description><![CDATA[<p>It's actually been around for a while now - LAPS or Local Administrator Password Solution - but honestly, it's not something I've ever encountered in all the networks I've ever managed.  I was introduced to LAPS when I ran Ping Castle against my own environment, as a strongly recommended solution to implement. The concept is  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/windows-security-laps/">Windows Security &#8211; LAPS</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It&#8217;s actually been around for a while now &#8211; LAPS or Local Administrator Password Solution &#8211; but honestly, it&#8217;s not something I&#8217;ve ever encountered in all the networks I&#8217;ve ever managed.&nbsp; I was introduced to LAPS when I ran Ping Castle against my own environment, as a strongly recommended solution to implement.</p>
<p>The concept is pretty simple &#8211; LAPS sets a Local Administrator password policy against all the computers (except domain controllers) in a domain environment.&nbsp; A typical policy:</p>
<ul>
<li>Password is reset every X number of days</li>
<li>Password meets complexity requirements</li>
<li>Password meets length requirements</li>
</ul>
<p>In my own environment I set a policy of 90 days and 24 completely randomized characters.</p>
<p>I found lots of resource online for getting started:</p>
<ul>
<li><a href="https://4sysops.com/archives/how-to-install-and-configure-microsoft-laps/">How to install and configure Microsoft LAPS – 4sysops</a></li>
<li><a href="https://techcommunity.microsoft.com/t5/itops-talk-blog/step-by-step-guide-how-to-configure-microsoft-local/ba-p/2806185">How to Configure Microsoft Local Administrator Password Solution (LAPS)</a></li>
</ul>
<p>Both sites are great at detailing out the process.</p>
<p>The drawbacks I encountered:</p>
<ol>
<li>If deploying the MSI package via GPO you do have to reboot the system for the install to happen</li>
<li>It doesn&#8217;t work for Domain-Joined systems in Azure unless you&#8217;ve planned for this in advance</li>
</ol>
<p>When you deploy an Azure Windows VM, the &#8216;administrator&#8217; account is reserved by Azure, so you&#8217;re prompted to create your own.&nbsp; Out of the box configurations for LAPS utilizes the Administrator account, so unless you plan ahead and have a policy that resets the default Administrator to a different username, and incorporated the same username into your LAPS policy, your Azure Windows VMs will accept the policy but never return a password.</p>
<p>Truthfully I did cheat this last bit by just adding the Administrator username to the Azure VM and giving it a random password.&nbsp; LAPS then did grab that account and reset the password according to policy.&nbsp; This isn&#8217;t the right way to do it though, so I don&#8217;t recommend it.&nbsp; Best practice would be to set your own Local Administrator username and implement across your domain, and incorporate into your LAPS policy.</p>
<p>Oct 18, 2024 &#8211; update</p>
<p>I keep hitting my head against needing to validate LAPS passwords.&nbsp; Sometimes I don&#8217;t want the password, I want to know how many or which systems have a LAPS password:</p>
<blockquote><p>Get-ADComputer -LDAPFilter &#8220;(ms-mcs-AdmPwd=*)&#8221; | select-object name</p>
<p>(Get-ADComputer -LDAPFilter &#8220;(ms-mcs-AdmPwd=*)&#8221;).count</p></blockquote>
<p>Inversely to find out how many or which systems do not have a LAPS password:</p>
<blockquote><p>Get-ADComputer -LDAPFilter &#8220;(!(ms-mcs-AdmPwd=*))&#8221; | select-object name</p>
<p>(Get-ADComputer -LDAPFilter &#8220;(!(ms-mcs-AdmPwd=*))&#8221;).count</p></blockquote>
<p>The post <a href="https://catastrophe.wiredwolf.com/windows-security-laps/">Windows Security &#8211; LAPS</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Active Directory Backups</title>
		<link>https://catastrophe.wiredwolf.com/active-directory-backups/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 11 Nov 2022 16:59:09 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Microsoft Server]]></category>
		<guid isPermaLink="false">https://catastrophe.wiredwolf.com/?p=21999</guid>

					<description><![CDATA[<p>Recently I was tasked with doing an AD audit in which I ran a utility called Ping Castle which indicated that Active Directory NTDS should be backed up frequently. This would be so you can roll back AD to a consistent state should you need to recover deleted items or deleted attributes.  Typically administrators would  [...]</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/active-directory-backups/">Active Directory Backups</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently I was tasked with doing an <a href="https://catastrophe.wiredwolf.com/active-directory-auditing/" target="_blank" rel="noopener">AD audit</a> in which I ran a utility called <a href="https://www.pingcastle.com/" target="_blank" rel="noopener">Ping Castle</a> which indicated that Active Directory NTDS should be backed up frequently. This would be so you can roll back AD to a consistent state should you need to recover deleted items or deleted attributes.&nbsp; Typically administrators would restore the entire server to a point in time, but with AD this can cause differences in AD between servers to become a problem.&nbsp; Having a backup of AD on all servers at the same time would be helpful in restoring AD back to a consistent state.</p>
<p>The process is actually very simple using ntdsutil.</p>
<p>Open an elevated CMD (as Administrator</p>
<p>ntdsutil</p>
<p>activate instance ntds</p>
<p>snapshot</p>
<p>create</p>
<p>That&#8217;s it &#8211; the manual process.</p>
<p>To autotmate this process Petri has a good article on the process:&nbsp; <a href="https://petri.com/automating-creation-active-directory-snapshots/" target="_blank" rel="noopener">https://petri.com/automating-creation-active-directory-snapshots/</a></p>
<p>Basically create a batch file in your scripts folder called ad-snapshot.bat</p>
<blockquote><p>@echo off</p>
<p>ntdsutil snapshot &#8220;activate instance ntds&#8221; create quit quit</p>
<p>exit</p></blockquote>
<p>Use the Task Scheduler to create a job to fire this job once a week.&nbsp;</p>
<p>The post <a href="https://catastrophe.wiredwolf.com/active-directory-backups/">Active Directory Backups</a> appeared first on <a href="https://catastrophe.wiredwolf.com">Wiredwolf Canada</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
