Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Endpoint Security //

Windows

8/13/2018
09:35 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Microsoft Cortana Vulnerability Can Unlock a Locked Windows PC

At Black Hat, researchers showed how a vulnerability in Cortana can unlock a locked Windows PC. Microsoft has patched the flaw, but questions remain.

During last week's Black Hat conference in Las Vegas, researchers showed how Microsoft's Cortana virtual assistant could be used to bypass the Windows lock screen. The vulnerability affects Windows 10 machines and Windows 10 Servers.

Amichai Shulman and Tal Be'ery from Kzen Networks, along with Ron Marcovich and Yuval Ron from the Israel Institute of Technology, showed how Cortana's default settings could wreak havoc when abused. The researchers noted that Microsoft has patched this particular problem (CVE-2018-8140) in June, but added there will be other vulnerabilities emerging due to the underlying problem.

Exploiting the vulnerability does not involve any external coder unusual system calls. Code focused defenses such as antivirus, anti-malware and IPS will be blind to such an effort.

(Source: Microsoft)
(Source: Microsoft)

The researchers believe that adding functionality to a locked screen is the root of the situation, and it is dangerous. They conceptualize the lock screen as another desktop with a limited access. That limiting is what reduces the attack surface. Adding additional apps or functionality will only grow that attack surface.

In this case, the lock screen limits the keyboard but allows Cortana to invoke via voice. Once Cortana is active, the lock screen no longer limits the keyboard and Cortana can accept its input.

The researchers found they could then launch local commands without the need for further authentication or user validation. They wrote that they were able to "take over a locked Windows machine and execute arbitrary code. Exploiting the 'Open Sesame' [their moniker for it—ed.]vulnerability attackers can view the contents of sensitive files (text and media), browse arbitrary web sites, download and execute arbitrary executables from the Internet, and under some circumstances gain elevated privileges."

This is a major responsibility shift showing up. The OS used to guarantee the UI was not accessible when the computer was locked. Now, developers need to be aware of the computer's state and not assume a lock will hold.

Mitigating this form of attack is problematic, according to the research report. One method is voice identification. Specifically, that means having Cortana respond to only one speaker. That might stop "evil maid" scenarios -- where someone else tries to access an unattended locked machine -- but will fall to a recorded voice sample of the authorized users saying the opening phrase.


Zero in on the most attractive 5G NR deployment strategies, and take a look ahead to later technology developments and service innovations. Join us for the Deployment Strategies for 5G NR breakfast workshop in LA at MWCA on September 12. Register now to learn from and network with industry experts – communications service providers get in free!

A network-based intercepting proxy, however, has more appeal. It would require that a TLS/SSL certificate be installed on monitored devices. Some organizations already have them installed for web gateway monitoring. Such a tool would monitor all Cortana requests and responses, and could block or modify them.

Until that tool is here, however, the researchers suggest totally disabling Cortana voice in corporate environments. If that is not possible, disabling it on locked screens may help.

This vulnerability shows how an interface change can affect an entire system. More than just secure coding, secure system engineering is required.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Oldest First  |  Newest First  |  Threaded View
Commentary
How SolarWinds Busted Up Our Assumptions About Code Signing
Dr. Jethro Beekman, Technical Director,  3/3/2021
News
'ObliqueRAT' Now Hides Behind Images on Compromised Websites
Jai Vijayan, Contributing Writer,  3/2/2021
News
Attackers Turn Struggling Software Projects Into Trojan Horses
Robert Lemos, Contributing Writer,  2/26/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: George has not accepted that the technology age has come to an end.
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-26814
PUBLISHED: 2021-03-06
Wazuh API in Wazuh from 4.0.0 to 4.0.3 allows authenticated users to execute arbitrary code with administrative privileges via /manager/files URI. An authenticated user to the service may exploit incomplete input validation on the /manager/files API to inject arbitrary code within the API service sc...
CVE-2021-27581
PUBLISHED: 2021-03-05
The Blog module in Kentico CMS 5.5 R2 build 5.5.3996 allows SQL injection via the tagname parameter.
CVE-2021-28042
PUBLISHED: 2021-03-05
Deutsche Post Mailoptimizer 4.3 before 2020-11-09 allows Directory Traversal via a crafted ZIP archive to the Upload feature or the MO Connect component. This can lead to remote code execution.
CVE-2021-28041
PUBLISHED: 2021-03-05
ssh-agent in OpenSSH before 8.5 has a double free that may be relevant in a few less-common scenarios, such as unconstrained agent-socket access on a legacy operating system, or the forwarding of an agent to an attacker-controlled host.
CVE-2021-3377
PUBLISHED: 2021-03-05
The npm package ansi_up converts ANSI escape codes into HTML. In ansi_up v4, ANSI escape codes can be used to create HTML hyperlinks. Due to insufficient URL sanitization, this feature is affected by a cross-site scripting (XSS) vulnerability. This issue is fixed in v5.0.0.