Jump to content

Specter — ARM64 memory manipulation framework for iOS/macOS, written in Rust.


6 posts in this topic

Recommended Posts

Posted

Specter

Features:

  • Inline function hooking
  • stealth code patching (via mach_vm_remap, no vm_protect noise)
  • hardware breakpoints
  • symbol resolution
  • shellcode injector
  • code cave finder

Drop libspecter.a + specter.h into any project. No Objective-C, no frameworks, no bloat.

Built for aarch64-apple-ios/aarch64-apple-darwin. MIT license.

  -> https://github.com/Batchhh/libspecter
  -> https://crates.io/crates/specter-mem

  • Like 3
Posted

Updated v1.0.3: add rlib crate type and gate hardware breakpoints to iOS only

- Add `rlib` alongside `staticlib` so the crate can be consumed as a Rust library dependency while still producing libspecter.a for C/C++
- Gate all hardware breakpoint code (module, FFI functions, registry) behind `#[cfg(target_os = "ios")]` — breakpoints use Mach exception handling that is not supported on macOS - Wrap `mem_brk_*` declarations in specter.h with `#if TARGET_OS_IOS`
- Update `make check-macos` to exclude `mem_brk_` from expected symbol count (macOS: 27 symbols, iOS: 33 symbols)

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines