Skip to content

Commit

Permalink
Merge pull request #836 from AndrewRathbun/master
Browse files Browse the repository at this point in the history
Create PowerShellTranscripts.tkape
  • Loading branch information
AndrewRathbun authored Jul 10, 2023
2 parents 3f9f6ae + d40fbf1 commit 0b7ba06
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Targets/Windows/PowerShellTranscripts.tkape
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Description: PowerShell Transcripts
Author: Andrew Rathbun and Chad Tilbury
Version: 1.0
Id: 316cd490-7a40-4518-aade-1de070191f3d
RecreateDirectories: true
Targets:
-
Name: PowerShell Transcripts - Default Location
Category: PowerShellTranscripts
Path: C:\Users\%user%\Documents\20*\
FileMask: 'PowerShell_transcript.*.txt'
-
Name: PowerShell Transcripts - Observed Location
Category: PowerShellTranscripts
Path: C:\Windows\SysWOW64\*\
FileMask: 'PowerShell_transcript.*.txt'
-
Name: PowerShell Transcripts - Observed Location
Category: PowerShellTranscripts
Path: C:\Program Files\Amazon\Ec2ConfigService\Scripts\*\
FileMask: 'PowerShell_transcript.*.txt'
-
Name: PowerShell Transcripts - Observed Location
Category: PowerShellTranscripts
Path: C:\Windows\System32\*\
FileMask: 'PowerShell_transcript.*.txt'

# Documentation
# https://lazyadmin.nl/powershell/start-transcript/
# https://www.stigviewer.com/stig/windows_10/2021-03-10/finding/V-230220
# https://www.itprotoday.com/powershell/how-use-automatic-powershell-transcription
# These logs appears when auditing is turned on via Group Policy or Start-Transcript is used during PowerShell execution
# As more locations are observed, they will be added here
# Example location (default): c:\users\name\documents\20220301\PowerShell_transcript.DEVICENAME.qp9EOTN2.20220301132612.txt

0 comments on commit 0b7ba06

Please sign in to comment.