TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Blocking Untrusted USB Devices

82 pointsby comzeraddalmost 6 years ago

7 comments

rkagereralmost 6 years ago
How immune is this solution to VID &#x2F; PID spoofing?<p>I&#x27;ve thought about this topic before and arrived at the idea that USB devices ought to be treated kind of like user accounts, where I can control what drivers &#x2F; data &#x2F; devices they have access to.
评论 #20745265 未加载
评论 #20755709 未加载
评论 #20758784 未加载
评论 #20756893 未加载
acdalmost 6 years ago
What a nice security improvement, many thanks for developing this! It should be default in all operating systems to only accept known USB devices and in the case of new USB devices prompt the user with a clear warning message.
评论 #20757375 未加载
评论 #20757190 未加载
oakslabalmost 6 years ago
From the manpage[1], you could also permanently allow a device by passing the &quot;-p&quot; option.<p><pre><code> usbguard allow-device -p &lt;id&gt; </code></pre> [1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;USBGuard&#x2F;usbguard&#x2F;blob&#x2F;master&#x2F;doc&#x2F;man&#x2F;usbguard.1.adoc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;USBGuard&#x2F;usbguard&#x2F;blob&#x2F;master&#x2F;doc&#x2F;man&#x2F;usb...</a>
评论 #20755241 未加载
raverbashingalmost 6 years ago
&gt; But that didn&#x27;t stop the Debian developers, who maintain that package, to allow USBGuard daemon to start with zero configuration<p>Ok so you might install it then lose HID access?<p>Sounds like a bad default config.
评论 #20762534 未加载
mindfulhackalmost 6 years ago
This sort of thing should be default in all operating systems, as a basic security feature. Sometimes, innovation comes from the Linux world...
评论 #20756482 未加载
评论 #20757431 未加载
cerberusssalmost 6 years ago
Pretty awesome. I wonder is there&#x27;s something open source like this for macOS?
评论 #20754340 未加载
评论 #20755202 未加载
voiper1almost 6 years ago
Does this keep you safe from USB killers?
评论 #20755245 未加载