WebAssembly is traditionally thought of as a mechanism to run compiled code inside your browser, but rarely as a mechanism to run full application code directly on host. We hacked up the Wazero implementation of WebAssembly and modified it to transform existing GoLang security tooling into analyst resistant malware. This isn’t just a toy implementation either, we’ve implemented every major host API such that we can compile a full Sliver binary to run on MacOS or Windows.
This blog post covers the implementation details behind our Go->WASM compilation process and sets up our final blog post (coming next week) where we’ll discuss a similar C#->WASM compilation pipeline. The tooling described in this blog post will be open sourced next week. Will be happy to answer any questions about this in the comments!
submitted by /u/bouncyhat
[link] [comments]