Skip to content

susers/semu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SEMU README

SUS Sandboxed EMUlator (SEMU) is a generic and open source userspace emulator and virtualizer based on QEMU.

As SEMU relies on userspace emulation, makes it quite capable on logging AWD traffic and sandboxing purposes in a restricted setup environment (e.g. low-privilege users, docker containers).

Building

SEMU is multi-platform software intended to be buildable on all modern Linux platforms, OS-X, Win32 (via the Mingw64 toolchain) and a variety of other UNIX targets. The simple steps to build SEMU on Ubuntu are:

sudo apt-get update
sudo apt-get install -y --no-install-recommends ca-certificates wget build-essential python-is-python3 python3-venv python3-tomli ninja-build pkg-config libglib2.0-dev libpixman-1-dev
mkdir build
cd build
../configure --target-list=x86_64-linux-user --static
make

You'll then get a static binary called semu-x86_64.

Running

By default, SEMU blocks all outbound network request and disallow execv-ing /bin/sh; any read on flag would also just return a fake one.

The runtime strace log would be saved to /tmp/semu.%Y%m%d-%H%M%S.log.

About

SUS Sandboxed EMUlator, based on qemu-user.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 80.1%
  • C++ 11.7%
  • Python 4.2%
  • Shell 1.5%
  • Assembly 0.7%
  • Meson 0.5%
  • Other 1.3%