Detection rules › Sigma

DLL Search Order Hijackig Via Additional Space in Path

Severity
high
Author
frack113, Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects when an attacker create a similar folder structure to windows system folders such as (Windows, Program Files...) but with a space in order to trick DLL load search order and perform a "DLL Search Order Hijacking" attack

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
Sysmon11FileCreate

Stages and Predicates

Stage 1: selection

or:
TargetFilename|startswith: 'C:\Program Files (x86) \'
TargetFilename|startswith: 'C:\Program Files \'
TargetFilename|startswith: 'C:\Windows \'
TargetFilename|endswith: .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
TargetFilenameends_with
  • .dll corpus 21 (sigma 21)
TargetFilenamestarts_with
  • C:\Program Files (x86) \
  • C:\Program Files \
  • C:\Windows \