nerdexam
GIAC

GPEN · Question #359

Which of the following tools can be used to assign, display, or modify ACLs (access control lists) to files or folders and could also be used within batch files in Windows NT/2000/XP operating system?

The correct answer is C. cacls.exe. cacls.exe is the Windows NT/2000/XP command-line utility for displaying and modifying Access Control Lists on files and folders, and it can be scripted inside batch files.

Exploitation & Post-Exploitation Techniques

Question

Which of the following tools can be used to assign, display, or modify ACLs (access control lists) to files or folders and could also be used within batch files in Windows NT/2000/XP operating system?

Options

  • Anetstat
  • Bipconfig.exe
  • Ccacls.exe
  • Dtracert

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    18% (7)
  • C
    70% (28)
  • D
    8% (3)

Why each option

cacls.exe is the Windows NT/2000/XP command-line utility for displaying and modifying Access Control Lists on files and folders, and it can be scripted inside batch files.

Anetstat

netstat is a networking utility that displays active TCP/UDP connections and listening ports, not a tool for managing file-system permissions.

Bipconfig.exe

ipconfig.exe displays and manages the IP configuration of network adapters and has no functionality related to file or folder ACLs.

Ccacls.exeCorrect

cacls.exe (Change ACLs) is a built-in Windows NT/2000/XP command-line tool that can display, assign, and modify discretionary ACLs on files and directories. Because it is a command-line utility, it can be embedded directly in batch scripts to automate permission management across multiple files or folders.

Dtracert

tracert traces the hop-by-hop route packets take to a destination host and has no relation to access control list management.

Concept tested: Windows command-line ACL management with cacls.exe

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cacls

Topics

#cacls.exe#ACL management#Windows permissions#post-exploitation

Community Discussion

No community discussion yet for this question.

Full GPEN Practice