nerdexam
GIAC

GPEN · Question #477

Analyze the command output below. What action is being performed by the tester?

The correct answer is C. Attempting to exploit windows File and Print Sharing service. The command output depicts a tool exploiting the Windows File and Print Sharing service (SMB) on the target host at 10.0.1.4.

Exploitation & Post-Exploitation Techniques

Question

Analyze the command output below. What action is being performed by the tester?

Exhibit

GPEN question #477 exhibit

Options

  • ACreating user accounts on 10.0.1.4 and testing privileges
  • BCollecting password hashes for users on 10.0.1.4
  • CAttempting to exploit windows File and Print Sharing service
  • DGathering Security identifiers for accounts on 10.0.1.4

How the community answered

(30 responses)
  • A
    10% (3)
  • B
    7% (2)
  • C
    80% (24)
  • D
    3% (1)

Why each option

The command output depicts a tool exploiting the Windows File and Print Sharing service (SMB) on the target host at 10.0.1.4.

ACreating user accounts on 10.0.1.4 and testing privileges

Creating and testing user accounts would involve commands like 'net user' or privilege escalation utilities post-exploitation, not an initial service exploit.

BCollecting password hashes for users on 10.0.1.4

Collecting password hashes typically requires post-exploitation tools such as Mimikatz or Metasploit's hashdump module, which run after access is already established.

CAttempting to exploit windows File and Print Sharing serviceCorrect

Windows File and Print Sharing relies on the SMB protocol operating over ports 139 and 445, and is a well-known attack surface exploited by tools such as Metasploit. The output shown is consistent with an exploit module such as ms08_067 or a similar SMB exploit being launched against 10.0.1.4. This type of exploit yields remote code execution by targeting the SMB service directly.

DGathering Security identifiers for accounts on 10.0.1.4

Gathering Security Identifiers would use enumeration tools such as enum4linux or rpcclient targeting RPC/LDAP, not an SMB exploit framework.

Concept tested: Exploiting Windows SMB File and Print Sharing service vulnerabilities

Source: https://docs.rapid7.com/metasploit/ms08-067-microsoft-server-service-relative-path-stack-corruption/

Topics

#SMB exploitation#Windows file sharing#command output analysis#network exploitation

Community Discussion

No community discussion yet for this question.

Full GPEN Practice