apmx_correlate_handles
Reconstruct attack chains by tracking handle values across API calls. Maps handle-producing to handle-consuming APIs to reveal malicious sequences.
Instructions
Track handle values across API calls to reconstruct operation chains. Identifies handle-producing APIs (OpenProcess, CreateFile, etc.) and traces where those handles are consumed (VirtualAllocEx, WriteProcessMemory, etc.). Reveals attack chains like: OpenProcess -> VirtualAllocEx -> WriteProcessMemory -> CreateRemoteThread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to .apmx64 or .apmx86 capture file | |
| process_index | No | Which process to analyze (0 = first/only process) | |
| target_apis | No | Limit to specific APIs (default: common injection/evasion APIs) | |
| limit | No | Maximum number of handle chains to return |