LOLBAS. GitHub
LIVING OFF THE LAND / OTHER MICROSOFT BINARIES

dotnet-trace.exe

View source

.NET diagnostic tool for collecting runtime traces from .NET applications. Installed via 'dotnet tool install --global dotnet-trace' (.NET SDK required).

01COMMAND EXAMPLES
01ATT&CK TECHNIQUES
00DETECTION RESOURCES
01CAPABILITIES
01 / TRADECRAFT

Command reference

1 examples

Execute1

EXAMPLE 01T1127

Launches the specified executable as a child process while collecting runtime trace data for 1 second during execution.

COMMAND
dotnet-trace.exe collect --duration 00:00:01 -- {PATH:.exe}
USE CASE
Execute a child process under the guise of a legitimate .NET diagnostic tool.
PRIVILEGES
User
OPERATING SYSTEM
Windows 10, Windows 11
Execute · EXE
02 / ON DISK

Known paths

C:\Users\<user>\.dotnet\tools\dotnet-trace.exe
03 / DEFENSIVE INTELLIGENCE

Detection & indicators

0 resources

Indicators & detection notes

  • IOC

    Process creation with command line containing "dotnet-trace collect" and "--"

REFERENCE IMPLEMENTATIONS

Code samples

FURTHER READING

Research & resources

COMMUNITY RESEARCH

Acknowledgements

Iván Cabrera@ivancabrera02