renef_memdump_passive
Reads Android process memory via /proc//maps and /proc//mem to list mappings or dump raw bytes without ptrace or injection, helping inspect anti-tamper targets before injection.
Instructions
Injection-free, ptrace-free passive memory read via renef_server (/proc/<pid>/maps & /proc/<pid>/mem).
Does NOT spawn, attach, inject libagent.so, or call ptrace. Ideal for inspecting
anti-tamper / anti-debug targets before deciding whether to inject.
Modes:
maps(default): Lists memory mappings from/proc/<pid>/maps(optional substringfilter).dump: Reads raw bytes in[start_addr, end_addr)directly from/proc/<pid>/mem. Ifoutput_pathis provided, writes the binary dump to that host file.
Args:
pid: Target process PID on the Android device
mode: "maps" (default) or "dump"
start_addr: Start hex address (required for mode="dump", e.g., "0x7f10000000")
end_addr: End hex address (required for mode="dump", e.g., "0x7f10004000")
filter: Optional substring filter for mode="maps" lines (e.g., "libapp.so", "r-xp")
output_path: Optional host file path to write the maps text or raw binary dump
Returns: JSON object with maps lines or dump metadata/hex preview
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pid": "<pid>"
},
"name": "renef_memdump_passive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| mode | No | maps | |
| filter | No | ||
| end_addr | No | ||
| start_addr | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |