Detection rules › Sigma

Remote Service Activity via SVCCTL Named Pipe

Status
test
Severity
medium
Log source
product windows, service security
Author
Samir Bousseaden
Source
github.com/SigmaHQ/sigma

Detects remote service activity via remote access to the svcctl named pipe

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Remote Service Activity via SVCCTL Named Pipe
id: 586a8d6b-6bfe-4ad9-9d78-888cd2fe50c3
status: test
description: Detects remote service activity via remote access to the svcctl named pipe
references:
    - https://web.archive.org/web/20230329155141/https://blog.menasec.net/2019/03/threat-hunting-26-remote-windows.html
author: Samir Bousseaden
date: 2019-04-03
modified: 2024-08-01
tags:
    - attack.lateral-movement
    - attack.persistence
    - attack.t1021.002
logsource:
    product: windows
    service: security
    definition: 'The advanced audit policy setting "Object Access > Audit Detailed File Share" must be configured for Success/Failure'
detection:
    selection:
        EventID: 5145
        ShareName: '\\\\\*\\IPC$' # looking for the string \\*\IPC$
        RelativeTargetName: svcctl
        AccessList|contains: 'WriteData'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 5145
    ShareName: '\\\\\*\\IPC$'
    RelativeTargetName: svcctl
    AccessList|contains: 'WriteData'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
AccessListmatch
  • WriteData corpus 4 (sigma 4)
RelativeTargetNameeq
  • svcctl corpus 6 (sigma 5, kusto 1)
ShareNameeq
  • \\\\\*\\IPC$ corpus 7 (sigma 7)