Web Interface
pwnAD ships an optional browser-based interface for interactive Active Directory exploration and abuse. It reuses the same authenticated LDAP connection as the CLI, exposing browsing, object editing, DACL operations, DNS, Shadow Credentials and ADCS enumeration through a local web UI.
Starting the Web Interface
Add the --web flag to any valid authentication command:
By default the server binds to 127.0.0.1:5000:
Then open http://127.0.0.1:5000 in your browser.
Options
| Flag | Default | Description |
|---|---|---|
--web |
(off) | Start the web interface instead of the CLI |
--web-host |
127.0.0.1 |
Bind address for the web server |
--web-port |
5000 |
Bind port for the web server |
Security Considerations
The web interface has no authentication
Anyone who can reach the listening socket gets full write access to Active Directory with the privileges of the account you authenticated with (password resets, account/computer creation, group membership, DACL edits, Shadow Credentials, …). Treat the port as equivalent to your credentials.
- Keep the default
127.0.0.1bind. Only change--web-hostif you fully control network access to the machine (e.g. behind a VPN or SSH tunnel). Never expose it on an untrusted network. -
To reach it from another host, prefer an SSH tunnel over binding publicly:
-
Requests are served single-threaded on purpose: the underlying
ldap3connection is shared and not thread-safe, so operations are serialised.
Features
- Browse — navigate the directory tree, search objects, inspect and edit attributes, enable/disable accounts, reset passwords, restore deleted objects.
- Writable — enumerate objects the current principal can write to
(computed via
allowedAttributesEffective/sDRightsEffective). - DACL — read, add and remove ACEs; change object owners.
- DNS — list and manage ADIDNS records.
- Shadow Credentials — add/list/remove
msDS-KeyCredentialLinkentries. - ADCS — enumerate certificate authorities and templates.
Stopping the Server
Press CTRL+C in the terminal running pwnAD to shut the server down.