跳到主要内容
KernelSU 模块

VD Dropbear

不可变 Release 已同步

Standalone, fully configurable Dropbear SSH server for KernelSU/APatch/Magisk, with port, keys, passwords and start behaviour all set from its WebUI.

介绍

VD Dropbear

VD Dropbear

Release License Downloads Stars

Releases · Wiki · User guide · Configuration · Architecture · AI agents · Changelog · XDA thread

Languages: English · العربية · Čeština · Deutsch · Español · فارسی · Français · हिन्दी · Bahasa Indonesia · Italiano · 日本語 · 한국어 · Nederlands · Polski · Português · Русский · Svenska · ไทย · Türkçe · Українська · Tiếng Việt · 中文

A standalone, fully configurable Dropbear SSH server packaged as a KernelSU / APatch / Magisk module. It launches on its own and depends on no other module.

⚠️ A login defaults to a full ROOT shell. Treat this like the keys to the device: prefer public keys over passwords, and keep the port off the public Internet.

Screenshots

Status Settings Keys Passwords

Why

Android's built-in way to get a shell on your own phone is ADB (USB debugging), and turning it on is invasive and self-exposing. adb_enabled and development_settings_enabled are world-readable settings, any app, SDK or anti-fraud / RASP library can read them, the connection is logged, and there is no supported way to hide that ADB is, or ever was, enabled. The exposure follows you even on a stock, non-rooted phone: to get a shell, you have to announce it.

VD Dropbear is the private alternative. On a rooted device it gives you a real SSH server (root shell, SFTP and rsync over the network) with no adb_enabled tell, no USB-debugging flag, a version banner that reveals nothing, and credentials you control. Your access stays yours, instead of a globally-readable "I am being debugged" flag that anything on the device can read.

Features

  • One daemon, always. It starts at boot and from the manager's Action button, and you can start / stop / restart it from the WebUI at any time, never more than one instance.
  • Everything is configurable from the WebUI (or /data/adb/vddropbear/config):
    • port, and bind to loopback / all / IPv4 / IPv6 / specific addresses
    • start before first unlock (BFU) or only after it (AFU), a single toggle
    • public-key and/or password authentication, max auth tries
    • login shell, HOME, extra environment
    • idle timeout, keepalive, receive window
    • local / remote port forwarding and gateway ports (all off by default)
    • host-key type (ed25519 / rsa / ecdsa)
  • Hidden version banner. The SSH protocol requires a banner, so it cannot be removed, but VD Dropbear replaces it with an uninformative one so scanners cannot fingerprint the exact server or version and aim known-version attacks at it.
  • Secrets stored sensibly (see Security model).
  • Bring your own credentials. Add authorized keys and password accounts. A login runs as the account you authenticate as: root by default, or a lower-privilege Android account (shell, system). The WebUI enforces a minimum password strength and never stores a password in clear text.
  • File transfer and sync built in. The bundle ships sftp-server, scp and rsync, so SFTP, sshfs, GUI clients and backups all work over the same connection.
  • SSH over USB, no ADB. Turn on USB tethering and bind the daemon to the USB address: the same session over the cable, faster and steadier than wifi for large transfers.
  • Every device and emulator. arm64-v8a, armeabi-v7a, x86, x86_64.

AI agents

A standing SSH endpoint turns your phone into something an autonomous AI agent can operate directly. Any agent that can drive a shell or an SSH connection (Claude Code, aider, an LLM-in-the-loop script, your own automation) gets a real root session on the device, over the network, with no USB tether and none of ADB's self-exposing debug flags. The agent sees a normal Linux-like shell and can:

  • read and edit files, flip settings, and manage modules, packages and services;
  • triage logs, pull artifacts, and run diagnostics or forensics on demand;
  • move and sync files both ways over scp / sftp / rsync, for backups, migrations or provisioning;
  • drive a whole fleet of rooted devices from one place, each reachable by its own key.

Because the project is built to be AI-friendly, with a documented configuration file, an explicit runtime env contract, predictable paths and plain-text status, an agent can discover how to use it without guesswork.

Root by default, so treat it like root. A default login lands as root, and you can also log in as a lower-privilege account (shell, system), see the warning below. When you hand access to an agent, give it its own credential (not your personal key), point it at a lower-privilege account like shell if you want to limit its reach, scope the binds to the networks you trust (loopback or a VPN rather than the open internet), keep password auth off, and remember you can revoke a key or stop the daemon at any time from the WebUI.

Install

Flash the module zip in the KernelSU, APatch or Magisk manager (or from the command line with ksud module install / apd module install), open the module's WebUI to set the port and add your keys, then reboot (or press Action to start it now).

Security

Where secrets live: BFU vs AFU

/data/adb is device-encrypted (DE) storage: it is decrypted before the user unlocks the phone (Before First Unlock), so anything there is readable pre-unlock. /data/misc_ce is credential-encrypted (CE): Android keeps it encrypted until the user unlocks (After First Unlock).

  • AFU mode (default, START_IN_BFU=0): the daemon waits for unlock and reads its host key, authorized_keys and password hashes from CE storage. Maximum protection, SSH works only after the device has been unlocked once since boot.
  • BFU mode (START_IN_BFU=1): the daemon starts before unlock so you can SSH in early (for example, to unlock the device remotely). Its secrets then live on DE storage and are readable before unlock, a deliberate and documented trade-off. Enable it only if you need pre-unlock SSH.

We deliberately do not add our own encryption on top of CE: it is already encrypted with the user's credential, and layering another cipher would need a key that has to live somewhere (on DE it would be exposed, deriving it from the user credential just re-implements CE). That would buy a false sense of security, not real protection.

Passwords

Password login is off by default, because a login defaults to root and keys are far safer. When you do set a password, the WebUI enforces a minimum strength and stores only a hash, never clear text.

Build

The server binary is built by CI from upstream mkj/dropbear with a small, auditable patch set (see patches/): a neutral/configurable identity string, config-driven paths for authorized_keys and the password file, and the Android openpty fix for interactive PTYs. A scheduled workflow tracks upstream and rebuilds, so the module stays current. See .github/workflows/ and CONTRIBUTING.md.

Incremental updates (VDLU)

VD Dropbear ships the VDLiveUpdate (VDLU) engine (vendored in vdlu/): the module updates itself by fetching only the files that changed (content-addressed blobs + a signed manifest.json), instead of re-downloading the whole .zip. Hardened profile: the ed25519 signature is mandatory and downgrades are blocked, the full .zip stays valid as a fallback.

  • LIVE-only (no reboot): updates apply on the next boot via service.sh (setsid, backgrounded, never stalling boot), a no-op when no feed is reachable.
  • State in /data/adb/<module>/vdlu/, outside the module, so it survives a reflash.
  • WebUI: an Updates panel with a progress toast and cancel, auto-update is opt-in.

Documentation

Every wiki page is also translated into each language in the switcher above, the same sources live under docs/.

See also

  • COPG-VD: global device fingerprint / Play Integrity spoofing, whole-device with per-app scope and a WebUI.
  • VDBackup: full app and data backup and restore as root, driven entirely from a WebUI.
  • VDGoogle: your Google services (RCS, Wallet, Play Integrity attestations), read on your device with no internet.
  • VDInstaller: a frictionless root sideload installer for single, batch and split APKs, with a Play Protect verifier toggle and install-source spoofing.
  • VDInfos: a device method debugger that reads each item through every method that can read it and compares them side by side.
  • VDLiveUpdate: a flashless, incremental self-update engine embedded into KernelSU/APatch/Magisk modules.
  • VD-Modules: our MMRL/WebUI-X module repository (install all of these from your root manager).
  • @VictorGabriel7Dev/build.prop: a dataset of Pixel build.prop fingerprints (fork of @T3SL4).
  • @VictorGabriel7Dev/mtproto-store: use Telegram as an object store from a tiny Go CLI.

Contacts

License

VD Dropbear's own code is Apache-2.0, see LICENSE. The module also bundles third-party binaries: Dropbear (MIT-style), OpenSSH's sftp-server and scp (BSD), and rsync (GPL-3.0), each under its own license, see THIRD-PARTY-NOTICES.md, including how we comply with the GPL for rsync. Our Apache-2.0 code is unaffected (the GPL binary is merely aggregated, not linked).

Trademarks

VD Dropbear is an independent, unofficial project, not affiliated with or endorsed by any third party. "Android" is a trademark of Google LLC. "SSH" is a registered trademark of SSH Communications Security. VD Dropbear runs entirely on your device.

Tags

SSH Dropbear KernelSU Magisk APatch root sshd remote-access openssh-alternative Android BFU VD-dropbear


📣 Join the channel for updates: @Priv8_VD https://t.me/Priv8_VD

历史版本

v1.15.2

最新

版本代码 101502 v1.15.2

下载

Standalone, fully configurable rooted SSH server for KernelSU, APatch and Magisk, with a WebUI.

