Repository navigation
Renef v0.3.5
Renef v0.3.5
Dynamic Instrumentation Toolkit for Android ARM64
What's New
-
Syscall Tracing (renef-strace): New strace-like syscall tracing without ptrace, uses PLT/GOT hooking to intercept libc calls across all loaded libraries. Three usage modes:
- Standalone binary:
renef-strace -p <pid> open,read,write,close - Built-in shell command:
renef-strace open,read,write,close - Lua API:
Syscall.trace("openat", "read", { onCall = function(info) print(info.formatted) end })
Supports 35+ syscalls across 5 categories (file, network, memory, process, ipc), caller library filtering (-f libnative.so), category-based tracing (-c network), custom Lua callbacks with argument formatting, and fd-to-path resolution. Documentation ->
- Standalone binary:
-
Android 9 (API 28) Support: Extended device support down to Android 9. Injection and spawn now work on older Android versions with architecture-specific shellcode.
-
PLT/GOT Hook Fixes: Major stability improvements for PLT/GOT hooking. Refactored GOT scanning and hook installation with proper wildcard caller support.
-
Thread.backtrace() Improvements: Backtrace tables now have a
__tostringmetamethod /print(Thread.backtrace())works directly without manual iteration. -
Spawn & Injection Optimization: Faster spawn and injection times with improved socket connection handling and attach flow.
- Version update (bd418a8)
- add renef-strace to release workflow (892519f)
- Renef-strace build files changed (f269d1a)
- Backtrace implementation changed (5eda705)
- Renef strace added (93baf0e)
- A9 version spawn problem fix (75dd70a)
- pltgot-hook-fix (0b7c159)
- Android 9 support added (c20d805)
- Spawn and injection time optimization (1aaecc4)
Downloads
Platform-specific releases:
renef-v0.3.5-linux-x64.tar.gz- Linux x64 client + scriptsrenef-v0.3.5-macos-x64.tar.gz- macOS Intel client + scriptsrenef-v0.3.5-macos-arm64.tar.gz- macOS Silicon client + scriptsrenef-v0.3.5-android-arm64.tar.gz- Android server + payload
All-in-one release:
renef-v0.3.5-all-platforms.tar.gz- All platforms + scripts
Verification
Verify downloads using SHA256 checksums in SHA256SUMS.txt
Quick Start
tar xzf renef-v0.3.5-linux-x64.tar.gz
cd renef-linux-x64
adb push ../renef-android-arm64/renef_server /data/local/tmp/
adb push ../renef-android-arm64/libagent.so /data/local/tmp/.r
adb shell chmod +x /data/local/tmp/renef_server
adb forward tcp:1907 localabstract:com.android.internal.os.RuntimeInit
adb shell /data/local/tmp/renef_server &
./renefDocumentation
System Requirements
Client:
- Linux (x64) or macOS (Intel/Silicon)
- libreadline (Linux/macOS)
Target Device:
- Android 5.0+ (API 21+)
- ARM64 architecture
- Root access (for injection)
Dependencies
Built with:
- Capstone 5.0.3
- Lua 5.4.7
- ASIO 1-30-2
- Android NDK r26b