Attacks and Exploits

A tester is plugged into the client's subnet in an authorized test, with no domain account yet. Which PowerUpSQL function BEST finds SQL Server instances on the local network without credentials?

Show the answer

Correct answerC. Get-SQLInstanceBroadcast

AWhy not this: It follows database links from a server the tester can already reach; it does not discover instances.

BWhy not this: It queries Active Directory for SPNs, which requires a domain account the tester does not yet have.

CWhy this is right: It discovers SQL Server instances on the local network by UDP broadcast, with no credentials needed.

DWhy not this: It audits a known instance for weaknesses, so it presumes the instance is already found and accessible.

Get-SQLInstanceBroadcast finds SQL Server instances on the local network with a UDP broadcast, so it needs no domain credentials. Get-SQLInstanceDomain is the tempting alternative, but it queries Active Directory for SPNs and so needs a domain account.