|
1 | | -# GhostSPN |
| 1 | +# GhostSPN |
| 2 | + |
| 3 | +<p align="center"> |
| 4 | + List accounts with Service Principal Names (SPN) not linked to active dns records in an Active Directory Domain. |
| 5 | + <br> |
| 6 | + <img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/p0dalirius/GhostSPN"> |
| 7 | + <a href="https://twitter.com/intent/follow?screen_name=podalirius_" title="Follow"><img src="https://img.shields.io/twitter/follow/podalirius_?label=Podalirius&style=social"></a> |
| 8 | + <a href="https://www.youtube.com/c/Podalirius_?sub_confirmation=1" title="Subscribe"><img alt="YouTube Channel Subscribers" src="https://img.shields.io/youtube/channel/subscribers/UCF_x5O7CSfr82AfNVTKOv_A?style=social"></a> |
| 9 | + <br> |
| 10 | +</p> |
| 11 | + |
| 12 | +## Features |
| 13 | + |
| 14 | + - [x] Lists all accounts (users, computers) with |
| 15 | + - [x] Checks for DNS wildcard presence before resolving names. |
| 16 | + |
| 17 | +## Usage of scan mode |
| 18 | + |
| 19 | +``` |
| 20 | +GhostSPN v1.1 - by @podalirius_ |
| 21 | +
|
| 22 | +usage: GhostSPN.py scan [-h] [-u USERNAME] [-p PASSWORD] [-d DOMAIN] [--hashes [LMHASH]:NTHASH] [--no-pass] --dc-ip ip address [--ldaps] [-v] [--debug] |
| 23 | +
|
| 24 | +options: |
| 25 | + -h, --help show this help message and exit |
| 26 | +
|
| 27 | +Credentials: |
| 28 | + -u USERNAME, --username USERNAME |
| 29 | + Username to authenticate to the machine. |
| 30 | + -p PASSWORD, --password PASSWORD |
| 31 | + Password to authenticate to the machine. (if omitted, it will be asked unless -no-pass is specified) |
| 32 | + -d DOMAIN, --domain DOMAIN |
| 33 | + Windows domain name to authenticate to the machine. |
| 34 | + --hashes [LMHASH]:NTHASH |
| 35 | + NT/LM hashes (LM hash can be empty) |
| 36 | + --no-pass Don't ask for password (useful for -k) |
| 37 | + --dc-ip ip address IP Address of the domain controller. If omitted it will use the domain part (FQDN) specified in the target parameter |
| 38 | + --ldaps Use LDAPS. (default: False) |
| 39 | + -v, --verbose Verbose mode. (default: False) |
| 40 | + --debug Debug mode. (default: False) |
| 41 | +``` |
| 42 | + |
| 43 | +## Example |
| 44 | + |
| 45 | +Example: |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +## Special case: DNS wildcards |
| 50 | + |
| 51 | +In case DNS wildcards are present in the domain, GhostSPN autodetect if the entry was resolved from a wildcard entry. |
| 52 | + |
| 53 | + |
0 commit comments