anti-ghostsec

Home › FerroOS

⭐ FerroOS: privacy-first hardened Linux with a Windows 95 desktop

A hardened, privacy-first Linux with an authentic Windows 95 desktop: full-disk encryption, a duress PIN, Tor built in, and Steam/Proton on a lean Debian base.

RustApache-2.0Latest: v1.0.91Updated 2026-11-21

A hardened, privacy-first operating system pairing an authentic Windows 95 desktop experience with the full power of modern Linux. Idling at an ultra-lean memory footprint, it runs native 3D games through Steam and Proton, NVIDIA/CUDA computing, and the complete Debian software ecosystem while enforcing uncompromising privacy by default: hardware kill switches in the system tray, per-app RAM limits, Landlock sandboxing, full-disk LUKS2 Argon2id encryption, duress self-destruct, and runtime physical memory scrubbing.

FerroOS Heavy Desktop

Heads up: FerroOS is an independent privacy and systems engineering project. While built with defense-in-depth principles, it has not undergone formal third-party cryptographic auditing. For life-critical threat models, consider established systems such as Tails or Whonix.


Heavy vs. Lite: Two Editions, One Vision

FerroOS is built from a unified codebase in two distinct editions tailored for different hardware targets:

Feature / Metric FerroOS Heavy (Primary Edition) FerroOS Lite (Embedded Companion)
Primary Focus Daily workstation, gaming, privacy, full Linux apps Minimal footprint, air-gapped / embedded devices
Base System Hardened Debian stable minbase Custom Linux kernel + static Rust userspace (ferro)
Idle RAM Footprint Ultra-Lean ~29 MB (target < 50 MB)
Display Server Xorg with lean ferro-wm (no compositor unless Smooth drawing is ticked) Direct Linux DRM/KMS software framebuffer (ferro-shell)
Hardware Graphics Intel Gen1–14, AMD Radeon, NVIDIA nouveau/proprietary, UEFI GOP bochs, virtio-gpu, standard KMS modesetting
3D & Gaming Native Vulkan, OpenGL, Steam/Proton, Mesa 3D Isolated Debian glibc container
Compute & AI On-demand NVIDIA driver & CUDA, Python toolchain for PyTorch / llama.cpp None
Storage Encryption Full-disk LUKS2 (Argon2id PBKDF), no swap Custom Argon2id + XChaCha20-Poly1305 encrypted vault
Boot Architecture Microsoft-signed shim + Debian signed GRUB & kernel Microsoft-signed shim + unified kernel image
Secure Boot Out-of-the-box (UEFI Secure Boot enabled) MOK enrollment (ferro-mok.der)
Anti-Forensics Never sleeps (keys never left in a sleeping machine), runtime memory scrubbing Amnesic RAM-only mode, cold-boot page zeroing
Duress Self-Destruct Anti-coercion PIN nukes LUKS2 headers & keyslots Duress PIN nukes vault header & crypto keyslots

Download & Installation

Prebuilt hybrid ISO images are generated automatically via GitHub Actions:

  1. Download ferroos-heavy.iso (and its .sha256) from the project's GitHub Releases. Lite isn't published there; build it yourself with cargo xtask iso (see Building from Source).
  2. Flash the ISO to a USB flash drive using:
    • Rufus: Select DD Image Mode when prompted (ensures all installer partition tables are preserved).
    • balenaEtcher: Select image and flash directly.
    • Linux / macOS: sudo dd if=ferroos-heavy.iso of=/dev/sdX bs=4M status=progress conv=fsync
  3. Boot your target PC:
    • UEFI Secure Boot: Supported out of the box with standard Microsoft-signed shim keys.
    • Legacy BIOS: Fully supported with hybrid MBR/GPT partitioning.
  4. The stick starts a live session: the system runs from the stick, every change is kept only in RAM, and nothing is written to the PC's own drives.
  5. To install, open Install FerroOS Heavy from the live session's Start menu. It runs ferro-setup, which installs to an internal SSD/HDD with optional full-disk LUKS2 encryption.

Desktop Experience

FerroOS Heavy delivers a responsive, nostalgic Windows 95 user interface designed for modern productivity without desktop environment bloat:

Start Menu Files and Prompt
Authentic Windows 95 Start menu with cascading flyouts File Manager in Details view, sorted by size, beside the green Command Prompt
Task Manager Display Properties
Task Manager's process tree, with each process's owner and RAM budget Display Properties CRT preview and window management

Authentic Windows 95 Start Menu

  • Dark embossed vertical banner ("FerroOS") and generous 34px item heights with crisp retro icons.
  • XDG Desktop Categorization: Automatically categorizes standard desktop applications into classic cascading flyouts (Accessories, Internet, Multimedia, System Tools, Development, Games).
  • Multi-Column Horizontal Overflow: When a flyout or right-click menu is taller than the screen, its items split into side-by-side columns (authentic Windows 95 multi-column layout).
  • Type to Search: Start typing with the Start menu open to find a program.
  • Instant Response & Zero-I/O Caching: Desktop entries are indexed and cached in memory, so the menu opens without reading the disk.
  • Visual Polish: 3D etched dividers, crisp raster icons (32x32 on the Start menu, 16x16 in flyouts), and classic flyout hover indicators.
  • Application Context Menus & Uninstall: Right-click any application in the Start Menu or Programs submenu to Open, Pin to Taskbar, Create Desktop Shortcut, Hide from Start menu (and Show Hidden to bring them back), Properties, or Uninstall..., which opens a window showing what apt would remove and then runs sudo apt-get remove for the program's package (ferro-uninstall).
  • Quick shortcuts for Programs, Documents, My Computer, Settings, Help, Run... (opens Command Prompt), Log Off..., Restart..., and Shut Down....

