# dafthack/DomainPasswordSpray

DomainPasswordSpray is a tool written in PowerShell to perform a password spray attack against users of a domain. By default it will automatically generate the userlist from the domain. BE VERY CAREFUL NOT TO LOCKOUT ACCOUNTS!

Repository: https://github.com/dafthack/DomainPasswordSpray
Canonical: https://ross.abutalabs.com/products/domainpasswordspray
Language: PowerShell
License: MIT
License Family: permissive
Last push: 2024-07-11T18:18:57+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": 3620, "days_push": 783, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2082, forks 413 (observed 2026-08-28T04:06:11.699979+00:00)

## What it is
DomainPasswordSpray is a PowerShell tool that performs password spray attacks against domain user accounts, automatically generating a user list from the domain. It attempts to detect the account lockout observation window to limit sprays and avoid locking out accounts.

## Use cases
- spray a single password across all domain users
- test multiple passwords against Active Directory accounts during a penetration test
- generate a user list from a domain excluding disabled and near-lockout accounts
- avoid account lockouts by respecting the domain lockout observation window
- output successful credential matches to a file

## When to choose
- you are doing authorized penetration testing or red teaming against an Active Directory environment
- you need a lightweight PowerShell tool with no dependencies on Windows domain-joined machines
- you want automatic user enumeration and lockout-window-aware spraying

## When to avoid
- you do not have explicit authorization to test the domain
- the domain has strict lockout policies and you cannot risk account lockouts
- you need cross-platform tooling outside Windows PowerShell
- you need stealth features like jitter or source-IP masking not provided by this tool

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, penetration-testing, auth, cli
- domain: security, penetration-testing, windows
- platform: windows
- tags: password-spray, active-directory, red-team, powershell-module, offensive-security

## Member repositories
- dafthack/DomainPasswordSpray (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.699979+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-30T02:55:55.341763+00:00, confidence not recorded.
  - readme: https://github.com/dafthack/DomainPasswordSpray (fetched 2026-08-28T04:06:11.699979+00:00, sha 5958879cc13c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
