2 ms·
Since the source code is available, might it be possible to produce a hot patch to the binary so that those of us running Mavericks won't have to go through the
by lisper 13y ago
Since the source code is available, might it be possible to produce a hot patch to the binary so that those of us running Mavericks won't have to go through the next few days or weeks with our pants down? It would be a simple matter of finding the JMP instruction generated by the second GOTO and replacing it with no-ops. How hard could it be,at least for someone who actually knows their way around OS X binary file formats?
- gsnedders 13y agoLikely the compiler will have optimized away the rest of the function as dead-code, so it's not as simple as just getting rid of the unconditional jump.
- lisper 13y agoAh, right. Good point.
- lunixbochs 13y agoIf the code to Security.framework is complete and builds, we might not need to patch the binary directly.
- lstamour 13y agoIt appears to be in a cursory glance. Loaded for me in Xcode. That said, signing the security framework would be another issue ;-) I can't imagine apple would let malware replace security binaries that easily.
- lunixbochs 13y agoIt's almost buildable for me: https://news.ycombinator.com/item?id=7283601 https://news.ycombinator.com/item?id=7283601 I think it'd break one of the binaries, but I could replace that with the real one.
- knweiss 13y ago(Caveat: I haven't tried this myself!) Here's the analysis and an experimental patch from @i0n1c for the 64bit version of Mavericks' Security.framework (32-bit remains unpatched): http://sektioneins.de/blog/14-02-22-Apple-SSL-BUG.html http://sektioneins.de/blog/14-02-22-Apple-SSL-BUG.html
- deleted 13y ago[deleted]