Kali Linux

SilentHound : Quietly Enumerate An Active Directory Domain Via LDAP Parsing Users, Admins, Groups, Etc.

SilentHound Quietly enumerate an Active Directory Domain via LDAP parsing users, admins, groups, etc. Created by Nick Swink from Layer 8 Security.

Installation

Using pipenv (recommended method)

sudo python3 -m pip install –user pipenv
git clone https://github.com/layer8secure/SilentHound.git
cd silenthound
pipenv install

From requirements.txt (legacy)

 This method is not recommended because python-ldap can cause many dependency errors.

Install dependencies with pip:

python3 -m pip install -r requirements.txt
python3 silenthound.py -h

Usage

$ pipenv run python silenthound.py -h
usage: silenthound.py [-h] [-u USERNAME] [-p PASSWORD] [-o OUTPUT] [-g] [-n] [-k] TARGET domain
Quietly enumerate an Active Directory environment.
positional arguments:
TARGET Domain Controller IP
domain Dot (.) separated Domain name including both contexts e.g. ACME.com / HOME.local / htb.net
optional arguments:
-h, –help show this help message and exit
-u USERNAME, –username USERNAME
LDAP username – not the same as user principal name. E.g. Username: bob.dole might be ‘bob
dole’
-p PASSWORD, –password PASSWORD
LDAP password – use single quotes ‘password’
-o OUTPUT, –output OUTPUT
Name for output files. Creates output files for hosts, users, domain admins, and descriptions
in the current working directory.
-g, –groups Display Group names with user members.
-n, –org-unit Display Organizational Units.
-k, –keywords Search for key words in LDAP objects.

About

A lightweight tool to quickly and quietly enumerate an Active Directory environment. The goal of this tool is to get a Lay of the Land whilst making as little noise on the network as possible. The tool will make one LDAP query that is used for parsing, and create a cache file to prevent further queries/noise on the network. If no credentials are passed it will attempt anonymous BIND.

Using the -o flag will result in output files for each section normally in stdout. The files created using all flags will be:

-rw-r–r– 1 kali kali 122 Jun 30 11:37 BASENAME-descriptions.txt
-rw-r–r– 1 kali kali 60 Jun 30 11:37 BASENAME-domain_admins.txt
-rw-r–r– 1 kali kali 2620 Jun 30 11:37 BASENAME-groups.txt
-rw-r–r– 1 kali kali 89 Jun 30 11:37 BASENAME-hosts.txt
-rw-r–r– 1 kali kali 1940 Jun 30 11:37 BASENAME-keywords.txt
-rw-r–r– 1 kali kali 66 Jun 30 11:37 BASENAME-org.txt
-rw-r–r– 1 kali kali 529 Jun 30 11:37 BASENAME-users.txt

R K

Recent Posts

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

2 days ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

2 days ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

4 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

7 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago