Detection rules › Sigma

Potential Arbitrary DLL Load Using Winword

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

Detects potential DLL sideloading using the Microsoft Office winword process via the '/l' flag.

MITRE ATT&CK coverage

TacticTechniques
StealthT1202 Indirect Command Execution

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: Potential Arbitrary DLL Load Using Winword
id: f7375e28-5c14-432f-b8d1-1db26c832df3
related:
    - id: 2621b3a6-3840-4810-ac14-a02426086171
      type: obsolete
status: test
description: Detects potential DLL sideloading using the Microsoft Office winword process via the '/l' flag.
references:
    - https://github.com/D4Vinci/One-Lin3r/blob/9fdfa5f0b9c698dfbd4cdfe7d2473192777ae1c6/one_lin3r/core/liners/windows/cmd/dll_loader_word.py
author: Victor Sergeev, oscd.community
date: 2020-10-09
modified: 2023-03-29
tags:
    - attack.stealth
    - attack.t1202
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\WINWORD.exe'
        - OriginalFileName: 'WinWord.exe'
    selection_dll:
        CommandLine|contains|all:
            - '/l '
            - '.dll'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\WINWORD.exe'
    - OriginalFileName: 'WinWord.exe'

Stage 2: selection_dll

selection_dll:
    CommandLine|contains|all:
        - '/l '
        - '.dll'

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
  • .dll corpus 16 (sigma 16)
  • /l
Imageends_with
  • \WINWORD.exe corpus 20 (sigma 20)
OriginalFileNameeq
  • WinWord.exe corpus 6 (sigma 4, elastic 2)