Chrome OS is a great option for a secure computer, and it seems Google is working on a new security feature. A recent commit has revealed “USBGuard,” a new security option in Chrome OS which protects users by locking down the USB ports when the machine isn’t in use.

First spotted by Chrome Story, USBGuard is a new option slowly making its way to fresh versions of Chrome OS. The functionality here is relatively simple. When the Chrome OS device, laptop or otherwise, is behind its lockscreen, the USB ports are inoperable until the machine is unlocked with the user’s password or PIN.

This does, however, only applies to devices that aren’t already plugged in. If a USB device such as a hard drive is already plugged in before the machine is locked, it won’t be disconnected or blocked. The latest Canary channel update to Chrome OS sees the flag already available with the description below.


Prevents newly connected USB devices from operating at the lock screen until Chrome OS is unlocked to protect against malicious USB devices. Already connected USB devices will continue to function. – Chrome OS

ZDNet explains that this new feature is designed to protect against attacks such as “Rubber Ducky” attacks. That sort of attack uses a malicious USB drive which, when plugged into a machine, mimics a keyboard and runs malicious commands. There are plenty of attacks like this out there, but by disabling the USB ports on the lockscreen, Google is protecting Chrome OS users from the majority of these attacks.

More on Chrome OS:

Check out 9to5Google on YouTube for more news:

FTC: We use income earning auto affiliate links. More.

Check out 9to5Google on YouTube for more news:

You’re reading 9to5Google — experts who break news about Google and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Google on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

About the Author

Ben Schoon

Ben is a writer and video producer for 9to5Google.

Find him on Twitter @NexusBen. Send tips to or encrypted to