> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/pt-br/active-directory/enumeration/sharphound-collection.md).

# Coleta com SharpHound

\#Coleta com SharpHound

### Objetivo

**SharpHound** é o coletor usado pelo BloodHound.

Ele recupera as informações do Active Directory necessárias para criar os gráficos.

{% embed url="<https://github.com/SpecterOps/BloodHound-Legacy/blob/master/Collectors/SharpHound.exe>" %}

### Executando em uma máquina Windows

Na `WS01`, coloque `SharpHound.exe`, em seguida execute:

{% code overflow="wrap" %}

```powershell
./SharpHound.exe -c All
```

{% endcode %}

O `-c All` a opção coleta todas as categorias disponíveis.

Exemplos de dados coletados:

usuários ;/ grupos ;/ computadores; sessões ;/ ACL ;/ administradores locais; GPO ;/ relacionamentos de domínio.

<figure><img src="/files/023d0baf63ba78eb576725987aaa5668675dc718" alt=""><figcaption></figcaption></figure>

### Resultado do SharpHound

O SharpHound geralmente gera:

* um `.zip` arquivo contendo os dados;
* às vezes um arquivo de log.

Em seguida, transferimos o `.zip` arquivo para a máquina Linux e, em seguida, o importamos para o BloodHound por arrastar e soltar.

<figure><img src="/files/c14073858c437d3dec77843030b13db7c56a13af" alt=""><figcaption></figcaption></figure>


---

# 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://hacking-notes.jord4n.pro/pt-br/active-directory/enumeration/sharphound-collection.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.
