Skip to content

Commit a8109a4

Browse files
committed
PowerShell Transcript Deletion
Added rule looking for the deletion of PowerShell transcript logs from the default location.
1 parent d8da168 commit a8109a4

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Sysmon schemaversion="4.60">
2+
<EventFiltering>
3+
<RuleGroup name="" groupRelation="or">
4+
<FileDeleteDetected onmatch="include">
5+
<Rule groupRelation="and">
6+
<TargetFilename condition="contains all">C:\PS-Transcripts\;PowerShell_transcript</TargetFilename> <!--Default PowerShell transcript folder-->
7+
<TargetFilename condition="contains">.txt</TargetFilename>
8+
</Rule>
9+
</FileDeleteDetected>
10+
</RuleGroup>
11+
</EventFiltering>
12+
</Sysmon>

sysmonconfig.xml

258 KB
Binary file not shown.

0 commit comments

Comments
 (0)