nerdexam
CompTIA

PT0-001 · Question #128

A tester has captured a NetNTLMv2 hash using Responder. Which of the following commands will allow the tester to crack the hash using a mask attack?

The correct answer is C. hashc&t -m 5600 -a 3 haah.txt ?a?a?a?a?a?a?a?a. Cracking a NetNTLMv2 hash with a mask attack in hashcat requires mode 5600 combined with attack mode 3 and a mask pattern defining character sets per position.

Attacks and exploits

Question

A tester has captured a NetNTLMv2 hash using Responder. Which of the following commands will allow the tester to crack the hash using a mask attack?

Options

  • Ahashcat -m 5600 -r rulea/beat64.rule hash.txt wordliat.txt
  • Bhashcax -m 500 hash.txt
  • Chashc&t -m 5600 -a 3 haah.txt ?a?a?a?a?a?a?a?a
  • Dhashcat -m 5600 -o reaulta.txt hash.txt wordliat.txt

How the community answered

(53 responses)
  • A
    8% (4)
  • B
    15% (8)
  • C
    74% (39)
  • D
    4% (2)

Why each option

Cracking a NetNTLMv2 hash with a mask attack in hashcat requires mode 5600 combined with attack mode 3 and a mask pattern defining character sets per position.

Ahashcat -m 5600 -r rulea/beat64.rule hash.txt wordliat.txt

The -r flag specifies a rule file for rule-based mutation of dictionary words, not a mask attack; this command performs a rule-based dictionary attack against the hash.

Bhashcax -m 500 hash.txt

Mode -m 500 targets md5crypt/FreeBSD MD5 hashes rather than NetNTLMv2, and the command omits both an attack mode and any mask or wordlist, making it invalid for this scenario.

Chashc&t -m 5600 -a 3 haah.txt ?a?a?a?a?a?a?a?aCorrect

Hashcat flag -m 5600 targets NetNTLMv2 hashes specifically, -a 3 selects mask attack mode, and the mask ?a?a?a?a?a?a?a?a instructs hashcat to iterate all character classes across eight positions - together these three elements form the correct mask attack command for this hash type.

Dhashcat -m 5600 -o reaulta.txt hash.txt wordliat.txt

The -o flag only designates an output file for cracked results; without -a 3 and a mask pattern, this command defaults to a straight dictionary attack rather than a mask attack.

Concept tested: Hashcat mask attack syntax for NetNTLMv2 hashes

Source: https://hashcat.net/wiki/doku.php?id=mask_attack

Topics

#hashcat#NetNTLMv2#password cracking#mask attack

Community Discussion

No community discussion yet for this question.

Full PT0-001 Practice