9593d90385
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.
26 lines
815 B
Markdown
26 lines
815 B
Markdown
# NOTICE — dirty_cow (CVE-2016-5195)
|
|
|
|
## Vulnerability
|
|
|
|
**CVE-2016-5195** — Copy-on-write race via `/proc/self/mem` + `madvise`
|
|
→ arbitrary file write into the page cache.
|
|
|
|
## Research credit
|
|
|
|
Discovered by **Phil Oester**, October 2016. The bug had been latent in
|
|
the kernel since ~2007.
|
|
|
|
Original advisory: <https://dirtycow.ninja/>
|
|
Upstream fix: mainline 4.9 (commit `19be0eaffa3a`, Oct 2016).
|
|
|
|
## SKELETONKEY role
|
|
|
|
Two-thread Phil-Oester-style race: writer thread via
|
|
`/proc/self/mem` vs. madvise(MADV_DONTNEED) thread. Targets the
|
|
`/etc/passwd` UID field flip + `su` for the root shell. Useful for
|
|
**old systems coverage** — RHEL 6/7 (3.10 baseline), Ubuntu 14.04
|
|
(3.13), Ubuntu 16.04 (4.4), embedded boxes, IoT.
|
|
|
|
Ships auditd watch on `/proc/self/mem` and a sigma rule for non-root
|
|
mem-open patterns.
|