Detection rules › Sigma

Execute Files with Msdeploy.exe

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
Beyu Denis, oscd.community
Source
github.com/SigmaHQ/sigma

Detects file execution using the msdeploy.exe lolbin

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Execute Files with Msdeploy.exe
id: 646bc99f-6682-4b47-a73a-17b1b64c9d34
status: test
description: Detects file execution using the msdeploy.exe lolbin
references:
    - https://lolbas-project.github.io/lolbas/OtherMSBinaries/Msdeploy/
    - https://twitter.com/pabraeken/status/995837734379032576
    - https://twitter.com/pabraeken/status/999090532839313408
author: Beyu Denis, oscd.community
date: 2020-10-18
modified: 2021-11-27
tags:
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains|all:
            - 'verb:sync'
            - '-source:RunCommand'
            - '-dest:runCommand'
        Image|endswith: '\msdeploy.exe'
    condition: selection
falsepositives:
    - System administrator Usage
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains|all:
        - 'verb:sync'
        - '-source:RunCommand'
        - '-dest:runCommand'
    Image|endswith: '\msdeploy.exe'

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
  • -dest:runCommand
  • -source:RunCommand
  • verb:sync
Imageends_with
  • \msdeploy.exe