NT LAN Manager

出典: フリー百科事典『ウィキペディア(Wikipedia)』

NT LAN Manager (NTLM) [1][2][3]NTLMLAN Manager (LANMAN, LM) NTLM 2 (NTLMv2) Windows NT 4.0 SP4Windows 2000[1][4][5]

[]


2014NTLM[6]


"NTLMNTLMAESSHA-256NTLM (CRC)  Message Digest Algorithm (RFC 1321)MD5RC4
 RFC 1320MD4 FIPS 46-2DESNTLM使"


NTLMNTLM[7]

Active DirectoryNTLMNTLM[1][3]

NTLM[]


Windows 2000Active Directory[5]Windows

NTLM使

IP

Active DirectoryNTLM使



Active Directory"workgroup""peer-to-peer"

TCP 88使

Windows VistaLMNTLM使NTLM使NTLMv2使Windows

[]


NTLM&31[8][9][10][11]

(一)NEGOTIATE_MESSAGE[12]

(二)CHALLENGE_MESSAGE[13]

(三)AUTHENTICATE_MESSAGE[14]

NTLM12LM14DESNTUTF-16MD416128[15]

NTLM1DESLanMan one way function (LMOWF)2MD4NT MD4 based one way function (NTOWF)[15][16]

NTLMv1[]


NTLM1 (NTLMv1) 812424

1650217565664DES324LMNT
C = 8-byte server challenge, random
K1 | K2 | K3 = NT-Hash | 5-bytes-0
R1 = DES(K1,C) | DES(K2,C) | DES(K3,C)
K1 | K2 | K3 = LM-Hash | 5-bytes-0
R2 = DES(K1,C) | DES(K2,C) | DES(K3,C)
response = R1 | R2

NTLMv2[]


Windows NT 4.0[17]NTLM2 (NTLMv2) NTLMv1

NTLMv282HMA-MD53HMAC-MD5

28816NTLMv124LMv2

(1)NT Time(2)8CC2(3)(4)NTv2

LMv2NTv2
SC = 8-byte server challenge, random
CC = 8-byte client challenge, random
CC* = (X, time, CC2, domain name)
v2-Hash = HMAC-MD5(NT-Hash, user name, domain name)
LMv2 = HMAC-MD5(v2-Hash, SC, CC)
NTv2 = HMAC-MD5(v2-Hash, SC, CC*)
response = LMv2 | CC | NTv2 | CC*

NTLM2[]


NTLM2MS-CHAPv2[18]NTLMv1NTLMv2

NTLM288MD5NTLMv1NTLMv112424

NTLMv1[19]

NTLMv1/NTLM2
NTLMv1
  Client<-Server:  SC
  Client->Server:  H(P,SC)
  Server->DomCntl: H(P,SC), SC
  Server<-DomCntl: yes or no

NTLM2 Session
  Client<-Server:  SC
  Client->Server:  H(P,H'(SC,CC)), CC
  Server->DomCntl: H(P,H'(SC,CC)), H'(SC,CC)
  Server<-DomCntl: yes or no

[]


NTLMNTLMpass the hash (MS08-068)Metasploit[3][20]Squirtle toolkitNTLM[21]

20102WindowsNTLMAmplia Security/1NTLM&Windows17MS10-012[22][23]

脚注[編集]



(一)^ abcIntroduction, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236701%28v=PROT.10%29.aspx 2014105 

(二)^ Session Security Details, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236701%28v=PROT.10%29.aspx 2014105 

(三)^ abcTakahashi, T (2009-12-17), Reflecting on NTLM Reflection, FrequencyX Blog (IBM Internet System Security (ISS)), http://blogs.iss.net/archive/NTLMReflection.html 2014105 

(四)^  How to enable NTLM 2 authentication, Support, Microsoft, (2007-01-25), http://support.microsoft.com/?kbid=239869 2014105 

(五)^ abSecurity Configuration, Microsoft Windows 2000 Security Hardening Guide, TechNet (Microsoft), http://technet.microsoft.com/en-us/library/dd277307.aspx 2014105 

(六)^ Security Considerations for Implementers, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236715(v=PROT.10).aspx 2014105 

(七)^ Active Directory Vulnerability Disclosure: Weak encryption enables attacker to change a victims password without being logged (2014715). 2014105

(八)^ Microsoft NTLM, MSDN (Microsoft), http://msdn.microsoft.com/en-us/library/aa378749%28VS.85%29.aspx 2014105 

(九)^ Message Syntax | section 2.2, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236639%28v=PROT.10%29.aspx 2014105 

(十)^ Connection-Oriented, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236674%28v=PROT.10%29.aspx 2014105 

(11)^ Connectionless, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236677%28v=PROT.10%29.aspx 2014105 

(12)^ NEGOTIATE_MESSAGE, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236641%28v=PROT.10%29.aspx 2014105 

(13)^ CHALLENGE_MESSAGE, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236642%28v=PROT.10%29.aspx 2014105 

(14)^ AUTHENTICATE_MESSAGE, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236643%28v=PROT.10%29.aspx 2014105 

(15)^ abNTLM v1 Authentication, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236699%28PROT.10%29.aspx 2014105 

(16)^ NTLM v2 Authentication, NT LAN Manager (NTLM) Authentication Protocol Specification (Microsoft), http://msdn.microsoft.com/en-us/library/cc236700%28v=PROT.10%29.aspx 2014105 

(17)^ What's New in Windows NT 4.0 Service Pack 4?

(18)^ Glass, Eric, NTLM, Davenport, Source forge, http://davenport.sourceforge.net/ntlm.html 

(19)^ Varughese, Sam (20062). Rainbow Cracking and Password Security.  Palisade. 2014105

(20)^ HD Moore. MS08-068: Metasploit and SMB Relay. 2014105

(21)^ Kurt Grutzmacher (8 August 2008). Nail the Coffin Shut, NTLM is Dead. Defcon 16.

(22)^ Hernan Ochoa and Agustin Azubel (28 July 2010). Understanding the Windows SMB NTLM Weak Nonce vulnerability (PDF). Blackhat USA 2010.

(23)^ Hernan Ochoa and Agustin Azubel. Windows SMB NTLM Weak Nonce vulnerability Security Advisory. 2014105

関連項目[編集]

外部リンク[編集]