Windows API reference
ChangeServiceConfigW
Changes a service binary path, start type or account.
- Library
- Advapi32.dll
- Category
- Service Control, Persistence
- Suspicion
- high
Detection summary
ChangeServiceConfigW is not logged directly; the defensible signal is the resulting service-registry change and process execution.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Monitor Sysmon 12/13 for writes under HKLM\SYSTEM\CurrentControlSet\Services, especially ImagePath, ServiceDll, Start and ObjectName, and Sysmon 1 for the modified binary or service host starting. Treat the API import as context, not proof.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- MITRE ATT&CK T1543.003: Create or Modify System Process: Windows Service
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
Installers, updaters, drivers and enterprise management software.