> For the complete documentation index, see [llms.txt](https://xedex.gitbook.io/internalpentest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xedex.gitbook.io/internalpentest/internal-pentest/active-directory.md).

# Active Directory

Active Directory is the cornerstone of an increasing number of business functionalities, and every year more work hinges on stable AD operability. Its access is also a gateway to a lot of organization’s information and hence, it is targeted by attackers and makes it one, if not the most juiciest target an attacker wants to compromise.

In this gitbook, i want to put my notes of my journey learning AD and AD attacks and since I'm planning on releasing this, i want to make it easily accessible and fairly understandable by others too :)&#x20;

I only covered the basics in this notebook and invite you to take a look a the references in the MISC section if you're interested in learning more. I will try to update it whenver i have some free time with other attacks and ressources and try to keep it up to date for you guys :)

Feel free to contact me if you find any mistakes or think i should add/delete something, i appreciate it :)&#x20;

Many resources & references have been used in this notebook, a huge thanks to :

@Thecybermentor for his course, especially the AD part that inspired the way this notebook was designed and many of the techniques used here, you can check his course at <https://www.udemy.com/course/practical-ethical-hacking/>

@PyroTek3 for his : <https://adsecurity.org>

@lydericlefebvre for his notebook: <https://lydericlefebvre.gitbook.io/cheatsheet/>

@harmj0y for his blog : <http://www.harmj0y.net/blog>

and many many others in the infosec community :)&#x20;

Hope you'll find it useful.


---

# 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, and the optional `goal` query parameter:

```
GET https://xedex.gitbook.io/internalpentest/internal-pentest/active-directory.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
