• Home
  • About
    • Tulio Cruvinel Gomes | 0xNymerio photo

      Tulio Cruvinel Gomes | 0xNymerio

      Do you have Brio?

    • Learn More
    • Email
    • Twitter
    • LinkedIn
    • Github
    • CV
  • Posts
    • All Posts
    • All Tags
  • Projects

[CTF]-[ROOT-ME]-[CHALLENGES]-[CRYPTANALYSIS] - Hash - LM

03 Jan 2022

Reading time ~1 minute

Enunciado

Retrieve the password of the Administrator user from the information output by the secretsdump tool of the Impacket suite. Note: the flag is in lowercase

Hash - LM

Another day, another hash. mas dessa vez um hash LM. O desafio nos fornece uma saida do secretsdump, temos que identificar a hash e quebra-la.

[*] Dumping local SAM hashes (uid:rid:lmhash:nthash)
Administrator:500:d3bf255c530633b9aad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
Guest:501:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
ASPNET:1025:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
DBAdmin:1028:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
sshd:1037:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
service_user:1038:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::

Temos apenas uma única hash Administrator, então não vou entrar no mérito de identificar uma hash LM. A estrutura é exatamente essa no scretsdump, mas se vc tiver dúvida, utilize o hash-identifier. Segue abaixo a hash:

Administrator:500:d3bf255c530633b9aad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::

O importante é entender que a estrutura é NomeUsuário:id:hashLM:hashNTLM. E claro, vou quebrar utilizando o john + wordlist rockyou, apenas fornecendo o trecho do hash LM. No nosso exemplo, vamos criar um arquivo e inserir da seguinte forma:

d3bf255c530633b9aad3b435b51404ee

Só dar play no bruteforce e pegar a senha em texto claro!

Hash - LM



ctfrootmecryptanalysischallenge Share Tweet +1