PongoOS is a pre-boot execution environment for Apple boards built on top of checkra1n.
Building On macOS
make all
Building On Linux
ld64
and cctools’ strip
.echo ‘deb https://assets.checkra.in/debian /’ | sudo tee /etc/apt/sources.list.d/checkra1n.list
sudo apt-key adv –fetch-keys https://assets.checkra.in/debian/archive.key
sudo apt-get update
sudo apt-get install -y ld64 cctools-strip
If clang
, ld64
or cctools-strip
don’t have their default names/paths, you’ll want to change their invocation. For reference, the default variables are equivalent to:
EMBEDDED_CC=clang EMBEDDED_LDFLAGS=-fuse-ld=/usr/bin/ld64 STRIP=cctools-strip make all
Build Artifacts
The Makefile will create four binaries in build/
:
Pongo
– A Mach-O of the main PongoOSPongo.bin
– Same as the above, but as a bare metal binary that can be jumped tocheckra1n-kpf-pongo
– The checkra1n kernel patchfinder, as a Pongo module (Mach-O/kext)PongoConsolidated.bin
– PongoOS and the KPF merged into a single binaryUsage
checkra1n -k Pongo.bin # Boots to Pongo shell, KPF not available
checkra1n -k PongoConsolidated.bin # Auto-runs KPF and boots to XNU
checkra1n -k PongoConsolidated.bin -p # Loads KPF, but boots to Pongo shell
Structure
src/
.tools/
.aarch64-none-darwin
.example/
.scripts/
.pongoterm
, an interactive shell client for macOS.checkra1n/kpf
.checkra1n/kpf-test
(can only be run on arm64).shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…
Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…
MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…