Windows API reference
ExitProcess
Terminates the calling process and all its threads.
- Library
- Kernel32.dll
- Category
- Helper
- Suspicion
- low
- MITRE ATT&CK
- Not mapped
Detection summary
ExitProcess maps to Sysmon Event 5 and Microsoft-Windows-Kernel-Process; these events record the OS effect, not the API call.
- Sysmon: Sysmon Event 5
- ETW: Microsoft-Windows-Kernel-Process
- Notes: Sysmon Event 5 records process termination; it confirms the exit but not the code path that requested it. Microsoft-Windows-Kernel-Process provides process, thread and image lifecycle events when enabled.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Common in general Windows applications; usage varies by application type.
Related APIs
- TerminateProcess — Kernel32.dll