frida_win_com_intercept
Intercept and log COM vtable method calls on Windows by hooking CoCreateInstance for a specified CLSID and patching the vtable at the given method index.
Instructions
[Windows] Intercept a COM vtable method call.
Hooks CoCreateInstance to capture COM object creation for the CLSID, then patches the vtable at method_index to log invocations.
target: process name or pid (string).
clsid_or_progid: CLSID string or '*' for all.
method_index: 0-based vtable index (0=QI, 1=AddRef, 2=Release, 3+=interface).
duration_seconds: how long to capture (default 10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| clsid_or_progid | Yes | ||
| method_index | Yes | ||
| duration_seconds | No |