PowerShell Forensics
Earlier in this chapter, you were introduced to one PowerShell command. In this section, we will dive a bit deeper. Windows PowerShell is an extensible automation engine from Microsoft, consisting of a command-line shell and associated scripting language. Windows PowerShell is based on the .Net framework. In Windows 10, just use the search and type PowerShell. For many of the most interesting commands, you will need to run PowerShell as the administrator. PowerShell offers several commands that are useful in forensic examinations, particularly in triage of live machines.
There are a host of forensically useful commands. A few are listed here:
Get-LocalUser: This has a number of options, such as Get-LocalUser | where Enabled ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access