nerdexam
EC-Council

312-50V10 · Question #675

How can you determine if an LM hash you extracted contains a password that is less than 8 characters long?

The correct answer is B. The right most portion of the hash is always the same. The LM hashing algorithm splits a password into two 7-character halves; when a password is 7 or fewer characters, the entire right half is null-padded and always produces the same known constant hash value.

System Hacking

Question

How can you determine if an LM hash you extracted contains a password that is less than 8 characters long?

Options

  • AThere is no way to tell because a hash cannot be reversed
  • BThe right most portion of the hash is always the same
  • CThe hash always starts with AB923D
  • DThe left most portion of the hash is always the same
  • EA portion of the hash will be all 0's

How the community answered

(29 responses)
  • B
    93% (27)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The LM hashing algorithm splits a password into two 7-character halves; when a password is 7 or fewer characters, the entire right half is null-padded and always produces the same known constant hash value.

AThere is no way to tell because a hash cannot be reversed

Although hashes are one-way functions that cannot be reversed directly, the structural property of LM hashing does expose password length information through the constant right-side value.

BThe right most portion of the hash is always the sameCorrect

LM hashing pads each 7-character password chunk with null bytes before performing DES encryption independently on each half. When a password is less than 8 characters long, the second 7-character chunk is entirely null bytes, which always encrypts to the well-known constant value 'AAD3B435B51404EE', making the right portion of the 32-character LM hash a reliable indicator that the password is 7 characters or fewer.

CThe hash always starts with AB923D

LM hashes do not start with a fixed prefix like 'AB923D'; this is a fabricated value with no basis in the DES-based LM hashing algorithm.

DThe left most portion of the hash is always the same

The left portion of the LM hash reflects the encryption of the first 7 characters and varies based on what those characters are, so it is not a constant indicator.

EA portion of the hash will be all 0's

The right portion does not appear as all zeros; it produces the specific constant DES ciphertext 'AAD3B435B51404EE', which is a non-zero recognizable pattern.

Concept tested: LM hash structure and password length inference

Source: https://learn.microsoft.com/en-us/windows-server/security/kerberos/passwords-technical-overview

Topics

#LM hash structure#password length#hash pattern#Windows authentication

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice