QuestionQ66

VerifiedIncident Response and Management

A security analyst isolates a Windows 11 workstation from the network after known malware is detected. The list of security information and event management (SIEM) events during the malware installation and timeline does not identify a specific user who was logged in. The security analyst uses the local administrative account to log in and would like a list of logins to the machine. Which of the following PowerShell commands should the analyst use?

Explanation

Windows logs successful interactive and network logons to the Security event log under Event ID 4624. To retrieve a list of logons to a workstation, an analyst should query the Security log filtered on Event ID 4624 using Get-WinEvent with a FilterHashTable, then sort the results by time and export them to CSV for review. The other options either use invalid syntax (Eventvwr.exe is a GUI application, not a cmdlet with those parameters) or reference event IDs and logs (System ID 9754, Application ID 7124) that are not associated with user logon activity.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!