At this point we've already done some initial enum.
- Obtained basic user/group information
- Enumerated hosts
- Found critical services/roles (Domain controller)
At this point, we utilize two techniques: Network poisoning and password spraying.
Common way to gather creds and gain an initial foothold: MitM attacks and Link-Local Multicast Name Resolution and NetBIOS Name Service broadcasts.
Depending on the network, these attacks may provide low-priv or administrative level password hashes that can be cracked offline (or even cleartext credentials)
It's also possible to perform an SMB relay to auth to a host or multiple hosts in the domain with admin priv w/o having to crack the pw hash offline.
https://datatracker.ietf.org/docs/html/rfc4795 LLMNR https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc940063(v=technet.10)?redirectedfrom=MSDN NBT-NS
- Windows components
- Serve as alternate methods of host identification when DNS fails
- Machine attempts to resolve host but DNS fails, this is a fallback mechanism to rely on other hosts in the network for correct host address
- LLMNR fails - NBT-NS is used.
- LLMNR uses 5355 over UDP, NBT-NS uses 137 over UDP When these are used for name resolution, any host on the network can reply. This is where we come in with Responder. Responder will spoof authoritative name resolution source in the broadcast domain by responding to llmnr/nbt-ns traffic, as if they have an answer for the requesting host. If the requested host requires name resolution or authentication actions we can capture the NetNTLM hash and crack it offline, or relay it with PtH Several tools can be used to attempt LLMNR & NBT-NS poisoning:
| Tool | Description |
|---|---|
| Responder | Responder is a purpose-built tool to poison LLMNR, NBT-NS, and MDNS, with many different functions. |
| Inveigh | Inveigh is a cross-platform MITM platform that can be used for spoofing and poisoning attacks. |
| Metasploit | Metasploit has several built-in scanners and spoofing modules made to deal with poisoning attacks. |
Responder usage, information
Responder flags:
-A Analyze mode without poisoning responses
-wf WPAD rogue proxy server
-f fingerprint the remote host operating sys and version
-v increased verbosity
-F and -P used to force NTLM or BASIC auth and force proxy auth (may cause login prompt)
-w built-in WPAD proxy server (which can be highly effective in large organizations because it will capture all http requests made by any users that launch internet explorer)
caught hashes will be logged at
/usr/share/responder/logs - saved in format [module_name]-[hash_type]-[client_ip].txt
one hash is printed to console and stored in associated log file unless -v is enabled.
also stored in sqlite database configured in Responder.conf file located at /usr/share/responder
rogue servers can be disabled in the conf file. (i.e. SMB)