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

CISA hit by hackers, key systems taken offline

3 min read - The Cybersecurity and Infrastructure Security Agency (CISA) — responsible for cybersecurity and infrastructure protection across all levels of the United States government — has been hacked.“About a month ago, CISA identified activity indicating the exploitation of vulnerabilities in Ivanti products the agency uses,” a CISA spokesperson announced.In late February, CISA had already issued a warning that cyber threat actors are exploiting previously identified vulnerabilities in Ivanti Connect Secure and Ivanti Policy Secure gateways. Ivanti Connect Secure is a widely deployed…

Cloud security evolution: Years of progress and challenges

7 min read - Over a decade since its advent, cloud computing continues to enable organizational agility through scalability, efficiency and resilience. As clients shift from early experiments to strategic workloads, persistent security gaps demand urgent attention even as providers expand infrastructure safeguards.The prevalence of cloud-native services has grown exponentially over the past decade, with cloud providers consistently introducing a multitude of new services at an impressive pace. Now, the contemporary cloud environment is not only larger but also more diverse. Unfortunately, that size…

PixPirate: The Brazilian financial malware you can’t see

10 min read - Malicious software always aims to stay hidden, making itself invisible so the victims can’t detect it. The constantly mutating PixPirate malware has taken that strategy to a new extreme. PixPirate is a sophisticated financial remote access trojan (RAT) malware that heavily utilizes anti-research techniques. This malware’s infection vector is based on two malicious apps: a downloader and a droppee. Operating together, these two apps communicate with each other to execute the fraud. So far, IBM Trusteer researchers have observed this…

Topic updates

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