Part A — Kali: Install tools (from scratch)
1) Update Kali + install prerequisites
sudo apt update
sudo apt install -y python3 python3-pip python3-venv ca-certificates curl
2) Create a working folder + Python virtual environment
mkdir -p ~/macos/sonoma_14_8_2 && cd ~/macos/sonoma_14_8_2
python3 -m venv .venv
source .venv/bin/activate
3) Install applecatalog
python3 -m pip install -U pip
python3 -m pip install -U applecatalog
4) Show all available macOS full installers from Apple’s catalog
python3 -m applecatalog macos list –os -q | tee ~/macos_all_installers.txt
Helpful filters (optional)
Show only Sonoma entries:
grep -i “sonoma” ~/macos_all_installers.txt
Show the newest items at the bottom/top (depends on output format). You can quickly view:
less ~/macos_all_installers.txt
Part B — Kali: Download Sonoma 14.8.2 (Product ID 093-92756)
5) (Optional) Verify the product details
python3 -m applecatalog macos info 093-92756
You should see something like:
- name: macOS Sonoma
- version: 14.8.2
- build: 23J126
6) Download the product
mkdir -p ~/macos/sonoma_14_8_2/downloads
python3 -m applecatalog macos download 093-92756 ~/macos/sonoma_14_8_2/downloads
7) Find the downloaded InstallAssistant.pkg
find ~/macos/sonoma_14_8_2/downloads -type f -iname “InstallAssistant.pkg” -print
8) (Recommended) Create a checksum (good for your video)
PKG=”$(find ~/macos/sonoma_14_8_2/downloads -type f -iname ‘InstallAssistant.pkg’ | head -n 1)”
ls -lh “$PKG”
sha256sum “$PKG” | tee ~/macos/sonoma_14_8_2/InstallAssistant.sha256
