nerdexam
EC-Council

312-50V9 · Question #556

Based on the following extract from the log of a compromised machine, what is the hacker really trying to steal?

The correct answer is B. SAM file. The log extract shows the attacker targeting the SAM (Security Account Manager) file, which stores Windows local account password hashes used for offline cracking.

System Hacking

Question

Based on the following extract from the log of a compromised machine, what is the hacker really trying to steal?

Options

  • Ahar.txt
  • BSAM file
  • Cwwwroot
  • DRepair file

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    75% (30)
  • C
    8% (3)
  • D
    15% (6)

Why each option

The log extract shows the attacker targeting the SAM (Security Account Manager) file, which stores Windows local account password hashes used for offline cracking.

Ahar.txt

har.txt is not a standard Windows system file containing credentials; it holds no value as a target for password or account data theft.

BSAM fileCorrect

The SAM file is the Windows Security Account Manager database that stores hashed credentials for all local user accounts and is a primary target for credential theft. Attackers commonly retrieve a backup copy from the %SystemRoot%\repair directory, which is created during system setup and is accessible even while the live SAM is locked by the operating system. Obtaining the SAM file allows the attacker to conduct offline brute-force or rainbow table attacks against the stored password hashes.

Cwwwroot

wwwroot is the default web server document root directory and contains web content, not user credential hashes stored in the SAM database.

DRepair file

The repair directory is the location from which the attacker retrieves the SAM backup, not the item of value itself; the SAM file stored within that directory is the actual credential target.

Concept tested: Windows SAM file theft via repair directory backup

Source: https://learn.microsoft.com/en-us/windows-server/security/windows-authentication/credentials-processes-in-windows-authentication

Topics

#SAM file#credential theft#Windows password hashing#log analysis

Community Discussion

No community discussion yet for this question.

Full 312-50V9 Practice