Windows Service Install: NtsSrv (StoneDrill) via Service Control Manager Event 7045

Flags Windows service installs of NtsSrv by Service Control Manager with an ImagePath ending in " LocalService".

FreeReviewedSigma · High · v5
Product
windows
Service
system
Author
Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2017-03-07
Updated
2026-07-31
title: "Windows Service Install: NtsSrv (StoneDrill) via Service Control Manager Event 7045"
id: c6d87107-6cb5-43d9-9592-8f69e580158c
status: test
description: This rule flags Windows service installation events where the Service Control Manager creates the NtsSrv service. The behavior matters because creating a new service at runtime can establish persistence or run malicious payloads under a defined account. Detection relies on the Windows System service-install telemetry (Event ID 7045) including the service name, provider, and the end of the service ImagePath indicating ' LocalService'.
references:
  - https://securelist.com/blog/research/77725/from-shamoon-to-stonedrill/
  - https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2017/Malware/StoneDrill/win_system_apt_stonedrill.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2017-03-07
modified: 2021-11-30
tags:
  - attack.privilege-escalation
  - attack.persistence
  - attack.g0064
  - attack.t1543.003
  - detection.emerging-threats
logsource:
  product: windows
  service: system
detection:
  selection:
    Provider_Name: Service Control Manager
    EventID: 7045
    ServiceName: NtsSrv
    ImagePath|endswith: " LocalService"
  condition: selection
falsepositives:
  - Unlikely
level: high
license: DRL-1.1
related:
  - id: 9e987c6c-4c1e-40d8-bd85-dd26fba8fdd6
    type: derived