Windows API category
Enumeration
These APIs survey the machine: the process list, loaded modules, windows, services, shares or volumes. Malware uses them for discovery and targeting; administrators, EDR agents and installers use them constantly, so treat them as context, not verdicts.
Discovery of processes, modules, windows, files, services and system state. This category contains 109 APIs.
Open Enumeration in the interactive atlasEnumeration APIs
Last reviewed or generated: .
-
CheckTokenMembership
Tests whether a token contains a specified security identifier, optionally using an impersonation token.
-
CreateToolhelp32Snapshot
Takes a snapshot of processes, threads, modules or heaps for later traversal.
-
CryptEnumProvidersW
Enumerates available cryptographic service providers.
-
DsEnumerateDomainTrustsW
Enumerates domain trusts reachable from the current domain.
-
DsGetDcNameW
Discovers a domain controller for a domain or site.
-
EnumChildWindows
Enumerates child windows of a parent window.
-
EnumDesktopWindows
Enumerates windows on a specific desktop, including non-interactive desktops.
-
EnumDeviceDrivers
Returns load addresses of loaded kernel drivers for a driver list.
-
EnumDisplayMonitors
Enumerates display monitors attached to the desktop.
-
EnumPageFilesW
Enumerates page files on the system with name and size.
-
EnumProcesses
Fills a buffer with the process identifiers of all processes in the system.
-
EnumProcessModules
Enumerates module handles loaded in a process.
-
EnumProcessModulesEx
Lists loaded modules including 32-bit and unloaded entries according to filter flags.
-
EnumServicesStatusExW
Lists services in the Service Control Manager database with state and configuration.
-
EnumSystemFirmwareTables
Enumerates firmware tables such as ACPI or SMBIOS supplied by the platform.
-
EnumThreadWindows
Enumerates windows owned by a specific thread.
-
EnumWindows
Enumerates every top-level window on the desktop via a callback.
-
FindFirstFileA
ANSI variant of FindFirstFile.
-
FindFirstFileW
Searches a directory for files matching a pattern and returns the first hit.
-
FindNextFileW
Continues a directory search started by FindFirstFileW.
-
FindWindowExW
Finds a child window matching class and title.
-
FindWindowW
Finds a top-level window whose class name and window name match the given strings.
-
GetAdaptersAddresses
Retrieves the IPv4 and IPv6 addresses and interface data of the local adapters.
-
GetAdaptersInfo
Returns legacy adapter information including MAC and IP addresses.
-
GetClassNameW
Retrieves the class name of a window.
-
GetComputerNameW
Returns the NetBIOS name of the local computer.
-
GetDeviceDriverBaseNameW
Returns the base name of a loaded kernel driver.
-
GetDiskFreeSpaceExW
Returns free and total space for a disk volume.
-
GetDriveTypeW
Classifies a drive as removable, fixed, remote or CD-ROM.
-
GetExtendedTcpTable
Returns extended TCP tables including IPv6 and per-process ownership.
-
GetForegroundWindow
Returns a handle to the window currently receiving user input.
-
GetIpAddrTable
Returns the interface-to-IP address mapping table.
-
GetKeyboardLayout
Returns the active keyboard layout for a thread.
-
GetKeyboardLayoutList
Lists installed keyboard layouts, a common locale fingerprint.
-
GetLocaleInfoW
Returns locale and regional settings such as country code.
-
GetLogicalDrives
Returns a bitmask of available drive letters.
-
GetLogicalDriveStringsW
Fills a buffer with the root paths of all logical drives.
-
GetModuleBaseNameW
Returns the base name of a module in a process.
-
GetModuleFileNameExW
Returns the full path of a module loaded in another process.
-
GetMonitorInfoW
Returns the bounds and work area of a monitor.
-
GetNativeSystemInfo
Returns system information for the native architecture, even from a WOW64 process.
-
GetPerformanceInfo
Returns system performance values such as commit charge and cache size.
-
GetPhysicallyInstalledSystemMemory
Reports installed physical RAM, a common VM heuristic.
-
GetProcessImageFileNameW
Returns the device path of a process image, useful for identity checks.
-
GetProcessMemoryInfo
Reports working set, private bytes and page faults for a process.
-
GetProcessTimes
Returns creation, exit, kernel and user time for a process.
-
GetSystemFirmwareTable
Retrieves a firmware table such as SMBIOS or ACPI from the system firmware.
-
GetSystemInfo
Returns processor architecture, count, page size and memory limits.
-
GetSystemMetrics
Returns system dimensions and settings such as screen size or number of monitors.
-
GetTcpTable2
Returns the IPv4 TCP connection table with owning process IDs.
-
GetThreadDesktop
Returns the desktop associated with a thread.
-
GetTickCount64
Returns the number of milliseconds since the system started, without wraparound.
-
GetTokenInformation
Retrieves information from an access token such as user, groups, integrity level and privileges.
-
GetTopWindow
Returns the top-level child window at the top of the Z order.
-
GetUdpTable
Returns the IPv4 UDP listener table.
-
GetUserDefaultUILanguage
Returns the default UI language of the current user.
-
GetUserNameW
Returns the name of the user associated with the current thread.
-
GetVersionExW
Returns the operating system version; deprecated and subject to manifest-based lies.
-
GetVolumeInformationW
Returns volume label, serial number, filesystem and flags.
-
GetWindow
Retrieves a related window by relationship flag (owner, child, next).
-
GetWindowTextW
Copies the title of a window or control into a buffer.
-
GetWindowThreadProcessId
Resolves the process and thread that created a window.
-
GlobalMemoryStatusEx
Reports physical and virtual memory usage of the system.
-
Heap32ListFirst
Enumerates the first heap of a process for later heap walk.
-
Heap32ListNext
Iterates heaps discovered by Heap32ListFirst.
-
HeapWalk
Enumerates the blocks in a heap.
-
IsWow64Process
Indicates whether a process runs under WOW64 on 64-bit Windows.
-
IsWow64Process2
Reports the process and native machine architectures.
-
LdrEnumerateLoadedModules
Walks the loader module list without using PSAPI.
-
LookupAccountNameW
Resolves an account name to its SID.
-
LookupAccountSidW
Resolves a SID to an account name and domain.
-
LsaEnumerateLogonSessions
Enumerates the logon sessions currently registered with the Local Security Authority and returns their locally unique identifiers (LUIDs).
-
LsaGetLogonSessionData
Returns information about a logon session, including the user SID and name, domain, logon type, authentication package and logon time.
-
LsaOpenPolicy
Opens a handle to the local security policy database.
-
LsaQueryInformationPolicy
Reads LSA policy information such as domain and account settings.
-
Module32FirstW
Retrieves the first module entry for a process snapshot, revealing loaded DLLs.
-
Module32NextW
Iterates module entries in a snapshot to map a process image.
-
NCryptEnumKeys
Enumerates keys stored by a provider.
-
NetConnectionEnum
Lists connections to a shared resource.
-
NetFileEnum
Lists files opened on a server, revealing remote access patterns.
-
NetGetJoinInformation
Reports domain or workgroup membership of the computer.
-
NetLocalGroupEnum
Enumerates local groups such as Administrators.
-
NetLocalGroupGetMembers
Lists members of a local group such as Administrators.
-
NetServerEnum
Enumerates servers in a domain or workgroup.
-
NetServerGetInfo
Returns server version and configuration details.
-
NetSessionEnum
Lists sessions established with a server, revealing logged-on users and client names.
-
NetShareEnum
Lists SMB shares and their permissions on a local or remote server.
-
NetShareGetInfo
Retrieves configuration for a share.
-
NetUserEnum
Enumerates local or domain user accounts.
-
NetUserGetInfo
Returns detailed information about a user account.
-
NetUserGetLocalGroups
Lists the local groups a user belongs to.
-
NetWkstaGetInfo
Returns workstation configuration such as domain and OS version.
-
NetWkstaUserEnum
Lists users currently logged on to a workstation or server.
-
NtQueryDirectoryFile
Native directory enumeration.
-
NtQueryInformationProcess
Retrieves information about a process such as debug flags, image name or parent PID.
-
NtQueryInformationThread
Native query of thread details such as start address and TEB.
-
NtQueryKey
Native query of key metadata such as subkey and value counts.
-
NtQuerySystemInformation
Native API that returns system-wide information such as process, handle and module lists.
-
Process32FirstW
Retrieves the first entry of a process list captured by CreateToolhelp32Snapshot.
-
Process32NextW
Retrieves the next entry from a process snapshot.
-
QueryFullProcessImageNameW
Retrieves the full image path of a process for a handle opened with PROCESS_QUERY_LIMITED_INFORMATION.
-
RtlGetVersion
Returns the true OS version from the PEB, bypassing GetVersionEx compatibility shims.
-
Thread32First
Retrieves the first thread entry from a toolhelp snapshot.
-
Thread32Next
Iterates thread entries in a toolhelp snapshot.
-
WNetEnumResourceW
Enumerates network resources from an open enumeration handle.
-
WNetOpenEnumW
Starts enumeration of network resources such as shares or servers.
-
WTSEnumerateProcessesW
Lists processes across all RDP sessions with owning user names.
-
WTSEnumerateSessionsW
Lists Remote Desktop sessions and their state on a terminal server.
-
ZwQuerySystemInformation
Zw-prefixed syscall stub for NtQuerySystemInformation, used for system-wide enumeration.