Code Monkey home page Code Monkey logo

Comments (4)

andrewghobrial avatar andrewghobrial commented on June 16, 2024

@samyk I'm on iOS 10 and I have noticed the behavior where just enabling SSL kill switch breaks SSL, even when supplying a valid MITM certificate. However I saw this in only a specific app that I suspect is doing extra steps to prevent reverse engineering. In a different app, SSL kill switch works fine without supplying proper certificate for mitm proxy. Interestingly, it seems whether tls_helper_create_peer_trust returns errSecSuccess always or returns the original_tls_helper_create_peer_trust value does not matter.

edit: I could not see any reference to "boring_ssl" in app logs. I believe that's a non-apple SSL library so SSL kill switch would not handle hooking it properly.

from ssl-kill-switch2.

samyk avatar samyk commented on June 16, 2024

Interesting -- try grepping for boringssl instead of boring_ssl. I believe CFNetwork calls libboringssl which then calls one of the hooked functions, but I'll validate.

from ssl-kill-switch2.

andrewghobrial avatar andrewghobrial commented on June 16, 2024

I could not find any mention of boringssl on iOS 10 in the console logs. It could have changed for iOS 11.

from ssl-kill-switch2.

nabla-c0d3 avatar nabla-c0d3 commented on June 16, 2024

I won't have time to go back and look at iOS 11, but I added support for iOS 12 just now. To do that, I had to patch a function specifically to bypass the error returned by BoringSSL that you mentioned: ": Function boringssl_session_finish_handshake: line 2643 The peer was not authenticated. Disconnecting the connection.".
After silencing it I was able to bypass pinning validation.

from ssl-kill-switch2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.