驱动程序级别的 USB 磁盘加密

发布于 2024-12-26 01:38:07 字数 598 浏览 2 评论 0原文

我正在尝试为特定 PC 上的所有 USB 存储设备(闪存盘)实现一个简单的加密文件系统。这是一个安全问题,它可以确保其他 PC 格式化的闪存盘不能在这台 PC 上使用,反之亦然。 PC的操作系统是Windows XP、7或Linux。

现在我的问题是:最好的方法是什么?实施这样的系统的最佳点在哪里?

我已阅读 MSDN 中的 IFS 文档,看来 miniFilters 可能是最好的方法。我可以实现一个连接到所有 USB 设备并加密写入操作和解密读取操作的 miniFilter。但我认为 miniFilters 无法更改文件系统表。这意味着所有文件和文件夹都可以由未经授权的电脑读取,并且只有文件内容会被加密。 另一种选择是自定义文件系统,但它似乎更难以实现。

1)有没有办法在文件系统数据输出和USB总线之间插入一个软件处理层?通过这种方式,我可以保护完整的磁盘数据,无论它使用什么文件系统。

2)有什么方法可以在miniFilter级别操作文件系统表并使其对普通系统不可读?

3)Linux 的最佳解决方案是什么?

I am trying to implement a simple encrypted file system for all usb storage devices (flash disks) on a specific PC. This is a matter of security and it would assure that flash disks formatted by other PCs cannot be used in this PC and vice versa. The OS of PCs are either Windows XP, 7 or Linux.

Now my question: what is the best approach for this? Where is the best point for implementing such system?

I have read the IFS documents in MSDN and it seems that miniFilters may be the best way to go. I can implement a miniFilter that attaches to all USB devices and encrypts write operations and decrypts the read operations. But I think that miniFilters cannot change the file-system tables. This means that all files and folders can be read by unathurized PCs and only the file contents will be encrypted.
An alternative would be a custom file-system but it seems much more difficult to implements.

1) Is there any way to insert a software processing layer between file-system data output and USB bus? In this way I can protect the complete disk data, no matter what file-system it uses.

2) Is there any way to manipulate the file-system tables in miniFilter level and make it unreadable for normal systems?

3) What is the best solution for linux?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

貪欢 2025-01-02 01:38:07

驱动程序级别的 USB 磁盘加密...

这可以在 Windows NT 上使用过滤驱动程序来完成。只需详细了解如何创建过滤驱动程序。您还需要实现一个加密算法,该算法将在驱动程序时调用加载,您还可以查看一些基于预启动身份验证机制的产品文档,例如 symantec (PDF),然后您就会得到一个好主意。

还要检查 Truecrypt 它会很有帮助。基于全盘加密。

:-) 享受

USB disk encryption at driver level...

That can be done on windows NT by using filter driver.Just go through the details how to create a filter driver.also you need to implement an encryption algorithm which will be called at the time of driver loading,also you can check some product documentations like symantec (PDF) based on the pre boot authentication mechenism then you will get a good idea.

also check for Truecrypt it'll help a lot.based on the full disk encryption.

:-) enjoy

不爱素颜 2025-01-02 01:38:07

您需要一个可以在磁盘级别而不是文件级别过滤请求的驱动程序。在 Windows 中这是可能的,但我不知道 Linux 是否如此。

对于设备上的自定义文件系统,您可以使用虚拟磁盘组件 - 对于 Windows,市场上存在多种具有不同设计方法的产品(包括我们的 SolFS 和 CallbackDisk 产品),我相信对于 Linux 来说也是如此。但自定义文件系统可能无法完全解决您的任务,因为虽然它允许您拥有自定义格式和加密的 USB 设备,但仍然可以插入 FAT 或 NTFS 格式的闪存卡或 USB 记忆棒并使用它。

You need a driver which would filter requests on disk level, rather than on file level. In Windows that's possible, but I don't know about Linux.

For a custom filesystem on the device you can use virtual disk components - for Windows there exist several products with different design approaches on the market (including our SolFS and CallbackDisk products) and I believe it's the same for Linux. But custom filesystem probably won't solve your task completely because while it lets you have custom-formatted and encrypted USB device, one still is able to insert FAT- or NTFS-formatted flash card or USB stick and use it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文