TECHNICAL SHEET · Red Team
DOCUMENTATION ONLY
BrutePSWA
Brute force against PowerShell Web Access.
- Language
- Python
- Platform
- Windows Server
- Type
- Brute-force CLI
- Web demo
- No
Scope on pwn3d.es
This tool has no web interface: it ships as Brute-force CLI. This page documents its design, flow and usage; there is no runnable demo or hosted binary.
Only for your own environments or audits with written permission. It is neither hosted nor executed here; the user supplies the target and wordlist.
What it is and what it is for
BrutePSWA is a Python tool that tests the credential resilience of a PowerShell Web Access (PSWA) portal, the Windows web administration console. Besides telling a valid credential, it recognises PSWA-specific scenarios such as the per-user session limit or an account without rights to log in.
Defensive reading: PSWA is a remote administration console, so exposing it to the Internet is a high risk. The defence is not to publish it, keep it behind a VPN, require a second factor and watch IIS for bursts of POSTs to logon.aspx.
When to use it
Checking whether your PSWA is exposed
In your own lab, verify that the portal accepts no weak credentials and is not reachable from outside.
Teaching IIS detection
See how a burst of POSTs to /pswa/.../logon.aspx shows up in IIS logs.
Justifying taking PSWA off the Internet
Show why an administration console should never be published.
How it works
What it tests
It sends credentials to logon.aspx and classifies the response: valid, session limit or no rights.
What trace it leaves
Many POSTs to /pswa/en-US/logon.aspx from one IP in the IIS logs.
How it is stopped
Take PSWA off the Internet, VPN, MFA and attempt and session limits.
What changes on pwn3d.es
- pwn3d.es documents the tool and its detection and mitigation; no attack runs from the site. Testing, in your own lab, is done with the repository CLI.
Installation and usage
Installation
git clone https://github.com/D1se0/brutePSWA.git
# el README incluye el laboratorio de PSWA en Windows ServerUsage
# en los logs de IIS, cuenta los POST a logon.aspx por IP
Select-String "logon.aspx" C:\inetpub\logs\LogFiles\*\*.log | Measure-Object# No publicar PSWA en Internet · acceso solo por VPN
# Exigir MFA · límite de sesiones y de intentos · certificados clienteStack and dependencies
- Python 3
- Credential-testing CLI
- requests
- Requests to the PSWA portal
git · repository code
Explore the repository
Related tools
Sheet built from the repository README and public code. Figures and commands are limited to what the project documents.