Detection rules › Sigma

UAC Bypass With Fake DLL

Status
test
Severity
high
Log source
category image_load, product windows
Author
oscd.community, Dmitry Uchakin
Source
github.com/SigmaHQ/sigma

Attempts to load dismcore.dll after dropping it

Known false positives

  • Actions of a legitimate telnet client

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule body

title: UAC Bypass With Fake DLL
id: a5ea83a7-05a5-44c1-be2e-addccbbd8c03
status: test
description: Attempts to load dismcore.dll after dropping it
references:
    - https://steemit.com/utopian-io/@ah101/uac-bypassing-utility
author: oscd.community, Dmitry Uchakin
date: 2020-10-06
modified: 2022-12-25
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1548.002
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        Image|endswith: '\dism.exe'
        ImageLoaded|endswith: '\dismcore.dll'
    filter:
        ImageLoaded: 'C:\Windows\System32\Dism\dismcore.dll'
    condition: selection and not filter
falsepositives:
    - Actions of a legitimate telnet client
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    Image|endswith: '\dism.exe'
    ImageLoaded|endswith: '\dismcore.dll'

Stage 2: not filter

filter:
    ImageLoaded: 'C:\Windows\System32\Dism\dismcore.dll'

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageLoadedeqC:\Windows\System32\Dism\dismcore.dllexcludes:ImageLoaded field:"ImageLoaded" value:"C:\Windows\System32\Dism\dismcore.dll"

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \dism.exe corpus 6 (sigma 6)
field:"Image" kind:ends_with value:"\dism.exe"
ImageLoadedends_with
  • \dismcore.dll corpus 2 (sigma 2)
field:"ImageLoaded" kind:ends_with value:"\dismcore.dll"