Windows API reference
OpenSCManagerW
Opens a handle to the Service Control Manager on a local or remote machine.
- Library
- Advapi32.dll
- Category
- Service Control
- Suspicion
- high
- MITRE ATT&CK
- Not mapped
Detection summary
OpenSCManagerW is not directly logged; service-control intent is inferred from subsequent changes and execution.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Correlate with CreateService, ChangeServiceConfig, StartService and DeleteService effects under the Services registry key (Sysmon 12/13) and process creation (Sysmon 1). The open call itself is not a Sysmon event.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
Installers, updaters, drivers and enterprise management software.
Related APIs
- CreateServiceW — Advapi32.dll
- OpenServiceW — Advapi32.dll