Skip to content

NCER333/macOS-pwn-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

macOS-pwn-setup

Cross-architecture Pwn setup: Colima-based x86_64 linux environment for pwn and reverse engineering on ARM64 macOS

Requisites

1. Host Tools

Ensure you have Homebrew installed, then run:

brew install colima docker

2. Initialize the x86_64 VM

I use sshfs to share an instant directory with the main system

colima start --arch x86_64 --cpu 2 --memory 4 --mount-type sshfs 

3. Run the container

   docker run -d \
  --name pwn-lab \
  --cap-add=SYS_PTRACE \
  --security-opt seccomp=unconfined \
  -v "/Path/Of/Your/Shared/Directory:/pwn" \
  -w /pwn \
  ubuntu:22.04 \
  tail -f /dev/null

  docker exec -it pwn-lab /bin/bash

4. Once in the shell install your tools

My tools

About

Cross-architecture Pwn setup: x86_64 debugging & CTF environment on Apple Silicon (M1, M2, M3, M4...) via Colima

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors