nerdexam
GIAC

GCIH · Question #784

What is the purpose of the application rpcclient?

The correct answer is B. Interacting with SMB shares. rpcclient is a Unix/Linux command-line utility included with Samba that allows interaction with Windows RPC and SMB services for enumeration and administration.

Reconnaissance, Scanning, and Enumeration

Question

What is the purpose of the application rpcclient?

Options

  • AEnumerating the pages of a website
  • BInteracting with SMB shares
  • CConnecting to the remote desktop of a workstation
  • DAdding a new user to a host

How the community answered

(24 responses)
  • B
    88% (21)
  • C
    8% (2)
  • D
    4% (1)

Why each option

rpcclient is a Unix/Linux command-line utility included with Samba that allows interaction with Windows RPC and SMB services for enumeration and administration.

AEnumerating the pages of a website

Web crawling and directory enumeration are performed by tools such as gobuster, dirb, or wget, not rpcclient.

BInteracting with SMB sharesCorrect

rpcclient connects to Samba or Windows hosts using the SMB/CIFS protocol and exposes RPC calls for enumerating users, shares, printers, and domain information. It is widely used by penetration testers and administrators to query SMB-based services from Linux systems.

CConnecting to the remote desktop of a workstation

Remote desktop connections from Linux use dedicated RDP clients such as rdesktop or xfreerdp, not rpcclient.

DAdding a new user to a host

Adding local users is done with commands like net user or useradd; rpcclient can enumerate users but its purpose is broader SMB/RPC interaction.

Concept tested: rpcclient tool function for SMB/RPC enumeration

Source: https://www.samba.org/samba/docs/current/man-html/rpcclient.1.html

Topics

#rpcclient#SMB enumeration#network tools#Windows shares

Community Discussion

No community discussion yet for this question.

Full GCIH Practice