Windows API reference
EnumProcesses
Fills a buffer with the process identifiers of all processes in the system.
- Library
- Psapi.dll
- Category
- Enumeration
- Suspicion
- high
- MITRE ATT&CK
- T1057 Process Discovery
Detection summary
EnumProcesses has no reviewed Sysmon/ETW event; process discovery is detected through API/EDR telemetry and follow-on access.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Use EDR hooks or call stacks and correlate with OpenProcess, EnumProcessModules, process-access events (Sysmon 10 where configured) and child-process creation (Sysmon 1). The enumeration call itself is not recorded.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- MITRE ATT&CK T1057: Process Discovery
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
Task managers, EDR agents, installers, backup tools and inventory software.
Related APIs
- OpenProcess — Kernel32.dll
- EnumProcessModules — Psapi.dll