Re:Reverse Engineering Snapchat: Obfuscation Techniques
by trishume on Thursday June 18, 2020 @11:31AM
(#23563998)
One thing I'm curious about is what they do to try to stop you from just ripping out the obfuscated token generation library and setting up a harness to run the whole thing in https://www.unicorn-engine.org/ or something. Like presumably they don't compile their whole app with obfuscation and it's just some library that's linked in with some kind of stable-ish API contract with the rest of the app. I wouldn't be surprised if they do interesting things to try and stop you from ripping it out and it'd be cool to learn what those are.
[ Parent
| on HN ]
Re:Reverse Engineering Snapchat: Obfuscation Techniques
by 3eed on Thursday June 18, 2020 @12:15PM
(#23564535)
You could manage to isolate these functions. The problem is that it's much of a hassle to run the whole thing on an emulator because there are way too many real environment dependencies, and even if you go the hackery way and patch all those, you won't know if you're generating one with the correct parameters because you're treating the whole thing as a black box.
Re:Reverse Engineering Snapchat: Obfuscation Techniques
by ponker on Thursday June 18, 2020 @12:01PM
(#23564381)
Why wouldn’t they obfuscate the whole app?
Re:Reverse Engineering Snapchat: Obfuscation Techniques
by 3eed on Thursday June 18, 2020 @12:16PM
(#23564543)
That'd be a noticeable performance hit I'd say.
Re:Reverse Engineering Snapchat: Obfuscation Techniques
by benmmurphy on Thursday June 18, 2020 @12:02PM
(#23564396)
I think someone used this route but ran the real binary on real phones that had been injected with his code that allowed tokens to be generated.