Detection rules › Sigma

Potential Exploitation Attempt From Office Application

Status
test
Severity
high
Log source
product windows, category process_creation
Author
Christian Burkard (Nextron Systems), @SBousseaden (idea)
Source
github.com/SigmaHQ/sigma

Detects Office applications executing a child process that includes directory traversal patterns. This could be an attempt to exploit CVE-2022-30190 (MSDT RCE) or CVE-2021-40444 (MSHTML RCE)

MITRE ATT&CK coverage

TacticTechniques
ExecutionNo specific technique
StealthNo specific technique

Event coverage

Rule body yaml

title: Potential Exploitation Attempt From Office Application
id: 868955d9-697e-45d4-a3da-360cefd7c216
status: test
description: Detects Office applications executing a child process that includes directory traversal patterns. This could be an attempt to exploit CVE-2022-30190 (MSDT RCE) or CVE-2021-40444 (MSHTML RCE)
references:
    - https://twitter.com/sbousseaden/status/1531653369546301440
    - https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-40444
    - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-30190
author: Christian Burkard (Nextron Systems), @SBousseaden (idea)
date: 2022-06-02
modified: 2023-02-04
tags:
    - attack.execution
    - cve.2021-40444
    - detection.emerging-threats
    - attack.stealth
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        ParentImage|endswith:
            - '\winword.exe'
            - '\excel.exe'
            - '\powerpnt.exe'
            - '\msaccess.exe'
            - '\mspub.exe'
            - '\eqnedt32.exe'
            - '\visio.exe'
        CommandLine|contains:
            - '../../../..'
            - '..\..\..\..'
            - '..//..//..//..'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith:
        - '\winword.exe'
        - '\excel.exe'
        - '\powerpnt.exe'
        - '\msaccess.exe'
        - '\mspub.exe'
        - '\eqnedt32.exe'
        - '\visio.exe'
    CommandLine|contains:
        - '../../../..'
        - '..\..\..\..'
        - '..//..//..//..'

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
  • ../../../..
  • ..//..//..//..
  • ..\..\..\..
ParentImageends_with
  • \eqnedt32.exe corpus 5 (sigma 5)
  • \excel.exe corpus 8 (sigma 8)
  • \msaccess.exe corpus 4 (sigma 4)
  • \mspub.exe corpus 4 (sigma 4)
  • \powerpnt.exe corpus 6 (sigma 6)
  • \visio.exe corpus 4 (sigma 4)
  • \winword.exe corpus 10 (sigma 10)