Detection rules › Sigma

Potential Excel.EXE DCOM Lateral Movement Via ActivateMicrosoftApp

Status
test
Severity
high
Log source
category process_creation, product windows
Author
Aaron Stratton
Source
github.com/SigmaHQ/sigma

Detects suspicious child processes of Excel which could be an indicator of lateral movement leveraging the "ActivateMicrosoftApp" Excel DCOM object.

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule body

title: Potential Excel.EXE DCOM Lateral Movement Via ActivateMicrosoftApp
id: 551d9c1f-816c-445b-a7a6-7a3864720d60
status: test
description: |
    Detects suspicious child processes of Excel which could be an indicator of lateral movement leveraging the "ActivateMicrosoftApp" Excel DCOM object.
references:
    - https://posts.specterops.io/lateral-movement-abuse-the-power-of-dcom-excel-application-3c016d0d9922
    - https://github.com/grayhatkiller/SharpExShell
    - https://learn.microsoft.com/en-us/office/vba/api/excel.xlmsapplication
author: Aaron Stratton
date: 2023-11-13
tags:
    - attack.t1021.003
    - attack.lateral-movement
logsource:
    category: process_creation
    product: windows
detection:
    selection_parent:
        ParentImage|endswith: '\excel.exe'
    selection_child:
        - OriginalFileName:
          - 'foxprow.exe'
          - 'schdplus.exe'
          - 'winproj.exe'
        - Image|endswith:
          - '\foxprow.exe'
          - '\schdplus.exe'
          - '\winproj.exe'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_parent

selection_parent:
    ParentImage|endswith: '\excel.exe'

Stage 2: selection_child

selection_child:
    - OriginalFileName:
      - 'foxprow.exe'
      - 'schdplus.exe'
      - 'winproj.exe'
    - Image|endswith:
      - '\foxprow.exe'
      - '\schdplus.exe'
      - '\winproj.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \foxprow.exe
  • \schdplus.exe
  • \winproj.exe
field:"Image" kind:ends_with
OriginalFileNameeq
  • foxprow.exe
  • schdplus.exe
  • winproj.exe
field:"OriginalFileName" kind:eq
ParentImageends_with
  • \excel.exe corpus 8 (sigma 8)
field:"ParentImage" kind:ends_with value:"\excel.exe"