# NetSPI/PowerUpSQL

PowerUpSQL: A PowerShell Toolkit for Attacking SQL Server

Repository: https://github.com/NetSPI/PowerUpSQL
Canonical: https://ross.abutalabs.com/products/powerupsql
Language: PowerShell
License: NOASSERTION
License Family: other
Last push: 2024-12-12T18:09:39+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3725, "days_push": 629, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2737, forks 471 (observed 2026-08-28T04:07:16.334960+00:00)

## What it is
PowerUpSQL is a PowerShell toolkit for attacking and auditing SQL Server instances, supporting discovery, weak configuration auditing, privilege escalation, and post-exploitation like OS command execution. It is designed for penetration tests and red team engagements, but also helps administrators inventory SQL Servers and perform threat hunting.

## Use cases
- discover SQL Server instances across an Active Directory domain
- audit SQL Server for weak configurations
- escalate privileges on SQL Server at scale
- execute OS commands through SQL Server during a pentest
- inventory all SQL Servers in a domain
- threat hunt for SQL Server attacks

## When to choose
- you are running an internal penetration test or red team engagement against SQL Server
- you need to discover and inventory SQL Servers in an AD domain
- you want to audit SQL Server security configurations or hunt threats

## When to avoid
- you need a general-purpose SQL client or database administration tool
- your target databases are not Microsoft SQL Server
- you are not working in a Windows/Active Directory environment

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, penetration-testing, database, developer-tools
- domain: security, penetration-testing, databases, windows
- platform: windows, cli
- tags: sql-server, red-team, powershell-toolkit, privilege-escalation, threat-hunting, active-directory

## Member repositories
- NetSPI/PowerUpSQL (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.334960+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:19:14.148124+00:00, confidence not recorded.
  - readme: https://github.com/NetSPI/PowerUpSQL (fetched 2026-08-28T04:07:16.334960+00:00, sha be311e8a1e17)
- Data as of 2026-08-30T08:39:29.467469+00:00.
