<?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>HiveNightmare Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/hivenightmare/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 23 Jul 2021 23:51:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to know if your PC is vulnerable to HiveNightmare</title>
		<link>https://www.osradar.com/how-to-know-if-your-pc-is-vulnerable-to-hivenightmare/</link>
					<comments>https://www.osradar.com/how-to-know-if-your-pc-is-vulnerable-to-hivenightmare/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 31 Jul 2021 21:49:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[HiveNightmare]]></category>
		<category><![CDATA[windows bug]]></category>
		<category><![CDATA[windows failure]]></category>
		<category><![CDATA[windows Security]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31370</guid>

					<description><![CDATA[<p>Hello! 2021 has certainly not been a good year for Windows 10 security. Indeed, we have already warned about security holes in the past. The worst thing is that these flaws are not usually resolved quickly. Sometimes you have to wait for a patch to be released. Particularly on Tuesdays. Precisely, we have recently alerted [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-know-if-your-pc-is-vulnerable-to-hivenightmare/">How to know if your PC is vulnerable to HiveNightmare</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! 2021 has certainly not been a good year for Windows 10 security. Indeed, we have already warned about security holes in the past. The worst thing is that these flaws are not usually resolved quickly. Sometimes you have to wait for a patch to be released. Particularly on Tuesdays. Precisely, we have recently alerted you to a new Windows security flaw. This hole has been baptized as <a href="https://www.osradar.com/a-serious-windows-bug-affects-account-security/" target="_blank" rel="noreferrer noopener">HiveNightmare</a>. But beyond that, today we will see how to check the security of your computer. Specifically, we will know how to know if your PC is vulnerable to HiveNightmare.</p>



<h2>What is HiveNightmare?</h2>



<p>This security flaw is present in all Windows versions from 1809 onwards. It is even present in Windows 11. Thanks to this flaw, any user can access critical system files. Even without administrator privileges. Some of these files are SAM, SYSTEM, and SECURITY. Therefore, accessing any user would have high levels of privileges on the system. So you could literally do anything. For example, execute random code in the PC memory. Or change Windows programs. Also, this bug is very similar to Sequoia. Which affects GNU/Linux systems.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="609" height="588" src="https://www.osradar.com/wp-content/uploads/2021/07/have.png" alt="" class="wp-image-31376" srcset="https://www.osradar.com/wp-content/uploads/2021/07/have.png 609w, https://www.osradar.com/wp-content/uploads/2021/07/have-300x290.png 300w" sizes="(max-width: 609px) 100vw, 609px" /></figure>



<p>At the moment, Microsoft has not released much information about it. However, researchers have released a handy tool. Which allows you to determine if your computer is affected by this vulnerability.</p>



<h2>How to know if your PC is vulnerable to HiveNightmare.</h2>



<p>This time we will use a simple script. It is available from <a href="https://github.com/JumpsecLabs/Guidance-Advice/blob/main/SAM_Permissions/readme.md" target="_blank" rel="noreferrer noopener">GitHub.</a> Consequently, we will be able to check the permissions of the SAM, SYSTEM, and SECURITY files. To do this we will run a couple of PowerShell commands. To do so, press the Win+X combination to open PowerShell with administrator privileges.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="271" height="610" src="https://www.osradar.com/wp-content/uploads/2021/07/have2.png" alt="Opening a PowerShell with administrator privileges" class="wp-image-31378" srcset="https://www.osradar.com/wp-content/uploads/2021/07/have2.png 271w, https://www.osradar.com/wp-content/uploads/2021/07/have2-133x300.png 133w" sizes="(max-width: 271px) 100vw, 271px" /><figcaption>Opening a PowerShell with administrator privileges</figcaption></figure>



<p>Then run the following command:</p>



<pre class="wp-block-preformatted">Invoke-WebRequest -URI https://raw.githubusercontent.com/JumpsecLabs/Guidance-Advice/main/SAM_Permissions/SAM_Permissions_Check.ps1 -OutFile ./SAM_Permissions_Check.ps1 -usebasicparsing</pre>



<p>This action will allow downloading from PowerShell the script SAM_Permissions_Check.ps1. The download is done from the GitHub servers and only takes a few seconds. Finally, just run the following:</p>



<pre class="wp-block-preformatted">.\SAM_Permissions_Check.ps1</pre>



<p>f you have permissions errors, try: </p>



<pre class="wp-block-preformatted">Unblock-File -path C:\path\to\SAM_Permissions_Check.ps1
powershell -exec bypass .\SAM_Permissions_Check.ps1</pre>



<p>The script will scan the computer for vulnerabilities. In fact, it will mark in red the affected files. On the other hand, it will show protected files in green.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="859" height="461" src="https://www.osradar.com/wp-content/uploads/2021/07/have3.png" alt="Checking if the computer is affected by HiveNightmare" class="wp-image-31380" srcset="https://www.osradar.com/wp-content/uploads/2021/07/have3.png 859w, https://www.osradar.com/wp-content/uploads/2021/07/have3-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/have3-768x412.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/have3-696x374.png 696w" sizes="(max-width: 859px) 100vw, 859px" /><figcaption>Checking if the computer is affected by HiveNightmare</figcaption></figure>



<p>You can also use the command prompt. With this in mind, run the following command from CMD:</p>



<pre class="wp-block-preformatted">icacls %windir%/system32/config/sam</pre>



<p>If a message like BUILTINUsers<strong>:(I)(RX)</strong> is displayed, then we are in danger. Otherwise, there is no problem.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2021/07/have4.png" alt="" class="wp-image-31381" srcset="https://www.osradar.com/wp-content/uploads/2021/07/have4.png 979w, https://www.osradar.com/wp-content/uploads/2021/07/have4-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/have4-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/have4-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<h2>Resolving vulnerability.</h2>



<p>Let&#8217;s show you what to do if your computer is at risk. You have to open a CMD with administrator privileges. Then, just run the following commands:</p>



<pre class="wp-block-preformatted">icacls %windir%\system32\config. /inheritance:e
vssadmin delete shadows /for=c: /Quiet
vssadmin list shadows</pre>



<p>The first command activates ACL inheritance. The second deletes shadow copies from the system. Finally, the third command checks that there are no shadow copies on the system. Ultimately we have seen how to find out if the computer is vulnerable to HiveNightmare. Ultimately we have seen how to find out if the PC is vulnerable to HiveNightmare. A better way to keep your computer safe from threats. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-know-if-your-pc-is-vulnerable-to-hivenightmare/">How to know if your PC is vulnerable to HiveNightmare</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-know-if-your-pc-is-vulnerable-to-hivenightmare/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
