Which command can generate an inventory of installed programs and their last update as part of an assessment?

Study for the SANS560 GIAC Penetration Tester (GPEN) Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

Which command can generate an inventory of installed programs and their last update as part of an assessment?

Explanation:
Listing directory contents to infer installed software and update times is what this option leverages. The Dir command shows what’s inside a directory along with timestamps for files and folders. By targeting typical software locations like C:\Program Files and C:\Program Files (x86), you can assemble a quick inventory of installed programs and use the latest modification dates of the program folders or files as a proxy for when that software was last updated. The other terms listed aren’t standard Windows commands for generating such an inventory, so they don’t provide a direct, actionable listing. In real assessments, you’d use more precise methods (like WMIC or PowerShell) to pull install dates and versions, but within the given options, Dir is the practical choice for producing a directory-based inventory with update times.

Listing directory contents to infer installed software and update times is what this option leverages. The Dir command shows what’s inside a directory along with timestamps for files and folders. By targeting typical software locations like C:\Program Files and C:\Program Files (x86), you can assemble a quick inventory of installed programs and use the latest modification dates of the program folders or files as a proxy for when that software was last updated. The other terms listed aren’t standard Windows commands for generating such an inventory, so they don’t provide a direct, actionable listing. In real assessments, you’d use more precise methods (like WMIC or PowerShell) to pull install dates and versions, but within the given options, Dir is the practical choice for producing a directory-based inventory with update times.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy