Skip to main content


Do you protect your USB port?


...by physically removing a port (who would do that) or using the software?
in reply to j1racoon

The software locks out the auto discover and auto config of attached devices, unless they are in an allow list.

Same like some android phone models where you can turn off USB port to protect your phone from being infiltrated.

I did work at a place that filled the USB ports with HotGlue to stop workers loading movies on the computers on night shift

This entry was edited (3 weeks ago)
in reply to BCsven

to stop workers loading movies on the computers on night shift


Lol, did it work?

in reply to MonkderVierte

Yes because the keyboard and mouse were via the serial PS connectors, but the IT dudes could have just opened the case and unplugged the USB headers instead of permanently filling the slots with glue.
in reply to j1racoon

I have the port set to "Charge only when locked". I never use public charging stations.
in reply to Scott 🇨🇦🏴‍☠️

This is the best strategy.

However, if you ever knew youd NEED to use public charging, check out USB condom adapters. They open circuit the data pins.

in reply to Scott 🇨🇦🏴‍☠️

Sony, in their infinite wisdom, defaults full data without the ability to choose a default, you can only deny upon plugging it in and it will eventually revert back to full data anyway
in reply to j1racoon

Yes. It's inside my house where no one else can get to it.
in reply to j1racoon

You cant protect yourself from Microsoft that is the biggest threat
in reply to Chemical Wonka

I agree. Kind of would seem more useful to have such a UI on Linux.
in reply to ATS1312

True, USBGuard is using a mechanism that has been present on Linux since year 2007.

kernel.org/doc/Documentation/u…

This entry was edited (2 weeks ago)
in reply to j1racoon

Do you protect your USB port?


Sure, I've got my HPV vaccination.

in reply to Samsy

What would USB stand for in this? Under Sheets Buddy?
in reply to ell1e

When I plug a USB device in on KDE I get prompted to see if I want to mount it or not.
in reply to xvertigox

the usb device is auto detected and activated, it's just asking you to mount if it happens to be a storage device
in reply to xvertigox

I think to be fully safe, you would have to get prompted for any type of USB device including a mouse and keyboard. At least I think that's the idea of USBGuard.
This entry was edited (2 weeks ago)
in reply to ell1e

Linux has USBGuard and is likely in your distro's repos. It operates the same way with having rules on which usb devices to allow
in reply to ell1e

Be mindful that such a program would have to be safer than the situation without. A program on a public repository that isn't used by any distribution, isn't audited, hasn't a lot of comments (and thus eyes on its code) might be a disproportionate risk compared to the default settings of a popular open source distribution IMHO.
This entry was edited (2 weeks ago)
in reply to j1racoon

Shouldn’t you rather protect your usb ports from Windows?

(Kidding,… or am I?)

in reply to j1racoon

GrapheneOS allows you to disable it. I just charge mine wirelessly, though if the charger supports MagSafe, then you'll need to buy a MagSafe case for your Pixel, since built-in magnets are waaay too weak.
in reply to yannic

Yo, dawg! I heard you like Linux! So we removed all the windows from your car!
in reply to vaionko

What, if somebody else does while you're not looking?
in reply to Orphigle

I never leave my laptop unsupervised, I'm more concerned about it getting stolen than malicius USB devices. And if someone gets to my desktop while I'm not looking, I've got bigger problems.