Skip to content

Commit

Permalink
Merge pull request #885 from Qazeer/NETCLRUsageLogs-update
Browse files Browse the repository at this point in the history
NETCLRUsageLogs-update
  • Loading branch information
AndrewRathbun authored Nov 13, 2023
2 parents 1635a37 + 1c20ca5 commit 5492483
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 33 deletions.
63 changes: 34 additions & 29 deletions Targets/Compound/CombinedLogs.tkape
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
Description: Collect Event logs, Trace logs, Windows Firewall and PowerShell console
Author: Mike Cary, Mark Hallman added the USBDevicelogs target
Version: 1.1
Id: d4fdd600-15b1-4b78-bc77-88e724861d8d
RecreateDirectories: true
Targets:
-
Name: Windows Event Logs
Category: EventLogs
Path: EventLogs.tkape
-
Name: Event Trace Logs
Category: EventTraceLogs
Path: EventTraceLogs.tkape
-
Name: PowerShell Console Log
Category: PowerShellConsoleLog
Path: PowerShellConsole.tkape
-
Name: Windows Firewall Log
Category: WindowsFirewallLogs
Path: WindowsFirewall.tkape
-
Name: USBDevicesLogs
Category: USB
Path: USBDevicesLogs.tkape

# Documentation
# v1.1 - Added the USBDevicelogs target
Description: Collect Event logs, Trace logs, Windows Firewall, PowerShell console logs, and .NET CLR UsageLogs
Author: Mike Cary, Mark Hallman added the USBDevicelogs target, Thomas DIOT (Qazeer) added the .NET CLR UsageLogs target
Version: 1.2
Id: d4fdd600-15b1-4b78-bc77-88e724861d8d
RecreateDirectories: true
Targets:
-
Name: Windows Event Logs
Category: EventLogs
Path: EventLogs.tkape
-
Name: Event Trace Logs
Category: EventTraceLogs
Path: EventTraceLogs.tkape
-
Name: PowerShell Console Log
Category: PowerShellConsoleLog
Path: PowerShellConsole.tkape
-
Name: Windows Firewall Log
Category: WindowsFirewallLogs
Path: WindowsFirewall.tkape
-
Name: USBDevicesLogs
Category: USB
Path: USBDevicesLogs.tkape
-
Name: .NET CLR UsageLogs
Category: .NET CLR UsageLogs
Path: NETCLRUsageLogs.tkape

# Documentation
# v1.1 - Added the USBDevicelogs target
# v1.2 - Added the .NET CLR UsageLogs target
15 changes: 11 additions & 4 deletions Targets/Windows/NETCLRUsageLogs.tkape
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
Description: .NET CLR UsageLogs
Author: Matias Davaro
Version: 1.0
Author: Matias Davaro, Thomas DIOT (Qazeer)
Version: 1.1
Id: f127a2a3-d86f-4ede-96e7-52193db822ad
RecreateDirectories: true
Targets:
-
Name: .NET CLR UsageLogs
Name: .NET CLR UsageLogs (user-scoped)
Category: .NET CLR UsageLogs
Path: C:\Users\%user%\AppData\Local\Microsoft\CLR_*\UsageLogs
Path: C:\Users\%user%\AppData\Local\Microsoft\CLR_*\
Recursive: true
FileMask: '*.log'
-
Name: .NET CLR UsageLogs (system-scoped)
Category: .NET CLR UsageLogs
Path: C:\Windows*\System32\config\systemprofile\AppData\Local\Microsoft\CLR_*\
Recursive: true
FileMask: '*.log'

# Documentation
# https://bohops.com/2021/03/16/investigating-net-clr-usage-log-tampering-techniques-for-edr-evasion/
Expand Down

0 comments on commit 5492483

Please sign in to comment.