Windows API reference
CreateServiceA
ANSI variant of CreateService.
- Library
- Advapi32.dll
- Category
- Service Control, Persistence, Privilege Escalation
- Suspicion
- high
Detection summary
CreateServiceA maps to Microsoft-Windows-Security-Auditing; these events record the OS effect, not the API call.
- Sysmon: No Sysmon event mapped
- ETW: Microsoft-Windows-Security-Auditing
- Notes: Security-Auditing events depend on audit policy and do not contain the API name; correlate by process, token and logon identifiers.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Installers, updaters, drivers and enterprise management software.
Related APIs
- CreateServiceW — Advapi32.dll