H3XAOperational intelligence
Live analytical pictureEvidence before assessment
TypeTechnique
External ID—
First seen2026-08-14
Last seen2026-08-14

Confidence

—

Windows stores local service configuration information in the Registry under HKLM\SYSTEM\CurrentControlSet\Services . The information stored under a service's Registry keys can be manipulated to modify a service's execution parameters through tools such as the service controller, sc.exe, [PowerShell](https://attack.mitre.org/techniques/T1086), or [Reg](https://attack.mitre.org/software/S0075). Access to Registry keys is controlled through Access Control Lists and permissions. (Citation: MSDN Registry Key Security) If the permissions for users and groups are not properly set and allow access to the Registry keys for a service, then adversaries can change the service binPath/ImagePath to point to a different executable under their control. When the service starts or is restarted, then the adversary-controlled program will execute, allowing the adversary to gain persistence and/or privilege escalation to the account context the service is set to execute under (local/domain account, SYSTEM, LocalService, or NetworkService). Adversaries may also alter Registry keys associated with service failure parameters (such as FailureCommand ) that may be executed in an elevated context anytime the service fails or is intentionally corrupted.(Citation: TrustedSignal Service Failure)(Citation: Twitter Service Recovery Nov 2017)

1 recorded

Relationships

6 external

References

mitre-attack
T1058
open
capec
CAPEC-478
open
MSDN Registry Key Security
https://msdn.microsoft.com/library/windows/desktop/ms724878.aspx
open
TrustedSignal Service Failure
https://trustedsignal.blogspot.com/2014/05/kansa-service-related-collectors-and.html
open
Twitter Service Recovery Nov 2017
https://twitter.com/r0wdy_/status/936365549553991680
open
TechNet Autoruns
https://technet.microsoft.com/en-us/sysinternals/bb963902
open