Detection rules › Sigma

Enable Microsoft Dynamic Data Exchange

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

Enable Dynamic Data Exchange protocol (DDE) in all supported editions of Microsoft Word or Excel.

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 13RegistryEvent (Value Set)

Rule body yaml

title: Enable Microsoft Dynamic Data Exchange
id: 63647769-326d-4dde-a419-b925cc0caf42
status: test
description: Enable Dynamic Data Exchange protocol (DDE) in all supported editions of Microsoft Word or Excel.
references:
    - https://msrc.microsoft.com/update-guide/vulnerability/ADV170021
author: frack113
date: 2022-02-26
modified: 2023-08-17
tags:
    - attack.execution
    - attack.t1559.002
logsource:
    category: registry_set
    product: windows
detection:
    selection_word:
        TargetObject|endswith: '\Word\Security\AllowDDE'
        Details:
            - 'DWORD (0x00000001)'
            - 'DWORD (0x00000002)'
    selection_excel:
        TargetObject|endswith:
            - '\Excel\Security\DisableDDEServerLaunch'
            - '\Excel\Security\DisableDDEServerLookup'
        Details: 'DWORD (0x00000000)'
    condition: 1 of selection_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_word

selection_word:
    TargetObject|endswith: '\Word\Security\AllowDDE'
    Details:
        - 'DWORD (0x00000001)'
        - 'DWORD (0x00000002)'

Stage 2: selection_excel

selection_excel:
    TargetObject|endswith:
        - '\Excel\Security\DisableDDEServerLaunch'
        - '\Excel\Security\DisableDDEServerLookup'
    Details: 'DWORD (0x00000000)'

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
Detailseq
  • DWORD (0x00000000) corpus 38 (sigma 36, chronicle 2)
  • DWORD (0x00000001) corpus 40 (sigma 36, chronicle 4)
  • DWORD (0x00000002) corpus 11 (sigma 9, chronicle 1, kusto 1)
TargetObjectends_with
  • \Excel\Security\DisableDDEServerLaunch
  • \Excel\Security\DisableDDEServerLookup
  • \Word\Security\AllowDDE