Skip to content

p0dalirius/GhostSPN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

List accounts with Service Principal Names (SPN) not linked to active dns records in an Active Directory Domain.
GitHub release (latest by date) YouTube Channel Subscribers

Features

  • Lists all accounts (users, computers) with
  • Checks for DNS wildcard presence before resolving names.

Usage of scan mode

GhostSPN v1.1 - by @podalirius_

usage: GhostSPN.py scan [-h] [-u USERNAME] [-p PASSWORD] [-d DOMAIN] [--hashes [LMHASH]:NTHASH] [--no-pass] --dc-ip ip address [--ldaps] [-v] [--debug]

options:
  -h, --help            show this help message and exit

Credentials:
  -u USERNAME, --username USERNAME
                        Username to authenticate to the machine.
  -p PASSWORD, --password PASSWORD
                        Password to authenticate to the machine. (if omitted, it will be asked unless -no-pass is specified)
  -d DOMAIN, --domain DOMAIN
                        Windows domain name to authenticate to the machine.
  --hashes [LMHASH]:NTHASH
                        NT/LM hashes (LM hash can be empty)
  --no-pass             Don't ask for password (useful for -k)
  --dc-ip ip address    IP Address of the domain controller. If omitted it will use the domain part (FQDN) specified in the target parameter
  --ldaps               Use LDAPS. (default: False)
  -v, --verbose         Verbose mode. (default: False)
  --debug               Debug mode. (default: False)

Example

Example:

Special case: DNS wildcards

In case DNS wildcards are present in the domain, GhostSPN autodetect if the entry was resolved from a wildcard entry.

About

List accounts with Service Principal Names (SPN) not linked to active dns records in an Active Directory Domain.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages