·
nix
ctf
Rebuilding a kernel exploit with Nix
A kernel exploit targeted a program that NixOS keeps at a different path. Rebuilding dirtyfrag with Nix meant finding and pinning the exact executable, while exposing a kernel bug the build sandbox cannot contain.
·
nix
ctf
A page-cache bug the Nix sandbox can't contain
A decryption can fail and still leave the file it read changed. The move that lands root isn't reading the dropped binary - it's reading what the recipe retargets.