Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   2145

Better Mobile App Sniffing

by HestiaBestia - 07 May, 2019 - 05:20 AM
This post is by a banned member (HestiaBestia) - Unhide
60
Posts
21
Threads
5 Years of service
#1
(This post was last modified: 07 May, 2019 - 05:21 AM by HestiaBestia.)
I was always told to use Fiddler to sniff android traffic. I never really understood why most apps did not work with the Fiddler certificate installed, and why I could not see most traffic. I did some digging and found that most apps verify your certificate, and so to properly capture traffic you would need to make the app verify your certificate or bypass the step all together. Below I will list the steps that I took to get this working.

PLEASE NOTE: If you'd like some real explanations of how this works, this guide will not provide it. I have no idea how most of this works, or even if what I said above is accurate. All I know is that I have had good results and I would like to share them with you all.



Required
  • The APK of the app you'd like to use.
  • An android phone (rooted), an emulator may work but I have not tested. 
  • A charging cable for said phone.
  • Frida, Objection, and ADB properly installed.
  • Fiddler of course.
Download Frida HERE.
Download Objection HERE.
Download ADB HERE.
Download Fiddler HERE.
Click for setup instructions for FRIDA and OBJECTION.

REMEMBER TO ADD ALL OF THIS TO YOUR PATH. UPON RUNNING OBJECTION THE FIRST TIME YOU WILL NEED TO DOWNLOAD DEPENDENCIES AND PLACE IN YOUR PATH. THIS IS POSSIBLE ON IOS, BUT I CANNOT HELP YOU WITH THAT.


Step One
Lets set up our certificate on our android device. Start Fiddler and do the following.

Tools > Options > HTTPS
     Enable the box that says Capture HTTPS Connects, and Decrypt HTTPS traffic.
Tools > Options > Connections
     Enable the box that says Allow remote computers to connect.

Now over to your android device, and go to the WIFI settings. Modify the network you are currently connected to and add your computer's IPV4 as your proxy. Now make the port the one in the Connections menu of Fiddler. This is 8888 by default. 
Show ContentSpoiler:

Open the browser on your android device and head to: http://ipv4.fiddler:8888/
Now you can tap FiddlerRoot Certificate and install it. Fiddler setup complete!

Step Two
Download and place your APK in your chosen directory, and navigate to it in the command prompt. Type the following.

Code:
objection patchapk -s (PATH TO APK)
Wait for this to finish, and you have your modified APK. Install this on your android device, and connect it via USB to your computer. Enable USB debugging in the developer settings of your android device. Now run the app, and type the following in the command prompt.

Code:
objection explore
android sslpinning disable


Step Three
Do your thing! Make a config, or whatever you please. The success rates of this method are much higher than just installing the certificate. You are now able to capture traffic from this app with fiddler. 

Note, success rates are not 100%! It's fairly rare, but I have run in to a few apps that will crash after being patched. I will help all of you to the best of my ability. 
This post is by a banned member (HestiaBestia) - Unhide
60
Posts
21
Threads
5 Years of service
#2
This is a bump
This post is by a banned member (LeJatta) - Unhide
This post is by a banned member (HestiaBestia) - Unhide
60
Posts
21
Threads
5 Years of service
#4
(21 May, 2019 - 06:29 AM)LeJatta Wrote: Show More
thanks bro this is a good ass tutorial

I appreciate it. First one to look at it as far as I can tell :)
This post is by a banned member (David_Smith) - Unhide
224
Posts
144
Threads
5 Years of service
#5
Thanks Bro, This Is Pretty Detailed And Did Work For Me. I Really Do Appreciated It ;)
Telegram: https://t.me/croppable | Signal: @Croppable.01
[Image: rainbow-line.gif]
[Image: Signature.gif]
This post is by a banned member (PhantomHQ) - Unhide
PhantomHQ  
Supreme
1.160
Posts
108
Threads
5 Years of service
#6
(07 May, 2019 - 05:20 AM)HestiaBestia Wrote: Show More
I was always told to use Fiddler to sniff android traffic. I never really understood why most apps did not work with the Fiddler certificate installed, and why I could not see most traffic. I did some digging and found that most apps verify your certificate, and so to properly capture traffic you would need to make the app verify your certificate or bypass the step all together. Below I will list the steps that I took to get this working.

PLEASE NOTE: If you'd like some real explanations of how this works, this guide will not provide it. I have no idea how most of this works, or even if what I said above is accurate. All I know is that I have had good results and I would like to share them with you all.



Required
  • The APK of the app you'd like to use.
  • An android phone (rooted), an emulator may work but I have not tested. 
  • A charging cable for said phone.
  • Frida, Objection, and ADB properly installed.
  • Fiddler of course.
Download Frida HERE.
Download Objection HERE.
Download ADB HERE.
Download Fiddler HERE.
Click for setup instructions for FRIDA and OBJECTION.

REMEMBER TO ADD ALL OF THIS TO YOUR PATH. UPON RUNNING OBJECTION THE FIRST TIME YOU WILL NEED TO DOWNLOAD DEPENDENCIES AND PLACE IN YOUR PATH. THIS IS POSSIBLE ON IOS, BUT I CANNOT HELP YOU WITH THAT.


Step One
Lets set up our certificate on our android device. Start Fiddler and do the following.

Tools > Options > HTTPS
     Enable the box that says Capture HTTPS Connects, and Decrypt HTTPS traffic.
Tools > Options > Connections
     Enable the box that says Allow remote computers to connect.

Now over to your android device, and go to the WIFI settings. Modify the network you are currently connected to and add your computer's IPV4 as your proxy. Now make the port the one in the Connections menu of Fiddler. This is 8888 by default. 
Show ContentSpoiler:

Open the browser on your android device and head to: http://ipv4.fiddler:8888/
Now you can tap FiddlerRoot Certificate and install it. Fiddler setup complete!

Step Two
Download and place your APK in your chosen directory, and navigate to it in the command prompt. Type the following.
Code:
objection patchapk -s (PATH TO APK)
Wait for this to finish, and you have your modified APK. Install this on your android device, and connect it via USB to your computer. Enable USB debugging in the developer settings of your android device. Now run the app, and type the following in the command prompt.
Code:
objection explore
android sslpinning disable


Step Three
Do your thing! Make a config, or whatever you please. The success rates of this method are much higher than just installing the certificate. You are now able to capture traffic from this app with fiddler. 

Note, success rates are not 100%! It's fairly rare, but I have run in to a few apps that will crash after being patched. I will help all of you to the best of my ability. 

Hey can u help me to bypass root checks of mobile apps with frida function hooking or with anything, would appreciate a lot
Old discord got termed again, new discord: phantom.1337
[Image: phantom-sig.gif]
Old discord got termed again, new discord: phantom.1337
This post is by a banned member (ClaireChapman) - Unhide
1
Posts
0
Threads
3 Years of service
#7
Thanks for the information.
This post is by a banned member (Inluck) - Unhide
Inluck  
Registered
2
Posts
0
Threads
4 Years of service
#8
(This post was last modified: 28 June, 2021 - 03:52 PM by Inluck. Edited 1 time in total.)
Really now? I hate that Paypal started to charge for everything at this point. I don't know but this seems stupid to me. I think that this way they might lose s a lot of potential customers, as there are better offers on the market. I don't know. They should use companies like digiscorp to help them rise and improve not to lose people and make stupid changes. I mean, it's their problem but I feel like things were so much better before and everything started to go downhill a few years ago.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)