Windows API reference
CreateToolhelp32Snapshot
Takes a snapshot of processes, threads, modules or heaps for later traversal.
- Library
- Kernel32.dll
- Category
- Enumeration
- Suspicion
- high
- MITRE ATT&CK
- T1057 Process Discovery
Detection summary
Process, thread or module snapshots are not recorded by Sysmon; discovery is detected through API/EDR telemetry and follow-on enumeration.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Use EDR hooks or call stacks to see CreateToolhelp32Snapshot, then correlate with Process32First/Next, Module32First/Next, Thread32First and process-access activity (Sysmon 10 where configured). Sysmon 1 only shows child-process creation.
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 and inventory tools.
Related APIs
- Process32FirstW — Kernel32.dll
- Process32NextW — Kernel32.dll
- Module32FirstW — Kernel32.dll
- Thread32First — Kernel32.dll