Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PowerShell ISE AutoSaveFiles and user.config #970

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion Targets/Logs/PowerShellConsole.tkape
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Description: PowerShell Console Log File
Author: Mike Cary, 2thewes
Author: Mike Cary, 2thewes, Vikas Singh
Version: 1.2
Id: efa4332a-89eb-430c-ab61-006a9e6620d7
RecreateDirectories: true
Expand All @@ -19,8 +19,19 @@ Targets:
Category: PowerShellConsoleLog
Path: C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\
FileMask: '*_history.txt'
-
Name: PowerShell ISE - AutoSave Files
Category: PowerShellConsoleLog
Path: C:\Users\%user%\AppData\Local\Microsoft_Corporation\powershell_ise.exe_StrongName*\*\AutoSaveFiles\
FileMask: '*.ps1'
-
Name: PowerShell ISE - User Config
Category: PowerShellConsoleLog
Path: C:\Users\%user%\AppData\Local\Microsoft_Corporation\powershell_ise.exe_StrongName*\*\
FileMask: '*.config'

# Documentation
# https://vikas-singh.notion.site/PowerShell-Command-History-Forensics-81a35c4f0b824c2b95c28f98134d49a4?pvs=4
# https://community.sophos.com/malware/b/blog/posts/powershell-command-history-forensics
# https://darizotas.blogspot.com/2018/10/forensics-powershell-artifacts.html
# https://digital-forensics.sans.org/media/DFPS_FOR508_v4.4_1-19.pdf
Expand Down