ペネトレーション テスターは、低特権のリバース シェルを取得した後、次のコマンドを発行します。 wmic service get name,pathname,startmode ペネトレーション テスターがこのコマンドを実行した理由として最も可能性が高いのは次のうちどれですか?
正解:D
The command wmic service get name,pathname,startmode is used by penetration testers to enumerate services and their configurations, specifically looking for services with unquoted paths. If a service's path contains spaces and is not enclosed in quotes, it can be exploited by placing a malicious executable along the path, leading to privilege escalation. For example, if the service path is C:\Program Files\My Service\service.exe and is unquoted, an attacker could place a malicious Program.exe in C:\, which would then be executed with the same privileges as the service when the service starts. Identifying such services allows penetration testers to highlight potential security risks that could be exploited for privilege escalation.