AltidSec

A Yocto Linux distribution

Sulka

Build your embedded Linux product on a hardened foundation. Sulka is a Yocto distribution with security on by default, so you can focus on your product instead of locking down the platform.

A cross-section of a Sulka image. From the bottom up: a hardened U-Boot bootloader with a locked console, the kernel with a hardened configuration and signed modules, SELinux mandatory access control, a read-only root file system, and the system layer with no root login, hardened SSH and audit logging. Your application sits on top of these layers. A firewall on the network side stops traffic in both directions.
Cross-section of a Sulka image. Every layer beneath your application comes hardened, and the firewall keeps the network out until you let it in. The bootloader hardening applies to boards that boot with U-Boot.

ISecure from the first build

  • Nothing gets in uninvited. The firewall drops all traffic until you allow it, so every open port is one you chose.
  • No easy way in. Root login is disabled, administration goes through sudo, and OpenSSH is hardened.
  • Breaches stay contained. SELinux confines services to what their policy allows, so one compromised process does not hand over the whole system.
  • A tougher kernel. A hardened kernel configuration and runtime sysctl blunt common exploit techniques, and only signed modules can load.
  • A system that stays as built. The root file system is read-only, so the running system cannot rewrite its own software.
  • A locked bootloader. On U-Boot boards, the console is password-protected and limited to an allowlist of commands.
  • Ready for scrutiny. Every image comes with an SPDX software bill of materials and a vulnerability report against it, so you can show exactly what runs on your device. Audit logging tracks security-relevant events on the running system.

IIWhy Sulka

Hardening a Yocto build yourself means picking the tools, configuring them, and keeping them working together as the layers move underneath you. Sulka does that work for you. It builds on meta-security, ships the decisions as one distribution, and tests them together at every release, including Lynis and OpenSCAP scans.

You stay in control. Every measure can be turned off, so where your product needs something different, you change a setting instead of starting from scratch.

IIIGetting started

If you have built a Yocto image before, Sulka will feel familiar. It builds with kas, and the quick start takes you to a hardened image running in QEMU. From there, you open up what your product needs, such as SSH access, through configuration options.

Follow the quick start, or read exactly what Sulka covers.

IVAt a glance

Based on
Yocto Project Wrynose LTS
Built on
meta-security and meta-selinux
Releases
Every three months, at the end of March, June, September and December
Reference targets
QEMU x86-64 and Raspberry Pi 4, covering x86-64 and arm64
Tested
Every release, by an automated test suite including Lynis and OpenSCAP scans
Firmware updates
A/B update example with Rugix on the Raspberry Pi reference
License
MIT
Source
Codeberg, mirrored on GitHub