Windows Service Install (Event ID 7045) for srservice, ipvpn, hkmsvc

Alerts on Windows service creation events (7045) for srservice, ipvpn, and hkmsvc service names.

FreeReviewedSigma · High · v5
Product
windows
Service
system
Author
Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2017-03-31
Updated
2026-07-31
title: Windows Service Install (Event ID 7045) for srservice, ipvpn, hkmsvc
id: e9924395-eb0e-41d3-95b2-a3749907f689
status: test
description: This rule flags Windows service creation events (Event ID 7045) where the Service Control Manager reports specific service names. Attackers commonly use newly installed services to establish persistence and run code with elevated privileges. The detection relies on Windows system telemetry from the Service Control Manager, matching the Provider name and the created ServiceName values.
references:
  - https://www.welivesecurity.com/2017/03/30/carbon-paper-peering-turlas-second-stage-backdoor/
  - https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2017/TA/Turla/win_system_apt_carbonpaper_turla.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2017-03-31
modified: 2021-11-30
tags:
  - attack.privilege-escalation
  - attack.persistence
  - attack.g0010
  - attack.t1543.003
  - detection.emerging-threats
logsource:
  product: windows
  service: system
detection:
  selection:
    Provider_Name: Service Control Manager
    EventID: 7045
    ServiceName:
      - srservice
      - ipvpn
      - hkmsvc
  condition: selection
falsepositives:
  - Unknown
level: high
license: DRL-1.1
related:
  - id: 1df8b3da-b0ac-4d8a-b7c7-6cb7c24160e4
    type: derived