Skip to content

Add dotnet-trace.exe and dotnet-counters.exe - #522

Merged
wietze merged 6 commits into
LOLBAS-Project:masterfrom
ivancabrera02:master
Sep 2, 2026
Merged

Add dotnet-trace.exe and dotnet-counters.exe#522
wietze merged 6 commits into
LOLBAS-Project:masterfrom
ivancabrera02:master

Conversation

@ivancabrera02

Copy link
Copy Markdown
Contributor

Both binaries included in .NET can run child processes.

lolbas lolbas2

@ivancabrera02
ivancabrera02 requested a review from a team as a code owner August 27, 2026 18:00

@wietze wietze left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ivancabrera02 , thank you for opening this PR.

  • image The binaries are not present on Windows 11 by default. Your entries point to a folder in Program Files but your screenshot shows system32. Could you please let me know which .NET installer you used?
  • Additionally, you put your submissions in the OSBinaries folder, which because of the above observation should be OtherMSBinaries.
  • The labels you define do not exist and are not consistent with other contributions, please remove them and add Execute: EXE.
  • The format you used for Operating Systems is not consistent with other entries, please update
  • Instead of calc.exe please use the following placeholder: {PATH:.exe}
  • Please fix the error generated by GitHub actions (Execution should be Execute).
  • MITRE ATT&CK ID should be T1127 on both

Changes per reviewer request:
- Move files from OSBinaries/ to OtherMSBinaries/ (not default Windows binaries)
- Fix Category: Execution -> Execute (dotnet-trace.yml)
- Fix Tags: remove custom labels, add Execute: EXE
- Fix OperatingSystem format: Windows 10, Windows 11
- Replace calc.exe with {PATH:.exe} placeholder
- Fix MitreID: T1059 -> T1127 on both entries
- Fix Full_Path to correct install location (%USERPROFILE%\.dotnet\tools\)
- Add Handle to Acknowledgement

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ivancabrera02

Copy link
Copy Markdown
Contributor Author

Thanks for the detailed review @wietze! All points addressed in the latest commit:

  1. Binary location / .NET installer: These are .NET global tools, not included with Windows or the .NET SDK by default. They are installed via:

    dotnet tool install --global dotnet-trace
    dotnet tool install --global dotnet-counters
    

    This requires the .NET SDK to be installed first. The Microsoft-signed executables (shims) are placed in %USERPROFILE%\.dotnet\tools\, which is added to PATH. The screenshot showed system32 as the working directory, but the binaries were resolved from PATH. Fixed Full_Path to C:\Users\<user>\.dotnet\tools\.

  2. OSBinaries → OtherMSBinaries: Moved both files to yml/OtherMSBinaries/.

  3. Tags: Removed custom labels (ETW: ProcessTracing, Capability: ProcessExecution), replaced with Execute: EXE.

  4. OperatingSystem format: Changed from Windows 10 All, Windows 11 All to Windows 10, Windows 11.

  5. Placeholder: Replaced calc.exe with {PATH:.exe}.

  6. GitHub Actions error: Fixed Category: ExecutionCategory: Execute in dotnet-trace.yml.

  7. MITRE ATT&CK ID: Changed both from T1059 to T1127 (Trusted Developer Utilities Proxy Execution).

@wietze wietze left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ivancabrera02

@wietze
wietze merged commit 7aca936 into LOLBAS-Project:master Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants