Windows API
The set of functions Windows provides to programs, such as OpenProcess, VirtualAllocEx, WriteProcessMemory and CreateRemoteThread.
In more detail
Which API functions a program imports hints at what it can do: the four above together are the classic injection sequence, WinINet functions fetch from the web, and RegSetValueExW writes registry values. Sandboxes record which of them a sample actually calls.
Related terms
- import table — The part of a PE file that lists the DLLs and functions the program calls from Windows, such as VirtualAllocEx from kernel32.dll.
- process injection — Running malicious code inside another, legitimate process, so it hides behind that process's name and permissions.
- API — A defined way for one program to ask another program to do something, such as a list of web requests a service accepts.
Taught in
- Malware Triage: Hashes, Strings & Sandboxing — Security Operations & Threat Hunting (SOC)