objection
objection copied to clipboard
iOS Keychain ACL Parsing Broken
Describe the bug
Keychain ACL Parsing appears to be broken even though entries have ACL's configured. Current debugging shows that this line is always hit, possibly meaning that SecAccessControlGetConstraints
did not return anything (maybe internal API change?).
To Reproduce
- Run command
ios keychain dump
- Observe that all keychain entries have a
None
ACL.
Printing the Access Control references from the entry
received in decodeAcl()
with console.log(entry.objectForKey_(kSec.kSecAttrAccessControl))
shows:
<SecAccessControlRef: ak>
<SecAccessControlRef: ak>
<SecAccessControlRef: dku>
<SecAccessControlRef: dku>
<SecAccessControlRef: dku>
<SecAccessControlRef: dku>
<SecAccessControlRef: cku>
<SecAccessControlRef: cku>
Expected behavior Correctly decoded Access Control Entries
Environment (please complete the following information):
- Device: iPhone 8
- OS: iOS 12.4
- Frida Version: 12.7.10
- Objection Version: v1.7.5
This does not appear to be the case on all apps/devices though.