October 31, 2017 By Larry Loeb 2 min read

An attack known as Pass the Hash has been targeting Windows machines since the days of Windows 3.11, but Colombian security researcher Juan Diego recently discovered that a threat actor could easily obtain NT LAN Manager (NTLM) password hashes without any user intervention.

How the Attack Works

The attack itself is rather simple: A Shell Command File (SCF) is placed in a public folder with no password protection. These are plaintext files that instruct Windows File Explorer to execute basic tasks.

For some reason, the SCF file is executed as soon as it is placed in the folder. It then sucks up the NTLM password hash and sends it to the attacker’s server. At that point, the threat actor can decrypt the hash and the password to gain access to the victim’s machine.

“This [attack] is automatic. The underlying issue triggering this is still unknown to me. [Microsoft] has been very secretive about that,” Diego told Bleeping Computer.

This is a departure from previous exploits, which began only after the victim had accessed the poisoned folder. One recent attack combined a Chrome extension with SCF files to gain a user’s credentials.

Protecting NTLM Passwords

The Pass the Hash attack arose from the automatic sharing of NTLM hashes with servers that are located outside of the original network. This is a long-standing architectural flaw in Windows that Microsoft has been reluctant to discuss or fix.

The technology giant did issue an optional patch (ADV170014) that disables the scheme by changing two registry keys and prevents fraudsters from duping users into authenticating on servers outside their local network. However, the fix only works on Windows 10 and Windows Server 2016, and Microsoft has not announced any plans to extend the patch to previous versions.

A simpler solution is to use password-protected public folders. The benefit of avoiding this type of attack far outweighs the slight inconvenience of having to enter a password to gain access.

More from

New proposed federal data privacy law suggests big changes

3 min read - After years of work and unsuccessful attempts at legislation, a draft of a federal data privacy law was recently released. The United States House Committee on Energy and Commerce released the American Privacy Rights Act on April 7, 2024. Several issues stood in the way of passing legislation in the past, such as whether states could issue tougher rules and if individuals could sue companies for privacy violations. With the American Privacy Rights Act of 2024, the U.S. government established…

AI cybersecurity solutions detect ransomware in under 60 seconds

2 min read - Worried about ransomware? If so, it’s not surprising. According to the World Economic Forum, for large cyber losses (€1 million+), the number of cases in which data is exfiltrated is increasing, doubling from 40% in 2019 to almost 80% in 2022. And more recent activity is tracking even higher.Meanwhile, other dangers are appearing on the horizon. For example, the 2024 IBM X-Force Threat Intelligence Index states that threat group investment is increasingly focused on generative AI attack tools.Criminals have been…

The major hardware flaw in Apple M-series chips

3 min read - The “need for speed” is having a negative impact on many Mac users right now. The Apple M-series chips, which are designed to deliver more consistent and faster performance than the Intel processors used in the past, have a vulnerability that can expose cryptographic keys, leading an attacker to reveal encrypted data. This critical security flaw, known as GoFetch, exploits a vulnerability found in the M-chips data memory-dependent prefetcher (DMP). DMP’s benefits and vulnerabilities DMP predicts memory addresses that the…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today