Windows API reference
OpenServiceW
Opens an existing service with the requested access.
- Library
- Advapi32.dll
- Category
- Service Control
- Suspicion
- medium
- MITRE ATT&CK
- T1007 System Service Discovery
Detection summary
OpenServiceW has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: User-mode API not logged directly by Sysmon or standard kernel ETW; detect via static import triage, sandbox API hooking, or behavioral correlation.
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
- StartServiceW — Advapi32.dll
- QueryServiceStatusEx — Advapi32.dll