mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2026-10-22 16:20:26 +02:00
28 lines
1.1 KiB
YAML
28 lines
1.1 KiB
YAML
---
|
|
Name: dotnet-counters.exe
|
|
Description: .NET diagnostic tool for monitoring performance counters of .NET applications in real-time. Installed via 'dotnet tool install --global dotnet-counters' (.NET SDK required).
|
|
Author: Iván Cabrera
|
|
Created: 2026-08-27
|
|
Commands:
|
|
- Command: dotnet-counters.exe collect --duration 1 -- {PATH:.exe}
|
|
Description: Launches the specified executable as a child process while collecting performance counter data for 1 second.
|
|
Usecase: Execute a child process under the guise of a legitimate .NET diagnostic tool.
|
|
Category: Execute
|
|
Privileges: User
|
|
MitreID: T1127
|
|
OperatingSystem: Windows 10, Windows 11
|
|
Tags:
|
|
- Execute: EXE
|
|
Full_Path:
|
|
- Path: C:\Users\<user>\.dotnet\tools\dotnet-counters.exe
|
|
Code_Sample:
|
|
- Code: https://github.com/dotnet/diagnostics/tree/main/src/Tools/dotnet-counters
|
|
Detection:
|
|
- IOC: Process creation with command line containing "dotnet-counters collect" and "--"
|
|
Resources:
|
|
- Link: https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-counters
|
|
- Link: https://github.com/dotnet/diagnostics
|
|
Acknowledgement:
|
|
- Person: Iván Cabrera
|
|
Handle: '@ivancabrera02'
|