Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
This challenge models mmap, MAP_PRIVATE, and madvise—the ingredients used by Dirty COW (CVE-2016-5195)—as a safe, deterministic user-space simulation. Compile and run the supplied program, then inspect the generated result without modifying the read-only source file.
Compile the supplied program with gcc exploit.c -o exploit
It uses MAP_PRIVATE and madvise but does not depend on a real kernel vulnerability
After it runs, inspect cow_result.txt in your home directory