Detection rules › Sigma

Potential CCleanerDU.DLL Sideloading

Status
test
Severity
medium
Log source
category image_load, product windows
Author
X__Junior (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects potential DLL sideloading of "CCleanerDU.dll"

Known false positives

  • False positives could occur from other custom installation paths. Apply additional filters accordingly.

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule body

title: Potential CCleanerDU.DLL Sideloading
id: 1fbc0671-5596-4e17-8682-f020a0b995dc
status: test
description: Detects potential DLL sideloading of "CCleanerDU.dll"
references:
    - https://lab52.io/blog/2344-2/
author: X__Junior (Nextron Systems)
date: 2023-07-13
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\CCleanerDU.dll'
    filter_main_path:
        Image|startswith:
            - 'C:\Program Files\CCleaner\'
            - 'C:\Program Files (x86)\CCleaner\'
        Image|endswith:
            - '\CCleaner.exe'
            - '\CCleaner64.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - False positives could occur from other custom installation paths. Apply additional filters accordingly.
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    ImageLoaded|endswith: '\CCleanerDU.dll'

Stage 2: not filter_main_path

filter_main_path:
    Image|startswith:
        - 'C:\Program Files\CCleaner\'
        - 'C:\Program Files (x86)\CCleaner\'
    Image|endswith:
        - '\CCleaner.exe'
        - '\CCleaner64.exe'

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\CCleaner.exeexcludes:Image field:"Image" value:"\CCleaner.exe"
Imageends_with\CCleaner64.exeexcludes:Image field:"Image" value:"\CCleaner64.exe"
Imagestarts_withC:\Program Files (x86)\CCleaner\excludes:Image field:"Image" value:"C:\Program Files (x86)\CCleaner\"
Imagestarts_withC:\Program Files\CCleaner\excludes:Image field:"Image" value:"C:\Program Files\CCleaner\"

Indicators

These rows show field, operator, and value matches.