frida_win_api_monitor
Hook Win32 API calls in a target process to log up to six arguments per call. Supports APIs from kernel32, ntdll, and other system DLLs.
Instructions
[Windows] Hook Win32 APIs and log call arguments.
Attaches Interceptor to the specified Win32 API exports across kernel32, advapi32, ws2_32, ntdll, user32. Logs up to 6 arguments per call.
target: process name or pid (string).
apis: list of API names, e.g. ["CreateFileW", "RegOpenKeyExW", "socket"].
duration_seconds: how long to capture (default 10).
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": {
"target": "<target>",
"apis": "<apis>"
},
"name": "frida_win_api_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| apis | Yes | ||
| duration_seconds | No |