> For the complete documentation index, see [llms.txt](https://aj-labz.gitbook.io/aj-labz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aj-labz.gitbook.io/aj-labz/offensive-cyberz/ad-enumeration/ad-tools.md).

# AD Tools

### BloodHound

Both blue and red teams can use BloodHound to easily gain a deeper understanding of privilege relationships in an Active Directory environment

{% embed url="<https://github.com/BloodHoundAD/BloodHound>" %}

### Impacket

Impacket is a collection of Python classes for working with network protocols. Impacket is focused on providing low-level programmatic access to the packets and for some protocols (e.g. SMB1-3 and MSRPC) the protocol implementation itself.

A description of some of the tools can be found at: <https://www.secureauth.com/labs/open-source-tools/impacket>

{% embed url="<https://github.com/SecureAuthCorp/impacket>" %}

### Windapsearch

`Windapsearch` is a Python script used to perform anonymous and authenticated LDAP enumeration of AD users, groups, and computers using LDAP queries. It is an alternative to tools such as `ldapsearch`, which require you to craft custom LDAP queries. We can use it to confirm LDAP NULL session authentication but providing a blank username with `-u ""` and add`--functionality` to confirm the domain functional level.

{% embed url="<https://github.com/ropnop/windapsearch>" %}

### ldapsearch-ad

Python3 script to quickly get various information from a domain controller through his LDAP service.

{% embed url="<https://github.com/yaap7/ldapsearch-ad>" %}

### PowerView

PowerView is a PowerShell tool to gain network situational awareness on Windows domains. It contains a set of pure-PowerShell replacements for various windows "net \*" commands, which utilize PowerShell AD hooks and underlying Win32 API functions to perform useful Windows domain functionality

{% embed url="<https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/PowerView.ps1>" %}

### PowerUp

PowerUp aims to be a clearinghouse of common Windows privilege escalation vectors that rely on misconfigurations

{% embed url="<https://github.com/PowerShellEmpire/PowerTools/tree/master/PowerUp>" %}

### PowerUpSQL

PowerUpSQL includes functions that support SQL Server discovery, weak configuration auditing, privilege escalation on scale, and post exploitation actions such as OS command executio

{% embed url="<https://github.com/NetSPI/PowerUpSQL>" %}

### DAFT

This is a database auditing and assessment toolkit written in C# and inspired by [PowerUpSQL](https://github.com/NetSPI/PowerUpSQL/wiki). Feel free to compile it yourself or download the release from [here](https://github.com/NetSPI/DAFT/releases/tag/0.9.0).

<https://github.com/NetSPI/DAFT>

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aj-labz.gitbook.io/aj-labz/offensive-cyberz/ad-enumeration/ad-tools.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
