Createdump.exe

Microsoft .NET Runtime Crash Dump Generator (included in .NET Core)

Paths

  • C:\Program Files\dotnet\shared\Microsoft.NETCore.App\<version>\createdump.exe
  • C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\<version>\createdump.exe
  • C:\Program Files\Microsoft Visual Studio\<version>\Community\dotnet\runtime\shared\Microsoft.NETCore.App\6.0.0\createdump.exe
  • C:\Program Files (x86)\Microsoft Visual Studio\<version>\Community\dotnet\runtime\shared\Microsoft.NETCore.App\6.0.0\createdump.exe

Commands

Dump

Dump process by PID and create a minidump file. If "-f dump.dmp" is not specified, the file is created as '%TEMP%\dump.%p.dmp' where %p is the PID of the target process.

Use case: Dump process memory contents using PID.

Privileges: SYSTEM

createdump.exe -n -f {PATH:.dmp} {PID}

Detection

Resources