Detection rules › Sigma

File Creation In Suspicious Directory By Msdt.EXE

Status
test
Severity
high
Log source
product windows, category file_event
Author
Vadim Varganov, Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects msdt.exe creating files in suspicious directories which could be a sign of exploitation of either Follina or Dogwalk vulnerabilities

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 11FileCreate

Rule body yaml

title: File Creation In Suspicious Directory By Msdt.EXE
id: 318557a5-150c-4c8d-b70e-a9910e199857
status: test
description: Detects msdt.exe creating files in suspicious directories which could be a sign of exploitation of either Follina or Dogwalk vulnerabilities
references:
    - https://irsl.medium.com/the-trouble-with-microsofts-troubleshooters-6e32fc80b8bd
    - https://msrc-blog.microsoft.com/2022/05/30/guidance-for-cve-2022-30190-microsoft-support-diagnostic-tool-vulnerability/
author: Vadim Varganov, Florian Roth (Nextron Systems)
date: 2022-08-24
modified: 2023-02-23
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1547.001
    - cve.2022-30190
logsource:
    category: file_event
    product: windows
detection:
    selection:
        Image|endswith: '\msdt.exe'
        TargetFilename|contains:
            - '\Desktop\'
            - '\Start Menu\Programs\Startup\'
            - 'C:\PerfLogs\'
            - 'C:\ProgramData\'
            - 'C:\Users\Public\'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\msdt.exe'
    TargetFilename|contains:
        - '\Desktop\'
        - '\Start Menu\Programs\Startup\'
        - 'C:\PerfLogs\'
        - 'C:\ProgramData\'
        - 'C:\Users\Public\'

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
Imageends_with
  • \msdt.exe corpus 9 (sigma 9)
TargetFilenamematch
  • C:\PerfLogs\ corpus 2 (sigma 2)
  • C:\ProgramData\
  • C:\Users\Public\ corpus 2 (sigma 2)
  • \Desktop\ corpus 3 (sigma 3)
  • \Start Menu\Programs\Startup\ corpus 5 (sigma 5)