https://github.com/0xf4lc0n/xnu-shellcode-template
Rust project template for writing shellcodes for the macOS XNU kernel.
https://github.com/0xf4lc0n/xnu-shellcode-template
aarch64 cargo-generate macos shellcode xnu
Last synced: 5 months ago
JSON representation
Rust project template for writing shellcodes for the macOS XNU kernel.
- Host: GitHub
- URL: https://github.com/0xf4lc0n/xnu-shellcode-template
- Owner: 0xf4lc0n
- Created: 2024-01-07T12:12:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-27T23:48:07.000Z (over 1 year ago)
- Last Synced: 2025-08-11T21:02:19.545Z (8 months ago)
- Topics: aarch64, cargo-generate, macos, shellcode, xnu
- Language: Rust
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Template for writing shellcodes for macOS with XNU kernel and ARM64 architecture (aka aarch64).
The syscall numbers can be found in the [XNU source](https://github.com/apple/darwin-xnu/blob/main/bsd/kern/syscalls.master).
If you would like to dump the code of your shellcode, check out the [machos](https://github.com/0xf4lc0n/machos) tool.
## Usage
With cargo generate:
```plain
cargo generate --git https://github.com/0xf4lc0n/xnu-shellcode-template
```
Or clone this repository and set correct package name in Cargo.toml.