This package exposes the VNCDesktopCommand native extension export from
sliverarmory/libvncserver as one
Sliver command:
vnc start --port 1234
vnc status
vnc stop
The source and packaged binaries are GPL-2.0-or-later; see COPYING.
The port is the exact TCP port, not a VNC display number. The target listener
binds only 127.0.0.1 and has no VNC password or TLS. On an interactive Sliver
session, forward a local port to 127.0.0.1:1234 on the target, then connect a
VNC viewer to the local forwarded port. Stop the server before updating the
package. Windows needs a logged-in interactive desktop; macOS needs Screen
Recording and Accessibility grants; Linux needs an X11 session and XCB/XTEST
runtime libraries. See the packaged desktop-library.md for details.
source.json pins a published desktop-vX.Y.Z release, its exact source commit,
and the SHA-256 of its SHA256SUMS file. These two hash fields must be filled
with values verified from the public source release before CI can build.
scripts/build_package.py checks all seven source assets, each archive's
per-file manifest, all five platform binaries, and the adapter declaration.
It stages only the Sliver manifest, the five shared libraries, the upstream
GPL license, and the runtime guide.
gh release download desktop-v0.1.2 --repo sliverarmory/libvncserver --dir source-assets
python3 scripts/build_package.py --assets source-assets --out dist --tag v0.0.1The archive uses ./extension.json at its root. The source manifest keeps
v0.0.0; only the staged copy gets the exact package tag. The release workflow
signs vnc.tar.gz with this repository's Minisign key, puts the base64 of the
packaged manifest in the trusted comment, and publishes vnc.tar.gz and
vnc.minisig together. minisign.pub is the public verification key; the
private key is stored in the protected release environment secret MINISIGN_PRIVATE_KEY and a
durable secret manager, never in Git.
Before publication, CI loads each of the five packaged libraries through
Reflektor's in-memory native loader and calls VNCDesktopCommand with status
and an invalid port. This checks the package's loader, argument, and callback
ABI without opening a listener. CI also runs the packaged libraries through
live Sliver session and beacon implants on all five targets using
sliver-test-ext. The
test manifest checks command responses on every
target. Linux amd64 and arm64 jobs use Xvfb to verify start, status, duplicate
start, stop, restart, loopback binding, and an RFB framebuffer update. The
release job waits for both loader and live extension tests. These live tests
call the native extension through Sliver RPCs; the archive and signature checks
cover package installation metadata separately.
Armory's index reads this repository's latest non-prerelease release. Keep the
asset names and manifest command stable across future releases. The package
version line is independent of the source library's desktop-v tag line.