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.

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

Digital document processes in 2020: A spotlight on Western Europe

The shift from best practice to business necessity

Download now

Four security considerations for cloud migration

The good, the bad, and the ugly of cloud computing

Download now

VR leads the way in manufacturing

How VR is digitally transforming our world

Download now

Deeper than digital

Top-performing modern enterprises show why more perfect software is fundamental to success

Download now

Recommended

Microsoft spearheads industry-wide charter against AI cyber attacks
Security

Microsoft spearheads industry-wide charter against AI cyber attacks

23 Oct 2020
Weekly threat roundup: Chrome, Citrix and WordPress
Security

Weekly threat roundup: Chrome, Citrix and WordPress

23 Oct 2020
IT services giant Sopra Steria falls victim to Ryuk ransomware
Security

IT services giant Sopra Steria falls victim to Ryuk ransomware

23 Oct 2020
CMS platforms succumb to KashmirBlack botnet as businesses rush online
Security

CMS platforms succumb to KashmirBlack botnet as businesses rush online

22 Oct 2020

Most Popular

The top 12 password-cracking techniques used by hackers
Security

The top 12 password-cracking techniques used by hackers

5 Oct 2020
IT services giant Sopra Steria falls victim to Ryuk ransomware
Security

IT services giant Sopra Steria falls victim to Ryuk ransomware

23 Oct 2020
How to wipe a laptop easily and securely
Security

How to wipe a laptop easily and securely

5 Oct 2020