Detection rules › Sigma

Suspicious Word Cab File Write CVE-2021-40444

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

Detects file creation patterns noticeable during the exploitation of CVE-2021-40444

MITRE ATT&CK coverage

TacticTechniques
Resource DevelopmentT1587 Develop Capabilities

Event coverage

ProviderEventTitle
SysmonEvent ID 11FileCreate

Rule body yaml

title: Suspicious Word Cab File Write CVE-2021-40444
id: 60c0a111-787a-4e8a-9262-ee485f3ef9d5
status: test
description: Detects file creation patterns noticeable during the exploitation of CVE-2021-40444
references:
    - https://twitter.com/RonnyTNL/status/1436334640617373699?s=20
    - https://twitter.com/vanitasnk/status/1437329511142420483?s=21
author: Florian Roth (Nextron Systems), Sittikorn S
date: 2021-09-10
modified: 2023-06-22
tags:
    - attack.resource-development
    - attack.t1587
    - detection.emerging-threats
logsource:
    product: windows
    category: file_event
detection:
    selection_cab:
        Image|endswith: '\winword.exe'
        TargetFilename|contains: '\Windows\INetCache'
        TargetFilename|endswith: '.cab'
    selection_inf:
        Image|endswith: '\winword.exe'
        TargetFilename|contains|all:
            - '\AppData\Local\Temp\'
            - '.inf'
    filter_main_legit:
        TargetFilename|startswith: 'C:\Users\'
        TargetFilename|contains: 'AppData\Local\Temp'
        TargetFilename|endswith: '\Content.inf'
    condition: 1 of selection_* and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

1 of selection_* and not 1 of filter_main_*

Stage 1: selection_cab

selection_cab:
    Image|endswith: '\winword.exe'
    TargetFilename|contains: '\Windows\INetCache'
    TargetFilename|endswith: '.cab'

Stage 2: selection_inf

selection_inf:
    Image|endswith: '\winword.exe'
    TargetFilename|contains|all:
        - '\AppData\Local\Temp\'
        - '.inf'

Stage 3: not filter_main_legit

filter_main_legit:
    TargetFilename|startswith: 'C:\Users\'
    TargetFilename|contains: 'AppData\Local\Temp'
    TargetFilename|endswith: '\Content.inf'

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
TargetFilenameends_with\Content.inf
TargetFilenamematchAppData\Local\Temp
TargetFilenamestarts_withC:\Users\

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
  • \winword.exe corpus 20 (sigma 20)
TargetFilenameends_with
  • .cab
TargetFilenamematch
  • .inf
  • \AppData\Local\Temp\ corpus 8 (sigma 8)
  • \Windows\INetCache