First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How to use Wireshark to find where an application queries for updates?

Hello,

I am trying to learn how to use Wireshark with what I believe should be a quite simple task. As most modern software has a 'check for updates' feature built in, I'd like to understand how to capture the address (URL) the application is querying for newer software versions.

For example Microsoft SQL Server Management Studio, appears to make a call to the domain go.microsoft.com during it's check for updates, but I have been unable to capture the full URL - I believe this might be because the connection is excrypted using TLS v1.2 I would like to use WireShark to present me with the full URL that the software is checking for updates against, so I can build some automation to grab new versions when they are released.

AScott_WWF's avatar
1
AScott_WWF
asked 2024-05-09 14:28:59 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Because of the use of TLS, that might be difficult.

I think you're attacking the problem the wrong way, you could look into system management solutions that will identify applications and report if updates are available. A poor mans solution would be to build some scripting around the use of winget. Why oh why did the MS PM allow that out the door without a PowerShell interface I'll never know. Apparently that will be coming soon.

grahamb's avatar
23.8k
grahamb
answered 2024-05-09 14:33:39 +0000
edit flag offensive 0 remove flag delete link

Comments

Thanks Graham, I thought that might be the case, From what I've found out it looks like the SSMS checks the content of an SMSS_PRODUCTRELEASES.XML file to obtain the latest version number and download URL, however, the URL to the XML file changes with each release <facepalm> e.g. v20.0 was served from https://go.microsoft.com/fwlink/?link...</facepalm>

I'm actually using the Evergreen PowerShell Module to aid our automation, but everytime Microsoft release a new version of SSMS, Evergreen is behind the curve - all because Microsoft don't have a static file location for their product versions.

AScott_WWF's avatar AScott_WWF (2024-05-09 14:54:55 +0000) edit

SSMS is available via winget, e.g.

> winget show --id Microsoft.SQLServerManagementStudio
Found Microsoft SQL Server Management Studio [Microsoft.SQLServerManagementStudio]
Version: 20.1
Publisher: Microsoft Corporation
Publisher Url: https://www.microsoft.com/
Publisher Support Url: https://aka.ms/ssms-feedback/
Author: Microsoft
Moniker: ssms
Description: SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure, from SQL Server to Azure SQL Database. SSMS provides tools to configure, monitor, and administer instances of SQL Server and databases. Use SSMS to deploy, monitor, and upgrade the data-tier components used by your applications, and build queries and scripts.
Homepage: https://learn.microsoft.com/en-US/sql/ssms/download-sql-server-management-studio-ssms
License: Proprietary
License Url: https://learn.microsoft.com/en-US/Legal/sql/sql-server-management-studio-license-terms
Privacy Url: https://privacy.microsoft.com/
Copyright: Copyright (c) Microsoft Corporation
Release Notes Url: https://learn.microsoft.com/en-US/sql/ssms/release-notes-ssms#201
Tags:
  management-studio
  sql
  sql-management-studio
  sql-server
  ssms
Installer ...
(more)
grahamb's avatar grahamb (2024-05-10 08:16:27 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer