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.

Threat Intelligence

2/14/2019
06:00 PM
50%
50%

From 'O.MG' to NSA, What Hardware Implants Mean for Security

A wireless device resembling an Apple USB-Lightning cable that can exploit any system via keyboard interface highlights risks associated with hardware Trojans and insecure supply chains.

During a month-long hiatus between jobs, Mike Grover challenged himself to advance a project he'd been working on for over a year: Creating a USB cable capable of compromising any computer into which it's inserted.

His latest iteration, the Offensive MG or O.MG cable, resembles an Apple-manufactured Mac USB-Lightning cable but incorporates a wireless access point into the USB connector, allowing remote access from at least 100-feet away, according to Grover. A video demonstration shows Grover taking control of a MacBook and opening up Web pages from his phone.

The cable takes advantage of a known weaknesses. To make keyboard, mice, and other input devices as easy to connect as possible, operating system makers have made computers accept the identification, through the Human Interface Device (HID) protocol, of any device plugged into a USB port. An attacker can use the weakness to create a device that acts like a keyboard to issue keystrokes, or a mouse to issue clicks.

"What the user sees, or doesn't see, depends a lot on their machine, how the cable is configured, and when the HID interface is initiated," Grover says. "A competent attacker can make this invisible to the victim."

The project is the latest demonstration of hardware Trojans — often called implants in the intelligence world — and the potential risk they pose to companies and their unwitting employees. In 2014, a team lead by Karsten Nohl created BadUSB, a set of USB peripherals that could abuse the HID protocol to compromise systems or pose as an external hard drive to control a computer's boot process.

Many of these attacks, including Grover's latest O.MG cable, aim to fool the user into inserting the compromised device into their own computers. 

"The weakest point of any company's security are the people, so any chance you have to interact with people is a good opportunity to breach their security," says John Cartrett, the red team technical lead at security services firm Trustwave.

Such a hands-off approach is one reason why Grover pursued creating such a close twin to Apple's cable, including creating his own miniature custom circuit boards. In the past, many malicious USB devices, such as Teensy and Rubber Ducky, were carried in by a red-team member to quickly infect systems or capture data by inserting the drive into the target computer. In 2013, a group of researchers from the Georgia Institute of Technology showed off a power charger for MacBooks that could compromise the systems.

Grover designed his cable to connect to a Wi-Fi hotspot and connect back through the Internet for instructions.

"The malicious cable can be both victim-deployed [and] attacker-controlled and updated while in possession of the victim," he says. "Lots, but not all, of malicious hardware tends to be intended for the attacker to deploy. [With this], the attacker does not have to risk gaining physical access to a secure location if the victim will carry it in for you."

Some security experts see the projects as a good teaching moment, but unlikely to be used very often in practice. While Cartrett admired Grover's work on the cables, he thinks it's unlikely his team would use it in their own engagements. 

"My guys go in with a small set of tools and they are initially tasked with getting a foothold," he says. "We usually don't use novelty cables like this or the chargers. We looked at some of them, but they are just too James Bond-ish." 

'Cottonmouth'-Inspired

There is a connection to intelligence work. The original idea for the wireless USB cable came from the documents leaked by Edward Snowden. Project "Cottonmouth" — as listed in the leaked Tailored Access Operations (TAO) catalog — is a USB hardware implant that provides a wireless bridge. 

Still, the decreasing costs of such custom hardware Trojans and implants, and public accessibility, could mean that they will proliferate. While Grover spent an estimated $4,000 to complete the cable, the actual cost in parts for each cable is about $30, he notes.

Companies can take steps to make sure they are harder targets of such hardware implants. Employee education can help foil some attacks, says Deral Heiland, IoT research lead at cybersecurity firm Rapid7. Workers, for example, should be taught to never insert any hardware into their computer not supplied by the company. In addition, whenever they step away from their system, they should lock it, he says.

"Lock your console, don't wait for the one minute, lock your console every time you walk away from your keyboard," Heiland advises. 

In addition, firms should pay more attention to their supply chains, making sure they are procuring hardware from reliable sources. Unfortunately, there are no sure-fire ways of detecting a hardware Trojan.  

"Supply chain security is hard," Heiland says. "If you are buying from a reliable trustworthy source, you are going to have to trust those devices."

Related Content:

 

 

Join Dark Reading LIVE for two cybersecurity summits at Interop 2019. Learn from the industry's most knowledgeable IT security experts. Check out the Interop agenda here.

Veteran technology journalist of more than 20 years. Former research engineer. Written for more than two dozen publications, including CNET News.com, Dark Reading, MIT's Technology Review, Popular Science, and Wired News. Five awards for journalism, including Best Deadline ... 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 10/13/2020
Where Are the 'Great Exits' in the Data Security Market?
Dave Cole, Cofounder and CEO, Open Raven,  10/13/2020
Overcoming the Challenge of Shorter Certificate Lifespans
Mike Cooper, Founder & CEO of Revocent,  10/15/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Special Report: Computing's New Normal
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
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-15256
PUBLISHED: 2020-10-19
A prototype pollution vulnerability has been found in `object-path` <= 0.11.4 affecting the `set()` method. The vulnerability is limited to the `includeInheritedProps` mode (if version >= 0.11.0 is used), which has to be explicitly enabled by creating a new instance of `object-path` and settin...
CVE-2020-15261
PUBLISHED: 2020-10-19
On Windows the Veyon Service before version 4.4.2 contains an unquoted service path vulnerability, allowing locally authenticated users with administrative privileges to run malicious executables with LocalSystem privileges. Since Veyon users (both students and teachers) usually don't have administr...
CVE-2020-6084
PUBLISHED: 2020-10-19
An exploitable denial of service vulnerability exists in the ENIP Request Path Logical Segment functionality of Allen-Bradley Flex IO 1794-AENT/B 4.003. A specially crafted network request can cause a loss of communications with the device resulting in denial-of-service. An attacker can send a malic...
CVE-2020-6085
PUBLISHED: 2020-10-19
An exploitable denial of service vulnerability exists in the ENIP Request Path Logical Segment functionality of Allen-Bradley Flex IO 1794-AENT/B 4.003. A specially crafted network request can cause a loss of communications with the device resulting in denial-of-service. An attacker can send a malic...
CVE-2020-10746
PUBLISHED: 2020-10-19
A flaw was found in Infinispan version 10, where it permits local access to controls via both REST and HotRod APIs. This flaw allows a user authenticated to the local machine to perform all operations on the caches, including the creation, update, deletion, and shutdown of the entire server.