High-risk tools in Renef
26 of the 75 tools in Renef are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
adb_selinux_disableExecuteSets SELinux to Permissive mode (disabled enforcement).
-
adb_selinux_enableExecuteSets SELinux to Enforcing mode (enabled).
-
adb_start_app_amExecuteStarts an Android app on the connected device using 'am start'.
-
adb_start_app_monkeyExecuteStarts an Android app on the connected device using 'monkey' command.
-
adb_stop_app_amExecuteForce stops an Android app on the connected device using 'am force-stop'.
-
renef_attachExecuteAttaches to a running process by PID and injects the renef payload.
-
renef_cli_resetExecuteResets the renef CLI process by killing any stuck process and starting fresh.
-
renef_execExecuteExecutes Lua code in the target process.
-
renef_hook_generateExecuterenef_hook_generate
-
renef_hook_javaExecuterenef_hook_java
-
renef_hook_nativeExecuteInstalls a native hook at the specified offset in a library.
-
renef_jni_new_stringExecuteCreates a new Java String object in the target process.
-
renef_load_scriptExecuteLoads and executes Lua script(s) in the target process.
-
renef_mem_writeExecuteWrites raw bytes to memory at the specified address.
-
renef_mem_write_u16ExecuteWrites an unsigned 16-bit integer to memory.
-
renef_mem_write_u32ExecuteWrites an unsigned 32-bit integer to memory.
-
renef_mem_write_u64ExecuteWrites an unsigned 64-bit integer to memory.
-
renef_mem_write_u8ExecuteWrites an unsigned 8-bit integer to memory.
-
renef_memory_patchExecutePatches memory at the specified address with automatic page protection handling.
-
renef_port_forward_addExecuteAdds a port forwarding rule for renef.
-
renef_server_deployExecuteDeploys renef_server and libagent.so to the connected Android device.
-
renef_server_restartExecuteRestarts renef_server on the connected Android device.
-
renef_server_startExecuteStarts renef_server on the connected Android device.
-
renef_spawnExecuterenef_spawn
-
renef_zero_copy_multiline_execExecuterenef_zero_copy_multiline_exec
-
runExecuteSends a command to the CLI and returns the output.
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.