Detection rules › Sigma

Potential SmadHook.DLL Sideloading

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

Detects potential DLL sideloading of "SmadHook.dll", a DLL used by SmadAV antivirus

Known false positives

  • Unlikely

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule body

title: Potential SmadHook.DLL Sideloading
id: 24b6cf51-6122-469e-861a-22974e9c1e5b
status: test
description: Detects potential DLL sideloading of "SmadHook.dll", a DLL used by SmadAV antivirus
references:
    - https://research.checkpoint.com/2023/malware-spotlight-camaro-dragons-tinynote-backdoor/
    - https://www.qurium.org/alerts/targeted-malware-against-crph/
author: X__Junior (Nextron Systems)
date: 2023-06-01
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith:
            - '\SmadHook32c.dll'
            - '\SmadHook64c.dll'
    filter_main_legit_path:
        Image:
            - 'C:\Program Files (x86)\SMADAV\SmadavProtect32.exe'
            - 'C:\Program Files (x86)\SMADAV\SmadavProtect64.exe'
            - 'C:\Program Files\SMADAV\SmadavProtect32.exe'
            - 'C:\Program Files\SMADAV\SmadavProtect64.exe'
        ImageLoaded|startswith:
            - 'C:\Program Files (x86)\SMADAV\'
            - 'C:\Program Files\SMADAV\'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    ImageLoaded|endswith:
        - '\SmadHook32c.dll'
        - '\SmadHook64c.dll'

Stage 2: not filter_main_legit_path

filter_main_legit_path:
    Image:
        - 'C:\Program Files (x86)\SMADAV\SmadavProtect32.exe'
        - 'C:\Program Files (x86)\SMADAV\SmadavProtect64.exe'
        - 'C:\Program Files\SMADAV\SmadavProtect32.exe'
        - 'C:\Program Files\SMADAV\SmadavProtect64.exe'
    ImageLoaded|startswith:
        - 'C:\Program Files (x86)\SMADAV\'
        - 'C:\Program Files\SMADAV\'

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageeqC:\Program Files (x86)\SMADAV\SmadavProtect32.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\SMADAV\SmadavProtect32.exe"
ImageeqC:\Program Files (x86)\SMADAV\SmadavProtect64.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\SMADAV\SmadavProtect64.exe"
ImageeqC:\Program Files\SMADAV\SmadavProtect32.exeexcludes:Image field:"Image" value:"C:\Program Files\SMADAV\SmadavProtect32.exe"
ImageeqC:\Program Files\SMADAV\SmadavProtect64.exeexcludes:Image field:"Image" value:"C:\Program Files\SMADAV\SmadavProtect64.exe"
ImageLoadedstarts_withC:\Program Files (x86)\SMADAV\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files (x86)\SMADAV\"
ImageLoadedstarts_withC:\Program Files\SMADAV\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files\SMADAV\"

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ImageLoadedends_with
  • \SmadHook32c.dll
  • \SmadHook64c.dll
field:"ImageLoaded" kind:ends_with