> For the complete documentation index, see [llms.txt](https://htb.linuxsec.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://htb.linuxsec.org/active-directory/service.md).

# Service Exploitation

Service exploitation in the context of Active Directory security involves the exploitation of various services such as SMB (Server Message Block), WinRM (Windows Remote Management), LDAP (Lightweight Directory Access Protocol), and others, typically to gain unauthorized access or escalate privileges within a network. Attackers may exploit vulnerabilities or misconfigurations in these services to execute remote code, conduct reconnaissance, or perform lateral movement within the network. For example, exploiting SMB vulnerabilities like EternalBlue could allow an attacker to execute arbitrary code remotely and propagate across machines. Similarly, abusing misconfigured WinRM endpoints could provide attackers with remote administrative access to compromised systems.

{% content-ref url="/pages/L8zhx7P5FIsiFiwLgmzf" %}
[SMB](/active-directory/service/smb.md)
{% endcontent-ref %}

{% content-ref url="/pages/sDKuS3WH395ZV6894SMR" %}
[LDAP](/active-directory/service/ldap.md)
{% endcontent-ref %}


---

# 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://htb.linuxsec.org/active-directory/service.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.
