Chrome OS takes steps to block ‘Rubber Ducky’ USB attacks

Google is making Chromebooks less susceptible to sabotage via USB port

The Acer Chromebook 14 for Work with the lid closed

Google has said it will allow users to disable the USB ports on their Chromebooks when the screen is locked, in an attempt to counteract the problem of hackers exploiting the tech to infect a machine with malware.

USB ports may have provided the world with a very easy standard of sharing data, but they have also given hackers an equally easy opening, provided they have physical access.

These so-called "Rubber Ducky" attacks involve inserting a malicious thumb drive into a USB port, which tricks the computer into believing it is a keyboard, which then runs malicious commands. A number of variants of this nasty trick have emerged over the years, including BadUSB, PoisonTap, USBdriveby and USBHarpoon.

There's one surprisingly simple fix that eliminates the problem in one fell swoop though: if a hacker has to have physical access, then it makes sense that the computer's owner can't be around at the time. With that in mind, simply disabling the USB ports when the computer is screen locked sidesteps the issue. In other words, when the computer is unattended, it simply won't read any USB devices connected until it's unlocked again.

Advertisement
Advertisement - Article continues below

This is the approach that Apple took with an update to iOS last year, and now it looks like it's coming to Chrome OS. As spotted by Chrome Story, an update to the operating system's Canary build gives users the option to disable USB ports when the screen is locked. Users can enable it by modifying the Chrome OS flag: chrome://flags/#enable-usbguard

Helpfully, the USB ports will only be disabled for new devices so if you've started a big file copy and left your Chromebook unattended, you won't come back to find that its given up halfway through.

USB Guard is currently in the Canary build of Chrome OS, but you would imagine it'll emerge in a stable build of the operating system in the very near future.

Featured Resources

The IT Pro guide to Windows 10 migration

Everything you need to know for a successful transition

Download now

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Software-defined storage for dummies

Control storage costs, eliminate storage bottlenecks and solve storage management challenges

Download now

6 best practices for escaping ransomware

A complete guide to tackling ransomware attacks

Download now
Advertisement

Recommended

Visit/security/354156/google-confirms-android-cameras-can-be-hijacked-to-spy-on-you
Security

Google confirms Android cameras can be hijacked to spy on you

20 Nov 2019

Most Popular

Visit/operating-systems/microsoft-windows/354297/this-exploit-could-give-users-free-windows-7-updates
Microsoft Windows

This exploit could give users free Windows 7 updates beyond 2020

9 Dec 2019
Visit/security/identity-and-access-management-iam/354289/44-million-microsoft-customers-found-using
identity and access management (IAM)

44 million Microsoft customers found using compromised passwords

6 Dec 2019
Visit/cloud/microsoft-azure/354230/microsoft-not-amazon-is-going-to-win-the-cloud-wars
Microsoft Azure

Microsoft, not Amazon, is going to win the cloud wars

30 Nov 2019
Visit/business/business-strategy/354304/ex-apple-cpu-architect-accuses-the-firm-of-invading-privacy
Business strategy

Ex-Apple CPU architect accuses the firm of invading privacy

10 Dec 2019