Clean Desktop & Dynamic Filesystem Sync

  • Arranged Desktop Surface: By default, Recycle Bin sits at the top (20, 20), My Computer (system explorer and drive viewer) underneath (20, 96), Wisp (FerroOS's own privacy web browser) at (20, 172), and Command Prompt (CRT green terminal) at (20, 248).
  • Live ~/Desktop Sync: Any files, folders, or .desktop shortcuts created via the shell, terminal, or GUI appear on the desktop automatically.
  • Movable Icons & Persistence: Drag icons freely across the desktop surface; custom positions persist across reboots in ~/.config/ferro/desktop.conf. Deleting a preinstalled shortcut permanently hides it.
  • Hover Highlights & Selection: Mousing over desktop shortcuts renders authentic Windows 95 focus outlines with drop-shadowed labels.
  • Desktop Icon Organization & Windows 11 Context Menu:
    • Right-click desktop context menu:
      • View: Toggle Auto arrange icons and Align icons to grid (persisted across reboots in ~/.config/ferro/desktop.conf).
      • Arrange by Name / Arrange by Type.
      • Refresh: Instantly syncs and redraws desktop items from disk.
      • Paste: When something has been cut or copied.
      • New: Create Folder, Text Document, or Terminal Shortcut directly on the desktop.
      • Open in Terminal: Opens Command Prompt in ~/Desktop.
      • Task Manager: Direct shortcut to Task Manager.
      • Restart Desktop: Restarts the desktop and taskbar without logging off.
      • Properties: Opens Display Properties (ferro-appearance).
    • Right-click desktop items: Open, Pin to taskbar, Cut, Copy, Rename (inline), Delete, and Properties. Delete moves files and folders to the Recycle Bin (~/.local/share/Trash); shortcuts are removed outright, and files on removable drives are deleted through the File Manager. The Recycle Bin itself offers Open, Empty Recycle Bin and Properties.
  • Silky Smooth 60+ FPS Motion Pipeline: Desktop and window movements utilize dirty-rectangle buffering, motion event compression, and deferred client IPC to ensure stutter-free, silky smooth dragging without low-FPS jumps.
  • Desktop Hotkeys: Select any desktop item and press Delete to remove it, Enter to open or run it, or F2 to rename it inline. Ctrl+A selects everything, Ctrl+X / Ctrl+C / Ctrl+V cut, copy and paste, and F5 refreshes.

"My Computer" Drive Explorer & Universal Storage Automounting

  • My Computer Top-Level View (ferro-files): Accessible from the desktop "My Computer" icon, the Start Menu, or by navigating "Up" from the root of any drive. Displays every mounted drive with a letter and authentic Windows 95 drive icons: the drive's own label when it has one, otherwise Local Disk, Removable Disk or CD-ROM Drive, with its size (e.g. Local Disk 500G (C:)). Open VeraCrypt volumes show as VeraCrypt Volume.
  • Side Folder Tree: My Computer, your Desktop/Documents/Downloads/Pictures/Music/Videos folders, the same drives and the Recycle Bin are listed down the left side; files can be dropped onto any of them (hold Ctrl to copy instead of move). Files dropped on a folder in another File Manager window go into that folder.
  • Dynamic Drive Discovery: Drives come from lsblk (internal HDDs, SATA/NVMe SSDs, USB flash drives, SD cards, mounted disk images); network shares come from /proc/mounts.
  • Universal Storage Automounting:
    • Automatically mounts connected and hotplugged drives to /media/$USER/<Label> using ferro-automount and udisks2.
    • Polkit storage rule (/etc/polkit-1/rules.d/60-ferro-storage.rules) allows passwordless storage mounting for local users.
    • Kernel and userspace drivers for NTFS (ntfs-3g) and exFAT (exfatprogs).
    • Phones and tablets (USB, File transfer) open by themselves in My Computer, with a phone icon: ferro-automount mounts each with aft-mtp-mount under /run/user/<you>/Phones/<name>. Files are read from the phone as they're copied, not first copied whole into memory (as jmtpfs did). Unplugged or plugged in again, the old mount is taken down at once (fusermount -uz), so nothing is left hanging on a connection that's gone. A locked phone, or one not set to File transfer, is tried again until it opens, and a notification says what to do.
    • Folders on a phone are read on their own thread: the window keeps working, and a phone that stops answering is reported after 45 seconds instead of freezing it. Copies show their progress in the status bar with a Cancel button (or Esc); a cancelled copy leaves no half file, and a cancelled move leaves the originals in place.
  • Make comics (CBZ), off by default: turn on View → Show 'Add to CBZ' (right-click an empty spot) and right-click a folder for Add folder to CBZ, or select several pictures for Add selection to CBZ. The pictures are stored in reading order (p2 before p10), with no paths or file details, in a new .cbz beside them; nothing is overwritten.
  • Hierarchical Drive Navigation: Seamless two-way folder navigation: double-clicking any drive letter enters its root folder, and clicking "Up" at the drive root brings you back to the "My Computer" drives overview.

Preinstalled Privacy & Media Applications (Heavy)

  • Wisp: FerroOS's own privacy web browser (anti-ghostsec/wisp), built on WebKitGTK. A private session by default (cookies, cache and history never touch the disk), HTTPS-only, tracking parameters stripped, third-party cookies blocked, WebGL and WebRTC off, and plugins for ad and tracker blocking (EasyList, EasyPrivacy, ~110k rules), fingerprint shielding, cookie-banner hiding, dark mode, end-to-end-encrypted bookmarks and passwords, and VidGrab (video downloads with yt-dlp; ffmpeg is preinstalled for HD and MP3). Each update also brings Wisp up to its newest build from its own releases (ferro-wisp-update), so Wisp is as new as Wisp, not as the last FerroOS release; the installed copy stays when there's no newer build, the download doesn't check out, or the build needs libraries the system hasn't got yet.
  • Video Player (ferro-video): mpv with FerroOS's settings and a light Windows 95-style control bar (grey bevelled Play/Pause, Stop, Previous/Next, Loop, A-B, volume and Full screen buttons, a classic timeline slider with the time beside it, and a matching right-click menu; nothing is drawn while the bar is hidden). It starts silent and loops, Left/Right go to the folder's other videos, the timeline shows a picture of where you point, and Delete moves a video to the Recycle Bin. It runs inside ferro-jail: a booby-trapped video can't reach the internet, start other programs or change files (the player can only move videos from the folder it's playing to the Recycle Bin). Plays music too. Hardware video decoding (VA-API/VDPAU/CUDA) with ferro-heavy drivers.
  • Image Viewer (ferro-viewer): FerroOS's own viewer for PNG, JPEG, BMP, WebP, animated GIF/WebP and .cbz comics (read page by page in memory, never unpacked to disk), with zoom, pan, slideshow, the folder's other pictures and Delete. Right-drag (or Ctrl+drag) a box to zoom into it. A comic's pages are resized smoothly and sharpened a little when enlarged, so small lettering stays clear on a big screen (a page shows at once and turns smooth a moment later); T switches to plain pixels. Other pictures are drawn pixel for pixel, so a photo's finest detail (stars in a night sky) isn't smoothed away. Edit (E) lets you drag a box to crop or black out (for privacy), with undo; Save As writes a new picture beside the original, re-encoded from its pixels so no EXIF or GPS details go with it. Sandboxed (seccomp, no network, Landlock, none of the session's sockets): it starts no programs and changes files only in the picture's own folder (Save As) and the Recycle Bin, and in the home folder itself or its hidden folders it may only put pictures in the Bin.
  • Archive (ferro-archive): opens .zip, .7z and .rar (RAR 4 and RAR 5 too) and makes .7z (the default) and .zip, with nothing to install: the code is pure Rust and built in (zip, sevenz-rust2, and rars for RAR, which is written from the RAR format's description under Apache-2.0, not RARLAB's non-free unrar source). An archive split into several files opens from any one of them, with the rest in the same folder: RAR volumes under both ways of naming them (name.part1.rar, name.part2.rar..., and name.rar, name.r00, name.r01...), with or without a password, and archives cut into numbered pieces (name.7z.001, name.zip.001, name.rar.001...); a part that's missing is named. (A zip spanned the old way, .z01, .z02, .zip, isn't opened.) Lists name, size, packed size and date; Extract all..., Extract selected... (Ctrl/Shift-click to pick) and Extract here, with a progress bar and Cancel for big archives; double-click a file to open it. Add to archive... (also on File Explorer's right-click menu) picks files and folders in a Windows 95 style picker (Ctrl/Shift-click for more) and adds them to the open 7z or zip, or makes a new 7z or zip. Adding never changes the archive in place: a new one is written beside it (a zip's old entries copied as they are, a 7z's streamed through again, never on disk) and renamed over it when whole; a RAR is never changed. New archives: Store, Normal or Maximum (LZMA2 for 7z), and an optional password: AES-256, with the file names encrypted too in 7z (zip's AES leaves names readable; the old ZipCrypto is never used). New archives hold only names, contents, last-changed times and rwx bits: no owner or user names, no other times. Links aren't put in.
    • Safe with archives made to do harm: nothing is written outside the folder chosen (.., absolute paths and drive letters are skipped, files are never written through a symbolic link, and links are only made pointing inside), nothing already there is replaced, and unpacking stops at the free space on the drive, at 1000 times the archive's size past the first GB, at a decoder wanting over 1 GB of memory, or at an entry giving more than it says it holds (zip bombs). Password-protected archives (ZIP's ZipCrypto and AES, 7z's AES with or without its names encrypted, RAR's AES) ask for the password, and say when it's wrong.
    • Private: nothing is written but what you ask for. Listing reads only the archive's index; extracting and making stream a piece at a time (never a whole archive in memory), into hidden part-files in the destination that get their names only when whole and are removed on Cancel or an error; nothing goes to /tmp or ~/.cache. A file opened from an archive is unpacked into a private folder in memory ($XDG_RUNTIME_DIR, readable only by you), removed when the window closes; programs and shortcuts inside an archive aren't opened, only extracted. Passwords live only in memory and are wiped when done with; there's no history or recent-files list (only the format and level last chosen are kept, in ~/.config/ferro/archive.conf), and no file names go to logs.
    • Sandboxed like the Image Viewer (seccomp, no network, Landlock, none of the session's sockets: it can't start programs), and the window itself changes no files. Each extraction, new archive and file taken out to open runs in a worker that may change files only in the one folder it works in; the home folder itself, its hidden folders (settings, what starts at logon) and FerroOS's settings are refused, with the reason. Opening a file from an archive goes through a small helper started before the sandbox closes, which only opens files in that private folder.
  • Folio: FerroOS's own calm, private text editor for writing and code (github.com/anti-ghostsec/folio); like Wisp, each update brings it to its newest signed build (ferro-folio-update).
  • Leaflet: FerroOS's own light, private app for PDFs and documents (github.com/anti-ghostsec/leaflet): read PDFs, fill in forms, highlight, add notes, turn, delete, reorder and join pages; open DOCX, ODT and RTF, fix them, and save as DOCX or ODT or export a PDF. It has no way to the internet (a private leaflet:// scheme, a Content-Security-Policy that allows nothing else, and a closed port for a proxy), a PDF's JavaScript never runs (PDF.js ships without its script engine), and what it saves carries no author, program name or dates. It opens in its Classic look (LEAFLET_THEME=classic, set by /usr/local/bin/leaflet). The image gets the signed release of the commit in heavy/leaflet.commit (tools/heavy/get-leaflet.sh checks the minisign signature against Leaflet's key); like Wisp and Folio, each update then brings it to its newest signed build (ferro-leaflet-update).
  • ffmpeg: Convert, cut and record video and audio from the Command Prompt.
  • Desktop URL & OAuth Integration (xdg-open): Full XDG MIME protocol handling (x-scheme-handler/http, https) and user D-Bus session bus. External applications, Electron apps, and development tools (e.g., Antigravity, VS Code) open authorization links and OAuth logins ("Continue with Google") directly in Wisp.

File Associations & System Defaults (ferro-associations)

  • Accessible via Start > Settings > File Associations....
  • Graphical editor for file type associations stored in ~/.config/ferro/associations.conf.
  • Double-clicking documents in ferro-files or desktop shortcuts opens the associated application:
    • Text & Code (.txt, .md, .rs, .c, .sh, .conf) -> Folio
    • Images (.png, .jpg, .jpeg, .bmp, .webp, .gif) and comics (.cbz) -> Image Viewer (ferro-viewer)
    • Video & Audio (.mp4, .mkv, .webm, .avi, .mov, .mp3, .wav, .flac, .ogg, .opus...) -> Video Player (ferro-video)
    • PDFs and documents (.pdf, .docx, .odt, .rtf) -> Leaflet. An installed system whose list still has the old default (pdf = xdg-open %f) opens PDFs in Leaflet too; a program you chose yourself is kept. Open with lists Leaflet beside whatever else is installed for the type (Folio too for an .rtf), and File Associations still offers xdg-open.
    • Web (.html) -> Wisp
    • Archives (.zip, .7z, .rar, and split ones: .r00, .001) -> Archive (ferro-archive); right-click one in File Explorer for Extract Here, which unpacks it beside itself through the same safe code, or any files and folders for Add to archive....
    • Programs (.deb, .tar.gz and the like) -> installed by ferro-installer in a terminal window (a .deb with apt, a tarball unpacked into C:\Programs). A program that's installed already is updated in place, not installed twice: a .deb of a newer version is upgraded by apt, and a tarball of another version of a program in C:\Programs (mygame-1.2 for mygame-1.0) replaces it in its folder, under the same name, launcher, Start menu entry and shortcuts. What the program saved stays: its settings, and each account's layer over its folder, where the copies of its settings files that nobody changed give way to the new version's.
    • Desktop Shortcuts (.desktop) -> FreeDesktop application execution with terminal emulation and working directory support.
    • Anything else -> the system's default handler (xdg-open).
  • Desktop Shortcut Execution: Double-clicking .desktop application shortcuts or symlinked shortcuts from inside any folder in ferro-files parses their FreeDesktop specifications (Exec=, Terminal=, Path=), strips field codes (%U, %F), sets the working directory, and launches the application or terminal session directly.
    • Only trusted shortcuts run: owned by you or root, not writable by others, marked executable (or in the system's application folders), and not on a removable drive. Any other .desktop file opens as text, so a shortcut from a USB stick or a download can't start a program.

Taskbar, Window Management & Context Menus

  • Windows 11-Sized Elevated Taskbar (40px): Modern, spacious 40px taskbar height matching Windows 11 proportions while retaining authentic Windows 95 3D beveled aesthetics, with task buttons left-aligned after the Start button and pinned icons.
  • Enlarged Window Caption & Grabbing Area (28px): Window title bar height elevated to 28px (TITLE_H) with enlarged 22x20px caption buttons (X, O, _), providing a generous grabbing zone matching Windows 11 ergonomics for effortless dragging and positioning.
  • Hardware-Cached Root Pixmap & Flicker-Free Desktop: Desktop wallpaper and icons are rendered to a hardware-accelerated root Pixmap (_XROOTPMAP_ID and ESETROOT_PMAP_ID) with multi-rectangle X11 expose handling. Moving windows or opening applications never causes desktop icons or wallpaper tiles to vanish or flicker.
  • Unpinned Clean Default & Flexible Pinning: Starts with a clean, distraction-free taskbar (zero forced pins); users can pin any app from the Start menu or desktop context menus.
  • Taskbar Right-Click Context Menu:
    • Right-click empty taskbar space: Access Task Manager, Show the desktop, Display Settings..., Network Connections..., Volume Control..., and Date and Time....
    • Right-click pinned icons: Open or Unpin from taskbar.
    • Right-click running task buttons: Restore, Minimize, Maximize, or Close.
  • Window Geometry Persistence: Windows remember their customized size and desktop position across sessions in ~/.config/ferro/windows.conf (matching Windows 7 window memory).
  • Exact Browser Context Menu & Popup Positioning (ICCCM 4.1.5): Continuous root coordinate synchronization during window moves and strict WM position authority during client ConfigureRequests ensure context menus and dropdowns (e.g. in web browsers) spawn exactly at the mouse cursor, even when windows are moved far to the right screen edge.
  • EWMH / NetWM Popup & Dropdown Menu Support: Full conformance with _NET_WM_WINDOW_TYPE_POPUP_MENU, _DROPDOWN_MENU, _TOOLTIP, _NOTIFICATION, _COMBO, and _DND. Context menus and dropdowns map directly to their exact root screen coordinates without framing or clipping.
  • Double-clicking the titlebar toggles window maximize.
  • Instant, responsive caption buttons for Close (X), Maximize/Restore (O), and Minimize (_).
  • Smooth 6px resize borders with 20px corner drag handles for seamless resizing.
  • Aero Snap: Drag window titlebar to top to maximize, or left/right screen edges for 50% split view. Win+Arrow keys do the same from the keyboard.
  • Alt+Tab / Alt+Shift+Tab switch between windows (see Keyboard Shortcuts).
  • Desktops (Workspaces): Four desktops by default, each with its own windows, switched with the numbered buttons left of the tray (or the mouse wheel over them) and Ctrl+Win+←/→, as on Windows 10. The taskbar and Alt+Tab show the current desktop's windows; right-click a task button to Move to Desktop N or Show on all desktops. Ctrl+Win+D adds a desktop and Ctrl+Win+F4 closes one, its windows moving to the desktop on its left; the count is kept in ~/.config/ferro/workspaces.conf. Pagers and tools such as wmctrl and xdotool work through EWMH's _NET_NUMBER_OF_DESKTOPS, _NET_CURRENT_DESKTOP, _NET_DESKTOP_NAMES and _NET_WM_DESKTOP.

Dedicated Network & Internet GUI (ferro-network)

  • Accessible via Start > Settings > Network & Internet..., or the Network & Privacy settings... button in the network icon's tray panel.
  • Authentic Windows 95 tabbed property sheet dialog:
    • Ethernet (LAN): Live wired interface information including link status, speed, MAC address, IPv4 address, subnet mask, default gateway, and active DNS resolvers. Features one-click Renew IP (DHCP), Disconnect, and Diagnose... connectivity tests.
    • Wi-Fi Networks: Real-time wireless network scanning with signal strength indicators, security detection, modal password prompt dialog, and one-click Connect / Disconnect backed by NetworkManager (nmcli). Allow this network's sign-in page lets a hotel or café Wi-Fi login page through (see Encrypted DNS).
    • VPN & Tor: WireGuard VPN on/off with a list of configs (Add config... for a .conf file, Use, Remove; kept in /etc/ferro/vpn.d). While the VPN is on, ferro-vpn-watch checks every 15 seconds that the server in use still answers (anything back through the tunnel after a probe sent through it); after two checks without an answer it switches to the next config on the list (round to the first after the last; with only one, it starts that one again), and the status says which stopped answering. A server that's down for a while no longer leaves everything blocked until someone imports a new config by hand. Only while there's a network at all, and never once the VPN is switched off. Note that another config is another server, with another public address: anything others reach through the VPN's address (a forwarded port) needs to follow it. It also has a kill switch: while the VPN is on, firewall rules (inet ferro_vpn) let traffic out only through wg0, plus the tunnel's own packets to the servers on the list (so switching to the next works with everything else blocked) and DHCP, so if the tunnel drops nothing goes out from the real address (programs, servers, and what the PC forwards for VMs and containers). They go in before the tunnel comes up, stay until the VPN is switched off, come back with the VPN at startup (before the network) and after a firewall reload. For configs that send everything through the tunnel (AllowedIPs = 0.0.0.0/0); sudo ferro-vpn killswitch off goes without it. While the kill switch guards the tunnel, lookups go only to the VPN's own DNS servers (the config's DNS = line), inside the tunnel: the VPN already sees every connection, so DNS over TLS to Quad9/Cloudflare would only add a second company that sees them. FerroOS's DNS over TLS comes back when the VPN is switched off, and Tor's DNS still wins while Tor is on, and the Tor switch with an option to use Pluggable Transports (obfs4 / Snowflake) where Tor is blocked.
    • Hardware Switches: Dedicated toggles for Network, Microphone, and Camera hardware kill switches.
  • Out-of-the-Box Ethernet Auto-Connect: Wired Ethernet interfaces automatically configure and connect with DHCP on boot or cable plug-in via NetworkManager and firewall rules (udp sport 67 udp dport 68).

Power & Session Management

  • Instant, passwordless power actions from the Start menu (Shut Down..., Restart..., Log Off...).
  • Polkit and sudoers rules allow user accounts in the sudo group to power off and reboot without terminal prompts or permission denials.

Desktop Appearance & Screensavers (ferro-appearance)

  • Accessible from Start > Settings > Appearance & Display... or Properties on the desktop's right-click menu (the window is Display Properties).
  • Features a retro CRT monitor preview rendering the selected background or screensaver in real time.
  • Background Tab:
    • Browse... File Selection: Native graphical file dialog (zenity) to select any .png, .jpg, .bmp, or .ppm image for the desktop background.
    • Logon Screen Wallpaper Selection: Dedicated Logon... browse button and Use for the Logon screen to give the ferro-logon greeting the same picture as the desktop, or its own. Only a copy of the picture and the colour go to the logon screen (/etc/ferro/logon), not the account's settings or where its pictures are kept; unticking puts FerroOS's own back.
    • Six Retro Desktop Colors: Teal (#008080), Slate (#182026), Black (#000000), Navy (#000080), Plum (#550055), and Forest (#005522).
    • Dark Mode UI: Toggle between classic silver/gray 3D bevels and a modern Charcoal Dark Mode for window borders and dialogs.
    • Smooth drawing (about 60 MB): Runs the picom compositor: VSync, no tearing, smooth dragging. Off by default to save memory.
    • System sounds: Turn the few soft system sounds (startup, errors, questions) on or off. Emptying the Recycle Bin is silent.
  • Screen Saver Tab:
    • Choose between Flying Stars, Phosphor Matrix, Blank Screen, or custom screensavers.
    • Browse... Custom Screensaver: Easily browse and register any executable script or binary as a screensaver.
    • Adjust idle activation timeout (1–60 minutes) and toggle password protection on wake.
    • Full-screen Preview button and quick shortcut button to open the custom screensavers folder.
  • Windows Tab: The colour of the active window's title bar (Default navy, Brown, Maroon, Forest, Teal, Plum, Slate, Charcoal, Olive) and of window borders (Default grey, Tan, Brown, Olive, Slate, Charcoal), shown in the preview and on open windows as soon as they're applied.
  • Graphics Tab: On PCs with more than one graphics card, choose which one draws the desktop and which runs programs, and give single programs (Wine, Steam...) a card of their own (Add... / Remove). A card nothing is set to use is closed to programs (ferro-gpu close): Chromium and Electron apps (OpenCode, VS Code) open every card while starting, and one whose driver can't draw (nouveau on a GTX 16/RTX card without its firmware) left them with a white window. Naming the card for a program opens it again.
  • Changes broadcast instantly to running apps via X11 root window atoms and persist across reboots in ~/.config/ferro/appearance.conf.

Retro Screensavers & Screen Lock (ferro-screensaver / Win+L)

  • Authentic retro screensavers:
    • Flying Stars: 3D starfield warp animation with depth perspective.
    • Phosphor Matrix: Retro green phosphor cascading digital rain.
    • Blank Screen: Energy-saving power black display.
  • Custom Screensavers: Drop any executable or shell script into ~/.local/share/ferro/screensavers/ to automatically register it in the Appearance picker.
  • Instant Lock (Win+L): Press Win+L at any time to instantly lock the screen and require user authentication.

Streamlined System Tray & Status Display

  • Located in the taskbar notification area beside the clock and volume controls.
  • Streamlined Tray Icons: Focused on essential daily utilities:
    • Network: Displays link state; clicking opens a small panel with the connection and the Network, VPN, Tor, Microphone and Camera switches, plus Network & Privacy settings... for ferro-network.
    • Speaker (Volume): Left-click opens a volume slider with Mute and Mixer...; right-click toggles mute instantly; the scroll wheel changes the volume; middle-click opens the mixer (ferro-volume).
  • Mixer & Sound Output (ferro-volume): Per-control sliders, plus Play sound on to pick the speakers, headphones or a monitor's HDMI speakers, with a Test button. There's no sound server: ferro-audio points ALSA at the chosen output (~/.config/ferro/sound.conf) and switches on HDMI audio, which starts muted on many graphics cards.
  • Sound Enhancer (ferro-enhancer): An On/Off switch, a Volume boost past 100% (up to +12 dB, with a limiter so it never clips), Loudness (a gentle leveller that brings quiet and middle parts up towards the peaks, so the boost isn't all eaten by the limiter on loud modern audio), a Bass boost with a Small speakers tick box (the boost moved up to about 180 Hz, and the deep bass laptop speakers can only rattle at rolled off under 90 Hz), and a ten-band Equalizer (31 Hz to 16 kHz) with presets (Flat, Bass, Voice, Music, Treble) and My own, which moving any band makes. Control Panel > Sound Enhancer, or Start > Programs > Multimedia. It works without a sound server and downloads nothing: ferro-audio puts a small plugin of ours (ferro-ladspa) into ~/.asoundrc with alsa-lib's own ladspa PCM, so every program's sound goes through it before the mixing, on any output (jacks or HDMI). Changes are heard within a moment, even in programs already playing: the plugin looks at ~/.config/ferro/enhancer.conf 20 times a second, and what's changed plays once the sound already handed to the card has (a fifth of a second or so). Programs started before the plugin was first put in ~/.asoundrc use it once they're started again. Off, every sample goes through untouched. It adds no delay (nothing looks ahead) and costs well under 1% of one CPU core. Each program has its own limiter, so one program never clips; several very loud ones at once can still add up past full scale in the mixing.
  • Other Programs' Icons: Programs that put an icon in the tray (XEmbed) get one; past five, the rest fold behind a < / > button.
  • Status Readout & Clock: Displays live system memory usage and the clock (XX MB HH:MM AM). Clicking the memory number opens Task Manager, clicking the clock opens Date and Time, and right-clicking either offers both.

Task Manager & Process Context Menus (ferro-taskmgr)

  • Accessible via Ctrl+Shift+Esc, the taskbar's memory number, or the Start menu.
  • Processes Tab: Real-time PID, CPU%, memory footprint, user account, and active RAM Budget.
  • Right-Click Process Context Menu: Right-click any running process to End Process, Set RAM Budget..., or Remove RAM Budget.
  • Per-Process RAM Quotas: Set strict kernel cgroup v2 memory limits (e.g., 512M, 2G) with dedicated dialog.
  • Performance Tab: Live 60-second CPU and RAM history graphs.
  • Harmonized Memory Reporting: Memory usage is calculated using true active process and OS footprint (footprint_kb), accounting for Linux kernel low-memory watermark reserves (totalreserve_pages) and page-table bookkeeping. Task Manager and the Taskbar display the identical, accurate active RAM metric.
  • Context Menu Isolation: Process context menus are strictly restricted to row selections on the Processes tab. Right-clicking anywhere on the Performance tab or modal dialogs will never open an unintended process action menu.

Green Phosphor Command Prompt (ferro-terminal)

  • A bash shell in LXTerminal, styled after phosphor CRT monitors (#33FF33 bright green text on #000000 deep black).
  • Full Clipboard & Context Menu Support: Windows-style Ctrl+C (copy) and Ctrl+V (paste) shortcut keys, mouse right-click context menu (Copy, Paste), and terminal text selection.
  • Stop & Pause: with Ctrl+C copying, Ctrl+Z stops the command that's running and Ctrl+Y pauses it (fg brings it back).
  • Reliable Backspace & Delete: Configured with terminal driver initializations (stty erase '^?') and Xresources translations ensuring backspace and delete keys work reliably without control character glitches.
  • Everything Linux Has: Run any program (apt, sudo, python3, git, ...) and ferro-heavy to add drivers and software (see below). The DOS-style commands (DIR, MEM, WIFI, TOR...) belong to Lite's own prompt, ferro-cmd (see Commands).

Security, Privacy & Anti-Forensics

FerroOS Heavy embeds layered defense-in-depth across the entire operating system stack:

Optional Full Disk Encryption (LUKS2 + Argon2id)

  • The installer (ferro-setup / ferro-install) configures LUKS2 full-disk encryption with Argon2id key derivation at 1 GiB of memory and 5 seconds of work per attempt, and requires a passphrase of at least 12 characters.
  • Users can uncheck encryption during setup for non-sensitive environments or virtual machine testing.
  • No swap is set up, so nothing from memory is ever written to the disk outside the encrypted volume.
  • TRIM passes through the encryption (discard, and ferro-trim turns it on for systems installed before), so the SSD knows which blocks are free and doesn't slow to a crawl as it fills. Deleted files' blocks are emptied by the SSD itself; what this shows someone holding the disk is which blocks are in use, never what is in them.
  • Disks stay responsive under load: BFQ on SATA and SD drives serves interactive programs ahead of a build's or a copy's backlog, and at most 256 MB of writes wait in memory, so they never pile up into gigabytes sent all at once.

Encrypted Extra Drives (ferro-drives)

  • Encrypt a Drive (Start → Programs → System Tools, or type "encrypt" in the Start menu) erases an extra internal disk or USB drive and makes it one LUKS2 (Argon2id) volume holding ext4, owned by you. FerroOS's own disk, the stick it started from, and drives in use are never offered; the root helper (ferro-drive) checks the same rules again.
  • When a locked encrypted drive is plugged in, or is already there when you log on, a box asks for its passphrase and it opens in My Computer.
  • Tick Unlock automatically on this PC to keep a random key for the drive on the (encrypted) system disk: it then opens at startup, before anyone logs on, at a fixed place, /Drives/NAME, which suits a server's data. Services that need it can be ordered After=ferro-drives.service.
  • Everything works from the keyboard: Tab moves (the focused control is outlined), Space ticks, Enter goes on and says what's missing.

Duress Password & Anti-Coercion Self-Destruct

  • During setup, an optional secondary Duress PIN (at least 10 characters) can be configured alongside your primary password.
  • It works at all three prompts: the disk passphrase prompt at startup, the logon screen, and the lock screen. Entered at any of them, the system:
    1. Erases the LUKS2 key slots and overwrites the header area of the FerroOS system disk (and no other disk), so its contents can never be decrypted again, even with the real passphrase.
    2. Powers off at once.
  • The PIN is stored only as a salted Argon2id hash. Because the startup check runs before the disk is unlocked, that hash is on the unencrypted boot partition, which is why the PIN must be long: a short one could be guessed from a copy of the disk.
  • Limits: it protects against someone who types it on the real machine. It cannot help if the disk was copied first; an examiner working from a copy is not affected by the wipe.

Cold-Boot Memory Extraction Defense

  • The kernel boots with init_on_alloc=1 and init_on_free=1.
  • Every physical memory page freed by any process or kernel cache is immediately zeroed by the Linux memory allocator, so no plaintext keys or credentials are left in RAM chips after use.
  • Freelist randomization (page_alloc.shuffle=1) makes heap exploits harder; the installed system adds slab cache isolation (slab_nomerge), randomize_kstack_offset=on and vsyscall=none.

No Sleep: Keys Never Left in a Seized Machine

  • Sleep keeps the disk's encryption keys in RAM, where a seized machine can be read out (cold-boot and DMA attacks) without the passphrase.
  • FerroOS Heavy therefore never sleeps: closing the lid or pressing the sleep key powers off, and suspend and hibernation are disabled.
  • Panic key: Ctrl+Alt+End cuts power instantly, without a clean shutdown, so the keys are gone from memory within moments.
  • The kernel starts with IOMMU DMA protection (intel_iommu=on, amd_iommu=force_isolation, iommu=force, iommu.strict=1, efi=disable_early_pci_dma), so Thunderbolt and other plug-in devices can't read memory directly.

USB Kill: Power Off on a USB Change (ferro-usbkill)

  • FerroOS's own take on the idea behind usbkill, written in Rust. It powers off the moment USB, Thunderbolt, FireWire or PCI devices change in a way you haven't allowed. That covers a stick or a "keyboard" plugged in, a mouse jiggler, a device taken out, or a key on a cord round your wrist pulled away (a tether). With the disk encrypted, the data is out of reach again within moments. It's useful on a server, or on a laptop that might be taken while it's unlocked.
  • Settings > USB Kill:
    • Turn it on.
    • Watch always, or only while the screen is locked.
    • Choose whether a device that isn't allowed sets it off when plugged in, when taken out, or both.
    • Choose what happens: power off, restart, or only note it, to try your rules out first.
    • Tick, for each device plugged in now, Allowed (it may come and go) or Tether (taking it out always sets it off).
    • Turning it on with nothing allowed allows what's plugged in, so the next mouse movement doesn't power it off. Saving asks for the password.
  • It's off until you turn it on: a new install or an update leaves it off.
  • Covered: every USB device, on USB-A and USB-C ports, hubs and docks; Thunderbolt devices (docks and drives through USB-C or Thunderbolt ports, written tb:vendor:device); and FireWire devices (fw:vendor:model). PCI devices (pci:vendor:device) are covered too: a card added or taken out (hot-swap bays, ExpressCard) sets it off. This matters because a PCIe device can read memory directly (DMA). The IOMMU already stops it reading what isn't its own (see No Sleep above), and this powers off as well. The PCIe devices a Thunderbolt dock brings with it (its USB controller, its network chip) come and go with the dock: with an allowed dock plugged in they're allowed, and without one they set it off like any other device. Settings lists only those, not the computer's own PCI devices. A server whose drivers add PCI functions of their own (SR-IOV) needs them allowed in the file. Not covered: things that aren't devices on these buses, such as monitors, audio jacks and network cables.
  • Devices are matched by id and, when they have one, serial number (Thunderbolt's unique id, FireWire's GUID). An id alone can be copied onto another device. An allowed device can be taken out and put back as often as you like. Any other device taken out and put back counts as a change, however quickly it happens, because the kernel gives a USB device a new number each time.
  • Its rules can't be changed behind its back: while it's on and watching, any change to the rules sets it off, using the rules it was watching with. That covers saving in Settings, editing the file, deleting it, or editing it and putting its date back. So nobody at the computer can allow their own device first. Settings warns and asks for a second click before saving while it's on. Stopping the service while it's watching sets it off too, unless the computer is shutting down. Updates leave a running USB Kill alone, and its new version starts at the next restart. In only note it mode, a change to the rules is noted and then taken, so rules can be tried out. The limit is root itself: anyone who has the password can do anything, including killing it outright (it's started again at once, then watches what's plugged in at that moment). Keep the password to yourself.
  • The rules live in /etc/ferro/usbkill.conf, which you can also edit by hand on a server without a screen. It can also hold commands to run first (as root, 5 seconds each) and files or folders to overwrite and delete (the first 64 MB of each file; on an SSD the disk's encryption is what really protects them). ferro-usbkill devices lists what's plugged in with the line that allows each, and sudo ferro-usbkill allow-present allows them all.
  • The service (ferro-usbkill.service) always runs, and with the rules off it only waits. The kernel tells it about a change at once, and it also looks every 250 ms. When set off, it notes why in /var/log/ferro-usbkill.log, then powers off straight away, without asking programs to close. It's the last process killed if memory runs out. After the computer wakes from sleep, it gives the ports 5 seconds to find their devices again.

Screen Access: Programs Ask Before They See the Screen (ferro-xgate)

  • On plain X11 any program can screenshot every window on every desktop, fake key presses for other programs and read what's typed. On Heavy, programs don't reach the display server itself (it runs as :5, its cookie root's alone) but ferro-xgate, a gate in front of it that they see as :0. They draw, take the keyboard while they're used and talk to the window manager as before.
  • Seeing the screen asks first: A program that reads the screen's pixels (a screenshot, a screen share, a recording; GetImage, MIT-SHM, copying the screen or another program's windows into its own picture, Composite and DRI3 buffers that aren't its own) waits while a Screen access question names it and its process number, shown on every desktop and above every window, so anything private can be closed first. Allow once (a few seconds), Allow until it quits, or Don't allow (Enter, Esc, closing it, or two minutes without an answer); a refused program gets a black picture. The two allowing buttons are greyed out for its first second, and no program can press them: pretend clicks don't get through the gate. While a program is allowed until it quits, a red screen light sits in the tray beside the microphone and camera lights; hovering it says which.
  • Window titles: Another program's window titles (which often name the file that's open) and the command that started it read as empty (WM_NAME, _NET_WM_NAME, WM_COMMAND and the like), unless the program may see the screen at the time; a screen-sharing program's window list fills in once it's allowed.
  • The clipboard: Only the program being used may paste: the one with the keyboard, the one the desktop shows as active, or the one under the mouse pointer (a right-click menu's Paste asks before focus has moved). What's copied (CLIPBOARD) and what's selected (PRIMARY) can't be read by a program in the background, which is told nothing was copied; any program may ask what kinds of thing were copied (text, a picture), never what, so its Paste is ready when you get to it. Drag and drop works as before, and the clipboard history (ferro-clipboard) is trusted to keep what's copied.
  • No records of use on disk: what was installed or removed (apt's logs live in /run/ferro-apt, in memory; dpkg's and update-alternatives' aren't written), logins (wtmp, btmp), virtual machines run (libvirt's logs go at each start) and sites wget downloaded from (hsts = off) aren't kept. Window sizes are remembered per program, but a program not opened for 30 days is forgotten, so ~/.config/ferro/windows.conf isn't a list of everything ever used.
  • Folders open in the File Manager: Which folder a File Manager window shows (_FERRO_CURRENT_DIR) is for the File Manager and the window manager only.
  • Never allowed: Pretend input and recording what's typed (XTEST and RECORD are hidden, as are XFree86-DGA and SECURITY), key events from other programs' windows (XInput's raw key events included), grabbing every key, synthetic key and mouse events for other programs, redirecting other programs' windows (becoming a compositor), freezing the display (GrabServer), and letting other hosts onto it.
  • Print Screen: The Snipping Tool (Print Screen), the window manager and picom (Smooth drawing) see the screen without asking. The gate knows them because it starts them itself (ferro-xgate run PROGRAM, which FerroOS's own go through on their own): only a program on its list (root's, in /usr/local/bin or /usr/bin), started that way, without someone else's libraries (LD_PRELOAD and the like are dropped) and not being debugged, is let through; the same file started any other way is asked about like any program. A screen recorder of your own can be added to /etc/ferro/xgate-trusted (one path a line) and started with ferro-xgate run /its/path.
  • ferro-xgate probe tries each way of seeing the screen and prints what it got.

Tor Routing with Pluggable Transports

  • Heavy: Debian's tor, switched from the network tray panel or Network > VPN & Tor (ferro-tor on [bridges] / ferro-tor off). When on, firewall rules send every program's traffic and DNS through Tor, not only programs set up with a proxy. Pluggable Transports (obfs4proxy, snowflake-client) get through networks that block Tor. Off by default; the switch is remembered across restarts.
  • Lite: Built-in Arti (Rust implementation of Tor) with Pluggable Transports (lyrebird, snowflake-client, webtunnel-client). Turned on per session (TOR ON) or for good (TOR ON PERSIST); bridges via TOR BRIDGE ADD <line>, TOR BRIDGE LIST and TOR BRIDGE CLEAR.

System Hardening & Network Privacy

  • Encrypted DNS: Every lookup goes over DNS-over-TLS to Quad9 (dns.quad9.net) or Cloudflare (cloudflare-dns.com), their certificates checked; never plain DNS, and never the resolver a router hands out. For a Wi-Fi sign-in page that blocks them, tick Allow this network's sign-in page on the Wi-Fi tab (ferro-portal): it relaxes this for that network only, for up to 10 minutes.
  • What updates touch (Settings > Updates): Update now, and a tick for each part of FerroOS that updates bring along (heavy/components.list: Wisp, Folio and Leaflet). Unticked, updates leave that part as it is (ferro-update-hold, /etc/ferro/update-hold). Uninstalling one from the Start menu removes it and unticks it, so it doesn't come back with the next update; ticking it again brings it back. Debian packages FerroOS added and someone uninstalled already stay uninstalled.
  • Security Updates: Debian's security updates install themselves daily (unattended-upgrades, limited to the security archive; never a restart).
  • MAC Address Randomization: Ephemeral MAC addresses generated for every Ethernet and Wi-Fi connection, including during Wi-Fi probe scanning.
  • Default-Deny Firewall: nftables drops all inbound connections while permitting outbound traffic and essential ICMP/DHCPv6.
  • Restricted Umask: Files created by users default to private permissions (umask 077).
  • Kernel Lockdown: lockdown=integrity, kptr_restrict=2, dmesg_restrict=1, yama.ptrace_scope=1, unprivileged_bpf_disabled=1, core dumps disabled (suid_dumpable=0), and maximum ASLR entropy (mmap_rnd_bits=32).
  • Share (ferro-share): Android's Share button, private first. A program opens the Share box with a file, some text or a link; you pick which program gets it. The program sharing isn't told which programs there are, which one you picked, or whether you shared at all, and nothing is remembered between shares (no recent programs, no suggested people). The program picked gets a read-only copy in memory (its own folder under /run/user/<you>, RAM; there's no swap to write it out to), never the original or where it came from, and the copy is deleted once it's been read. Pictures (JPEG, PNG, WebP) lose their location and camera details (ferro-meta) unless you untick it, along with the extra pictures and motion-photo video phones put after a JPEG. Videos, HEIC pictures, recordings and documents can't be cleaned here: with the box ticked they aren't shared, and the Share box says so. Environment variables don't pass from one program to the other. In File Explorer: right-click a file, Share....
    • For programs: ferro-share FILE..., ferro-share --stdin NAME < data (bytes through a pipe, never a file), ferro-share --text TEXT (or - for stdin), ferro-share --url URL; from Rust, the ferro-share crate's share_files, share_bytes, share_text, share_url. A program is offered for what its .desktop entry's MimeType= lists, if its Exec= takes a file (%f, %F, %u, %U); X-Ferro-Share=false leaves it out.
  • Metadata Removal: Right-click a file, Properties, then the Info tab shows its hidden metadata (EXIF, GPS, camera model, author...) with Strip / Strip All buttons (exiftool).

Modern Hardware & On-Demand Capabilities

FerroOS Heavy includes driver support for modern workstations and laptops, with on-demand acceleration tools accessible via ferro-heavy or the Start menu:

ferro-heavy menu            # The Add Programs window (Start > Settings > Add Programs); a list in a plain terminal
ferro-heavy status          # View RAM footprint, Secure Boot, LUKS, GPU, and audio status
ferro-heavy update          # Make a restore point, then update everything that's installed
ferro-heavy install <name>  # Make a restore point, then install any Debian package
ferro-heavy drivers         # Install Mesa 3D, Vulkan & VA-API video decode for Intel / AMD
ferro-heavy nvidia          # Build proprietary NVIDIA DKMS drivers + libcuda
ferro-heavy enroll-key      # Let Secure Boot load that driver (MOK enrollment)
ferro-heavy steam           # 32-bit architecture & Vulkan drivers, then Steam (Proton comes with Steam)
ferro-heavy llm             # Python 3, venv & build tools; then shows the pip commands for PyTorch / llama.cpp
ferro-heavy cuda            # Install full NVIDIA CUDA compiler toolkit (nvcc & headers)
ferro-heavy audio           # Set up sound on the output chosen in Volume Control, unmute it, play a test sound
ferro-heavy torbrowser      # Tor Browser
ferro-heavy scummvm         # ScummVM: classic adventure & children's games (Pink Panther, Humongous, LucasArts...)
ferro-heavy wine            # Wine with 32-bit support for Windows programs and older 32-bit/16-bit games
  • Wi-Fi Cards: Firmware included out of the box for Intel (iwlwifi), Realtek (rtw88/rtw89), MediaTek (mt7921/mt7922), Qualcomm Atheros (ath10k/ath11k), and Broadcom.
  • Display Drivers: Modesetting for Intel Gen1–Gen14, AMD Radeon (amdgpu), NVIDIA (nouveau), with universal UEFI GOP (fbdev) and VESA fallbacks.
  • Audio: No sound server: plain ALSA (alsa-utils), set up by ferro-audio for the output picked in the mixer, with Sound Open Firmware (firmware-sof-signed) for laptop internal speakers and digital microphone arrays.

Ultra-Lean Idle Footprint: How It Works

Standard desktop Linux distributions consume between 800 MB and 2.5 GB of RAM at idle. FerroOS Heavy achieves its ultra-lean memory footprint through targeted systems optimization:

  1. Kernel Hash Table Pinning: Linux dynamically sizes internal dcache, icache, and page hash tables based on total system RAM—consuming 30–50+ MB on modern machines. Heavy pins these tables at boot (dhash_entries=32768 ihash_entries=16384 thash_entries=4096 uhash_entries=512), freeing dozens of megabytes immediately.
  2. Transparent Hugepage Suppression: Booting with transparent_hugepage=never prevents the kernel from allocating 2 MB hugepages to small background daemons, avoiding memory fragmentation.
  3. Lean Xorg Display Layer: RECORD and XTEST extensions are disabled to reduce memory footprint, while Xorg Composite and unprivileged user namespaces (kernel.unprivileged_userns_clone=1) remain enabled so Chromium, Electron (e.g. Antigravity), and hardware-accelerated GUI apps render cleanly without blank window artifacts.
  4. Aggressive Cache Reclaim: vm.vfs_cache_pressure=200 and vm.swappiness=10 aggressively prioritize reclaiming unused directory/inode caches.
  5. Capped Journal Buffers: systemd-journald volatile runtime storage is capped at 4 MB (RuntimeMaxUse=4M) with compression enabled (Compress=yes).
  6. Lean NetworkManager: Configured with internal C DHCP client (dhcp=internal), file-only keyfile plugins, and connectivity polling disabled.
  7. Masked Redundant Daemons: Virtual consoles tty3–tty6, the ext4 scrubber (e2scrub_all) and firmware-update polling (fwupd-refresh) are masked to eliminate background CPU and RAM wakeups. APT's daily timer stays, since it runs the security updates.

FerroOS Lite: The 29 MB Companion

For embedded systems, retro machines, or air-gapped environments where every megabyte counts, FerroOS Lite runs the same retro user experience in an ultra-compact package:

  • Monolithic Rust Userspace: The entire userspace (PID 1 ferro-init, ferro-shell, ferro-net, ferro-cmd) is compiled into a single static binary.
  • Direct DRM/KMS Rendering: Renders straight to the Linux kernel Direct Rendering Manager framebuffer without X11 or Wayland.
  • Encrypted Vault: User files and settings reside in a custom cryptographic vault encrypted with Argon2id and XChaCha20-Poly1305.
  • Zero Disk Residue: The root filesystem runs purely in RAM; shutdown wipes all uncommitted data.

Keyboard Shortcuts & Commands

Global Keyboard Shortcuts

Shortcut Action
Win or Ctrl + Esc Open / close Start menu
Ctrl + Shift + Esc Launch Task Manager (ferro-taskmgr)
Win + E Open File Manager (ferro-files)
Win + D Show Desktop (minimize / restore all windows)
Ctrl + Win + ← / → Previous / next desktop (with Shift: take the window along)
Ctrl + Win + D / F4 New desktop / close this desktop
Win + L Lock the screen
Win + ← / → / ↑ / ↓ Snap the window left / right, maximize, restore (or minimize)
Win + V Clipboard history
Win + N Notifications
Print or Win + Shift + S Snip part of the screen
Alt + F4 Close active window
Alt + Tab / Alt + Shift + Tab Cycle between open windows
Ctrl + Alt + End Panic: power off at once (see No Sleep)

Lite's Command Prompt (ferro-cmd)

Heavy's Command Prompt is bash. Lite has its own DOS-style prompt, an interactive line editor with VT100 / ANSI escape processing:

  • Arrow Keys & Cursor Movement: Pressing Left / Right arrow moves the insertion point | smoothly across the line without printing raw escape sequences (e.g. ^[[D).
  • Command History: Pressing Up / Down arrow recalls and edits previous commands.
  • Navigation & Editing Hotkeys: Supports Home / Ctrl+A (start of line), End / Ctrl+E (end of line), Delete (forward delete), Ctrl+K (delete to end), Ctrl+U (delete to start), and Ctrl+C (cancel).
  • Clean Backspace: Uniformly processes both 0x7F (DEL) and 0x08 (BS) so backspacing never outputs random characters or artifacts.
DIR / CD / TYPE         Standard file navigation and inspection
MEM                     Display free, used, and total system memory
MEM /DETAIL             Detailed memory breakdown including kernel tables
MEMTEST <MB>            Test that much RAM
RUN /NET <app>          Launch an application with pre-authorized network access
RUN /NONET <app>        ...or with none
RUN /MEM:<size> <app>   ...with a RAM limit
PERMS /FORGET ALL       Clear all remembered application network permissions
WIFI LIST               Scan and list available Wi-Fi networks
WIFI JOIN <ssid>        Connect to a Wi-Fi network (prompts for passphrase)
WIFI OFF                Disconnect from Wi-Fi
BATTERY                 Query laptop battery charge level and AC power status
BRIGHTNESS <0-100>      Adjust display backlight brightness
VPN IMPORT <path.conf>  Import a WireGuard configuration file
VPN ON / VPN OFF        Toggle WireGuard VPN tunnel
TOR ON / TOR OFF        Toggle system-wide Tor routing (TOR ON PERSIST keeps it on)
TOR BRIDGE ADD/LIST/CLEAR  Manage Tor bridges
DEBIAN apt install <pkg> Install any Debian package (with persistent LUKS2 storage)
DEBIAN /RESET           Forget everything installed, at the next start

Note on Debian Package Availability:

  • Classic synapse (the legacy GTK2 semantic launcher) was deprecated and removed from modern Debian repositories. If you are looking for an application launcher, use rofi (ferro-heavy install rofi) or albert. If you want the Matrix homeserver, use matrix-synapse (ferro-heavy install matrix-synapse).

Building from Source

Prerequisites

  • Rust (stable toolchain)
  • QEMU (qemu-system-x86_64)
  • Host C compiler (clang, llvm, and musl-tools on Linux; MinGW GCC on Windows)

The Rust userspace is compiled on your machine as static x86_64-unknown-linux-musl binaries (hence clang and musl-tools); the kernel, Tor, Debian and Heavy images are built inside isolated, self-contained QEMU builder VMs, so no container engines are required.

# 1. Preview the desktop in a window on your current operating system
cargo run -p ferro-preview

# 2. Build FerroOS Heavy hybrid ISO (build/ferroos-heavy.iso)
cargo xtask heavy-iso

# 3. Run automated virtual window manager test suite with screenshots
cargo xtask wm-test

# 4. Build FerroOS Lite standalone ISO (build/ferroos.iso)
cargo xtask iso

# 5. Boot FerroOS Lite in QEMU with 64 MB RAM
cargo xtask run

Automated GitHub Releases

Automated releases are powered by the .github/workflows/release.yml GitHub Actions workflow. When a version tag (e.g. v1.0.0) is pushed or manually triggered via workflow_dispatch:

  • The builder automatically provisions the environment, compiles the static userspace binaries, and generates ferroos-heavy.iso.
  • Builds Wisp from the commit in heavy/wisp.commit for the image (installed systems then follow Wisp's own releases, which its repository publishes on every push to main) (tools/heavy/build-wisp.sh, in a Debian container), and the update bundle that installed systems fetch with ferro-update (ferroos-heavy-update.tar.gz). The bundle carries FerroOS's own programs plus the release's package lists: ferro-update installs each Debian package newly added to heavy/packages.txt and removes each one listed in heavy/packages-removed.txt, once, so an installed system gets everything a fresh install has. A package someone uninstalled isn't put back, and one that can't be had yet is tried again at the next update. A newer ferro-update in the bundle runs its own steps.
  • Computes SHA-256 checksums (ferroos-heavy.iso.sha256, ferroos-heavy-update.tar.gz.sha256) and a signed build-provenance attestation, so a download can be checked against this repository: gh attestation verify ferroos-heavy.iso --repo anti-ghostsec/FerroOS.
  • Signs the update bundle (and ferro-update itself) with FerroOS's release key (minisign, the MINISIGN_SECRET_KEY repository secret). ferro-update installs a bundle, downloaded or from a file, only if its signature checks out against the public key it carries (PUBKEY in heavy/ferro-update) and its release is no older than the one installed; ferro-update --check FILE says whether a bundle would be taken, without changing anything.
  • Publishes the ISO, the update bundle, ferro-update, the signatures and the checksums to GitHub Releases, and removes all but the two newest releases.

Screenshots

Logon Screen Installation Wizard
Logon Screen Installation Wizard
Logon screen with session locking & duress protection Setup wizard with optional full-disk LUKS2 encryption
Task Manager Budgets Network Kill Switches & Tray
Budgets Privacy Kill Switches
Per-process RAM budget configuration dialog Hardware kill switches and privacy controls

License

FerroOS is dual-licensed under the MIT License or the Apache License (Version 2.0), at your option.

Third-party components packaged in the installation images:

  • Linux Kernel: GPL-2.0
  • GRUB Bootloader: GPL-3.0
  • Tor (Heavy): BSD-3-Clause
  • Arti (Tor, Lite): MIT / Apache-2.0
  • Debian Base Packages: Respective upstream open-source licenses

FerroOS on GitHub · More projects