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

Powershellconsole #940

Merged
merged 2 commits into from
Jun 12, 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
14 changes: 12 additions & 2 deletions Targets/Logs/PowerShellConsole.tkape
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Description: PowerShell Console Log File
Author: Mike Cary
Version: 1.1
Author: Mike Cary, 2thewes
Version: 1.2
Id: efa4332a-89eb-430c-ab61-006a9e6620d7
RecreateDirectories: true
Targets:
Expand All @@ -9,6 +9,16 @@ Targets:
Category: PowerShellConsoleLog
Path: C:\Users\%user%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\
FileMask: '*_history.txt'
-
Name: PowerShell Console Log Systemprofile
Category: PowerShellConsoleLog
Path: C:\Windows\System32\config\systemprofile\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\
FileMask: '*_history.txt'
-
Name: PowerShell Console Log WOW64 Systemprofile
Category: PowerShellConsoleLog
Path: C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\
FileMask: '*_history.txt'

# Documentation
# https://community.sophos.com/malware/b/blog/posts/powershell-command-history-forensics
Expand Down
Loading