Detection rules › Sigma

SyncAppvPublishingServer Execute Arbitrary PowerShell Code

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
frack113
Source
github.com/SigmaHQ/sigma

Executes arbitrary PowerShell code using SyncAppvPublishingServer.exe.

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: SyncAppvPublishingServer Execute Arbitrary PowerShell Code
id: fbd7c32d-db2a-4418-b92c-566eb8911133
related:
    - id: fde7929d-8beb-4a4c-b922-be9974671667
      type: obsolete
status: test
description: Executes arbitrary PowerShell code using SyncAppvPublishingServer.exe.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218/T1218.md
    - https://lolbas-project.github.io/lolbas/Binaries/Syncappvpublishingserver/
author: frack113
date: 2021-07-12
modified: 2022-10-04
tags:
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\SyncAppvPublishingServer.exe'
        - OriginalFileName: 'syncappvpublishingserver.exe'
    selection_cli:
        CommandLine|contains: '"n; '
    condition: all of selection_*
falsepositives:
    - App-V clients
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\SyncAppvPublishingServer.exe'
    - OriginalFileName: 'syncappvpublishingserver.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: '"n; '

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
CommandLinematch
  • "n;
Imageends_with
  • \SyncAppvPublishingServer.exe
OriginalFileNameeq
  • syncappvpublishingserver.exe