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

# Active Directory

Complete guide to Active Directory penetration testing and security.

## 📚 Contents

### Core Topics

* [Domain Enumeration](/notes/red-teaming/active-directory/domain-enumeration.md) - Techniques for enumerating AD domains
* [Local Privilege Escalation](/notes/red-teaming/active-directory/local-privesc.md) - Escalating privileges on local systems
* [Lateral Movement](/notes/red-teaming/active-directory/lateral-movement.md) - Moving between systems in the network
* [Domain Privilege Escalation](/notes/red-teaming/active-directory/domain-privesc.md) - Escalating to domain admin
* [Domain Persistence](/notes/red-teaming/active-directory/domain-persistence.md) - Maintaining access to compromised domains

### Detection & Defense

* [Detection & Defense](/notes/red-teaming/active-directory/detection-defense.md) - General detection and defense strategies
* [Detection & Defense ATA](/notes/red-teaming/active-directory/detection-defense-ata.md) - Advanced Threat Analytics
* [Architectural Changes](/notes/red-teaming/active-directory/detection-defence-architectural-changes.md) - Defensive architecture

### Attack Vectors

* [AD CS](/notes/red-teaming/attack-vectors/ad-cs.md) - Active Directory Certificate Services attacks
* [Group Policy Preferences](/notes/red-teaming/attack-vectors/group-policy-preferences.md) - GPP exploitation
* [IPv6 DNS Takeover](/notes/red-teaming/attack-vectors/ipv6-dns-takeover.md) - IPv6 attacks
* [Kerberoasting](/notes/red-teaming/attack-vectors/kerberos.md) - Kerberos ticket attacks
* [LAPS](/notes/red-teaming/attack-vectors/laps.md) - Local Administrator Password Solution
* [LDAP](/notes/red-teaming/attack-vectors/ldap.md) - LDAP injection and attacks
* [Microsoft SQL Server](/notes/red-teaming/attack-vectors/microsoft-sql-server.md) - MSSQL attacks
* [Relay Attacks](/notes/red-teaming/attack-vectors/relay-attacks.md) - NTLM relay attacks
* [RPC](/notes/red-teaming/attack-vectors/rpc.md) - Remote Procedure Call attacks

### PowerShell

* [PowerShell Basics](/notes/red-teaming/powershell/powershell-basics.md) - Getting started with PowerShell
* [Offensive PowerShell](/notes/red-teaming/powershell/offensive-powershell.md) - Offensive PowerShell techniques
* [COM Objects](/notes/red-teaming/powershell/com-objects.md) - Component Object Model exploitation

***

[← Back to Main](/notes/readme.md)


---

# 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://zeyad-abulaban.gitbook.io/notes/red-teaming/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.
