<?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>Security Archives - Wiredwolf Canada</title>
	<atom:link href="https://catastrophe.wiredwolf.com/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>https://catastrophe.wiredwolf.com/category/security/</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.6</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>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>
	</channel>
</rss>
