Breaking change. Tool name, binary name, function/type names,
constant names, env vars, header guards, file paths, and GitHub
repo URL all rebrand IAMROOT → SKELETONKEY.
Changes:
- All "IAMROOT" → "SKELETONKEY" (constants, env vars, enum
values, docs, comments)
- All "iamroot" → "skeletonkey" (functions, types, paths, CLI)
- iamroot.c → skeletonkey.c
- modules/*/iamroot_modules.{c,h} → modules/*/skeletonkey_modules.{c,h}
- tools/iamroot-fleet-scan.sh → tools/skeletonkey-fleet-scan.sh
- Binary "iamroot" → "skeletonkey"
- GitHub URL KaraZajac/IAMROOT → KaraZajac/SKELETONKEY
- .gitignore now expects build output named "skeletonkey"
- /tmp/iamroot-* tmpfiles → /tmp/skeletonkey-*
- Env vars IAMROOT_MODPROBE_PATH etc. → SKELETONKEY_*
New ASCII skeleton-key banner (horizontal key icon + ANSI Shadow
SKELETONKEY block letters) replaces the IAMROOT banner in
skeletonkey.c and README.md.
VERSION: 0.3.1 → 0.4.0 (breaking).
Build clean on Debian 6.12.86. `skeletonkey --version` → 0.4.0.
All 24 modules still register; no functional code changes — pure
rename + banner refresh.
1010 B
NOTICE — cgroup_release_agent (CVE-2022-0492)
Vulnerability
CVE-2022-0492 — cgroup v1 release_agent privilege check in the
wrong namespace → host root from a rootless container or unprivileged
userns by mounting cgroup v1 and writing to release_agent.
Research credit
Discovered by Yiqi Sun + Kevin Wang (Trend Micro Research), January 2022.
Original writeup: https://blog.trendmicro.com/cve-2022-0492-from-cgroup-loophole-to-container-breakout/
Upstream fix: mainline 5.17 (commit 24f6008564183, March 2022).
SKELETONKEY role
Universal structural exploit — no per-kernel offsets, no race.
unshare(USER | MOUNT | CGROUP), mount cgroup v1 RDP controller,
write release_agent → ./payload, trigger via
notify_on_release + cgroup process exit.
Kept in the corpus as a portable "containers misconfigured"
demonstration — works across every kernel below the fix without any
tuning. Ships auditd rules covering cgroupfs mounts and
release_agent writes.