Vulnerabilities / Threats
5/6/2014
01:15 PM
Connect Directly
RSS
E-Mail
50%
50%

Sneaky Windows Folder Poisoning Attack Steals Access Rights

Windows challenge-response authentication protocol could be abused by PC hackers to easily access wider corporate networks.

 

10 Ways To Fight Digital Theft & Fraud
10 Ways To Fight Digital Theft & Fraud
(Click image for larger view and slideshow.)

Beware of an attack that uses modified shortcut icons to trick Windows machines into sharing their network-access rights with a hacked PC.

That warning was sounded Tuesday by researchers at data center security vendor Imperva, who said they've discovered a way to poison Windows folders and gain the access rights of anyone who browses to that folder. The hack involves exploiting a relaying feature in Microsoft NT LAN Manager (NTLM), which is a widely used Windows challenge-response authentication protocol.

"Poisoning is a big word for saying I'm creating a file in that folder that has an icon pointing back to my computer; that's GUI stuff," said Amichai Shulman, CTO of Imperva, in an interview at last week's Infosecurity Europe conference.

Anyone who can be tricked into clicking on a folder containing such a shortcut icon will launch an NTLM relay, which passes their authentication credentials via the compromised PC to Active Directory and then gives the compromised PC the same access rights. Furthermore, it's easy for would-be relay attackers to disguise any related malicious shortcuts simply by right-clicking on a shortcut file and changing its icon.

[More than 250 data breaches occurred in Q1 2014, report says. Read Report: Nearly 200 Million Records Compromised In Q1.]

Riffing on the advanced persistent threat (APT) concept, Shulman called this type of attack a "non-advanced persistent threat" since it requires only basic skills but still allows an attacker who's able to hack into a corporate PC -- for example, via a malware infection -- to gain access to further network-connected systems. "Most of the setup is manual, using the GUI, and you probably need to download one tool from the Internet," he added.

Shulman said similar types of attacks can be launched beyond Windows. Other potential targets include Jive, SharePoint, or other collaboration software, especially if it includes the ability to publish small blurbs of information via feeds, together with small images, as these images can used by attackers to point to remote machines and launch NTLM relay attacks.

According to a related research report published Tuesday by Imperva, the flaws that enable this attack to be launched are present in both version 1 and version 2 of NTLM.

While declining to detail exactly how the flaws could be exploited -- and noting that Imperva has no indication that these attacks have been used in the wild -- Shulman said would-be attackers could quickly work out the specifics, if they hadn't already done so. "I think there's enough detail to reconstruct the attack. It's hard not to... it's not like I have to describe some esoteric buffer overflow vulnerability. It's just something you can achieve using a shell command line and GUI in Windows."

The attack detailed by Imperva isn't the first NTLM-related vulnerability to be discovered. Indeed, in recent years, information security professionals have urged businesses to ditch the authentication protocol. "NTLM is to be avoided... especially in high-security environments," said Senne Van Laer, a consultant at ITS Group Benelux, in a 2011 post to the official Microsoft NTLM page inside the Windows Dev Center community.

That's because prior to the attack outlined by Imperva, researchers discovered multiple weaknesses in NTLM that allow attackers who can eavesdrop on an NTLM challenge and response to calculate the hash that's used for authentication. Attackers can then use this hash to authenticate to network resources.

The solution to these NTLM weaknesses is ostensibly simple: Disable NTLM. "However, disabling NTLM can be quite a challenge as authentication with third-party tools, applications or appliances often relies on it, and the fact that Kerberos requires the hostname to be able to authenticate," Van Laer wrote in his post. "A lot of issues can be expected for applications that connect using IP only." Accordingly, he recommends that any organization that still employs NTLM implement strong and long passwords involving more than 10 characters, at least for administrative accounts, to make them less susceptible to rainbow table attacks.

Imperva's Shulman said that NTLM-using businesses can also create baselines of file-access behavior -- users, which files they typically access, and when -- and watch for deviations, which may be signs of high-level abuse patterns.

Cyber criminals wielding APTs have plenty of innovative techniques to evade network and endpoint defenses. It's scary stuff, and ignorance is definitely not bliss. How to fight back? Think security that's distributed, stratified, and adaptive. Read our Advanced Attacks Demand New Defenses report today. (Free registration required.)

Mathew Schwartz is a freelance writer, editor, and photographer, as well the InformationWeek information security reporter. View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
securityaffairs
50%
50%
securityaffairs,
User Rank: Ninja
5/9/2014 | 3:47:06 AM
Insidious
The attack scenarios that exploit the NTLM are well known, they are very insidious and poses serious risks, especially for enterprises, that's why it is suggested to avoid its use in high sensitive industry. 

I find very dangerous possible exploitation of the highlighted flaw by insiders, especially if they use a specifically designed malicious code that exploit the flaw to gather credentials to the overall resources within a network.

 
Register for Dark Reading Newsletters
Partner Perspectives
What's This?
In a digital world inundated with advanced security threats, Intel Security seeks to transform how we live and work to keep our information secure. Through hardware and software development, Intel Security delivers robust solutions that integrate security into every layer of every digital device. In combining the security expertise of McAfee with the innovation, performance, and trust of Intel, this vision becomes a reality.

As we rely on technology to enhance our everyday and business life, we must too consider the security of the intellectual property and confidential data that is housed on these devices. As we increase the number of devices we use, we increase the number of gateways and opportunity for security threats. Intel Security takes the “security connected” approach to ensure that every device is secure, and that all security solutions are seamlessly integrated.
Featured Writers
White Papers
Cartoon
Current Issue
Dark Reading's October Tech Digest
Fast data analysis can stymie attacks and strengthen enterprise security. Does your team have the data smarts?
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-0619
Published: 2014-10-23
Untrusted search path vulnerability in Hamster Free ZIP Archiver 2.0.1.7 allows local users to execute arbitrary code and conduct DLL hijacking attacks via a Trojan horse dwmapi.dll that is located in the current working directory.

CVE-2014-2230
Published: 2014-10-23
Open redirect vulnerability in the header function in adclick.php in OpenX 2.8.10 and earlier allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the (1) dest parameter to adclick.php or (2) _maxdest parameter to ck.php.

CVE-2014-7281
Published: 2014-10-23
Cross-site request forgery (CSRF) vulnerability in Shenzhen Tenda Technology Tenda A32 Router with firmware 5.07.53_CN allows remote attackers to hijack the authentication of administrators for requests that reboot the device via a request to goform/SysToolReboot.

CVE-2014-7292
Published: 2014-10-23
Open redirect vulnerability in the Click-Through feature in Newtelligence dasBlog 2.1 (2.1.8102.813), 2.2 (2.2.8279.16125), and 2.3 (2.3.9074.18820) allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the url parameter to ct.ashx.

CVE-2014-8071
Published: 2014-10-23
Multiple cross-site scripting (XSS) vulnerabilities in OpenMRS 2.1 Standalone Edition allow remote attackers to inject arbitrary web script or HTML via the (1) givenName, (2) familyName, (3) address1, or (4) address2 parameter to registrationapp/registerPatient.page; the (5) comment parameter to all...

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Follow Dark Reading editors into the field as they talk with noted experts from the security world.