An authenticated login defaults to a root shell. Prefer keys over passwords, bind only to networks you trust, and keep the port off the open Internet.

Install

Flash VD-dropbear-v1.15.2.zip in the KernelSU / APatch / Magisk manager (or ksud module install / apd module install), open its WebUI to set the port and add your keys, then reboot.

Documentation

Full guide and reference: https://github.com/VD171/VD-dropbear/wiki

Checksums (sha256)

The module zip and the shipped per-ABI SSH binaries.

9a55e3bedadeb57eb79b37897461fe9407b8d560f5875e0aea6e702f0fe7175c  VD-dropbear-v1.15.2.zip
d48663132f42d97d9206dd5a74bd43a9bbb97273a2d21879208681a97a969ce3  bin/arm64-v8a/dropbearkey
8a8f505c17580b8a2f4194865e0f8f093030ac270518bdb9b9f9ee83730da571  bin/arm64-v8a/rsync
d71dab5dec1ae0d4d65dfaf42fd9bf70b5feb6ad7eb0cd4f605d55b540d7a454  bin/arm64-v8a/scp
430c6b66e8ed3c7d4d5d53f57c169ecc9bd9b453591c9a89f357886dee9377f1  bin/arm64-v8a/sftp-server
9e28954d74bdba4f1a954e510268df0c59b4ba499c770d5b86e0f15dfa87a1c6  bin/arm64-v8a/vddropbear
c8462ea665bbf7742c6f6d1209e612276bf5a72c62a0c0a9769fb3aca6d42ec0  bin/armeabi-v7a/dropbearkey
77fdfb5b710416794829859c252dd237c117679b4f7e3d5b96eeca2ede3f520c  bin/armeabi-v7a/rsync
e405795cc056dbc6d7639ee509ae435d0e5d090209e9ec5ea8df386512186094  bin/armeabi-v7a/scp
cf9f6000383c540935ae758d50c0f6696787da8c1b0a94a5591b26b7608f93fa  bin/armeabi-v7a/sftp-server
edf85e8647ee08b5cbf3d620a063eb95284ac67313dfdd00bd00a21f59eeb2b1  bin/armeabi-v7a/vddropbear
31393e8da271321b160c4467595b1baf8f3b729239cbdbd468a79d5440b78588  bin/x86/dropbearkey
3ac746d74b29321c19f1fd7e61001b694f8726c15f2a7b92853fd0dce5c8ca33  bin/x86/rsync
cbc2771c770680f1b27302ef7ed44fd7aad77491ef9412c56f9e6a1479dcfaf1  bin/x86/scp
aeeca79950810831bc5d1983a50eddb7d9ce013a2db8d7e78cf9e60a32f299b7  bin/x86/sftp-server
c60291564db5bfe2609c0d6a36faa557398628660b453a3e733000868bdd81f4  bin/x86/vddropbear
5ec14e8119092b2901bae714562932ccc7669d6ab5a5140379e84dddc102906b  bin/x86_64/dropbearkey
e92ae8e3eb7e46cd4756b1b864ed78106c75200396d76b03c70fb3bc70e70dd6  bin/x86_64/rsync
32663ba06f3d111e01b30271b9112669bfa2824e524e38164c7500db32057bd2  bin/x86_64/scp
6a6611a65a40834f97dbd1c21fba9c158316b093cc984fb7e54b4c10e44939e0  bin/x86_64/sftp-server
b5e47d2b3a096920d35f64e29533417ec4d425720febdc9af82d0488bafaa118  bin/x86_64/vddropbear

📣 Join the channel for updates: @Priv8_VD https://t.me/Priv8_VD

文件 1

VD-dropbear-v1.15.2.zip 2.5 MiB

SHA-256 9a55e3bedadeb57eb79b37897461fe9407b8d560f5875e0aea6e702f0fe7175c · Attestation

透明度

Tag
v1.15.2 不可变 Release
Tag commit
7282dc4bf4a0
内容 commit
b6bcf1aba413
SHA-256
9a55e3bedadeb57eb79b37897461fe9407b8d560f5875e0aea6e702f0fe7175c
最近同步到变更

自行复核

KernelSU 模块不对模块签名,也不审计模块代码。SHA-256 只证明下载内容与本索引一致。可使用 GitHub CLI 自行复核:

gh release verify v1.15.2 -R VD171/VD-dropbear
gh release verify-asset v1.15.2 VD-dropbear-v1.15.2.zip -R VD171/VD-dropbear