How-to get Windows Phone Beta Updates Packages urls

Tutorials for Operating Systems, Applications etc can be posted here.
Post Reply
gus33000
User avatar
FTP Access
Posts: 533
Joined: Tue Nov 11, 2014 11:24 am
Location: Bordeaux, sometimes in Paris, France, maybe also in R.W
Contact:

How-to get Windows Phone Beta Updates Packages urls

Post by gus33000 »

I'm posting an how-to on how to do this, for people that wants to preserve any Windows Phone Build.

Due to incompatibilities with Windows 10 and Winpcap, you cannot do this with a Windows 10 PC.

Estimated Complete Time :

2 Hours considering that you will normally get ~50 cab files from any update (1 hour 30 minutes for people who know how to use Wireshark)

Summary of the steps :

You will create a new virtual Wifi network that you will bind to your actual internet connection.
Then you will track http requests with Wireshark connected on your internet connection.

To achieve this you will need the following hardware :
  • A pc with a wireless adapter. (A laptop with wifi works too)
  • A second wireless adapter. (USB/Internal Component Card works too)
  • A Windows Phone Handset

    or
  • A pc without any wireless card.
  • Two wireless adapter connected via usb.
  • A Windows Phone Handset

    or
  • A pc with a network card connected to internet
  • A wireless card
  • A Windows Phone Handset
To achieve this you will need the following software :
  • Windows 7+ (Build 7600 and later)
  • Wireshark
So let's get right onto it.

First download the latest version of Wireshark and accept the installation of WinPcap.
You will be asked to reboot your pc, do it.
After rebooting, make sure of the following :
  • You only have one wireless card connected to your wifi network.
  • The other wireless card is disconnected.

    or
  • The only wireless card that you have is disconnected
Then go to start and run cmd.exe as administrator.
Enter the following commands (replace what you need when specified that you can with {})

Code: Select all

netsh wlan set hostednetwork mode=allow ssid=Wireshark key={the password that you want}
netsh wlan start hostednetwork
Image
You should get this if there are no problem with your wifi setup.

Then open control panel and go to Network and sharing center.

Image

Click Change adapter settings.

Image

Right click your current internet connection (not the wifi adapter that is not connected nor the adapter saying wireshark) and select properties.

Image

Goto the sharing tab, check Allow other users to connect [...] and then select the adapter matching the one with Wireshark written under the name. Then click ok.

Image
Then go to your phone, disconnect it from any wifi networks and connect to the newly created Wireshark network.

When done open Wireshark on your computer.

Image
Then select your actual internet connection that you shared before and click the green Start button.

You will then see the list of all the network traffic coming from your computer and your phone. You can search for GET commands (when Windows Phone downloads an updated, a GET command get sended) and then right click the line containing the url, click copy summary -> copy text.

computebrute
User avatar
Donator
Posts: 644
Joined: Tue Dec 03, 2013 12:00 am
Location: us

Re: How-to get Windows Phone Beta Updates Packages urls

Post by computebrute »

I'm glad you took the time to make this guide. Although I haven't tried it, the guide seems useful.
Keep it coming!
Image
Image

zeehonden_3
User avatar
FTP Access
Posts: 682
Joined: Tue Aug 05, 2008 1:46 pm

Re: How-to get Windows Phone Beta Updates Packages urls

Post by zeehonden_3 »

Nice guide, thanks!
Image

The Distractor

Re: How-to get Windows Phone Beta Updates Packages urls

Post by The Distractor »

Can someone do this and give me pcaps please? Good things might happen if someone can get me them :)

Nightsteed
User avatar
Donator
Posts: 316
Joined: Mon Sep 21, 2009 2:23 pm
Location: Neptune

Re: How-to get Windows Phone Beta Updates Packages urls

Post by Nightsteed »

I would kindly help you The Distractor but I'm out of my city and didn't bring my laptop with me. I hope someone helps you with this since I'm interested on what you could develop :)

mrpijey
User avatar
Administrator
Posts: 8178
Joined: Tue Feb 12, 2008 5:28 pm
Contact:

Re: How-to get Windows Phone Beta Updates Packages urls

Post by mrpijey »

I can add also that this method should work with any manufacturer, OS and situation since it's a generic way to snoop traffic off a wirelessly connected device.
Image
Official guidelines: The Definitive Guide to BetaArchive :: Abandonware
Channels: Discord :: Twitter

zeehonden_3
User avatar
FTP Access
Posts: 682
Joined: Tue Aug 05, 2008 1:46 pm

Re: How-to get Windows Phone Beta Updates Packages urls

Post by zeehonden_3 »

The Distractor wrote:Can someone do this and give me pcaps please? Good things might happen if someone can get me them :)
I haven't saved those sorry, but are the links here http://www.betaarchive.com/forum/viewtopic.php?t=33987 not enough?
Image

hounsell

Re: How-to get Windows Phone Beta Updates Packages urls

Post by hounsell »

This is a bit of a long-winded way to go about it, though I will grant that it's certainly a very effective way.

You can do it with far less though. Personally, rather than set up a second network, I prefer to just use ARP poisoning to route the phone's traffic through a PC on the same virtual network.

Given that I believe Windows Phone's updates will be all through HTTP(S), I'd also personally prefer to use Fiddler over Wireshark. Better suited to HTTP traffic, and it also means you can use the HTTP Proxy settings on your phone to redirect the traffic through Fiddler.

gus33000
User avatar
FTP Access
Posts: 533
Joined: Tue Nov 11, 2014 11:24 am
Location: Bordeaux, sometimes in Paris, France, maybe also in R.W
Contact:

Re: How-to get Windows Phone Beta Updates Packages urls

Post by gus33000 »

Fiddler ? I haven't thought of it, and I have to admit, this is far easier with Fiddler through a proxy. Thanks for the tip, I will update the guide to include that later. You are also right on the requests, Windows Phone only send HTTP requests when doing an update.

hounsell

Re: How-to get Windows Phone Beta Updates Packages urls

Post by hounsell »

Yes, though that said, your original guide is still useful for people looking to apply it to other projects, because your guide is the most sure-fire way to collect all traffic :)

Post Reply