ida_find_string_refs
Find strings matching a regex in IDA Pro and list every function that references them to trace usage of keywords like 'admin', 'password', or C2 URLs.
Instructions
Find all strings matching a regex pattern, then for each string list every function that references it. Great for finding where 'admin', 'password', 'cmd.exe', or C2 URLs are used.
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": {
"pattern": "<pattern>"
},
"name": "ida_find_string_refs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Python regex pattern (case-insensitive). Examples: 'admin', 'cmd\.exe', 'password|passwd' |