A penetration tester has captured a password hash from a Linux system and identifies it as a SHA-512 crypt hash. Which Hashcat mode should be used to crack this hash?
SHA-512 crypt hashes are commonly found in /etc/shadow on Linux systems and are identified by the $6$ prefix. Hashcat mode 1800 is specifically designed to crack these hashes. Since the scenario involves a SHA-512 crypt hash, mode 1800 is the correct choice for an efficient and successful cracking attempt.
Why this answer
Linux systems often store password hashes in /etc/shadow using SHA-512 crypt, identified by the $6$ prefix. Hashcat mode 1800 is the correct mode to crack these hashes. Other modes like 500, 3200, or 7400 target different algorithms and would not successfully crack the SHA-512 crypt hash, leading to wasted effort.
Exam trap
The trap here is confusing SHA-512 crypt with other Unix crypt variants like MD5, bcrypt, or SHA-256 crypt, which have different prefixes and require different Hashcat modes.