Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

usbsas

> 安全
Open source

Tool and framework for securely reading untrusted USB mass storage devices.

373 stars0 likes0 views
WebsiteGitHub

About

Tool and framework for securely reading untrusted USB mass storage devices.

usbsas is a free and open source (GPLv3) tool and framework for securely reading untrusted USB mass storage devices.

Overview

Following the concept of defense in depth and the principle of least privilege, usbsas's goal is to reduce the attack surface of the USB stack. To achieve this, most of the USB related tasks (parsing USB packets, SCSI commands, file systems etc.) usually executed in (privileged) kernel space has been moved to user space and separated in different processes (microkernel style), each being executed in its own restricted secure computing mode. It works on GNU/Linux and is written in Rust.

Use cases

  • kiosk / sheep dip station to securely transfer files from an untrusted USB device to a trusted one
  • forensic analysis of untrusted USB devices

Key features

  • read files from an untrusted USB device (without using kernel modules like uas, usb_storage and the file system ones)
  • analyze files with a remote antivirus platform
  • copy files on a new file system to a trusted USB device
  • upload files to a remote server
  • make an image of a USB device
  • wipe a USB device
  • mount (read-only) a USB device

Documentation

  • Architecture
  • Features & usage
  • Build
  • Configuration
  • Kiosk deployment

Contributing

Any contribution is welcome, be it code, bug report, packaging, documentation or translation.

License

Dependencies included in this project:

  • ntfs3g is GPLv2 (see usbsas-fsrw/ntfs3g/src/ntfs-3g/COPYING).
  • FatFs has a custom BSD-style license (see usbsas-fsrw/ff/src/ff/LICENSE.txt)

usbsas is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

usbsas is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with usbsas. If not, see the gnu.org web site.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustfilesystemrustseccompsecurity

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category安全
PricingOpen source

> Related tools

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.