Drop to upload into /root/uploads
A full Linux machine runs inside this tab, on your computer. Practise the shell, run Python, inspect a suspicious file. Reset it whenever you like.
First start downloads about 17 MB. After that it starts in under a second.
GuidesCommands typed for you, checked when they run
Files, pipes, permissions and processes, one command at a time.
Python 3 with pip. numpy, pandas and more install without internet.
Upload a file and take it apart with file, strings, yara and strace.
root, password rootInstalled and working with the internet off.
Only RISC-V Linux programs run here. Windows, x86 and ARM executables can be read and taken apart, but not run.
Examples from classes and security workshops. Each command runs as shown.
Chromebooks and locked-down PCs get a real Linux shell with no install and no account. Reset gives every student a clean machine.
pwd && idCount status codes in a log, pull out a field with awk, sort the unique values.
awk '{print $9}' access.log | sort | uniq -c | sort -rn | headobjdump and gdb read the binaries in the machine, so students see the instructions a compiler produced.
objdump -d /bin/true | head -40Find the source addresses of failed logins in an uploaded auth.log.
grep 'Failed password' /root/uploads/auth.log | awk '{print $(NF-3)}' | sort | uniq -c | sort -rn | headWrite a rule for a sample and scan a folder with it.
yara -s dropper.yar .Decode the hidden part of a shell dropper without running it.
grep -o '[A-Za-z0-9+/=]\{20,\}' sample.sh | base64 -d; echoOne machine, inside one tab, on your computer.
Your browser tab
The browser's own sandbox, on your computer.
WebAssembly
The emulator, compiled to run in the page.
Emulated RISC-V CPU
Guest code never runs on your processor.
Debian 13
Your files are kept in this browser (OPFS).
The machine resumes from a saved state, so a warm prompt arrives in about half a second.
Files you make are saved in this browser and are there next time.
It deletes your changes and returns to the shipped image.
Off by default. Turn it on through the small xiaonux-net helper on your computer, or a free relay limited to pip, apt and GitHub.
What is isolated, and what isn't.
/root/uploads and are never marked executable.Read the full security notes.
Apache-2.0. Read it, run it, change it.
xiaonux is free and open source. The emulator, the page and the image build are all in one repository.
Guides are small JSON files. If you teach with it, write a guide for your class.