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.
Question
Analyze the command output below. What action is being performed by the tester?
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)- A10% (3)
- B7% (2)
- C80% (24)
- D3% (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.
Creating and testing user accounts would involve commands like 'net user' or privilege escalation utilities post-exploitation, not an initial service exploit.
Collecting password hashes typically requires post-exploitation tools such as Mimikatz or Metasploit's hashdump module, which run after access is already established.
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.
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
Community Discussion
No community discussion yet for this question.
