- Jul 2, 2020
- 806
- 658
Snapchat Reverse Engineering - Part 1 - Snapchat Account Creator Bot - API based
Update 2 (June 4th, 2024)
Progress:
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO - around 70 %
0 - - - - - - - - - - - - - - - 50 - - - - - - - - - - - - - - 100
SSL pinning and SSL unpinning at Snapchat:
Yesterday I wrote the terms "SSL pinning" and "SSL unpinning", since SSL pinning is integrated in Snapchat.
I promised to send you a link to an almost noob-friendly explanation:
Here you go:
https://medium.com/@vinodh_36508/enhancing-ios-app-security-with-ssl-pinning-09111c104c44#
Why do you need SSL unpinning? To intercept the encrypted traffic between the Snapchat app (Apple iOS or Google Android) and the Snapchat servers you have to bypass the SSL pinning.
The SSL pinning in Snapchat can't be bypassed by classic methods (e. g. with Frida, Magisk, Objection, Xposed and related projects). Also the import of the SSL certificate of your proxy server into Google Android doesn't help regarding Snapchat.
Snapchat uses "native libraries" to organize the SSL handling. At the Snapchat app for Android you will find the native libraries after you unzip the ".apk" file of the app inside the "lib" directory. The code can't be decompiled like the main parts of the app, written in Java, because the native libraries are written in C/C++. You need a disassembler of your choice to view the code, I prefer IDA Pro and sometimes Ghidra. [1]
Regarding Ghidra please be careful: The NSA has created Ghidra. So it may contain some spyware-like code fragments. Use it on your own risk, maybe install it on a "throw away" machine.
Some easy terms have been used to make it easier for non-professionals to read and understand the concept. For example: I wrote "access tokens", "hard coded" or "encoded" although there is much more behind.
(I am not native English/American, so please excuse any spelling or grammar mistakes.)
Side notes (linked from above):
[1] https://en.wikipedia.org/wiki/Ghidra
Short updates (random daily work) will be posted at my BHW profile: https://www.blackhatworld.com/members/reverseengineering.1413206/
So maybe you should follow me here at BHW to keep you up-to-date? https://www.blackhatworld.com/members/reverseengineering.1413206/follow
Update 2 (June 4th, 2024)
Progress:
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO - around 70 %
0 - - - - - - - - - - - - - - - 50 - - - - - - - - - - - - - - 100
SSL pinning and SSL unpinning at Snapchat:
Yesterday I wrote the terms "SSL pinning" and "SSL unpinning", since SSL pinning is integrated in Snapchat.
I promised to send you a link to an almost noob-friendly explanation:
[4] SSL pinning: (follows, I didn't find a noob-friendly explanation so far)
Here you go:
https://medium.com/@vinodh_36508/enhancing-ios-app-security-with-ssl-pinning-09111c104c44#
Why do you need SSL unpinning? To intercept the encrypted traffic between the Snapchat app (Apple iOS or Google Android) and the Snapchat servers you have to bypass the SSL pinning.
The SSL pinning in Snapchat can't be bypassed by classic methods (e. g. with Frida, Magisk, Objection, Xposed and related projects). Also the import of the SSL certificate of your proxy server into Google Android doesn't help regarding Snapchat.
Snapchat uses "native libraries" to organize the SSL handling. At the Snapchat app for Android you will find the native libraries after you unzip the ".apk" file of the app inside the "lib" directory. The code can't be decompiled like the main parts of the app, written in Java, because the native libraries are written in C/C++. You need a disassembler of your choice to view the code, I prefer IDA Pro and sometimes Ghidra. [1]
Regarding Ghidra please be careful: The NSA has created Ghidra. So it may contain some spyware-like code fragments. Use it on your own risk, maybe install it on a "throw away" machine.
Some easy terms have been used to make it easier for non-professionals to read and understand the concept. For example: I wrote "access tokens", "hard coded" or "encoded" although there is much more behind.
(I am not native English/American, so please excuse any spelling or grammar mistakes.)
Side notes (linked from above):
[1] https://en.wikipedia.org/wiki/Ghidra
Short updates (random daily work) will be posted at my BHW profile: https://www.blackhatworld.com/members/reverseengineering.1413206/
So maybe you should follow me here at BHW to keep you up-to-date? https://www.blackhatworld.com/members/reverseengineering.1413206/follow