Windows API reference
MiniDumpWriteDump
Writes a user-mode dump of a process to a file or caller-supplied callback; the dump type controls whether full process memory is included.
- Library
- Dbghelp.dll
- Category
- Credential Access
- Suspicion
- high
- MITRE ATT&CK
- T1003.001 OS Credential Dumping: LSASS Memory
Detection summary
LSASS dumping: open lsass.exe with PROCESS_VM_READ and query rights, call MiniDumpWriteDump, and write a .dmp file; detect Sysmon 10 handle access to lsass (for example 0x1010 or 0x1410), Sysmon 11 dump-file creation, EDR call stacks, and unsigned processes invoking dbghelp!MiniDumpWriteDump. Baseline Windows Error Reporting, Task Manager and approved forensic tools.
- Sysmon: Sysmon Event 10, Sysmon Event 11
- ETW: Microsoft-Windows-Kernel-File
- Notes: Sysmon 10/11 record handle access and file creation, not the API call. A dump can be written to an existing handle or over SMB, and a callback-based dump may create no local file.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Windows Error Reporting, Task Manager Create dump file, ProcDump, debuggers, crash triage and forensic/backup tools.
Related APIs
- OpenProcess — Kernel32.dll
- ReadProcessMemory — Kernel32.dll