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.

Perimeter

9/8/2010
07:29 AM
Gadi Evron
Gadi Evron
Commentary
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Ownage By USB Keyboard

When was the last time Windows asked you for permission before adding your new hardware -- say, a mouse?

When was the last time Windows asked you for permission before adding your new hardware -- say, a mouse?The first online discussion on compromising a computer using USB that I remember was on the pen-test mailing list a few years ago. Back then, what dominated the discussion was the Autorun method and how it could be used on USB rather than just with CDs.

A few of us (OK, me) also discussed vulnerabilities in drivers and how they could be abused for this same purpose, but most folks were stuck on Autorun and refused to understand what this thread might mean. A few years later, folks were discussing the risk of driver vulnerabilities, which, had a proper risk analysis been performed or history looked at, would have surprised no one.

But there's another USB risk that's beautiful in its simplicity.

A couple of years ago a friend of mine, Elad Raz, spoke of how anyone can develop for USB; simply creating a fake keyboard, which would then be plugged into and compromise the computer (say, by browsing to a malicious site as one example) is very doable and even easy to do.

Another interesting option for compromising a computer using a keyboard is with Notepad. The fake keyboard would open Notepad, type in the new executable code, and run it.

Ah! How is it possible to type Shellcode? Doesn't it require the use of unprintable characters?

Some years back we have seen a perfect example of Shellcode with printables only in Phrack 57, posted by Rix (more info on Wikipedia). Surely such code can be updated, if it hasn't already been updated in private by someone.

I remembered all of this because of another friend sending me the following:

Yawning, you start your work day by opening up Microsoft Word. As you start typing, you notice that your computer is, well, possessed: the CAPS LOCK key switches on and off, random keystrokes get entered into Word, and your cursor moves around erratically and uncontrollably.

Surely, if such a tool can be sold as a game for bored office workers, then a capable attacker can create a similar tool for malicious purposes, without needing to find a vulnerability at ring0 level, compromising the driver.

The difference between a few years ago when my friend and I talked and today is that back then, a development kit would cost a lot of money. Today, if you can shell out $25, you're set.

Follow Gadi Evron on Twitter: http://twitter.com/gadievron.

Gadi Evron is an independent security strategist based in Israel. Special to Dark Reading. Gadi is CEO and founder of Cymmetria, a cyber deception startup and chairman of the Israeli CERT. Previously, he was vice president of cybersecurity strategy for Kaspersky Lab and led PwC's Cyber Security Center of Excellence, located in Israel. He is widely recognized for ... View Full Bio

 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/3/2020
'BootHole' Vulnerability Exposes Secure Boot Devices to Attack
Kelly Sheridan, Staff Editor, Dark Reading,  7/29/2020
Average Cost of a Data Breach: $3.86 Million
Jai Vijayan, Contributing Writer,  7/29/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2017-18112
PUBLISHED: 2020-08-05
Affected versions of Atlassian Fisheye allow remote attackers to view the HTTP password of a repository via an Information Disclosure vulnerability in the logging feature. The affected versions are before version 4.8.3.
CVE-2020-15109
PUBLISHED: 2020-08-04
In solidus before versions 2.8.6, 2.9.6, and 2.10.2, there is an bility to change order address without triggering address validations. This vulnerability allows a malicious customer to craft request data with parameters that allow changing the address of the current order without changing the shipm...
CVE-2020-16847
PUBLISHED: 2020-08-04
Extreme Analytics in Extreme Management Center before 8.5.0.169 allows unauthenticated reflected XSS via a parameter in a GET request, aka CFD-4887.
CVE-2020-15135
PUBLISHED: 2020-08-04
save-server (npm package) before version 1.05 is affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version version 1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version. This is patched by implementing Double submit. The CSRF...
CVE-2020-13522
PUBLISHED: 2020-08-04
An exploitable arbitrary file delete vulnerability exists in SoftPerfect RAM Disk 4.1 spvve.sys driver. A specially crafted I/O request packet (IRP) can allow an unprivileged user to delete any file on the filesystem. An attacker can send a malicious IRP to trigger this vulnerability.