frida_crypto_hook
Hook crypto APIs on macOS/iOS and Android to capture encryption and decryption operations live, revealing algorithm, key bytes, and I/O sizes.
Instructions
Hook crypto APIs to capture encryption/decryption operations live.
Platform hooks:
macOS/iOS: CCCrypt (CommonCrypto), SecKeyCreateEncryptedData, SecKeyCreateDecryptedData
Android: javax.crypto.Cipher.doFinal (all overloads)
Each captured operation includes: API name, operation type (encrypt/decrypt), algorithm, key bytes (hex), and I/O sizes.
target: process name or pid (string).
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>"
},
"name": "frida_crypto_hook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| duration_seconds | No |