🌐 Language / Idioma: English | Español
Migration Notice:
SnakeUSBIPis being migrated into USBAnywhere. For production deployments, USBAnywhere is the recommended final product.
| Version | Supported | Status |
|---|---|---|
| 1.4.2 | ✅ | Latest Stable Release |
| 1.3.x | ✅ | Active Stable |
| < 1.3 | ❌ | Unsupported (Upgrade to SnakeUSBIP v1.4.2 or USBAnywhere) |
SnakeUSBIP is designed with a defense-in-depth, Zero-Trust security model across the entire ecosystem, combining input validation, restricted process invocation, trusted host allowlists, signed driver expectations, and automated CI security scanning.
- All IPv4 addresses, domain names, USB
bus-idstrings, and TCP ports are strictly validated against restrictive regular expression whitelists before any shell or system process invocation. - External processes (
usbipw.exe,devnode.exe,pnputil.exe) are invoked withUseShellExecute = false, preventing arbitrary argument injection and shell command chaining.
- All distributed native executables (
usbipw.exe,devnode.exe,SnakeUSBIP.exe) are validated for valid Microsoft Authenticode digital signatures. - Binary digests are compared against verified cryptographic manifests before invoking device attachment or detachment.
- The integrated update engine strictly communicates over HTTPS and whitelists official GitHub release endpoints (
github.com,objects.githubusercontent.com). - Update installers are verified against an official
SHA256SUMS.txtcryptographic manifest before execution. If the SHA-256 hash fails or does not match, the file is deleted immediately and execution is aborted.
- Uses Microsoft WHQL-signed
usbip2_ude.sysandusbip2_filter.sysdrivers, fully compatible with Windows 10 & 11 Core Isolation / Memory Integrity (HVCI). - Does not require Windows Test Signing Mode on standard x64 systems.
- Windows Server: The Windows Firewall rule for port 3240 is restricted exclusively to Private and Domain network profiles, preventing exposure on untrusted Public Wi-Fi networks.
- macOS Server: Utilizes native Apple Userspace IOKit (
IOKit.framework). Operates without third-party Kernel Extensions (.kext) and retains complete compatibility with Apple Silicon System Integrity Protection (SIP). Privileges are managed securely via systemlaunchdLaunchDaemons. - Linux Server: Runs via a dedicated systemd service (
usbipd.service+snakeusbip-autounbind.service) and confines USB export operations via targeted udev rules.
- 6-Digit /
UA2:Pairing & SHA-256 Pinned TLS 1.3:PairingClientServiceandTlsTunnelBridgeverify server certificate fingerprints in constant time; LinuxPAIR_CREATEonTCP 3241is loopback-only unlesscontrol_tokenis set; AndroidUsbIpServerServicevalidatesbusId(^\d+-[\d.]+$). - Bearer-Authenticated Local REST API (
127.0.0.1:13241) & WTS Isolation: Loopback-only HTTP API gated by per-install Bearer token; WTS session isolation prevents inactive sessions from attaching devices. - TCP
3241Allowlist & HMAC Token:snakeusbip-ctlandControlServer.swiftsupport optionalallowed_ipsfiltering and constant-time HMACcontrol_tokenauthentication (policy allow-ip|deny-ip|set-token|clear-token). - Android Sunshine Webhook (
3242):SunshineHandoffServerenforces HTTP header bounds and optionalX-USBAnywhere-Token/Authorization: Bearerauthentication.
If you discover a security issue or vulnerability, please responsibly report it:
- GitHub Security Advisory: Open a private advisory at SnakeUSBIP Security Advisories
- Email: Reach out to the maintainers at oscarlosu-lab.
We appreciate responsible disclosure and will investigate and address reported vulnerabilities promptly.