A tester has a low-privilege shell on a Windows host. The tester wants to find install folders and service configurations that the current user can modify. Which commands show this? (Choose two.)
Choose 2 answers
Show the answer
Correct answersA. icacls "C:\Program Files\App"E. accesschk.exe -uwcqv user *
AWhy this is right: It prints the ACL of the folder, showing whether the current user has write or modify rights.
BWhy not this: It brute-forces web paths over HTTP and does not read local access control lists.
CWhy not this: It identifies services and versions on open ports, not who can modify local files or services.
DWhy not this: It lists SMB shares on a remote host, which is share enumeration, not local object permissions.
EWhy this is right: It reports which services and objects the named user can write to, exposing weak permissions.
FWhy not this: It lists local accounts, which is user enumeration, and shows no object permissions.
icacls prints the ACL of a folder or file, and Sysinternals accesschk lists the objects, including services, that an account can write to. Together they reveal where the current user can change what privileged code runs. net user only lists accounts and says nothing about what they may modify.