NTML
New Technology Lan Manager is a collection of authentication protocols created by Microsoft. This protocol is used to authenticate a client to a resource on an Active Directory domain.
The NTLM authentication process is done in the following way :
- The client sends the user name and domain name to the server.
- The server generates a random character string, referred to as the challenge.
- The client encrypts the challenge with the NTLM hash of the user password and sends it back to the server.
- The server retrieves the user password (or equivalent).
- The server uses the hash value retrieved from the security account database to encrypt the challenge string. The value is then compared to the value received from the client. If the values match, the client is authenticated. Source: https://www.ionos.com/digitalguide/server/know-how/ntlm-nt-lan-manager/
We can use an LFI to capture NTLM hashes: https://osandamalith.com/2017/03/24/places-of-interest-in-stealing-netntlm-hashes/