Detection rules › Sigma

Clfs.SYS Loaded By Process Located In a Potential Suspicious Location

Status
experimental
Severity
medium
Log source
category image_load, product windows
Author
X__Junior
Source
github.com/SigmaHQ/sigma

Detects Clfs.sys being loaded by a process running from a potentially suspicious location. Clfs.sys is loaded as part of many CVEs exploits that targets Common Log File.

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule body

title: Clfs.SYS Loaded By Process Located In a Potential Suspicious Location
id: fb4e2211-6d08-426b-8e6f-0d4a161e3b1d
status: experimental
description: Detects Clfs.sys being loaded by a process running from a potentially suspicious location. Clfs.sys is loaded as part of many CVEs exploits that targets Common Log File.
references:
    - https://ssd-disclosure.com/ssd-advisory-common-log-file-system-clfs-driver-pe/
    - https://x.com/Threatlabz/status/1879956781360976155
author: X__Junior
date: 2025-01-20
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: image_load
    product: windows
detection:
    selection_dll:
        ImageLoaded|endswith: '\clfs.sys'
    selection_folders_1:
        Image|contains:
            - ':\Perflogs\'
            - ':\Users\Public\'
            - '\Temporary Internet'
            - '\Windows\Temp\'
    selection_folders_2:
        - Image|contains|all:
              - ':\Users\'
              - '\Favorites\'
        - Image|contains|all:
              - ':\Users\'
              - '\Favourites\'
        - Image|contains|all:
              - ':\Users\'
              - '\Contacts\'
        - Image|contains|all:
              - ':\Users\'
              - '\Pictures\'
    condition: selection_dll and 1 of selection_folders_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection_dll and 1 of selection_folders_*

Stage 1: selection_dll

selection_dll:
    ImageLoaded|endswith: '\clfs.sys'

Stage 2: selection_folders_1

selection_folders_1:
    Image|contains:
        - ':\Perflogs\'
        - ':\Users\Public\'
        - '\Temporary Internet'
        - '\Windows\Temp\'

Stage 3: selection_folders_2

selection_folders_2:
    - Image|contains|all:
          - ':\Users\'
          - '\Favorites\'
    - Image|contains|all:
          - ':\Users\'
          - '\Favourites\'
    - Image|contains|all:
          - ':\Users\'
          - '\Contacts\'
    - Image|contains|all:
          - ':\Users\'
          - '\Pictures\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imagematch
  • :\Perflogs\ corpus 9 (sigma 9)
  • :\Users\ corpus 3 (sigma 3)
  • :\Users\Public\ corpus 13 (sigma 13)
  • \Contacts\ corpus 4 (sigma 4)
  • \Favorites\ corpus 5 (sigma 5)
  • \Favourites\ corpus 4 (sigma 4)
  • \Pictures\ corpus 4 (sigma 4)
  • \Temporary Internet corpus 2 (sigma 2)
  • \Windows\Temp\ corpus 7 (sigma 7)
field:"Image" kind:match
ImageLoadedends_with
  • \clfs.sys
field:"ImageLoaded" kind:ends_with value:"\clfs.sys"