<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Sam-Hive - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/sam-hive/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 03 Sep 2026 12:41:25 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/sam-hive/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>PowerShell SAM Registry Hive Exfiltration</title><link>https://feed.craftedsignal.io/briefs/2026-09-powershell-sam-access/</link><pubDate>Thu, 03 Sep 2026 12:41:25 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-powershell-sam-access/</guid><description>Adversaries utilize PowerShell to copy the Security Account Manager (SAM) registry hive from shadow copies for offline credential extraction.</description><content:encoded><![CDATA[<p>Adversaries frequently target the Windows Security Account Manager (SAM) registry hive to harvest local account password hashes. By leveraging Volume Shadow Copies (VSS), attackers bypass file system locks that typically prevent direct access to the SAM database while the operating system is running. PowerShell is commonly used to programmatically locate the path of the SAM file within a mounted shadow copy and execute copy operations to a staging directory. This technique is a critical component of credential access, as it enables offline cracking of NTLM hashes. Defenders should focus on detecting the combined usage of volume shadow copy paths and file-copying cmdlets or .NET file API calls within PowerShell processes, as these actions are rarely performed by legitimate administrative tasks.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker gains elevated (administrative or SYSTEM) privileges on the target Windows host.</li>
<li>Attacker interacts with the Volume Shadow Copy Service (VSS) via 'vssadmin' or WMI to create a snapshot of the C: drive.</li>
<li>Attacker identifies the path to the mounted snapshot, typically starting with 'HarddiskVolumeShadowCopy'.</li>
<li>Attacker launches a PowerShell process to target the SAM file at '\HarddiskVolumeShadowCopy[N]\Windows\System32\config\sam'.</li>
<li>Attacker executes copy commands ('Copy-Item', 'cp', or .NET 'System.IO.File::Copy') to extract the SAM hive to a staging folder (e.g., C:\Windows\Temp).</li>
<li>Attacker potentially repeats the process for the SYSTEM and SECURITY hives to facilitate credential decryption.</li>
<li>Attacker exfiltrates the hives or decrypts them locally to obtain cleartext credentials or NTLM hashes.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exfiltration of the SAM hive allows attackers to perform offline brute-force or dictionary attacks against local account password hashes. If a system contains accounts with cached credentials or local administrative accounts with weak passwords, this technique frequently leads to privilege escalation and horizontal movement across the domain environment.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Deploy the provided Sigma rule to detect suspicious PowerShell execution patterns involving shadow copy paths. Ensure Sysmon or native Windows Event ID 4688 (Process Creation) with Command Line logging is enabled. Monitor for 'vssadmin.exe' creation followed by PowerShell file access patterns targeting 'sam' or 'system' registry hives. Block or restrict the use of PowerShell for sensitive file system operations in high-security zones where such behavior is non-standard.</p>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>credential-access</category><category>powershell</category><category>windows</category><category>sam-hive</category></item></channel></rss>