Windows forensic artifactPowerShellConsole

PowerShell Console Log File

Look for *.ps1, *.config in %AppData%\Microsoft\Windows\PowerShell\PSReadline, %SystemRoot%\System32\config\systemprofile\AppData\Roaming, %SystemRoot%\SysWOW64\config\systemprofile\AppData\Roaming and 1 more folder.

  • 5 paths
  • *_history.txt*.ps1*.config
  • Per-user data
  • Version 1.2
  • Mike Cary, 2thewes, Vikas Singh

What it shows

Investigation value and how to parse it

Commands typed in interactive PowerShell sessions, for each user, from ConsoleHost_history.txt.

The file is plain text and has no timestamps. Use the file modified time for the last command.

Paths on disk

5 paths

References

6 links

Often collected in the same investigation