Frida script to update the keychain on runtime
- As per the Apple Documentation https://developer.apple.com/documentation/security/1393617-secitemupdate
- SecItemUpdate Have two argument as
-
- _ query: CFDictionary,
- _ attributesToUpdate: CFDictionary
Second argument hold the value which getting updated in Keychain
Below script to modifies the second argument with "Test Data" or binary Asci[0x54, 0x65, 0x73, 0x74, 0x20, 0x44, 0x61, 0x74, 0x61] in Keychain (replace the data as per your need)
frida -l iOS_Keychain_Update.js 'DVIA-v2' -U