Detection rules › Sigma

Potential Wazuh Security Platform DLL Sideloading

Severity
medium
Author
X__Junior (Nextron Systems)
Source
upstream

Detects potential DLL side loading of DLLs that are part of the Wazuh security platform

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1574.001 Hijack Execution Flow: DLL
Privilege EscalationT1574.001 Hijack Execution Flow: DLL
Defense EvasionT1574.001 Hijack Execution Flow: DLL

Event coverage

ProviderEvent IDTitle
Sysmon7Image loaded

Stages and Predicates

Stage 1: selection

or:
ImageLoaded|endswith: '\libwazuhshared.dll'
ImageLoaded|endswith: '\libwinpthread-1.dll'

Stage 2: not 1 of filter_main_generic

or:
ImageLoaded|startswith: 'C:\Program Files (x86)\'
ImageLoaded|startswith: 'C:\Program Files\'

Stage 3: not 1 of filter_optional_mingw64

or:
ImageLoaded|contains: '\AppData\Local\'
ImageLoaded|contains: '\ProgramData\'
ImageLoaded|endswith: '\mingw64\bin\libwinpthread-1.dll'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
ImageLoadedends_with
  • \libwazuhshared.dll
  • \libwinpthread-1.dll
  • \mingw64\bin\libwinpthread-1.dll
ImageLoadedmatch
  • \AppData\Local\
  • \ProgramData\ corpus 3 (sigma 3)
ImageLoadedstarts_with
  • C:\Program Files (x86)\ corpus 6 (sigma 6)
  • C:\Program Files\ corpus 6 (sigma 6)