EXPLORE
← Back to Explore
sigmahighHunting

Suspicious Service Installation

Detects suspicious service installation commands

MITRE ATT&CK

persistenceprivilege-escalation

Detection Query

selection:
  Provider_Name: Service Control Manager
  EventID: 7045
  ImagePath|contains:
    - " -nop "
    - " -sta "
    - " -w hidden "
    - :\Temp\
    - .downloadfile(
    - .downloadstring(
    - \ADMIN$\
    - \Perflogs\
    - "&&"
condition: selection

Author

pH-T (Nextron Systems), Florian Roth (Nextron Systems)

Created

2022-03-18

Data Sources

windowssystem

Platforms

windows

Tags

attack.persistenceattack.privilege-escalationcar.2013-09-005attack.t1543.003
Raw Content
title: Suspicious Service Installation
id: 1d61f71d-59d2-479e-9562-4ff5f4ead16b
related:
    - id: ca83e9f3-657a-45d0-88d6-c1ac280caf53
      type: obsolete
    - id: 26481afe-db26-4228-b264-25a29fe6efc7
      type: similar
status: test
description: Detects suspicious service installation commands
references:
    - Internal Research
author: pH-T (Nextron Systems), Florian Roth (Nextron Systems)
date: 2022-03-18
modified: 2023-12-04
tags:
    - attack.persistence
    - attack.privilege-escalation
    - car.2013-09-005
    - attack.t1543.003
logsource:
    product: windows
    service: system
detection:
    selection:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
        ImagePath|contains:
            - ' -nop '
            - ' -sta '
            - ' -w hidden '
            - ':\Temp\'
            - '.downloadfile(' # PowerShell download command
            - '.downloadstring(' # PowerShell download command
            - '\ADMIN$\'
            - '\Perflogs\'
            - '&&'
    condition: selection
falsepositives:
    - Unknown
level: high