micromize is a security hardening tool designed to detect and break the post-exploit kill chain for containerized applications, leveraging BPF LSM.
Overview
Traditional container security often involves creating complex profiles (like Seccomp or SELinux) for each application to audit or restrict its capabilities. micromize flips this model. Instead of defining what each container can do, micromize applies a broad set of sensible restrictions to all containers running on a node, auditing and blocking dangerous flows that are rarely needed by legitimate containerized workloads and often used for container escapes.
By deploying micromize to your nodes, you instantly harden the entire node. You then manage exclusions for specific workloads that require broader permissions, rather than managing restriction profiles for everyone else.
How it Works
micromize leverages BPF LSM to enforce policies at the kernel level. It is built on top of Inspektor Gadget, using a modular architecture to load and execute eBPF programs.
Getting Started
Prerequisites
Micromize is under active development and wasn't tested on a broad set of environments.
Currently, development is done on Linux kernel 6.11 with BPF LSM support.
We are using the ig cli v0.46.0 for building gadgets (eBPF programs) that are embedded into the tool.
Building
make build-all
Running
micromize can run in two modes:
Enforce Mode (Default): Blocks restricted actions and logs them.