Skip to main content

HiveNightmare is a nasty new Windows bug. Here’s how to protect yourself

A new bug called ‘HiveNightmare’ reportedly lets anyone with local or remote access to your PC take it over. This is a fairly new and serious flaw in the latest versions of Windows 10, as well as in Windows 11, which is still being tested in the Windows Insiders program.

Using malware, the hacker can gain complete access to your PC without needing an administrative password. The bug originates from an alleged change in the recent versions of Windows 10 and 11 that grants unauthorized users the privilege to access the Security Account Manager (SAM). The SAM is a database that contains both usernames and passwords for local accounts on the operating system.

Unauthorized users can access a backed-up version of the SAM in a shadow copy that Windows systems create. A shadow copy is a backup, hidden on the main drive, of a Windows system’s most important files. Your system creates a shadow copy each time it installs a system update or upgrade. So, malware that gets onto a PC via a dodgy-looking email, phishing software, or a malicious web link would be able to locate the SAM file in the shadow copy. Consequently, the user’s password hashes are easily accessible and a hacker will most probably be able to crack the hashes and take over the user’s PC.

Microsoft has already looked into the issue and has warned its users. The company provided a statement to Toms Guide, saying, “An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.”

Microsoft promises future “mitigations and workarounds” as its investigation progresses.

Along with promising workarounds, the company has suggested a few ways to keep your PC safe right now. These ways include restricting access to the file directory to the SAM, or deleting your shadow copy of Windows. However, the second way could be a pain if you ever need to restore Windows.

Other preemptive measures that you can take include avoiding spammy emails, installing a reliable antivirus, and restricting physical access to your PC by people you don’t trust.

Editors' Recommendations

Dua Rashid
Former Digital Trends Contributor
Dua is a media studies graduate student at The New School. She has been hooked on technology since she was a kid and used to…
Microsoft plans to charge for Windows 10 updates in the future
Windows 11 and Windows 10 operating system logos are displayed on laptop screens.

Microsoft has confirmed it will offer security updates for Windows 10 after the end-of-life date for the operating system for consumer users but for a fee.

The brand recently announced plans to charge regular users for Extended Security Updates (ESU) who intend to continue using Windows 10 beyond the October 14, 2025 support date.

Read more
A major Windows update just launched. Here’s what’s new
Person using Windows 11 laptop on their lap by the window.

Microsoft has just announced the latest update to Windows 11, which brings the operating system up to version 23H2. This is a cumulative update that comes with some of the most exciting features already announced in September, including Copilot, and brings some changes to Teams, among other things. Here's what's new and how to get it on your own PC.

When Microsoft first announced Copilot during its September event, many thought that it'd be available right away -- and it was, but not widely. Now, with the 23H2 update, Copilot should be downloaded and toggled on by default, alongside everything else that was announced during the Surface event. Some new things are on the way, too.

Read more
I love Macs. But here are 5 reasons I keep coming back to Windows
Windows 11 set up on a computer.

Thanks to the massive success of Apple Silicon, Macs have become increasingly tempting. Plenty of folks are heading back to the Mac for the first time in years, and in doing so, making the dramatic switch from Windows 11 to macOS.

When it comes to these operating systems, though, they're not equal across the board. And in the end, here are the five things that keep me coming back to Windows 11.
Device support

Read more