6

Given an HTTP request, is it possible to see which application originates?

 3 years ago
source link: https://www.codesd.com/item/given-an-http-request-is-it-possible-to-see-which-application-originates.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Given an HTTP request, is it possible to see which application originates?

advertisements

Let's assume a scenario where all the network traffic is redirected through a local proxy, running on an Android device.

Within the proxy, is it possible to see which application (in terms of package name, application name, ..) originated that particular network call?

EDIT: apologies, I was short on details here. I'm referring to the HTTP protocol, hence a network call is just an HTTP request (either GET or POST) to some URL.


Depends on what info the app sends on the packet. If you're asking if network packets (btw you didn't specify which protocol you're referring to) have by default info about the app that sent it, then the answer is no.

But you can study the packets of a given set of apps, store this info in the proxy and then you can detect, given enough packets, the source app. Of course this won't yield info about apps you don't know.

EDIT: if it's an HTTP request, then usually the HTTP header includes information about the app that originates this request (e.g. browser version).


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK